From ef004baaf35522c20ec51accaa804bfec065f460 Mon Sep 17 00:00:00 2001 From: Julien Robert Date: Mon, 2 Sep 2024 10:48:37 +0200 Subject: [PATCH 1/7] refactor(x)!: rename `x/consensus` to `x/comet` --- .github/CODEOWNERS | 2 +- .github/ISSUE_TEMPLATE/qa.md | 2 +- .github/pr_labeler.yml | 4 +- .github/workflows/test.yml | 12 +- Dockerfile | 2 +- README.md | 2 +- .../consensus/module/v1/module.pulsar.go | 38 +- api/cosmos/consensus/v1/consensus.pulsar.go | 2 +- api/cosmos/consensus/v1/query.pulsar.go | 42 +- api/cosmos/consensus/v1/query_grpc.pb.go | 4 +- api/cosmos/consensus/v1/tx.pulsar.go | 2 +- api/cosmos/consensus/v1/tx_grpc.pb.go | 4 +- baseapp/params_legacy.go | 2 +- buf.work.yaml | 2 +- client/docs/swagger-ui/swagger.yaml | 46031 +++++++--------- client/v2/go.mod | 4 +- contrib/images/simd-env/Dockerfile | 2 +- docs/learn/advanced/00-baseapp.md | 2 +- go.mod | 4 +- go.work.example | 2 +- server/v2/cometbft/abci.go | 2 +- server/v2/cometbft/go.mod | 4 +- server/v2/cometbft/utils.go | 2 +- simapp/app.go | 8 +- simapp/app_config.go | 4 +- simapp/app_di.go | 2 +- simapp/go.mod | 4 +- simapp/v2/app_config.go | 4 +- simapp/v2/app_di.go | 2 +- simapp/v2/go.mod | 4 +- tests/e2e/auth/keeper/app_config.go | 2 +- tests/e2e/baseapp/utils.go | 2 +- tests/go.mod | 4 +- tests/integration/bank/app_test.go | 2 +- .../bank/keeper/deterministic_test.go | 2 +- tests/integration/distribution/appconfig.go | 2 +- .../distribution/keeper/msg_server_test.go | 2 +- tests/integration/evidence/app_config.go | 2 +- .../evidence/keeper/infraction_test.go | 2 +- tests/integration/gov/common_test.go | 2 +- tests/integration/gov/genesis_test.go | 2 +- tests/integration/mint/app_config.go | 2 +- tests/integration/protocolpool/app_config.go | 2 +- tests/integration/rapidgen/rapidgen.go | 2 +- tests/integration/runtime/query_test.go | 2 +- .../server/grpc/out_of_gas_test.go | 2 +- tests/integration/server/grpc/server_test.go | 2 +- tests/integration/slashing/app_config.go | 2 +- .../slashing/keeper/keeper_test.go | 2 +- tests/integration/staking/app_config.go | 2 +- .../integration/staking/keeper/common_test.go | 2 +- .../integration/staking/keeper/slash_test.go | 2 +- .../tx/aminojson/aminojson_test.go | 2 +- tests/integration/tx/decode_test.go | 2 +- tests/integration/types/pagination_test.go | 2 +- tests/sims/authz/operations_test.go | 8 +- tests/sims/bank/operations_test.go | 2 +- tests/sims/distribution/app_config.go | 2 +- tests/sims/feegrant/operations_test.go | 2 +- tests/sims/gov/operations_test.go | 2 +- tests/sims/nft/app_config.go | 2 +- tests/sims/protocolpool/app_config.go | 2 +- tests/sims/slashing/app_config.go | 2 +- testutil/integration/router.go | 4 +- testutil/x/counter/types/keys.go | 2 +- x/README.md | 2 +- x/accounts/defaults/lockup/go.mod | 4 +- x/accounts/defaults/multisig/go.mod | 4 +- x/accounts/go.mod | 4 +- x/auth/ante/expected_keepers.go | 2 +- x/auth/ante/setup.go | 2 +- .../ante/testutil/expected_keepers_mocks.go | 2 +- x/auth/ante/testutil_test.go | 2 +- x/auth/go.mod | 4 +- x/authz/go.mod | 4 +- x/bank/go.mod | 4 +- x/circuit/go.mod | 4 +- x/{consensus => comet}/CHANGELOG.md | 6 +- x/{consensus => comet}/README.md | 10 +- x/{consensus => comet}/autocli.go | 0 x/{consensus => comet}/depinject.go | 2 +- x/{consensus => comet}/exported/exported.go | 0 x/{consensus => comet}/go.mod | 2 +- x/{consensus => comet}/go.sum | 0 x/{consensus => comet}/keeper/keeper.go | 4 +- x/{consensus => comet}/keeper/keeper_test.go | 4 +- x/{consensus => comet}/module.go | 6 +- .../proto/buf.gen.gogo.yaml | 0 .../proto/buf.gen.pulsar.yaml | 0 x/{consensus => comet}/proto/buf.lock | 0 x/{consensus => comet}/proto/buf.yaml | 0 .../cosmos/consensus/module/v1/module.proto | 2 +- .../proto/cosmos/consensus/v1/consensus.proto | 4 +- .../proto/cosmos/consensus/v1/query.proto | 13 +- .../proto/cosmos/consensus/v1/tx.proto | 6 +- .../sonar-project.properties | 2 +- x/{consensus => comet}/types/codec.go | 2 +- x/{consensus => comet}/types/consensus.pb.go | 40 +- x/{consensus => comet}/types/keys.go | 2 +- x/{consensus => comet}/types/msgs.go | 0 x/{consensus => comet}/types/query.pb.go | 25 +- x/{consensus => comet}/types/query.pb.gw.go | 65 + x/{consensus => comet}/types/tx.pb.go | 71 +- x/distribution/go.mod | 4 +- x/epochs/go.mod | 4 +- x/evidence/go.mod | 4 +- x/evidence/keeper/infraction.go | 2 +- x/feegrant/go.mod | 4 +- x/gov/go.mod | 4 +- x/group/go.mod | 4 +- x/group/testutil/app_config.go | 2 +- x/mint/go.mod | 4 +- x/nft/go.mod | 4 +- x/params/go.mod | 4 +- x/protocolpool/go.mod | 4 +- x/slashing/go.mod | 4 +- x/staking/go.mod | 4 +- x/staking/keeper/keeper_test.go | 2 +- x/staking/keeper/msg_server.go | 2 +- x/staking/testutil/expected_keepers_mocks.go | 2 +- x/staking/types/expected_keepers.go | 2 +- x/upgrade/go.mod | 4 +- x/upgrade/keeper/abci.go | 2 +- 123 files changed, 21185 insertions(+), 25466 deletions(-) rename x/{consensus => comet}/CHANGELOG.md (72%) rename x/{consensus => comet}/README.md (71%) rename x/{consensus => comet}/autocli.go (100%) rename x/{consensus => comet}/depinject.go (97%) rename x/{consensus => comet}/exported/exported.go (100%) rename x/{consensus => comet}/go.mod (99%) rename x/{consensus => comet}/go.sum (100%) rename x/{consensus => comet}/keeper/keeper.go (98%) rename x/{consensus => comet}/keeper/keeper_test.go (99%) rename x/{consensus => comet}/module.go (95%) rename x/{consensus => comet}/proto/buf.gen.gogo.yaml (100%) rename x/{consensus => comet}/proto/buf.gen.pulsar.yaml (100%) rename x/{consensus => comet}/proto/buf.lock (100%) rename x/{consensus => comet}/proto/buf.yaml (100%) rename x/{consensus => comet}/proto/cosmos/consensus/module/v1/module.proto (89%) rename x/{consensus => comet}/proto/cosmos/consensus/v1/consensus.proto (74%) rename x/{consensus => comet}/proto/cosmos/consensus/v1/query.proto (72%) rename x/{consensus => comet}/proto/cosmos/consensus/v1/tx.proto (92%) rename x/{consensus => comet}/sonar-project.properties (91%) rename x/{consensus => comet}/types/codec.go (89%) rename x/{consensus => comet}/types/consensus.pb.go (86%) rename x/{consensus => comet}/types/keys.go (67%) rename x/{consensus => comet}/types/msgs.go (100%) rename x/{consensus => comet}/types/query.pb.go (93%) rename x/{consensus => comet}/types/query.pb.gw.go (67%) rename x/{consensus => comet}/types/tx.pb.go (87%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 1411ed22a892..d5f6a3302058 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -45,7 +45,7 @@ /x/authz/ @akhilkumarpilli @raynaudoe @cosmos/sdk-core-dev /x/bank/ @julienrbrt @sontrinh16 @cosmos/sdk-core-dev /x/circuit/ @kocubinski @akhilkumarpilli @raynaudoe @cosmos/sdk-core-dev -/x/consensus/ @testinginprod @raynaudoe @cosmos/sdk-core-dev +/x/comet/ @testinginprod @raynaudoe @cosmos/sdk-core-dev /x/distribution/ @alpe @JulianToledano @cosmos/sdk-core-dev /x/epochs/ @alpe @facundomedica @cosmos/sdk-core-dev /x/evidence/ @alpe @akhilkumarpilli @cosmos/sdk-core-dev diff --git a/.github/ISSUE_TEMPLATE/qa.md b/.github/ISSUE_TEMPLATE/qa.md index 6b0ef14807fe..ca789e5a5e38 100644 --- a/.github/ISSUE_TEMPLATE/qa.md +++ b/.github/ISSUE_TEMPLATE/qa.md @@ -26,7 +26,7 @@ v without deliberation * [ ] Audit x/authz * [ ] Audit x/bank * [ ] Audit x/circuit - * [ ] Audit x/consensus + * [ ] Audit x/comet * [ ] Audit x/crisis * [ ] Audit x/distribution * [ ] Audit x/evidence diff --git a/.github/pr_labeler.yml b/.github/pr_labeler.yml index 328bf07902ff..9c15d68a490d 100644 --- a/.github/pr_labeler.yml +++ b/.github/pr_labeler.yml @@ -40,8 +40,8 @@ - x/bank/**/* "C:x/circuit": - x/circuit/**/* -"C:x/consensus": - - x/consensus/**/* +"C:x/comet": + - x/comet/**/* "C:x/crisis": - x/crisis/**/* "C:x/distribution": diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ed4f6e218948..e4c3fddf8ae4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1516,18 +1516,18 @@ jobs: go-version: "1.23" check-latest: true cache: true - cache-dependency-path: x/consensus/go.sum + cache-dependency-path: x/comet/go.sum - uses: technote-space/get-diff-action@v6.1.2 id: git_diff with: PATTERNS: | - x/consensus/**/*.go - x/consensus/go.mod - x/consensus/go.sum + x/comet/**/*.go + x/comet/go.mod + x/comet/go.sum - name: tests if: env.GIT_DIFF run: | - cd x/consensus + cd x/comet go test -mod=readonly -timeout 30m -coverprofile=coverage.out -covermode=atomic -tags='norace ledger test_ledger_mock' ./... - name: sonarcloud if: ${{ env.GIT_DIFF && !github.event.pull_request.draft && env.SONAR_TOKEN != null }} @@ -1536,4 +1536,4 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} with: - projectBaseDir: x/consensus/ + projectBaseDir: x/comet/ diff --git a/Dockerfile b/Dockerfile index 9c563258c48d..32b58ac8c6ae 100644 --- a/Dockerfile +++ b/Dockerfile @@ -40,7 +40,7 @@ COPY x/authz/go.mod x/authz/go.sum ./x/authz/ COPY x/bank/go.mod x/bank/go.sum ./x/bank/ COPY x/mint/go.mod x/mint/go.sum ./x/mint/ COPY x/tx/go.mod x/tx/go.sum ./x/tx/ -COPY x/consensus/go.mod x/consensus/go.sum ./x/consensus/ +COPY x/comet/go.mod x/comet/go.sum ./x/comet/ COPY depinject/go.mod depinject/go.sum ./depinject/ COPY core/testing/go.mod core/testing/go.sum ./core/testing/ COPY log/go.mod log/go.sum ./log/ diff --git a/README.md b/README.md index 2741dc837fdd..f2fa7aa9ae5c 100644 --- a/README.md +++ b/README.md @@ -89,7 +89,7 @@ Module Dependencies are the modules that an application may depend on and which | cosmossdk.io/x/accounts | N/A | 0.2.z | | cosmossdk.io/x/bank | X | 0.2.z | | cosmossdk.io/x/circuit | 0.1.z | 0.2.z | -| cosmossdk.io/x/consensus | X | 0.2.z | +| cosmossdk.io/x/comet | X | 0.2.z | | cosmossdk.io/x/distribution | X | 0.2.z | | cosmossdk.io/x/epochs | N/A | 0.2.z | | cosmossdk.io/x/evidence | 0.1.z | 0.2.z | diff --git a/api/cosmos/consensus/module/v1/module.pulsar.go b/api/cosmos/consensus/module/v1/module.pulsar.go index 2ac0c455cb21..e0ec7c240c4f 100644 --- a/api/cosmos/consensus/module/v1/module.pulsar.go +++ b/api/cosmos/consensus/module/v1/module.pulsar.go @@ -492,27 +492,27 @@ var file_cosmos_consensus_module_v1_module_proto_rawDesc = []byte{ 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x2e, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x1a, 0x20, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x70, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, - 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x48, 0x0a, 0x06, 0x4d, 0x6f, 0x64, 0x75, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x44, 0x0a, 0x06, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x3a, - 0x20, 0xba, 0xc0, 0x96, 0xda, 0x01, 0x1a, 0x0a, 0x18, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, - 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x78, 0x2f, 0x63, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x73, 0x75, - 0x73, 0x42, 0xee, 0x01, 0x0a, 0x1e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, - 0x2e, 0x63, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x2e, 0x6d, 0x6f, 0x64, 0x75, 0x6c, - 0x65, 0x2e, 0x76, 0x31, 0x42, 0x0b, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x74, - 0x6f, 0x50, 0x01, 0x5a, 0x34, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, - 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x6e, - 0x73, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2f, 0x76, 0x31, - 0x3b, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x43, 0x43, 0x4d, 0xaa, - 0x02, 0x1a, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x43, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x73, - 0x75, 0x73, 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x1a, 0x43, - 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5c, 0x43, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x5c, - 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x26, 0x43, 0x6f, 0x73, 0x6d, - 0x6f, 0x73, 0x5c, 0x43, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x5c, 0x4d, 0x6f, 0x64, - 0x75, 0x6c, 0x65, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0xea, 0x02, 0x1d, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, - 0x73, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x3a, 0x3a, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x3a, 0x3a, - 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x1c, 0xba, 0xc0, 0x96, 0xda, 0x01, 0x16, 0x0a, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, + 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x78, 0x2f, 0x63, 0x6f, 0x6d, 0x65, 0x74, 0x42, 0xee, 0x01, + 0x0a, 0x1e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, + 0x73, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x2e, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x76, 0x31, + 0x42, 0x0b, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, + 0x34, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, + 0x69, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x73, + 0x75, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x6d, 0x6f, 0x64, + 0x75, 0x6c, 0x65, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x43, 0x43, 0x4d, 0xaa, 0x02, 0x1a, 0x43, 0x6f, + 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x43, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x2e, 0x4d, + 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x1a, 0x43, 0x6f, 0x73, 0x6d, 0x6f, + 0x73, 0x5c, 0x43, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x5c, 0x4d, 0x6f, 0x64, 0x75, + 0x6c, 0x65, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x26, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5c, 0x43, + 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x5c, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5c, + 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, + 0x1d, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x73, + 0x75, 0x73, 0x3a, 0x3a, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/api/cosmos/consensus/v1/consensus.pulsar.go b/api/cosmos/consensus/v1/consensus.pulsar.go index 7168b5e078a3..23da7367f848 100644 --- a/api/cosmos/consensus/v1/consensus.pulsar.go +++ b/api/cosmos/consensus/v1/consensus.pulsar.go @@ -733,7 +733,7 @@ const ( _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) -// CometInfo defines the structure of the x/consensus module's comet info. +// CometInfo defines the structure of the x/comet module's comet info. type CometInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/api/cosmos/consensus/v1/query.pulsar.go b/api/cosmos/consensus/v1/query.pulsar.go index ef4d64ea7464..6466adc9efa7 100644 --- a/api/cosmos/consensus/v1/query.pulsar.go +++ b/api/cosmos/consensus/v1/query.pulsar.go @@ -820,7 +820,7 @@ const ( _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) -// QueryParamsRequest defines the request type for querying x/consensus parameters. +// QueryParamsRequest defines the request type for querying x/comet parameters. type QueryParamsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -847,7 +847,7 @@ func (*QueryParamsRequest) Descriptor() ([]byte, []int) { return file_cosmos_consensus_v1_query_proto_rawDescGZIP(), []int{0} } -// QueryParamsResponse defines the response type for querying x/consensus parameters. +// QueryParamsResponse defines the response type for querying x/comet parameters. type QueryParamsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -902,29 +902,31 @@ var file_cosmos_consensus_v1_query_proto_rawDesc = []byte{ 0x65, 0x12, 0x3a, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x50, - 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x32, 0x8a, 0x01, - 0x0a, 0x05, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x80, 0x01, 0x0a, 0x06, 0x50, 0x61, 0x72, 0x61, + 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x32, 0xa5, 0x01, + 0x0a, 0x05, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x9b, 0x01, 0x0a, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x27, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x23, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1d, 0x12, 0x1b, 0x2f, - 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x73, 0x75, 0x73, - 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0xc5, 0x01, 0x0a, 0x17, 0x63, - 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x73, 0x65, 0x6e, - 0x73, 0x75, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x0a, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x72, 0x6f, - 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x30, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, - 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f, - 0x6e, 0x73, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x2f, 0x76, 0x31, 0x3b, 0x63, 0x6f, 0x6e, 0x73, 0x65, - 0x6e, 0x73, 0x75, 0x73, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x43, 0x43, 0x58, 0xaa, 0x02, 0x13, 0x43, - 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x43, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x2e, - 0x56, 0x31, 0xca, 0x02, 0x13, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5c, 0x43, 0x6f, 0x6e, 0x73, - 0x65, 0x6e, 0x73, 0x75, 0x73, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1f, 0x43, 0x6f, 0x73, 0x6d, 0x6f, - 0x73, 0x5c, 0x43, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x5c, 0x56, 0x31, 0x5c, 0x47, - 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x15, 0x43, 0x6f, 0x73, - 0x6d, 0x6f, 0x73, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x3a, 0x3a, - 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x38, 0x5a, 0x19, 0x12, + 0x17, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x6d, 0x65, 0x74, 0x2f, 0x76, + 0x31, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x1b, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, + 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x70, + 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0xc5, 0x01, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, + 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x2e, 0x76, + 0x31, 0x42, 0x0a, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, + 0x30, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, + 0x69, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x73, + 0x75, 0x73, 0x2f, 0x76, 0x31, 0x3b, 0x63, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x76, + 0x31, 0xa2, 0x02, 0x03, 0x43, 0x43, 0x58, 0xaa, 0x02, 0x13, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, + 0x2e, 0x43, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x13, + 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5c, 0x43, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x73, 0x75, 0x73, + 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1f, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5c, 0x43, 0x6f, 0x6e, + 0x73, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x15, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x3a, 0x3a, + 0x43, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/api/cosmos/consensus/v1/query_grpc.pb.go b/api/cosmos/consensus/v1/query_grpc.pb.go index 8f1498104bba..72e1056926bd 100644 --- a/api/cosmos/consensus/v1/query_grpc.pb.go +++ b/api/cosmos/consensus/v1/query_grpc.pb.go @@ -30,7 +30,7 @@ const ( // // Query defines the gRPC querier service. type QueryClient interface { - // Params queries the parameters of x/consensus module. + // Params queries the parameters of x/comet module. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) } @@ -58,7 +58,7 @@ func (c *queryClient) Params(ctx context.Context, in *QueryParamsRequest, opts . // // Query defines the gRPC querier service. type QueryServer interface { - // Params queries the parameters of x/consensus module. + // Params queries the parameters of x/comet module. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) mustEmbedUnimplementedQueryServer() } diff --git a/api/cosmos/consensus/v1/tx.pulsar.go b/api/cosmos/consensus/v1/tx.pulsar.go index addd9db38326..d90ed5ce3b20 100644 --- a/api/cosmos/consensus/v1/tx.pulsar.go +++ b/api/cosmos/consensus/v1/tx.pulsar.go @@ -1289,7 +1289,7 @@ type MsgUpdateParams struct { // authority is the address that controls the module (defaults to x/gov unless overwritten). Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` - // params defines the x/consensus parameters to update. + // params defines the x/comet parameters to update. // VersionsParams is not included in this Msg because it is tracked // separarately in x/upgrade. // diff --git a/api/cosmos/consensus/v1/tx_grpc.pb.go b/api/cosmos/consensus/v1/tx_grpc.pb.go index 111b1bce30fb..8d3f9e7d8bb3 100644 --- a/api/cosmos/consensus/v1/tx_grpc.pb.go +++ b/api/cosmos/consensus/v1/tx_grpc.pb.go @@ -30,7 +30,7 @@ const ( // // Msg defines the consensus Msg service. type MsgClient interface { - // UpdateParams defines a governance operation for updating the x/consensus module parameters. + // UpdateParams defines a governance operation for updating the x/comet module parameters. // The authority is defined in the keeper. UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) } @@ -59,7 +59,7 @@ func (c *msgClient) UpdateParams(ctx context.Context, in *MsgUpdateParams, opts // // Msg defines the consensus Msg service. type MsgServer interface { - // UpdateParams defines a governance operation for updating the x/consensus module parameters. + // UpdateParams defines a governance operation for updating the x/comet module parameters. // The authority is defined in the keeper. UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) mustEmbedUnimplementedMsgServer() diff --git a/baseapp/params_legacy.go b/baseapp/params_legacy.go index 1d096a7d0344..6425458fa078 100644 --- a/baseapp/params_legacy.go +++ b/baseapp/params_legacy.go @@ -2,7 +2,7 @@ // Legacy types are defined below to aid in the migration of CometBFT consensus // parameters from use of the now deprecated x/params modules to a new dedicated -// x/consensus module. +// x/comet module. // // Application developers should ensure that they implement their upgrade handler // correctly such that app.ConsensusParamsKeeper.Set() is called with the values diff --git a/buf.work.yaml b/buf.work.yaml index 5a070acabfd2..dd175e4507da 100644 --- a/buf.work.yaml +++ b/buf.work.yaml @@ -6,7 +6,7 @@ directories: - x/authz/proto - x/bank/proto - x/circuit/proto - - x/consensus/proto + - x/comet/proto - x/distribution/proto - x/evidence/proto - x/feegrant/proto diff --git a/client/docs/swagger-ui/swagger.yaml b/client/docs/swagger-ui/swagger.yaml index c4352f47aec5..7d6f2e967cdf 100644 --- a/client/docs/swagger-ui/swagger.yaml +++ b/client/docs/swagger-ui/swagger.yaml @@ -1,4 +1,4 @@ -swagger: '2.0' +swagger: "2.0" info: title: Cosmos SDK - gRPC Gateway docs description: A REST interface for state queries. @@ -9,7 +9,7 @@ paths: summary: AccountInfo queries account info which is common to all account types. operationId: AccountInfo responses: - '200': + "200": description: A successful response. schema: type: object @@ -23,81 +23,66 @@ paths: pub_key: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -105,9 +90,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -118,9 +103,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -128,9 +113,9 @@ paths: 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 { @@ -141,61 +126,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + account_number: type: string format: uint64 @@ -218,81 +195,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -300,9 +262,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -313,9 +275,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -323,9 +285,9 @@ paths: 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 { @@ -336,61 +298,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: address description: address is the account address string. @@ -403,14 +357,14 @@ paths: get: summary: >- Accounts returns all the existing accounts. - - When called from another module, this query might consume a high amount - of - + + When called from another module, this query might consume a high amount of + gas if the pagination field is incorrectly set. + operationId: Accounts responses: - '200': + "200": description: A successful response. schema: type: object @@ -420,81 +374,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -502,9 +441,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -515,9 +454,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -525,9 +464,9 @@ paths: 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 { @@ -538,61 +477,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + title: accounts are the existing accounts pagination: description: pagination defines the pagination in the response. @@ -609,13 +540,13 @@ paths: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise + description: >- - QueryAccountsResponse is the response type for the Query/Accounts - RPC method. + QueryAccountsResponse is the response type for the Query/Accounts RPC method. + default: description: An unexpected error response. schema: @@ -631,81 +562,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -713,9 +629,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -726,9 +642,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -736,9 +652,9 @@ paths: 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 { @@ -749,61 +665,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: pagination.key description: |- @@ -817,44 +725,42 @@ paths: - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. - - It is less efficient than using key. Only one of offset or key - should - + + It is less efficient than using key. Only one of offset or key should + be set. + in: query required: false type: string format: uint64 - name: pagination.limit description: >- - limit is the total number of results to be returned in the result - page. - + limit is the total number of results to be returned in the result page. + If left empty it will default to a value to be set by each app. + in: query required: false type: string format: uint64 - name: pagination.count_total description: >- - count_total is set to true to indicate that the result set should - include - - a count of the total number of items available for pagination in - UIs. - - count_total is only respected when offset is used. It is ignored - when key - + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + is set. + in: query required: false type: boolean - name: pagination.reverse description: >- - reverse is set to true if results are to be returned in the - descending order. + reverse is set to true if results are to be returned in the descending order. + in: query required: false type: boolean @@ -865,7 +771,7 @@ paths: summary: Account returns account details based on address. operationId: Account responses: - '200': + "200": description: A successful response. schema: type: object @@ -873,80 +779,66 @@ paths: account: type: object properties: - '@type': + "@type": type: string description: >- - A URL/resource name that uniquely identifies the type of - the serialized - + 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 - + + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer message - along with a - + `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. - - + + + 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); @@ -954,9 +846,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -967,9 +859,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -977,9 +869,9 @@ paths: 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 { @@ -990,61 +882,56 @@ paths: 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 - + + 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 - + + 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" } + description: >- - QueryAccountResponse is the response type for the Query/Account - RPC method. + QueryAccountResponse is the response type for the Query/Account RPC method. + default: description: An unexpected error response. schema: @@ -1060,81 +947,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -1142,9 +1014,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -1155,9 +1027,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -1165,9 +1037,9 @@ paths: 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 { @@ -1178,61 +1050,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: address description: address defines the address to query for. @@ -1246,7 +1110,7 @@ paths: summary: AccountAddressByID returns account address based on account number. operationId: AccountAddressByID responses: - '200': + "200": description: A successful response. schema: type: object @@ -1254,8 +1118,8 @@ paths: account_address: type: string title: >- - QueryAccountAddressByIDResponse is the response type for - AccountAddressByID rpc method + QueryAccountAddressByIDResponse is the response type for AccountAddressByID rpc method + default: description: An unexpected error response. schema: @@ -1271,81 +1135,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -1353,9 +1202,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -1366,9 +1215,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -1376,9 +1225,9 @@ paths: 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 { @@ -1389,61 +1238,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: id description: |- @@ -1469,7 +1310,7 @@ paths: summary: Bech32Prefix queries bech32Prefix operationId: Bech32Prefix responses: - '200': + "200": description: A successful response. schema: type: object @@ -1477,8 +1318,8 @@ paths: bech32_prefix: type: string description: >- - Bech32PrefixResponse is the response type for Bech32Prefix rpc - method. + Bech32PrefixResponse is the response type for Bech32Prefix rpc method. + default: description: An unexpected error response. schema: @@ -1494,81 +1335,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -1576,9 +1402,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -1589,9 +1415,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -1599,9 +1425,9 @@ paths: 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 { @@ -1612,61 +1438,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + tags: - Query /cosmos/auth/v1beta1/bech32/{address_bytes}: @@ -1674,7 +1492,7 @@ paths: summary: AddressBytesToString converts Account Address bytes to string operationId: AddressBytesToString responses: - '200': + "200": description: A successful response. schema: type: object @@ -1682,8 +1500,8 @@ paths: address_string: type: string description: >- - AddressBytesToStringResponse is the response type for - AddressString rpc method. + AddressBytesToStringResponse is the response type for AddressString rpc method. + default: description: An unexpected error response. schema: @@ -1699,81 +1517,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -1781,9 +1584,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -1794,9 +1597,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -1804,9 +1607,9 @@ paths: 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 { @@ -1817,61 +1620,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: address_bytes in: path @@ -1885,7 +1680,7 @@ paths: summary: AddressStringToBytes converts Address string to bytes operationId: AddressStringToBytes responses: - '200': + "200": description: A successful response. schema: type: object @@ -1894,8 +1689,8 @@ paths: type: string format: byte description: >- - AddressStringToBytesResponse is the response type for AddressBytes - rpc method. + AddressStringToBytesResponse is the response type for AddressBytes rpc method. + default: description: An unexpected error response. schema: @@ -1911,81 +1706,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -1993,9 +1773,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -2006,9 +1786,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -2016,9 +1796,9 @@ paths: 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 { @@ -2029,61 +1809,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: address_string in: path @@ -2096,7 +1868,7 @@ paths: summary: ModuleAccounts returns all the existing module accounts. operationId: ModuleAccounts responses: - '200': + "200": description: A successful response. schema: type: object @@ -2106,81 +1878,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -2188,9 +1945,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -2201,9 +1958,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -2211,9 +1968,9 @@ paths: 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 { @@ -2224,64 +1981,56 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + description: >- - QueryModuleAccountsResponse is the response type for the - Query/ModuleAccounts RPC method. + QueryModuleAccountsResponse is the response type for the Query/ModuleAccounts RPC method. + default: description: An unexpected error response. schema: @@ -2297,81 +2046,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -2379,9 +2113,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -2392,9 +2126,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -2402,9 +2136,9 @@ paths: 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 { @@ -2415,61 +2149,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + tags: - Query /cosmos/auth/v1beta1/module_accounts/{name}: @@ -2477,7 +2203,7 @@ paths: summary: ModuleAccountByName returns the module account info by module name operationId: ModuleAccountByName responses: - '200': + "200": description: A successful response. schema: type: object @@ -2485,80 +2211,66 @@ paths: account: type: object properties: - '@type': + "@type": type: string description: >- - A URL/resource name that uniquely identifies the type of - the serialized - + 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 - + + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer message - along with a - + `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. - - + + + 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); @@ -2566,9 +2278,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -2579,9 +2291,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -2589,9 +2301,9 @@ paths: 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 { @@ -2602,61 +2314,56 @@ paths: 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 - + + 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 - + + 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" } + description: >- - QueryModuleAccountByNameResponse is the response type for the - Query/ModuleAccountByName RPC method. + QueryModuleAccountByNameResponse is the response type for the Query/ModuleAccountByName RPC method. + default: description: An unexpected error response. schema: @@ -2672,81 +2379,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -2754,9 +2446,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -2767,9 +2459,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -2777,9 +2469,9 @@ paths: 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 { @@ -2790,61 +2482,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: name in: path @@ -2857,7 +2541,7 @@ paths: summary: Params queries all parameters. operationId: AuthParams responses: - '200': + "200": description: A successful response. schema: type: object @@ -2882,8 +2566,8 @@ paths: type: string format: uint64 description: >- - QueryParamsResponse is the response type for the Query/Params RPC - method. + QueryParamsResponse is the response type for the Query/Params RPC method. + default: description: An unexpected error response. schema: @@ -2899,81 +2583,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -2981,9 +2650,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -2994,9 +2663,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -3004,9 +2673,9 @@ paths: 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 { @@ -3017,74 +2686,66 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + tags: - Query /cosmos/bank/v1beta1/balances/{address}: get: summary: AllBalances queries the balance of all coins for a single account. description: >- - When called from another module, this query might consume a high amount - of - + When called from another module, this query might consume a high amount of + gas if the pagination field is incorrectly set. + operationId: AllBalances responses: - '200': + "200": description: A successful response. schema: type: object @@ -3100,12 +2761,12 @@ paths: type: string description: >- Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - + + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + description: balances is the balances of all the coins. pagination: description: pagination defines the pagination in the response. @@ -3122,15 +2783,15 @@ paths: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise - description: >- - QueryAllBalancesResponse is the response type for the - Query/AllBalances RPC + description: >- + QueryAllBalancesResponse is the response type for the Query/AllBalances RPC + method. + default: description: An unexpected error response. schema: @@ -3146,7 +2807,7 @@ paths: items: type: object properties: - '@type': + "@type": type: string additionalProperties: {} parameters: @@ -3167,51 +2828,49 @@ paths: - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. - - It is less efficient than using key. Only one of offset or key - should - + + It is less efficient than using key. Only one of offset or key should + be set. + in: query required: false type: string format: uint64 - name: pagination.limit description: >- - limit is the total number of results to be returned in the result - page. - + limit is the total number of results to be returned in the result page. + If left empty it will default to a value to be set by each app. + in: query required: false type: string format: uint64 - name: pagination.count_total description: >- - count_total is set to true to indicate that the result set should - include - - a count of the total number of items available for pagination in - UIs. - - count_total is only respected when offset is used. It is ignored - when key - + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + is set. + in: query required: false type: boolean - name: pagination.reverse description: >- - reverse is set to true if results are to be returned in the - descending order. + reverse is set to true if results are to be returned in the descending order. + in: query required: false type: boolean - name: resolve_denom description: >- - resolve_denom is the flag to resolve the denom into a human-readable - form from the metadata. + resolve_denom is the flag to resolve the denom into a human-readable form from the metadata. + in: query required: false type: boolean @@ -3222,7 +2881,7 @@ paths: summary: Balance queries the balance of a single coin for a single account. operationId: Balance responses: - '200': + "200": description: A successful response. schema: type: object @@ -3236,8 +2895,8 @@ paths: amount: type: string description: >- - QueryBalanceResponse is the response type for the Query/Balance - RPC method. + QueryBalanceResponse is the response type for the Query/Balance RPC method. + default: description: An unexpected error response. schema: @@ -3253,7 +2912,7 @@ paths: items: type: object properties: - '@type': + "@type": type: string additionalProperties: {} parameters: @@ -3272,18 +2931,18 @@ paths: /cosmos/bank/v1beta1/denom_owners/{denom}: get: summary: >- - DenomOwners queries for all account addresses that own a particular - token - + DenomOwners queries for all account addresses that own a particular token + denomination. - description: >- - When called from another module, this query might consume a high amount - of + description: >- + When called from another module, this query might consume a high amount of + gas if the pagination field is incorrectly set. + operationId: DenomOwners responses: - '200': + "200": description: A successful response. schema: type: object @@ -3296,12 +2955,12 @@ paths: address: type: string description: >- - address defines the address that owns a particular - denomination. + address defines the address that owns a particular denomination. + balance: description: >- - balance is the balance of the denominated coin for an - account. + balance is the balance of the denominated coin for an account. + type: object properties: denom: @@ -3309,13 +2968,12 @@ paths: amount: type: string description: >- - DenomOwner defines structure representing an account that - owns or holds a - - particular denominated token. It contains the account - address and account - + DenomOwner defines structure representing an account that owns or holds a + + particular denominated token. It contains the account address and account + balance of the denominated token. + pagination: description: pagination defines the pagination in the response. type: object @@ -3331,13 +2989,13 @@ paths: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise + description: >- - QueryDenomOwnersResponse defines the RPC response of a DenomOwners - RPC query. + QueryDenomOwnersResponse defines the RPC response of a DenomOwners RPC query. + default: description: An unexpected error response. schema: @@ -3353,14 +3011,14 @@ paths: items: type: object properties: - '@type': + "@type": type: string additionalProperties: {} parameters: - name: denom description: >- - denom defines the coin denomination to query all account holders - for. + denom defines the coin denomination to query all account holders for. + in: path required: true type: string @@ -3376,44 +3034,42 @@ paths: - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. - - It is less efficient than using key. Only one of offset or key - should - + + It is less efficient than using key. Only one of offset or key should + be set. + in: query required: false type: string format: uint64 - name: pagination.limit description: >- - limit is the total number of results to be returned in the result - page. - + limit is the total number of results to be returned in the result page. + If left empty it will default to a value to be set by each app. + in: query required: false type: string format: uint64 - name: pagination.count_total description: >- - count_total is set to true to indicate that the result set should - include - - a count of the total number of items available for pagination in - UIs. - - count_total is only respected when offset is used. It is ignored - when key - + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + is set. + in: query required: false type: boolean - name: pagination.reverse description: >- - reverse is set to true if results are to be returned in the - descending order. + reverse is set to true if results are to be returned in the descending order. + in: query required: false type: boolean @@ -3422,13 +3078,13 @@ paths: /cosmos/bank/v1beta1/denom_owners_by_query: get: summary: >- - DenomOwnersByQuery queries for all account addresses that own a - particular token - + DenomOwnersByQuery queries for all account addresses that own a particular token + denomination. + operationId: DenomOwnersByQuery responses: - '200': + "200": description: A successful response. schema: type: object @@ -3441,12 +3097,12 @@ paths: address: type: string description: >- - address defines the address that owns a particular - denomination. + address defines the address that owns a particular denomination. + balance: description: >- - balance is the balance of the denominated coin for an - account. + balance is the balance of the denominated coin for an account. + type: object properties: denom: @@ -3454,13 +3110,12 @@ paths: amount: type: string description: >- - DenomOwner defines structure representing an account that - owns or holds a - - particular denominated token. It contains the account - address and account - + DenomOwner defines structure representing an account that owns or holds a + + particular denominated token. It contains the account address and account + balance of the denominated token. + pagination: description: pagination defines the pagination in the response. type: object @@ -3476,13 +3131,13 @@ paths: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise + description: >- - QueryDenomOwnersByQueryResponse defines the RPC response of a - DenomOwnersByQuery RPC query. + QueryDenomOwnersByQueryResponse defines the RPC response of a DenomOwnersByQuery RPC query. + default: description: An unexpected error response. schema: @@ -3498,14 +3153,14 @@ paths: items: type: object properties: - '@type': + "@type": type: string additionalProperties: {} parameters: - name: denom description: >- - denom defines the coin denomination to query all account holders - for. + denom defines the coin denomination to query all account holders for. + in: query required: false type: string @@ -3521,44 +3176,42 @@ paths: - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. - - It is less efficient than using key. Only one of offset or key - should - + + It is less efficient than using key. Only one of offset or key should + be set. + in: query required: false type: string format: uint64 - name: pagination.limit description: >- - limit is the total number of results to be returned in the result - page. - + limit is the total number of results to be returned in the result page. + If left empty it will default to a value to be set by each app. + in: query required: false type: string format: uint64 - name: pagination.count_total description: >- - count_total is set to true to indicate that the result set should - include - - a count of the total number of items available for pagination in - UIs. - - count_total is only respected when offset is used. It is ignored - when key - + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + is set. + in: query required: false type: boolean - name: pagination.reverse description: >- - reverse is set to true if results are to be returned in the - descending order. + reverse is set to true if results are to be returned in the descending order. + in: query required: false type: boolean @@ -3571,7 +3224,7 @@ paths: denominations. operationId: DenomsMetadata responses: - '200': + "200": description: A successful response. schema: type: object @@ -3591,42 +3244,40 @@ paths: denom: type: string description: >- - denom represents the string name of the given - denom unit (e.g uatom). + denom represents the string name of the given denom unit (e.g uatom). + exponent: type: integer format: int64 description: >- - exponent represents power of 10 exponent that one - must - - raise the base_denom to in order to equal the - given DenomUnit's denom - + exponent represents power of 10 exponent that one must + + raise the base_denom to in order to equal the given DenomUnit's denom + 1 denom = 10^exponent base_denom - - (e.g. with a base_denom of uatom, one can create a - DenomUnit of 'atom' with - + + (e.g. with a base_denom of uatom, one can create a DenomUnit of 'atom' with + exponent = 6, thus: 1 atom = 10^6 uatom). + aliases: type: array items: type: string title: >- - aliases is a list of string aliases for the given - denom + aliases is a list of string aliases for the given denom + description: |- DenomUnit represents a struct that describes a given denomination unit of the basic token. title: >- - denom_units represents the list of DenomUnit's for a - given coin + denom_units represents the list of DenomUnit's for a given coin + base: type: string description: >- - base represents the base denom (should be the DenomUnit - with exponent = 0). + base represents the base denom (should be the DenomUnit with exponent = 0). + display: type: string description: |- @@ -3634,32 +3285,32 @@ paths: displayed in clients. name: type: string - title: 'name defines the name of the token (eg: Cosmos Atom)' + title: "name defines the name of the token (eg: Cosmos Atom)" symbol: type: string description: >- - symbol is the token symbol usually shown on exchanges - (eg: ATOM). This can - + symbol is the token symbol usually shown on exchanges (eg: ATOM). This can + be the same as the display. + uri: type: string description: >- - URI to a document (on or off-chain) that contains - additional information. Optional. + URI to a document (on or off-chain) that contains additional information. Optional. + uri_hash: type: string description: >- - URIHash is a sha256 hash of a document pointed by URI. - It's used to verify that - + URIHash is a sha256 hash of a document pointed by URI. It's used to verify that + the document didn't change. Optional. + description: |- Metadata represents a struct that describes a basic token. description: >- - metadata provides the client information for all the - registered tokens. + metadata provides the client information for all the registered tokens. + pagination: description: pagination defines the pagination in the response. type: object @@ -3675,15 +3326,15 @@ paths: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise - description: >- - QueryDenomsMetadataResponse is the response type for the - Query/DenomsMetadata RPC + description: >- + QueryDenomsMetadataResponse is the response type for the Query/DenomsMetadata RPC + method. + default: description: An unexpected error response. schema: @@ -3699,7 +3350,7 @@ paths: items: type: object properties: - '@type': + "@type": type: string additionalProperties: {} parameters: @@ -3715,44 +3366,42 @@ paths: - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. - - It is less efficient than using key. Only one of offset or key - should - + + It is less efficient than using key. Only one of offset or key should + be set. + in: query required: false type: string format: uint64 - name: pagination.limit description: >- - limit is the total number of results to be returned in the result - page. - + limit is the total number of results to be returned in the result page. + If left empty it will default to a value to be set by each app. + in: query required: false type: string format: uint64 - name: pagination.count_total description: >- - count_total is set to true to indicate that the result set should - include - - a count of the total number of items available for pagination in - UIs. - - count_total is only respected when offset is used. It is ignored - when key - + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + is set. + in: query required: false type: boolean - name: pagination.reverse description: >- - reverse is set to true if results are to be returned in the - descending order. + reverse is set to true if results are to be returned in the descending order. + in: query required: false type: boolean @@ -3763,15 +3412,15 @@ paths: summary: DenomMetadata queries the client metadata of a given coin denomination. operationId: DenomMetadata responses: - '200': + "200": description: A successful response. schema: type: object properties: metadata: description: >- - metadata describes and provides all the client information for - the requested token. + metadata describes and provides all the client information for the requested token. + type: object properties: description: @@ -3784,42 +3433,40 @@ paths: denom: type: string description: >- - denom represents the string name of the given denom - unit (e.g uatom). + denom represents the string name of the given denom unit (e.g uatom). + exponent: type: integer format: int64 description: >- - exponent represents power of 10 exponent that one - must - - raise the base_denom to in order to equal the given - DenomUnit's denom - + exponent represents power of 10 exponent that one must + + raise the base_denom to in order to equal the given DenomUnit's denom + 1 denom = 10^exponent base_denom - - (e.g. with a base_denom of uatom, one can create a - DenomUnit of 'atom' with - + + (e.g. with a base_denom of uatom, one can create a DenomUnit of 'atom' with + exponent = 6, thus: 1 atom = 10^6 uatom). + aliases: type: array items: type: string title: >- - aliases is a list of string aliases for the given - denom + aliases is a list of string aliases for the given denom + description: |- DenomUnit represents a struct that describes a given denomination unit of the basic token. title: >- - denom_units represents the list of DenomUnit's for a given - coin + denom_units represents the list of DenomUnit's for a given coin + base: type: string description: >- - base represents the base denom (should be the DenomUnit - with exponent = 0). + base represents the base denom (should be the DenomUnit with exponent = 0). + display: type: string description: |- @@ -3827,31 +3474,31 @@ paths: displayed in clients. name: type: string - title: 'name defines the name of the token (eg: Cosmos Atom)' + title: "name defines the name of the token (eg: Cosmos Atom)" symbol: type: string description: >- - symbol is the token symbol usually shown on exchanges (eg: - ATOM). This can - + symbol is the token symbol usually shown on exchanges (eg: ATOM). This can + be the same as the display. + uri: type: string description: >- - URI to a document (on or off-chain) that contains - additional information. Optional. + URI to a document (on or off-chain) that contains additional information. Optional. + uri_hash: type: string description: >- - URIHash is a sha256 hash of a document pointed by URI. - It's used to verify that - + URIHash is a sha256 hash of a document pointed by URI. It's used to verify that + the document didn't change. Optional. - description: >- - QueryDenomMetadataResponse is the response type for the - Query/DenomMetadata RPC + description: >- + QueryDenomMetadataResponse is the response type for the Query/DenomMetadata RPC + method. + default: description: An unexpected error response. schema: @@ -3867,7 +3514,7 @@ paths: items: type: object properties: - '@type': + "@type": type: string additionalProperties: {} parameters: @@ -3881,19 +3528,19 @@ paths: /cosmos/bank/v1beta1/denoms_metadata_by_query_string: get: summary: >- - DenomMetadataByQueryString queries the client metadata of a given coin - denomination. + DenomMetadataByQueryString queries the client metadata of a given coin denomination. + operationId: DenomMetadataByQueryString responses: - '200': + "200": description: A successful response. schema: type: object properties: metadata: description: >- - metadata describes and provides all the client information for - the requested token. + metadata describes and provides all the client information for the requested token. + type: object properties: description: @@ -3906,42 +3553,40 @@ paths: denom: type: string description: >- - denom represents the string name of the given denom - unit (e.g uatom). + denom represents the string name of the given denom unit (e.g uatom). + exponent: type: integer format: int64 description: >- - exponent represents power of 10 exponent that one - must - - raise the base_denom to in order to equal the given - DenomUnit's denom - + exponent represents power of 10 exponent that one must + + raise the base_denom to in order to equal the given DenomUnit's denom + 1 denom = 10^exponent base_denom - - (e.g. with a base_denom of uatom, one can create a - DenomUnit of 'atom' with - + + (e.g. with a base_denom of uatom, one can create a DenomUnit of 'atom' with + exponent = 6, thus: 1 atom = 10^6 uatom). + aliases: type: array items: type: string title: >- - aliases is a list of string aliases for the given - denom + aliases is a list of string aliases for the given denom + description: |- DenomUnit represents a struct that describes a given denomination unit of the basic token. title: >- - denom_units represents the list of DenomUnit's for a given - coin + denom_units represents the list of DenomUnit's for a given coin + base: type: string description: >- - base represents the base denom (should be the DenomUnit - with exponent = 0). + base represents the base denom (should be the DenomUnit with exponent = 0). + display: type: string description: |- @@ -3949,32 +3594,31 @@ paths: displayed in clients. name: type: string - title: 'name defines the name of the token (eg: Cosmos Atom)' + title: "name defines the name of the token (eg: Cosmos Atom)" symbol: type: string description: >- - symbol is the token symbol usually shown on exchanges (eg: - ATOM). This can - + symbol is the token symbol usually shown on exchanges (eg: ATOM). This can + be the same as the display. + uri: type: string description: >- - URI to a document (on or off-chain) that contains - additional information. Optional. + URI to a document (on or off-chain) that contains additional information. Optional. + uri_hash: type: string description: >- - URIHash is a sha256 hash of a document pointed by URI. - It's used to verify that - + URIHash is a sha256 hash of a document pointed by URI. It's used to verify that + the document didn't change. Optional. + description: >- - QueryDenomMetadataByQueryStringResponse is the response type for - the Query/DenomMetadata RPC + QueryDenomMetadataByQueryStringResponse is the response type for the Query/DenomMetadata RPC + + method. Identical with QueryDenomMetadataResponse but receives denom as query string in request. - method. Identical with QueryDenomMetadataResponse but receives - denom as query string in request. default: description: An unexpected error response. schema: @@ -3990,7 +3634,7 @@ paths: items: type: object properties: - '@type': + "@type": type: string additionalProperties: {} parameters: @@ -4006,7 +3650,7 @@ paths: summary: Params queries the parameters of x/bank module. operationId: BankParams responses: - '200': + "200": description: A successful response. schema: type: object @@ -4025,27 +3669,25 @@ paths: enabled: type: boolean description: >- - SendEnabled maps coin denom to a send_enabled status - (whether a denom is - + SendEnabled maps coin denom to a send_enabled status (whether a denom is + sendable). + description: >- Deprecated: Use of SendEnabled in params is deprecated. + + For genesis, use the newly added send_enabled field in the genesis object. + + Storage, lookup, and manipulation of this information is now in the keeper. + + + As of cosmos-sdk 0.47, this only exists for backwards compatibility of genesis files. - For genesis, use the newly added send_enabled field in the - genesis object. - - Storage, lookup, and manipulation of this information is - now in the keeper. - - - As of cosmos-sdk 0.47, this only exists for backwards - compatibility of genesis files. default_send_enabled: type: boolean description: >- - QueryParamsResponse defines the response type for querying x/bank - parameters. + QueryParamsResponse defines the response type for querying x/bank parameters. + default: description: An unexpected error response. schema: @@ -4061,7 +3703,7 @@ paths: items: type: object properties: - '@type': + "@type": type: string additionalProperties: {} tags: @@ -4070,16 +3712,15 @@ paths: get: summary: SendEnabled queries for SendEnabled entries. description: >- - This query only returns denominations that have specific SendEnabled - settings. - - Any denomination that does not have a specific setting will use the - default - + This query only returns denominations that have specific SendEnabled settings. + + Any denomination that does not have a specific setting will use the default + params.default_send_enabled, and will not be returned by this query. + operationId: SendEnabled responses: - '200': + "200": description: A successful response. schema: type: object @@ -4094,16 +3735,16 @@ paths: enabled: type: boolean description: >- - SendEnabled maps coin denom to a send_enabled status - (whether a denom is - + SendEnabled maps coin denom to a send_enabled status (whether a denom is + sendable). + pagination: description: >- - pagination defines the pagination in the response. This field - is only - + pagination defines the pagination in the response. This field is only + populated if the denoms field in the request is empty. + type: object properties: next_key: @@ -4117,13 +3758,13 @@ paths: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise + description: >- - QuerySendEnabledResponse defines the RPC response of a SendEnable - query. + QuerySendEnabledResponse defines the RPC response of a SendEnable query. + default: description: An unexpected error response. schema: @@ -4139,14 +3780,14 @@ paths: items: type: object properties: - '@type': + "@type": type: string additionalProperties: {} parameters: - name: denoms description: >- - denoms is the specific denoms you want look up. Leave empty to get - all entries. + denoms is the specific denoms you want look up. Leave empty to get all entries. + in: query required: false type: array @@ -4165,44 +3806,42 @@ paths: - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. - - It is less efficient than using key. Only one of offset or key - should - + + It is less efficient than using key. Only one of offset or key should + be set. + in: query required: false type: string format: uint64 - name: pagination.limit description: >- - limit is the total number of results to be returned in the result - page. - + limit is the total number of results to be returned in the result page. + If left empty it will default to a value to be set by each app. + in: query required: false type: string format: uint64 - name: pagination.count_total description: >- - count_total is set to true to indicate that the result set should - include - - a count of the total number of items available for pagination in - UIs. - - count_total is only respected when offset is used. It is ignored - when key - + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + is set. + in: query required: false type: boolean - name: pagination.reverse description: >- - reverse is set to true if results are to be returned in the - descending order. + reverse is set to true if results are to be returned in the descending order. + in: query required: false type: boolean @@ -4211,18 +3850,17 @@ paths: /cosmos/bank/v1beta1/spendable_balances/{address}: get: summary: >- - SpendableBalances queries the spendable balance of all coins for a - single - + SpendableBalances queries the spendable balance of all coins for a single + account. - - When called from another module, this query might consume a high amount - of - + + When called from another module, this query might consume a high amount of + gas if the pagination field is incorrectly set. + operationId: SpendableBalances responses: - '200': + "200": description: A successful response. schema: type: object @@ -4238,12 +3876,12 @@ paths: type: string description: >- Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - + + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + description: balances is the spendable balances of all the coins. pagination: description: pagination defines the pagination in the response. @@ -4260,15 +3898,15 @@ paths: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise - description: >- - QuerySpendableBalancesResponse defines the gRPC response structure - for querying + description: >- + QuerySpendableBalancesResponse defines the gRPC response structure for querying + an account's spendable balances. + default: description: An unexpected error response. schema: @@ -4284,7 +3922,7 @@ paths: items: type: object properties: - '@type': + "@type": type: string additionalProperties: {} parameters: @@ -4305,44 +3943,42 @@ paths: - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. - - It is less efficient than using key. Only one of offset or key - should - + + It is less efficient than using key. Only one of offset or key should + be set. + in: query required: false type: string format: uint64 - name: pagination.limit description: >- - limit is the total number of results to be returned in the result - page. - + limit is the total number of results to be returned in the result page. + If left empty it will default to a value to be set by each app. + in: query required: false type: string format: uint64 - name: pagination.count_total description: >- - count_total is set to true to indicate that the result set should - include - - a count of the total number of items available for pagination in - UIs. - - count_total is only respected when offset is used. It is ignored - when key - + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + is set. + in: query required: false type: boolean - name: pagination.reverse description: >- - reverse is set to true if results are to be returned in the - descending order. + reverse is set to true if results are to be returned in the descending order. + in: query required: false type: boolean @@ -4351,18 +3987,18 @@ paths: /cosmos/bank/v1beta1/spendable_balances/{address}/by_denom: get: summary: >- - SpendableBalanceByDenom queries the spendable balance of a single denom - for - + SpendableBalanceByDenom queries the spendable balance of a single denom for + a single account. - description: >- - When called from another module, this query might consume a high amount - of + description: >- + When called from another module, this query might consume a high amount of + gas if the pagination field is incorrectly set. + operationId: SpendableBalanceByDenom responses: - '200': + "200": description: A successful response. schema: type: object @@ -4376,10 +4012,10 @@ paths: amount: type: string description: >- - QuerySpendableBalanceByDenomResponse defines the gRPC response - structure for - + QuerySpendableBalanceByDenomResponse defines the gRPC response structure for + querying an account's spendable balance for a specific denom. + default: description: An unexpected error response. schema: @@ -4395,7 +4031,7 @@ paths: items: type: object properties: - '@type': + "@type": type: string additionalProperties: {} parameters: @@ -4415,13 +4051,13 @@ paths: get: summary: TotalSupply queries the total supply of all coins. description: >- - When called from another module, this query might consume a high amount - of - + When called from another module, this query might consume a high amount of + gas if the pagination field is incorrectly set. + operationId: TotalSupply responses: - '200': + "200": description: A successful response. schema: type: object @@ -4437,12 +4073,12 @@ paths: type: string description: >- Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - + + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + title: supply is the supply of the coins pagination: description: pagination defines the pagination in the response. @@ -4459,15 +4095,15 @@ paths: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise - title: >- - QueryTotalSupplyResponse is the response type for the - Query/TotalSupply RPC + title: >- + QueryTotalSupplyResponse is the response type for the Query/TotalSupply RPC + method + default: description: An unexpected error response. schema: @@ -4483,7 +4119,7 @@ paths: items: type: object properties: - '@type': + "@type": type: string additionalProperties: {} parameters: @@ -4499,44 +4135,42 @@ paths: - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. - - It is less efficient than using key. Only one of offset or key - should - + + It is less efficient than using key. Only one of offset or key should + be set. + in: query required: false type: string format: uint64 - name: pagination.limit description: >- - limit is the total number of results to be returned in the result - page. - + limit is the total number of results to be returned in the result page. + If left empty it will default to a value to be set by each app. + in: query required: false type: string format: uint64 - name: pagination.count_total description: >- - count_total is set to true to indicate that the result set should - include - - a count of the total number of items available for pagination in - UIs. - - count_total is only respected when offset is used. It is ignored - when key - + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + is set. + in: query required: false type: boolean - name: pagination.reverse description: >- - reverse is set to true if results are to be returned in the - descending order. + reverse is set to true if results are to be returned in the descending order. + in: query required: false type: boolean @@ -4546,13 +4180,13 @@ paths: get: summary: SupplyOf queries the supply of a single coin. description: >- - When called from another module, this query might consume a high amount - of - + When called from another module, this query might consume a high amount of + gas if the pagination field is incorrectly set. + operationId: SupplyOf responses: - '200': + "200": description: A successful response. schema: type: object @@ -4566,8 +4200,8 @@ paths: amount: type: string description: >- - QuerySupplyOfResponse is the response type for the Query/SupplyOf - RPC method. + QuerySupplyOfResponse is the response type for the Query/SupplyOf RPC method. + default: description: An unexpected error response. schema: @@ -4583,7 +4217,7 @@ paths: items: type: object properties: - '@type': + "@type": type: string additionalProperties: {} parameters: @@ -4597,16 +4231,15 @@ paths: /cosmos/base/tendermint/v1beta1/abci_query: get: summary: >- - ABCIQuery defines a query handler that supports ABCI queries directly to - the - - application, bypassing Tendermint completely. The ABCI query must - contain - + ABCIQuery defines a query handler that supports ABCI queries directly to the + + application, bypassing Tendermint completely. The ABCI query must contain + a valid and supported path, including app, custom, p2p, and store. + operationId: ABCIQuery responses: - '200': + "200": description: A successful response. schema: type: object @@ -4651,23 +4284,21 @@ paths: type: string format: byte title: >- - ProofOp defines an operation used for calculating Merkle - root - - The data could be arbitrary format, providing necessary - data - + ProofOp defines an operation used for calculating Merkle root + + The data could be arbitrary format, providing necessary data + for example neighbouring node hash + title: ProofOps is Merkle proof defined by the list of ProofOps description: >- - ABCIQueryResponse defines the response structure for the ABCIQuery - gRPC query. - - - Note: This type is a duplicate of the ResponseQuery proto type - defined in - + ABCIQueryResponse defines the response structure for the ABCIQuery gRPC query. + + + Note: This type is a duplicate of the ResponseQuery proto type defined in + Tendermint. + default: description: An unexpected error response. schema: @@ -4683,81 +4314,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -4765,9 +4381,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -4778,9 +4394,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -4788,9 +4404,9 @@ paths: 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 { @@ -4801,61 +4417,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: data in: query @@ -4882,7 +4490,7 @@ paths: summary: GetLatestBlock returns the latest block. operationId: GetLatestBlock responses: - '200': + "200": description: A successful response. schema: type: object @@ -4904,10 +4512,10 @@ paths: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block as its hash and its - `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + block: - title: 'Deprecated: please use `sdk_block` instead' + title: "Deprecated: please use `sdk_block` instead" type: object properties: header: @@ -4924,13 +4532,12 @@ paths: type: string format: uint64 description: >- - Consensus captures the consensus rules for processing - a block in the blockchain, - - including all blockchain data structures and the rules - of the application's - + Consensus captures the consensus rules for processing a block in the blockchain, + + including all blockchain data structures and the rules of the application's + state transition machine. + chain_id: type: string height: @@ -4956,8 +4563,8 @@ paths: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block as its hash - and its `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + title: prev block info last_commit_hash: type: string @@ -4989,8 +4596,8 @@ paths: type: string format: byte title: >- - root hash of all results from the txs from the - previous block + root hash of all results from the txs from the previous block + evidence_hash: type: string format: byte @@ -5011,15 +4618,14 @@ paths: format: byte description: >- Txs that will be applied by state @ block.Height+1. + + NOTE: not all txs here are valid. We're just agreeing on the order first. + + This means that block.AppHash does not include these txs. - NOTE: not all txs here are valid. We're just agreeing - on the order first. - - This means that block.AppHash does not include these - txs. title: >- - Data contains the set of transactions included in the - block + Data contains the set of transactions included in the block + evidence: type: object properties: @@ -5043,13 +4649,97 @@ paths: - SIGNED_MSG_TYPE_PROPOSAL default: SIGNED_MSG_TYPE_UNKNOWN description: >- - SignedMsgType is a type of signed - message in the consensus. + SignedMsgType is a type of signed message in the consensus. + + - SIGNED_MSG_TYPE_UNKNOWN: Unknown + - SIGNED_MSG_TYPE_PREVOTE: Prevote + - SIGNED_MSG_TYPE_PRECOMMIT: Precommit + - SIGNED_MSG_TYPE_PROPOSAL: Proposal + height: + type: string + format: int64 + round: + type: integer + format: int32 + block_id: + type: object + properties: + hash: + type: string + format: byte + part_set_header: + type: object + properties: + total: + type: integer + format: int64 + hash: + type: string + format: byte + description: Header of the parts set for a block. + description: >- + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + + timestamp: + type: string + format: date-time + validator_address: + type: string + format: byte + validator_index: + type: integer + format: int32 + signature: + type: string + format: byte + description: >- + Vote signature by the validator if they participated in consensus for the + + associated block. + + extension: + type: string + format: byte + description: >- + Vote extension provided by the application. Only valid for precommit + + messages. + + extension_signature: + type: string + format: byte + description: >- + Vote extension signature by the validator if they participated in + + consensus for the associated block. + + Only valid for precommit messages. + + description: >- + Vote represents a prevote or precommit vote from validators for + + consensus. + + vote_b: + type: object + properties: + type: + type: string + enum: + - SIGNED_MSG_TYPE_UNKNOWN + - SIGNED_MSG_TYPE_PREVOTE + - SIGNED_MSG_TYPE_PRECOMMIT + - SIGNED_MSG_TYPE_PROPOSAL + default: SIGNED_MSG_TYPE_UNKNOWN + description: >- + SignedMsgType is a type of signed message in the consensus. + - SIGNED_MSG_TYPE_UNKNOWN: Unknown - SIGNED_MSG_TYPE_PREVOTE: Prevote - SIGNED_MSG_TYPE_PRECOMMIT: Precommit - SIGNED_MSG_TYPE_PROPOSAL: Proposal + height: type: string format: int64 @@ -5073,92 +4763,8 @@ paths: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block - as its hash and its `PartSetHeader`. - timestamp: - type: string - format: date-time - validator_address: - type: string - format: byte - validator_index: - type: integer - format: int32 - signature: - type: string - format: byte - description: >- - Vote signature by the validator if they - participated in consensus for the + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. - associated block. - extension: - type: string - format: byte - description: >- - Vote extension provided by the - application. Only valid for precommit - - messages. - extension_signature: - type: string - format: byte - description: >- - Vote extension signature by the - validator if they participated in - - consensus for the associated block. - - Only valid for precommit messages. - description: >- - Vote represents a prevote or precommit vote - from validators for - - consensus. - vote_b: - type: object - properties: - type: - type: string - enum: - - SIGNED_MSG_TYPE_UNKNOWN - - SIGNED_MSG_TYPE_PREVOTE - - SIGNED_MSG_TYPE_PRECOMMIT - - SIGNED_MSG_TYPE_PROPOSAL - default: SIGNED_MSG_TYPE_UNKNOWN - description: >- - SignedMsgType is a type of signed - message in the consensus. - - - SIGNED_MSG_TYPE_UNKNOWN: Unknown - - SIGNED_MSG_TYPE_PREVOTE: Prevote - - SIGNED_MSG_TYPE_PRECOMMIT: Precommit - - SIGNED_MSG_TYPE_PROPOSAL: Proposal - height: - type: string - format: int64 - round: - type: integer - format: int32 - block_id: - type: object - properties: - hash: - type: string - format: byte - part_set_header: - type: object - properties: - total: - type: integer - format: int64 - hash: - type: string - format: byte - description: Header of the parts set for a block. - description: >- - BlockID defines the unique ID of a block - as its hash and its `PartSetHeader`. timestamp: type: string format: date-time @@ -5172,33 +4778,33 @@ paths: type: string format: byte description: >- - Vote signature by the validator if they - participated in consensus for the - + Vote signature by the validator if they participated in consensus for the + associated block. + extension: type: string format: byte description: >- - Vote extension provided by the - application. Only valid for precommit - + Vote extension provided by the application. Only valid for precommit + messages. + extension_signature: type: string format: byte description: >- - Vote extension signature by the - validator if they participated in - + Vote extension signature by the validator if they participated in + consensus for the associated block. - + Only valid for precommit messages. - description: >- - Vote represents a prevote or precommit vote - from validators for + description: >- + Vote represents a prevote or precommit vote from validators for + consensus. + total_voting_power: type: string format: int64 @@ -5209,8 +4815,8 @@ paths: type: string format: date-time description: >- - DuplicateVoteEvidence contains evidence of a - validator signed two conflicting votes. + DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes. + light_client_attack_evidence: type: object properties: @@ -5234,14 +4840,12 @@ paths: type: string format: uint64 description: >- - Consensus captures the consensus rules - for processing a block in the - blockchain, - - including all blockchain data structures - and the rules of the application's - + Consensus captures the consensus rules for processing a block in the blockchain, + + including all blockchain data structures and the rules of the application's + state transition machine. + chain_id: type: string height: @@ -5267,15 +4871,15 @@ paths: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block - as its hash and its `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + title: prev block info last_commit_hash: type: string format: byte description: >- - commit from validators from the last - block + commit from validators from the last block + title: hashes of block data data_hash: type: string @@ -5286,8 +4890,8 @@ paths: format: byte description: validators for the current block title: >- - hashes from the app output from the prev - block + hashes from the app output from the prev block + next_validators_hash: type: string format: byte @@ -5304,8 +4908,8 @@ paths: type: string format: byte title: >- - root hash of all results from the txs - from the previous block + root hash of all results from the txs from the previous block + evidence_hash: type: string format: byte @@ -5316,8 +4920,8 @@ paths: format: byte title: original proposer of the block description: >- - Header defines the structure of a block - header. + Header defines the structure of a block header. + commit: type: object properties: @@ -5344,8 +4948,8 @@ paths: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block - as its hash and its `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + signatures: type: array items: @@ -5360,14 +4964,14 @@ paths: - BLOCK_ID_FLAG_NIL default: BLOCK_ID_FLAG_UNKNOWN description: >- - - BLOCK_ID_FLAG_UNKNOWN: Indicates an - error condition + - BLOCK_ID_FLAG_UNKNOWN: Indicates an error condition - BLOCK_ID_FLAG_ABSENT: The vote was not received - BLOCK_ID_FLAG_COMMIT: Voted for the block that received the majority - BLOCK_ID_FLAG_NIL: Voted for nil + title: >- - BlockIdFlag indicates which BlockID the - signature is for + BlockIdFlag indicates which BlockID the signature is for + validator_address: type: string format: byte @@ -5378,16 +4982,14 @@ paths: type: string format: byte description: >- - CommitSig is a part of the Vote included - in a Commit. + CommitSig is a part of the Vote included in a Commit. + description: >- - Commit contains the evidence that a - block was committed by a set of - validators. + Commit contains the evidence that a block was committed by a set of validators. + description: >- - SignedHeader contains a Header(H) and - Commit(H+1) with signatures of - validators who signed it. + SignedHeader contains a Header(H) and Commit(H+1) with signatures of validators who signed it. + validator_set: type: object properties: @@ -5409,8 +5011,8 @@ paths: type: string format: byte description: >- - PublicKey is a ED25519 or a secp256k1 - public key. + PublicKey is a ED25519 or a secp256k1 public key. + voting_power: type: string format: int64 @@ -5418,8 +5020,8 @@ paths: type: string format: int64 description: >- - Validator represents a node - participating in the consensus protocol. + Validator represents a node participating in the consensus protocol. + proposer: type: object properties: @@ -5436,8 +5038,8 @@ paths: type: string format: byte description: >- - PublicKey is a ED25519 or a secp256k1 - public key. + PublicKey is a ED25519 or a secp256k1 public key. + voting_power: type: string format: int64 @@ -5445,18 +5047,17 @@ paths: type: string format: int64 description: >- - Validator represents a node - participating in the consensus protocol. + Validator represents a node participating in the consensus protocol. + total_voting_power: type: string format: int64 description: >- - ValidatorSet defines a set of - validators. + ValidatorSet defines a set of validators. + description: >- - LightBlock is a combination of SignedHeader - and ValidatorSet. It is used by light - clients. + LightBlock is a combination of SignedHeader and ValidatorSet. It is used by light clients. + common_height: type: string format: int64 @@ -5478,8 +5079,8 @@ paths: type: string format: byte description: >- - PublicKey is a ED25519 or a secp256k1 - public key. + PublicKey is a ED25519 or a secp256k1 public key. + voting_power: type: string format: int64 @@ -5487,8 +5088,8 @@ paths: type: string format: int64 description: >- - Validator represents a node participating - in the consensus protocol. + Validator represents a node participating in the consensus protocol. + total_voting_power: type: string format: int64 @@ -5496,12 +5097,11 @@ paths: type: string format: date-time description: >- - LightClientAttackEvidence contains evidence of a - set of validators attempting to mislead a light - client. + LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client. + description: >- - Evidence is a generic type for wrapping evidence of - misbehavior by a validator. + Evidence is a generic type for wrapping evidence of misbehavior by a validator. + description: EvidenceList is a list of evidence. last_commit: type: object @@ -5529,8 +5129,8 @@ paths: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block as its hash - and its `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + signatures: type: array items: @@ -5545,14 +5145,14 @@ paths: - BLOCK_ID_FLAG_NIL default: BLOCK_ID_FLAG_UNKNOWN description: >- - - BLOCK_ID_FLAG_UNKNOWN: Indicates an error - condition + - BLOCK_ID_FLAG_UNKNOWN: Indicates an error condition - BLOCK_ID_FLAG_ABSENT: The vote was not received - BLOCK_ID_FLAG_COMMIT: Voted for the block that received the majority - BLOCK_ID_FLAG_NIL: Voted for nil + title: >- - BlockIdFlag indicates which BlockID the - signature is for + BlockIdFlag indicates which BlockID the signature is for + validator_address: type: string format: byte @@ -5563,14 +5163,14 @@ paths: type: string format: byte description: >- - CommitSig is a part of the Vote included in a - Commit. + CommitSig is a part of the Vote included in a Commit. + description: >- - Commit contains the evidence that a block was committed by - a set of validators. + Commit contains the evidence that a block was committed by a set of validators. + description: >- - Block defines the structure of a block in the CometBFT - blockchain. + Block defines the structure of a block in the CometBFT blockchain. + sdk_block: type: object properties: @@ -5588,13 +5188,12 @@ paths: type: string format: uint64 description: >- - Consensus captures the consensus rules for processing - a block in the blockchain, - - including all blockchain data structures and the rules - of the application's - + Consensus captures the consensus rules for processing a block in the blockchain, + + including all blockchain data structures and the rules of the application's + state transition machine. + chain_id: type: string height: @@ -5620,8 +5219,8 @@ paths: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block as its hash - and its `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + title: prev block info last_commit_hash: type: string @@ -5653,8 +5252,8 @@ paths: type: string format: byte title: >- - root hash of all results from the txs from the - previous block + root hash of all results from the txs from the previous block + evidence_hash: type: string format: byte @@ -5663,16 +5262,15 @@ paths: proposer_address: type: string description: >- - proposer_address is the original block proposer - address, formatted as a Bech32 string. - - In Tendermint, this type is `bytes`, but in the SDK, - we convert it to a Bech32 string - + proposer_address is the original block proposer address, formatted as a Bech32 string. + + In Tendermint, this type is `bytes`, but in the SDK, we convert it to a Bech32 string + for better UX. - - + + original proposer of the block + description: Header defines the structure of a Tendermint block header. data: type: object @@ -5684,15 +5282,14 @@ paths: format: byte description: >- Txs that will be applied by state @ block.Height+1. + + NOTE: not all txs here are valid. We're just agreeing on the order first. + + This means that block.AppHash does not include these txs. - NOTE: not all txs here are valid. We're just agreeing - on the order first. - - This means that block.AppHash does not include these - txs. title: >- - Data contains the set of transactions included in the - block + Data contains the set of transactions included in the block + evidence: type: object properties: @@ -5716,13 +5313,13 @@ paths: - SIGNED_MSG_TYPE_PROPOSAL default: SIGNED_MSG_TYPE_UNKNOWN description: >- - SignedMsgType is a type of signed - message in the consensus. - + SignedMsgType is a type of signed message in the consensus. + - SIGNED_MSG_TYPE_UNKNOWN: Unknown - SIGNED_MSG_TYPE_PREVOTE: Prevote - SIGNED_MSG_TYPE_PRECOMMIT: Precommit - SIGNED_MSG_TYPE_PROPOSAL: Proposal + height: type: string format: int64 @@ -5746,8 +5343,8 @@ paths: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block - as its hash and its `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + timestamp: type: string format: date-time @@ -5761,33 +5358,33 @@ paths: type: string format: byte description: >- - Vote signature by the validator if they - participated in consensus for the - + Vote signature by the validator if they participated in consensus for the + associated block. + extension: type: string format: byte description: >- - Vote extension provided by the - application. Only valid for precommit - + Vote extension provided by the application. Only valid for precommit + messages. + extension_signature: type: string format: byte description: >- - Vote extension signature by the - validator if they participated in - + Vote extension signature by the validator if they participated in + consensus for the associated block. - + Only valid for precommit messages. - description: >- - Vote represents a prevote or precommit vote - from validators for + description: >- + Vote represents a prevote or precommit vote from validators for + consensus. + vote_b: type: object properties: @@ -5800,13 +5397,13 @@ paths: - SIGNED_MSG_TYPE_PROPOSAL default: SIGNED_MSG_TYPE_UNKNOWN description: >- - SignedMsgType is a type of signed - message in the consensus. - + SignedMsgType is a type of signed message in the consensus. + - SIGNED_MSG_TYPE_UNKNOWN: Unknown - SIGNED_MSG_TYPE_PREVOTE: Prevote - SIGNED_MSG_TYPE_PRECOMMIT: Precommit - SIGNED_MSG_TYPE_PROPOSAL: Proposal + height: type: string format: int64 @@ -5830,8 +5427,8 @@ paths: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block - as its hash and its `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + timestamp: type: string format: date-time @@ -5845,33 +5442,33 @@ paths: type: string format: byte description: >- - Vote signature by the validator if they - participated in consensus for the - + Vote signature by the validator if they participated in consensus for the + associated block. + extension: type: string format: byte description: >- - Vote extension provided by the - application. Only valid for precommit - + Vote extension provided by the application. Only valid for precommit + messages. + extension_signature: type: string format: byte description: >- - Vote extension signature by the - validator if they participated in - + Vote extension signature by the validator if they participated in + consensus for the associated block. - + Only valid for precommit messages. - description: >- - Vote represents a prevote or precommit vote - from validators for + description: >- + Vote represents a prevote or precommit vote from validators for + consensus. + total_voting_power: type: string format: int64 @@ -5882,8 +5479,8 @@ paths: type: string format: date-time description: >- - DuplicateVoteEvidence contains evidence of a - validator signed two conflicting votes. + DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes. + light_client_attack_evidence: type: object properties: @@ -5907,14 +5504,12 @@ paths: type: string format: uint64 description: >- - Consensus captures the consensus rules - for processing a block in the - blockchain, - - including all blockchain data structures - and the rules of the application's - + Consensus captures the consensus rules for processing a block in the blockchain, + + including all blockchain data structures and the rules of the application's + state transition machine. + chain_id: type: string height: @@ -5940,15 +5535,15 @@ paths: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block - as its hash and its `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + title: prev block info last_commit_hash: type: string format: byte description: >- - commit from validators from the last - block + commit from validators from the last block + title: hashes of block data data_hash: type: string @@ -5959,8 +5554,8 @@ paths: format: byte description: validators for the current block title: >- - hashes from the app output from the prev - block + hashes from the app output from the prev block + next_validators_hash: type: string format: byte @@ -5977,8 +5572,8 @@ paths: type: string format: byte title: >- - root hash of all results from the txs - from the previous block + root hash of all results from the txs from the previous block + evidence_hash: type: string format: byte @@ -5989,8 +5584,8 @@ paths: format: byte title: original proposer of the block description: >- - Header defines the structure of a block - header. + Header defines the structure of a block header. + commit: type: object properties: @@ -6017,8 +5612,8 @@ paths: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block - as its hash and its `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + signatures: type: array items: @@ -6033,14 +5628,14 @@ paths: - BLOCK_ID_FLAG_NIL default: BLOCK_ID_FLAG_UNKNOWN description: >- - - BLOCK_ID_FLAG_UNKNOWN: Indicates an - error condition + - BLOCK_ID_FLAG_UNKNOWN: Indicates an error condition - BLOCK_ID_FLAG_ABSENT: The vote was not received - BLOCK_ID_FLAG_COMMIT: Voted for the block that received the majority - BLOCK_ID_FLAG_NIL: Voted for nil + title: >- - BlockIdFlag indicates which BlockID the - signature is for + BlockIdFlag indicates which BlockID the signature is for + validator_address: type: string format: byte @@ -6051,16 +5646,14 @@ paths: type: string format: byte description: >- - CommitSig is a part of the Vote included - in a Commit. + CommitSig is a part of the Vote included in a Commit. + description: >- - Commit contains the evidence that a - block was committed by a set of - validators. + Commit contains the evidence that a block was committed by a set of validators. + description: >- - SignedHeader contains a Header(H) and - Commit(H+1) with signatures of - validators who signed it. + SignedHeader contains a Header(H) and Commit(H+1) with signatures of validators who signed it. + validator_set: type: object properties: @@ -6082,8 +5675,8 @@ paths: type: string format: byte description: >- - PublicKey is a ED25519 or a secp256k1 - public key. + PublicKey is a ED25519 or a secp256k1 public key. + voting_power: type: string format: int64 @@ -6091,8 +5684,8 @@ paths: type: string format: int64 description: >- - Validator represents a node - participating in the consensus protocol. + Validator represents a node participating in the consensus protocol. + proposer: type: object properties: @@ -6109,8 +5702,8 @@ paths: type: string format: byte description: >- - PublicKey is a ED25519 or a secp256k1 - public key. + PublicKey is a ED25519 or a secp256k1 public key. + voting_power: type: string format: int64 @@ -6118,18 +5711,17 @@ paths: type: string format: int64 description: >- - Validator represents a node - participating in the consensus protocol. + Validator represents a node participating in the consensus protocol. + total_voting_power: type: string format: int64 description: >- - ValidatorSet defines a set of - validators. + ValidatorSet defines a set of validators. + description: >- - LightBlock is a combination of SignedHeader - and ValidatorSet. It is used by light - clients. + LightBlock is a combination of SignedHeader and ValidatorSet. It is used by light clients. + common_height: type: string format: int64 @@ -6151,8 +5743,8 @@ paths: type: string format: byte description: >- - PublicKey is a ED25519 or a secp256k1 - public key. + PublicKey is a ED25519 or a secp256k1 public key. + voting_power: type: string format: int64 @@ -6160,8 +5752,8 @@ paths: type: string format: int64 description: >- - Validator represents a node participating - in the consensus protocol. + Validator represents a node participating in the consensus protocol. + total_voting_power: type: string format: int64 @@ -6169,12 +5761,11 @@ paths: type: string format: date-time description: >- - LightClientAttackEvidence contains evidence of a - set of validators attempting to mislead a light - client. + LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client. + description: >- - Evidence is a generic type for wrapping evidence of - misbehavior by a validator. + Evidence is a generic type for wrapping evidence of misbehavior by a validator. + description: EvidenceList is a list of evidence. last_commit: type: object @@ -6202,8 +5793,8 @@ paths: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block as its hash - and its `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + signatures: type: array items: @@ -6218,14 +5809,14 @@ paths: - BLOCK_ID_FLAG_NIL default: BLOCK_ID_FLAG_UNKNOWN description: >- - - BLOCK_ID_FLAG_UNKNOWN: Indicates an error - condition + - BLOCK_ID_FLAG_UNKNOWN: Indicates an error condition - BLOCK_ID_FLAG_ABSENT: The vote was not received - BLOCK_ID_FLAG_COMMIT: Voted for the block that received the majority - BLOCK_ID_FLAG_NIL: Voted for nil + title: >- - BlockIdFlag indicates which BlockID the - signature is for + BlockIdFlag indicates which BlockID the signature is for + validator_address: type: string format: byte @@ -6236,19 +5827,19 @@ paths: type: string format: byte description: >- - CommitSig is a part of the Vote included in a - Commit. + CommitSig is a part of the Vote included in a Commit. + description: >- - Commit contains the evidence that a block was committed by - a set of validators. - description: >- - Block is tendermint type Block, with the Header proposer - address + Commit contains the evidence that a block was committed by a set of validators. + description: >- + Block is tendermint type Block, with the Header proposer address + field converted to bech32 string. + description: >- - GetLatestBlockResponse is the response type for the - Query/GetLatestBlock RPC method. + GetLatestBlockResponse is the response type for the Query/GetLatestBlock RPC method. + default: description: An unexpected error response. schema: @@ -6264,81 +5855,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -6346,9 +5922,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -6359,9 +5935,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -6369,9 +5945,9 @@ paths: 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 { @@ -6382,61 +5958,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + tags: - Service /cosmos/base/tendermint/v1beta1/blocks/{height}: @@ -6444,7 +6012,7 @@ paths: summary: GetBlockByHeight queries block for given height. operationId: GetBlockByHeight responses: - '200': + "200": description: A successful response. schema: type: object @@ -6466,10 +6034,10 @@ paths: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block as its hash and its - `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + block: - title: 'Deprecated: please use `sdk_block` instead' + title: "Deprecated: please use `sdk_block` instead" type: object properties: header: @@ -6486,13 +6054,12 @@ paths: type: string format: uint64 description: >- - Consensus captures the consensus rules for processing - a block in the blockchain, - - including all blockchain data structures and the rules - of the application's - + Consensus captures the consensus rules for processing a block in the blockchain, + + including all blockchain data structures and the rules of the application's + state transition machine. + chain_id: type: string height: @@ -6518,8 +6085,8 @@ paths: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block as its hash - and its `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + title: prev block info last_commit_hash: type: string @@ -6551,8 +6118,8 @@ paths: type: string format: byte title: >- - root hash of all results from the txs from the - previous block + root hash of all results from the txs from the previous block + evidence_hash: type: string format: byte @@ -6573,15 +6140,14 @@ paths: format: byte description: >- Txs that will be applied by state @ block.Height+1. + + NOTE: not all txs here are valid. We're just agreeing on the order first. + + This means that block.AppHash does not include these txs. - NOTE: not all txs here are valid. We're just agreeing - on the order first. - - This means that block.AppHash does not include these - txs. title: >- - Data contains the set of transactions included in the - block + Data contains the set of transactions included in the block + evidence: type: object properties: @@ -6605,13 +6171,13 @@ paths: - SIGNED_MSG_TYPE_PROPOSAL default: SIGNED_MSG_TYPE_UNKNOWN description: >- - SignedMsgType is a type of signed - message in the consensus. - + SignedMsgType is a type of signed message in the consensus. + - SIGNED_MSG_TYPE_UNKNOWN: Unknown - SIGNED_MSG_TYPE_PREVOTE: Prevote - SIGNED_MSG_TYPE_PRECOMMIT: Precommit - SIGNED_MSG_TYPE_PROPOSAL: Proposal + height: type: string format: int64 @@ -6635,8 +6201,8 @@ paths: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block - as its hash and its `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + timestamp: type: string format: date-time @@ -6650,33 +6216,33 @@ paths: type: string format: byte description: >- - Vote signature by the validator if they - participated in consensus for the - + Vote signature by the validator if they participated in consensus for the + associated block. + extension: type: string format: byte description: >- - Vote extension provided by the - application. Only valid for precommit - + Vote extension provided by the application. Only valid for precommit + messages. + extension_signature: type: string format: byte description: >- - Vote extension signature by the - validator if they participated in - + Vote extension signature by the validator if they participated in + consensus for the associated block. - + Only valid for precommit messages. - description: >- - Vote represents a prevote or precommit vote - from validators for + description: >- + Vote represents a prevote or precommit vote from validators for + consensus. + vote_b: type: object properties: @@ -6689,13 +6255,13 @@ paths: - SIGNED_MSG_TYPE_PROPOSAL default: SIGNED_MSG_TYPE_UNKNOWN description: >- - SignedMsgType is a type of signed - message in the consensus. - + SignedMsgType is a type of signed message in the consensus. + - SIGNED_MSG_TYPE_UNKNOWN: Unknown - SIGNED_MSG_TYPE_PREVOTE: Prevote - SIGNED_MSG_TYPE_PRECOMMIT: Precommit - SIGNED_MSG_TYPE_PROPOSAL: Proposal + height: type: string format: int64 @@ -6719,8 +6285,8 @@ paths: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block - as its hash and its `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + timestamp: type: string format: date-time @@ -6734,33 +6300,33 @@ paths: type: string format: byte description: >- - Vote signature by the validator if they - participated in consensus for the - + Vote signature by the validator if they participated in consensus for the + associated block. + extension: type: string format: byte description: >- - Vote extension provided by the - application. Only valid for precommit - + Vote extension provided by the application. Only valid for precommit + messages. + extension_signature: type: string format: byte description: >- - Vote extension signature by the - validator if they participated in - + Vote extension signature by the validator if they participated in + consensus for the associated block. - + Only valid for precommit messages. - description: >- - Vote represents a prevote or precommit vote - from validators for + description: >- + Vote represents a prevote or precommit vote from validators for + consensus. + total_voting_power: type: string format: int64 @@ -6771,8 +6337,8 @@ paths: type: string format: date-time description: >- - DuplicateVoteEvidence contains evidence of a - validator signed two conflicting votes. + DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes. + light_client_attack_evidence: type: object properties: @@ -6796,14 +6362,12 @@ paths: type: string format: uint64 description: >- - Consensus captures the consensus rules - for processing a block in the - blockchain, - - including all blockchain data structures - and the rules of the application's - + Consensus captures the consensus rules for processing a block in the blockchain, + + including all blockchain data structures and the rules of the application's + state transition machine. + chain_id: type: string height: @@ -6829,15 +6393,15 @@ paths: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block - as its hash and its `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + title: prev block info last_commit_hash: type: string format: byte description: >- - commit from validators from the last - block + commit from validators from the last block + title: hashes of block data data_hash: type: string @@ -6848,8 +6412,8 @@ paths: format: byte description: validators for the current block title: >- - hashes from the app output from the prev - block + hashes from the app output from the prev block + next_validators_hash: type: string format: byte @@ -6866,8 +6430,8 @@ paths: type: string format: byte title: >- - root hash of all results from the txs - from the previous block + root hash of all results from the txs from the previous block + evidence_hash: type: string format: byte @@ -6878,8 +6442,8 @@ paths: format: byte title: original proposer of the block description: >- - Header defines the structure of a block - header. + Header defines the structure of a block header. + commit: type: object properties: @@ -6906,8 +6470,8 @@ paths: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block - as its hash and its `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + signatures: type: array items: @@ -6922,14 +6486,14 @@ paths: - BLOCK_ID_FLAG_NIL default: BLOCK_ID_FLAG_UNKNOWN description: >- - - BLOCK_ID_FLAG_UNKNOWN: Indicates an - error condition + - BLOCK_ID_FLAG_UNKNOWN: Indicates an error condition - BLOCK_ID_FLAG_ABSENT: The vote was not received - BLOCK_ID_FLAG_COMMIT: Voted for the block that received the majority - BLOCK_ID_FLAG_NIL: Voted for nil + title: >- - BlockIdFlag indicates which BlockID the - signature is for + BlockIdFlag indicates which BlockID the signature is for + validator_address: type: string format: byte @@ -6940,16 +6504,14 @@ paths: type: string format: byte description: >- - CommitSig is a part of the Vote included - in a Commit. + CommitSig is a part of the Vote included in a Commit. + description: >- - Commit contains the evidence that a - block was committed by a set of - validators. + Commit contains the evidence that a block was committed by a set of validators. + description: >- - SignedHeader contains a Header(H) and - Commit(H+1) with signatures of - validators who signed it. + SignedHeader contains a Header(H) and Commit(H+1) with signatures of validators who signed it. + validator_set: type: object properties: @@ -6971,8 +6533,8 @@ paths: type: string format: byte description: >- - PublicKey is a ED25519 or a secp256k1 - public key. + PublicKey is a ED25519 or a secp256k1 public key. + voting_power: type: string format: int64 @@ -6980,8 +6542,8 @@ paths: type: string format: int64 description: >- - Validator represents a node - participating in the consensus protocol. + Validator represents a node participating in the consensus protocol. + proposer: type: object properties: @@ -6998,8 +6560,8 @@ paths: type: string format: byte description: >- - PublicKey is a ED25519 or a secp256k1 - public key. + PublicKey is a ED25519 or a secp256k1 public key. + voting_power: type: string format: int64 @@ -7007,18 +6569,17 @@ paths: type: string format: int64 description: >- - Validator represents a node - participating in the consensus protocol. + Validator represents a node participating in the consensus protocol. + total_voting_power: type: string format: int64 description: >- - ValidatorSet defines a set of - validators. + ValidatorSet defines a set of validators. + description: >- - LightBlock is a combination of SignedHeader - and ValidatorSet. It is used by light - clients. + LightBlock is a combination of SignedHeader and ValidatorSet. It is used by light clients. + common_height: type: string format: int64 @@ -7040,8 +6601,8 @@ paths: type: string format: byte description: >- - PublicKey is a ED25519 or a secp256k1 - public key. + PublicKey is a ED25519 or a secp256k1 public key. + voting_power: type: string format: int64 @@ -7049,8 +6610,8 @@ paths: type: string format: int64 description: >- - Validator represents a node participating - in the consensus protocol. + Validator represents a node participating in the consensus protocol. + total_voting_power: type: string format: int64 @@ -7058,12 +6619,11 @@ paths: type: string format: date-time description: >- - LightClientAttackEvidence contains evidence of a - set of validators attempting to mislead a light - client. + LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client. + description: >- - Evidence is a generic type for wrapping evidence of - misbehavior by a validator. + Evidence is a generic type for wrapping evidence of misbehavior by a validator. + description: EvidenceList is a list of evidence. last_commit: type: object @@ -7091,8 +6651,8 @@ paths: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block as its hash - and its `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + signatures: type: array items: @@ -7107,14 +6667,14 @@ paths: - BLOCK_ID_FLAG_NIL default: BLOCK_ID_FLAG_UNKNOWN description: >- - - BLOCK_ID_FLAG_UNKNOWN: Indicates an error - condition + - BLOCK_ID_FLAG_UNKNOWN: Indicates an error condition - BLOCK_ID_FLAG_ABSENT: The vote was not received - BLOCK_ID_FLAG_COMMIT: Voted for the block that received the majority - BLOCK_ID_FLAG_NIL: Voted for nil + title: >- - BlockIdFlag indicates which BlockID the - signature is for + BlockIdFlag indicates which BlockID the signature is for + validator_address: type: string format: byte @@ -7125,14 +6685,14 @@ paths: type: string format: byte description: >- - CommitSig is a part of the Vote included in a - Commit. + CommitSig is a part of the Vote included in a Commit. + description: >- - Commit contains the evidence that a block was committed by - a set of validators. + Commit contains the evidence that a block was committed by a set of validators. + description: >- - Block defines the structure of a block in the CometBFT - blockchain. + Block defines the structure of a block in the CometBFT blockchain. + sdk_block: type: object properties: @@ -7150,13 +6710,12 @@ paths: type: string format: uint64 description: >- - Consensus captures the consensus rules for processing - a block in the blockchain, - - including all blockchain data structures and the rules - of the application's - + Consensus captures the consensus rules for processing a block in the blockchain, + + including all blockchain data structures and the rules of the application's + state transition machine. + chain_id: type: string height: @@ -7182,8 +6741,8 @@ paths: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block as its hash - and its `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + title: prev block info last_commit_hash: type: string @@ -7215,8 +6774,8 @@ paths: type: string format: byte title: >- - root hash of all results from the txs from the - previous block + root hash of all results from the txs from the previous block + evidence_hash: type: string format: byte @@ -7225,16 +6784,15 @@ paths: proposer_address: type: string description: >- - proposer_address is the original block proposer - address, formatted as a Bech32 string. - - In Tendermint, this type is `bytes`, but in the SDK, - we convert it to a Bech32 string - + proposer_address is the original block proposer address, formatted as a Bech32 string. + + In Tendermint, this type is `bytes`, but in the SDK, we convert it to a Bech32 string + for better UX. - - + + original proposer of the block + description: Header defines the structure of a Tendermint block header. data: type: object @@ -7246,15 +6804,14 @@ paths: format: byte description: >- Txs that will be applied by state @ block.Height+1. + + NOTE: not all txs here are valid. We're just agreeing on the order first. + + This means that block.AppHash does not include these txs. - NOTE: not all txs here are valid. We're just agreeing - on the order first. - - This means that block.AppHash does not include these - txs. title: >- - Data contains the set of transactions included in the - block + Data contains the set of transactions included in the block + evidence: type: object properties: @@ -7278,13 +6835,13 @@ paths: - SIGNED_MSG_TYPE_PROPOSAL default: SIGNED_MSG_TYPE_UNKNOWN description: >- - SignedMsgType is a type of signed - message in the consensus. - + SignedMsgType is a type of signed message in the consensus. + - SIGNED_MSG_TYPE_UNKNOWN: Unknown - SIGNED_MSG_TYPE_PREVOTE: Prevote - SIGNED_MSG_TYPE_PRECOMMIT: Precommit - SIGNED_MSG_TYPE_PROPOSAL: Proposal + height: type: string format: int64 @@ -7308,8 +6865,8 @@ paths: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block - as its hash and its `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + timestamp: type: string format: date-time @@ -7323,33 +6880,33 @@ paths: type: string format: byte description: >- - Vote signature by the validator if they - participated in consensus for the - + Vote signature by the validator if they participated in consensus for the + associated block. + extension: type: string format: byte description: >- - Vote extension provided by the - application. Only valid for precommit - + Vote extension provided by the application. Only valid for precommit + messages. + extension_signature: type: string format: byte description: >- - Vote extension signature by the - validator if they participated in - + Vote extension signature by the validator if they participated in + consensus for the associated block. - + Only valid for precommit messages. - description: >- - Vote represents a prevote or precommit vote - from validators for + description: >- + Vote represents a prevote or precommit vote from validators for + consensus. + vote_b: type: object properties: @@ -7362,13 +6919,13 @@ paths: - SIGNED_MSG_TYPE_PROPOSAL default: SIGNED_MSG_TYPE_UNKNOWN description: >- - SignedMsgType is a type of signed - message in the consensus. - + SignedMsgType is a type of signed message in the consensus. + - SIGNED_MSG_TYPE_UNKNOWN: Unknown - SIGNED_MSG_TYPE_PREVOTE: Prevote - SIGNED_MSG_TYPE_PRECOMMIT: Precommit - SIGNED_MSG_TYPE_PROPOSAL: Proposal + height: type: string format: int64 @@ -7392,8 +6949,8 @@ paths: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block - as its hash and its `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + timestamp: type: string format: date-time @@ -7407,33 +6964,33 @@ paths: type: string format: byte description: >- - Vote signature by the validator if they - participated in consensus for the - + Vote signature by the validator if they participated in consensus for the + associated block. + extension: type: string format: byte description: >- - Vote extension provided by the - application. Only valid for precommit - + Vote extension provided by the application. Only valid for precommit + messages. + extension_signature: type: string format: byte description: >- - Vote extension signature by the - validator if they participated in - + Vote extension signature by the validator if they participated in + consensus for the associated block. - + Only valid for precommit messages. - description: >- - Vote represents a prevote or precommit vote - from validators for + description: >- + Vote represents a prevote or precommit vote from validators for + consensus. + total_voting_power: type: string format: int64 @@ -7444,8 +7001,8 @@ paths: type: string format: date-time description: >- - DuplicateVoteEvidence contains evidence of a - validator signed two conflicting votes. + DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes. + light_client_attack_evidence: type: object properties: @@ -7469,14 +7026,12 @@ paths: type: string format: uint64 description: >- - Consensus captures the consensus rules - for processing a block in the - blockchain, - - including all blockchain data structures - and the rules of the application's - + Consensus captures the consensus rules for processing a block in the blockchain, + + including all blockchain data structures and the rules of the application's + state transition machine. + chain_id: type: string height: @@ -7502,15 +7057,15 @@ paths: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block - as its hash and its `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + title: prev block info last_commit_hash: type: string format: byte description: >- - commit from validators from the last - block + commit from validators from the last block + title: hashes of block data data_hash: type: string @@ -7521,8 +7076,8 @@ paths: format: byte description: validators for the current block title: >- - hashes from the app output from the prev - block + hashes from the app output from the prev block + next_validators_hash: type: string format: byte @@ -7539,8 +7094,8 @@ paths: type: string format: byte title: >- - root hash of all results from the txs - from the previous block + root hash of all results from the txs from the previous block + evidence_hash: type: string format: byte @@ -7551,8 +7106,8 @@ paths: format: byte title: original proposer of the block description: >- - Header defines the structure of a block - header. + Header defines the structure of a block header. + commit: type: object properties: @@ -7579,8 +7134,8 @@ paths: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block - as its hash and its `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + signatures: type: array items: @@ -7595,14 +7150,14 @@ paths: - BLOCK_ID_FLAG_NIL default: BLOCK_ID_FLAG_UNKNOWN description: >- - - BLOCK_ID_FLAG_UNKNOWN: Indicates an - error condition + - BLOCK_ID_FLAG_UNKNOWN: Indicates an error condition - BLOCK_ID_FLAG_ABSENT: The vote was not received - BLOCK_ID_FLAG_COMMIT: Voted for the block that received the majority - BLOCK_ID_FLAG_NIL: Voted for nil + title: >- - BlockIdFlag indicates which BlockID the - signature is for + BlockIdFlag indicates which BlockID the signature is for + validator_address: type: string format: byte @@ -7613,16 +7168,14 @@ paths: type: string format: byte description: >- - CommitSig is a part of the Vote included - in a Commit. + CommitSig is a part of the Vote included in a Commit. + description: >- - Commit contains the evidence that a - block was committed by a set of - validators. + Commit contains the evidence that a block was committed by a set of validators. + description: >- - SignedHeader contains a Header(H) and - Commit(H+1) with signatures of - validators who signed it. + SignedHeader contains a Header(H) and Commit(H+1) with signatures of validators who signed it. + validator_set: type: object properties: @@ -7644,8 +7197,8 @@ paths: type: string format: byte description: >- - PublicKey is a ED25519 or a secp256k1 - public key. + PublicKey is a ED25519 or a secp256k1 public key. + voting_power: type: string format: int64 @@ -7653,8 +7206,8 @@ paths: type: string format: int64 description: >- - Validator represents a node - participating in the consensus protocol. + Validator represents a node participating in the consensus protocol. + proposer: type: object properties: @@ -7671,8 +7224,8 @@ paths: type: string format: byte description: >- - PublicKey is a ED25519 or a secp256k1 - public key. + PublicKey is a ED25519 or a secp256k1 public key. + voting_power: type: string format: int64 @@ -7680,18 +7233,17 @@ paths: type: string format: int64 description: >- - Validator represents a node - participating in the consensus protocol. + Validator represents a node participating in the consensus protocol. + total_voting_power: type: string format: int64 description: >- - ValidatorSet defines a set of - validators. + ValidatorSet defines a set of validators. + description: >- - LightBlock is a combination of SignedHeader - and ValidatorSet. It is used by light - clients. + LightBlock is a combination of SignedHeader and ValidatorSet. It is used by light clients. + common_height: type: string format: int64 @@ -7713,8 +7265,8 @@ paths: type: string format: byte description: >- - PublicKey is a ED25519 or a secp256k1 - public key. + PublicKey is a ED25519 or a secp256k1 public key. + voting_power: type: string format: int64 @@ -7722,8 +7274,8 @@ paths: type: string format: int64 description: >- - Validator represents a node participating - in the consensus protocol. + Validator represents a node participating in the consensus protocol. + total_voting_power: type: string format: int64 @@ -7731,12 +7283,11 @@ paths: type: string format: date-time description: >- - LightClientAttackEvidence contains evidence of a - set of validators attempting to mislead a light - client. + LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client. + description: >- - Evidence is a generic type for wrapping evidence of - misbehavior by a validator. + Evidence is a generic type for wrapping evidence of misbehavior by a validator. + description: EvidenceList is a list of evidence. last_commit: type: object @@ -7764,8 +7315,8 @@ paths: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block as its hash - and its `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + signatures: type: array items: @@ -7780,14 +7331,14 @@ paths: - BLOCK_ID_FLAG_NIL default: BLOCK_ID_FLAG_UNKNOWN description: >- - - BLOCK_ID_FLAG_UNKNOWN: Indicates an error - condition + - BLOCK_ID_FLAG_UNKNOWN: Indicates an error condition - BLOCK_ID_FLAG_ABSENT: The vote was not received - BLOCK_ID_FLAG_COMMIT: Voted for the block that received the majority - BLOCK_ID_FLAG_NIL: Voted for nil + title: >- - BlockIdFlag indicates which BlockID the - signature is for + BlockIdFlag indicates which BlockID the signature is for + validator_address: type: string format: byte @@ -7798,19 +7349,19 @@ paths: type: string format: byte description: >- - CommitSig is a part of the Vote included in a - Commit. + CommitSig is a part of the Vote included in a Commit. + description: >- - Commit contains the evidence that a block was committed by - a set of validators. - description: >- - Block is tendermint type Block, with the Header proposer - address + Commit contains the evidence that a block was committed by a set of validators. + description: >- + Block is tendermint type Block, with the Header proposer address + field converted to bech32 string. + description: >- - GetBlockByHeightResponse is the response type for the - Query/GetBlockByHeight RPC method. + GetBlockByHeightResponse is the response type for the Query/GetBlockByHeight RPC method. + default: description: An unexpected error response. schema: @@ -7826,81 +7377,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -7908,9 +7444,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -7921,9 +7457,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -7931,9 +7467,9 @@ paths: 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 { @@ -7944,61 +7480,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: height in: path @@ -8012,7 +7540,7 @@ paths: summary: GetNodeInfo queries the current node info. operationId: GetNodeInfo responses: - '200': + "200": description: A successful response. schema: type: object @@ -8033,8 +7561,8 @@ paths: type: string format: uint64 description: >- - ProtocolVersion represents the current p2p protocol - version. + ProtocolVersion represents the current p2p protocol version. + default_node_id: type: string listen_addr: @@ -8056,13 +7584,13 @@ paths: rpc_address: type: string description: >- - DefaultNodeInfoOther is the misc. application specific - data. - description: >- - DefaultNodeInfo is a basic node's information sent to other - peers during the + DefaultNodeInfoOther is the misc. application specific data. + description: >- + DefaultNodeInfo is a basic node's information sent to other peers during the + p2p handshake. + application_version: type: object properties: @@ -8097,8 +7625,8 @@ paths: type: string description: VersionInfo is the type for the GetNodeInfoResponse message. description: >- - GetNodeInfoResponse is the response type for the Query/GetNodeInfo - RPC method. + GetNodeInfoResponse is the response type for the Query/GetNodeInfo RPC method. + default: description: An unexpected error response. schema: @@ -8114,81 +7642,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -8196,9 +7709,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -8209,9 +7722,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -8219,9 +7732,9 @@ paths: 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 { @@ -8232,61 +7745,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + tags: - Service /cosmos/base/tendermint/v1beta1/syncing: @@ -8294,7 +7799,7 @@ paths: summary: GetSyncing queries node syncing. operationId: GetSyncing responses: - '200': + "200": description: A successful response. schema: type: object @@ -8302,8 +7807,8 @@ paths: syncing: type: boolean description: >- - GetSyncingResponse is the response type for the Query/GetSyncing - RPC method. + GetSyncingResponse is the response type for the Query/GetSyncing RPC method. + default: description: An unexpected error response. schema: @@ -8319,81 +7824,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -8401,9 +7891,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -8414,9 +7904,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -8424,9 +7914,9 @@ paths: 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 { @@ -8437,61 +7927,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + tags: - Service /cosmos/base/tendermint/v1beta1/validatorsets/latest: @@ -8499,7 +7981,7 @@ paths: summary: GetLatestValidatorSet queries latest validator-set. operationId: GetLatestValidatorSet responses: - '200': + "200": description: A successful response. schema: type: object @@ -8517,81 +7999,66 @@ paths: pub_key: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -8599,9 +8066,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -8612,9 +8079,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -8622,9 +8089,9 @@ paths: 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 { @@ -8635,63 +8102,53 @@ paths: 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 - + + 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: - + + 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][]): - + + 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" } + voting_power: type: string format: int64 @@ -8714,13 +8171,13 @@ paths: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise + description: >- - GetLatestValidatorSetResponse is the response type for the - Query/GetValidatorSetByHeight RPC method. + GetLatestValidatorSetResponse is the response type for the Query/GetValidatorSetByHeight RPC method. + default: description: An unexpected error response. schema: @@ -8736,81 +8193,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -8818,9 +8260,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -8831,9 +8273,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -8841,9 +8283,9 @@ paths: 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 { @@ -8854,61 +8296,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: pagination.key description: |- @@ -8922,44 +8356,42 @@ paths: - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. - - It is less efficient than using key. Only one of offset or key - should - + + It is less efficient than using key. Only one of offset or key should + be set. + in: query required: false type: string format: uint64 - name: pagination.limit description: >- - limit is the total number of results to be returned in the result - page. - + limit is the total number of results to be returned in the result page. + If left empty it will default to a value to be set by each app. + in: query required: false type: string format: uint64 - name: pagination.count_total description: >- - count_total is set to true to indicate that the result set should - include - - a count of the total number of items available for pagination in - UIs. - - count_total is only respected when offset is used. It is ignored - when key - + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + is set. + in: query required: false type: boolean - name: pagination.reverse description: >- - reverse is set to true if results are to be returned in the - descending order. + reverse is set to true if results are to be returned in the descending order. + in: query required: false type: boolean @@ -8970,7 +8402,7 @@ paths: summary: GetValidatorSetByHeight queries validator-set at a given height. operationId: GetValidatorSetByHeight responses: - '200': + "200": description: A successful response. schema: type: object @@ -8988,81 +8420,66 @@ paths: pub_key: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -9070,9 +8487,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -9083,9 +8500,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -9093,9 +8510,9 @@ paths: 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 { @@ -9106,63 +8523,53 @@ paths: 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 - + + 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: - + + 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][]): - + + 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" } + voting_power: type: string format: int64 @@ -9185,13 +8592,13 @@ paths: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise + description: >- - GetValidatorSetByHeightResponse is the response type for the - Query/GetValidatorSetByHeight RPC method. + GetValidatorSetByHeightResponse is the response type for the Query/GetValidatorSetByHeight RPC method. + default: description: An unexpected error response. schema: @@ -9207,81 +8614,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -9289,9 +8681,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -9302,9 +8694,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -9312,9 +8704,9 @@ paths: 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 { @@ -9325,61 +8717,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: height in: path @@ -9398,44 +8782,42 @@ paths: - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. - - It is less efficient than using key. Only one of offset or key - should - + + It is less efficient than using key. Only one of offset or key should + be set. + in: query required: false type: string format: uint64 - name: pagination.limit description: >- - limit is the total number of results to be returned in the result - page. - + limit is the total number of results to be returned in the result page. + If left empty it will default to a value to be set by each app. + in: query required: false type: string format: uint64 - name: pagination.count_total description: >- - count_total is set to true to indicate that the result set should - include - - a count of the total number of items available for pagination in - UIs. - - count_total is only respected when offset is used. It is ignored - when key - + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + is set. + in: query required: false type: boolean - name: pagination.reverse description: >- - reverse is set to true if results are to be returned in the - descending order. + reverse is set to true if results are to be returned in the descending order. + in: query required: false type: boolean @@ -9446,7 +8828,7 @@ paths: summary: Config queries for the operator configuration. operationId: Config responses: - '200': + "200": description: A successful response. schema: type: object @@ -9461,8 +8843,8 @@ paths: type: string format: uint64 description: >- - ConfigResponse defines the response structure for the Config gRPC - query. + ConfigResponse defines the response structure for the Config gRPC query. + default: description: An unexpected error response. schema: @@ -9478,7 +8860,7 @@ paths: items: type: object properties: - '@type': + "@type": type: string additionalProperties: {} tags: @@ -9488,7 +8870,7 @@ paths: summary: Status queries for the node status. operationId: Status responses: - '200': + "200": description: A successful response. schema: type: object @@ -9514,8 +8896,8 @@ paths: format: byte title: validator hash provided by the consensus header description: >- - StateResponse defines the response structure for the status of a - node. + StateResponse defines the response structure for the status of a node. + default: description: An unexpected error response. schema: @@ -9531,7 +8913,7 @@ paths: items: type: object properties: - '@type': + "@type": type: string additionalProperties: {} tags: @@ -9540,11 +8922,11 @@ paths: get: summary: CommunityPool queries the community pool coins. description: >- - Deprecated: Prefer to use x/protocolpool module's CommunityPool rpc - method. + Deprecated: Prefer to use x/protocolpool module's CommunityPool rpc method. + operationId: CommunityPool responses: - '200': + "200": description: A successful response. schema: type: object @@ -9559,23 +8941,22 @@ paths: amount: type: string description: >- - DecCoin defines a token with a denomination and a decimal - amount. - - - NOTE: The amount field is an Dec which implements the custom - method - + DecCoin defines a token with a denomination and a decimal amount. + + + NOTE: The amount field is an Dec which implements the custom method + signatures required by gogoproto. + description: pool defines community pool's coins. description: >- - QueryCommunityPoolResponse is the response type for the - Query/CommunityPool - + QueryCommunityPoolResponse is the response type for the Query/CommunityPool + RPC method. - - + + Deprecated + default: description: An unexpected error response. schema: @@ -9591,7 +8972,7 @@ paths: items: type: object properties: - '@type': + "@type": type: string additionalProperties: {} tags: @@ -9603,7 +8984,7 @@ paths: validator. operationId: DelegationTotalRewards responses: - '200': + "200": description: A successful response. schema: type: object @@ -9625,14 +9006,13 @@ paths: amount: type: string description: >- - DecCoin defines a token with a denomination and a - decimal amount. - - - NOTE: The amount field is an Dec which implements the - custom method - + DecCoin defines a token with a denomination and a decimal amount. + + + NOTE: The amount field is an Dec which implements the custom method + signatures required by gogoproto. + description: |- DelegationDelegatorReward represents the properties of a delegator's delegation reward. @@ -9647,14 +9027,13 @@ paths: amount: type: string description: >- - DecCoin defines a token with a denomination and a decimal - amount. - - - NOTE: The amount field is an Dec which implements the custom - method - + DecCoin defines a token with a denomination and a decimal amount. + + + NOTE: The amount field is an Dec which implements the custom method + signatures required by gogoproto. + description: total defines the sum of all the rewards. description: |- QueryDelegationTotalRewardsResponse is the response type for the @@ -9674,7 +9053,7 @@ paths: items: type: object properties: - '@type': + "@type": type: string additionalProperties: {} parameters: @@ -9685,12 +9064,12 @@ paths: type: string tags: - Query - /cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards/{validator_address}: - get: + ? /cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards/{validator_address} + : get: summary: DelegationRewards queries the total rewards accrued by a delegation. operationId: DelegationRewards responses: - '200': + "200": description: A successful response. schema: type: object @@ -9705,14 +9084,13 @@ paths: amount: type: string description: >- - DecCoin defines a token with a denomination and a decimal - amount. - - - NOTE: The amount field is an Dec which implements the custom - method - + DecCoin defines a token with a denomination and a decimal amount. + + + NOTE: The amount field is an Dec which implements the custom method + signatures required by gogoproto. + description: rewards defines the rewards accrued by a delegation. description: |- QueryDelegationRewardsResponse is the response type for the @@ -9732,7 +9110,7 @@ paths: items: type: object properties: - '@type': + "@type": type: string additionalProperties: {} parameters: @@ -9753,7 +9131,7 @@ paths: summary: DelegatorValidators queries the validators of a delegator. operationId: DelegatorValidators responses: - '200': + "200": description: A successful response. schema: type: object @@ -9763,8 +9141,8 @@ paths: items: type: string description: >- - validators defines the validators a delegator is delegating - for. + validators defines the validators a delegator is delegating for. + description: |- QueryDelegatorValidatorsResponse is the response type for the Query/DelegatorValidators RPC method. @@ -9783,7 +9161,7 @@ paths: items: type: object properties: - '@type': + "@type": type: string additionalProperties: {} parameters: @@ -9799,7 +9177,7 @@ paths: summary: DelegatorWithdrawAddress queries withdraw address of a delegator. operationId: DelegatorWithdrawAddress responses: - '200': + "200": description: A successful response. schema: type: object @@ -9825,7 +9203,7 @@ paths: items: type: object properties: - '@type': + "@type": type: string additionalProperties: {} parameters: @@ -9841,7 +9219,7 @@ paths: summary: Params queries params of the distribution module. operationId: DistributionParams responses: - '200': + "200": description: A successful response. schema: type: object @@ -9855,22 +9233,22 @@ paths: base_proposer_reward: type: string description: >- - Deprecated: The base_proposer_reward field is deprecated - and is no longer used - + Deprecated: The base_proposer_reward field is deprecated and is no longer used + in the x/distribution module's reward mechanism. + bonus_proposer_reward: type: string description: >- - Deprecated: The bonus_proposer_reward field is deprecated - and is no longer used - + Deprecated: The bonus_proposer_reward field is deprecated and is no longer used + in the x/distribution module's reward mechanism. + withdraw_addr_enabled: type: boolean description: >- - QueryParamsResponse is the response type for the Query/Params RPC - method. + QueryParamsResponse is the response type for the Query/Params RPC method. + default: description: An unexpected error response. schema: @@ -9886,7 +9264,7 @@ paths: items: type: object properties: - '@type': + "@type": type: string additionalProperties: {} tags: @@ -9894,11 +9272,11 @@ paths: /cosmos/distribution/v1beta1/validators/{validator_address}: get: summary: >- - ValidatorDistributionInfo queries validator commission and - self-delegation rewards for validator + ValidatorDistributionInfo queries validator commission and self-delegation rewards for validator + operationId: ValidatorDistributionInfo responses: - '200': + "200": description: A successful response. schema: type: object @@ -9916,14 +9294,13 @@ paths: amount: type: string description: >- - DecCoin defines a token with a denomination and a decimal - amount. - - - NOTE: The amount field is an Dec which implements the custom - method - + DecCoin defines a token with a denomination and a decimal amount. + + + NOTE: The amount field is an Dec which implements the custom method + signatures required by gogoproto. + description: self_bond_rewards defines the self delegations rewards. commission: type: array @@ -9935,18 +9312,17 @@ paths: amount: type: string description: >- - DecCoin defines a token with a denomination and a decimal - amount. - - - NOTE: The amount field is an Dec which implements the custom - method - + DecCoin defines a token with a denomination and a decimal amount. + + + NOTE: The amount field is an Dec which implements the custom method + signatures required by gogoproto. + description: commission defines the commission the validator received. description: >- - QueryValidatorDistributionInfoResponse is the response type for - the Query/ValidatorDistributionInfo RPC method. + QueryValidatorDistributionInfoResponse is the response type for the Query/ValidatorDistributionInfo RPC method. + default: description: An unexpected error response. schema: @@ -9962,7 +9338,7 @@ paths: items: type: object properties: - '@type': + "@type": type: string additionalProperties: {} parameters: @@ -9978,7 +9354,7 @@ paths: summary: ValidatorCommission queries accumulated commission for a validator. operationId: ValidatorCommission responses: - '200': + "200": description: A successful response. schema: type: object @@ -9997,14 +9373,13 @@ paths: amount: type: string description: >- - DecCoin defines a token with a denomination and a - decimal amount. - - - NOTE: The amount field is an Dec which implements the - custom method - + DecCoin defines a token with a denomination and a decimal amount. + + + NOTE: The amount field is an Dec which implements the custom method + signatures required by gogoproto. + title: |- QueryValidatorCommissionResponse is the response type for the Query/ValidatorCommission RPC method @@ -10023,7 +9398,7 @@ paths: items: type: object properties: - '@type': + "@type": type: string additionalProperties: {} parameters: @@ -10034,12 +9409,12 @@ paths: type: string tags: - Query - /cosmos/distribution/v1beta1/validators/{validator_address}/outstanding_rewards: - get: + ? /cosmos/distribution/v1beta1/validators/{validator_address}/outstanding_rewards + : get: summary: ValidatorOutstandingRewards queries rewards of a validator address. operationId: ValidatorOutstandingRewards responses: - '200': + "200": description: A successful response. schema: type: object @@ -10057,25 +9432,23 @@ paths: amount: type: string description: >- - DecCoin defines a token with a denomination and a - decimal amount. - - - NOTE: The amount field is an Dec which implements the - custom method - + DecCoin defines a token with a denomination and a decimal amount. + + + NOTE: The amount field is an Dec which implements the custom method + signatures required by gogoproto. + description: >- - ValidatorOutstandingRewards represents outstanding - (un-withdrawn) rewards + ValidatorOutstandingRewards represents outstanding (un-withdrawn) rewards + + for a validator inexpensive to track, allows simple sanity checks. - for a validator inexpensive to track, allows simple sanity - checks. description: >- - QueryValidatorOutstandingRewardsResponse is the response type for - the - + QueryValidatorOutstandingRewardsResponse is the response type for the + Query/ValidatorOutstandingRewards RPC method. + default: description: An unexpected error response. schema: @@ -10091,7 +9464,7 @@ paths: items: type: object properties: - '@type': + "@type": type: string additionalProperties: {} parameters: @@ -10107,7 +9480,7 @@ paths: summary: ValidatorSlashes queries slash events of a validator. operationId: ValidatorSlashes responses: - '200': + "200": description: A successful response. schema: type: object @@ -10124,14 +9497,13 @@ paths: type: string description: >- ValidatorSlashEvent represents a validator slash event. - + Height is implicit within the store key. + + This is needed to calculate appropriate amount of staking tokens + + for delegations which are withdrawn after a slash has occurred. - This is needed to calculate appropriate amount of staking - tokens - - for delegations which are withdrawn after a slash has - occurred. description: slashes defines the slashes the validator received. pagination: description: pagination defines the pagination in the response. @@ -10148,10 +9520,10 @@ paths: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise + description: |- QueryValidatorSlashesResponse is the response type for the Query/ValidatorSlashes RPC method. @@ -10170,7 +9542,7 @@ paths: items: type: object properties: - '@type': + "@type": type: string additionalProperties: {} parameters: @@ -10181,16 +9553,16 @@ paths: type: string - name: starting_height description: >- - starting_height defines the optional starting height to query the - slashes. + starting_height defines the optional starting height to query the slashes. + in: query required: false type: string format: uint64 - name: ending_height description: >- - starting_height defines the optional ending height to query the - slashes. + starting_height defines the optional ending height to query the slashes. + in: query required: false type: string @@ -10207,44 +9579,42 @@ paths: - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. - - It is less efficient than using key. Only one of offset or key - should - + + It is less efficient than using key. Only one of offset or key should + be set. + in: query required: false type: string format: uint64 - name: pagination.limit description: >- - limit is the total number of results to be returned in the result - page. - + limit is the total number of results to be returned in the result page. + If left empty it will default to a value to be set by each app. + in: query required: false type: string format: uint64 - name: pagination.count_total description: >- - count_total is set to true to indicate that the result set should - include - - a count of the total number of items available for pagination in - UIs. - - count_total is only respected when offset is used. It is ignored - when key - + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + is set. + in: query required: false type: boolean - name: pagination.reverse description: >- - reverse is set to true if results are to be returned in the - descending order. + reverse is set to true if results are to be returned in the descending order. + in: query required: false type: boolean @@ -10255,7 +9625,7 @@ paths: summary: AllEvidence queries all evidence. operationId: AllEvidence responses: - '200': + "200": description: A successful response. schema: type: object @@ -10265,81 +9635,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -10347,9 +9702,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -10360,9 +9715,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -10370,9 +9725,9 @@ paths: 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 { @@ -10383,61 +9738,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + description: evidence returns all evidences. pagination: description: pagination defines the pagination in the response. @@ -10454,15 +9801,15 @@ paths: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise - description: >- - QueryAllEvidenceResponse is the response type for the - Query/AllEvidence RPC + description: >- + QueryAllEvidenceResponse is the response type for the Query/AllEvidence RPC + method. + default: description: An unexpected error response. schema: @@ -10478,81 +9825,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -10560,9 +9892,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -10573,9 +9905,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -10583,9 +9915,9 @@ paths: 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 { @@ -10596,61 +9928,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: pagination.key description: |- @@ -10664,44 +9988,42 @@ paths: - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. - - It is less efficient than using key. Only one of offset or key - should - + + It is less efficient than using key. Only one of offset or key should + be set. + in: query required: false type: string format: uint64 - name: pagination.limit description: >- - limit is the total number of results to be returned in the result - page. - + limit is the total number of results to be returned in the result page. + If left empty it will default to a value to be set by each app. + in: query required: false type: string format: uint64 - name: pagination.count_total description: >- - count_total is set to true to indicate that the result set should - include - - a count of the total number of items available for pagination in - UIs. - - count_total is only respected when offset is used. It is ignored - when key - + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + is set. + in: query required: false type: boolean - name: pagination.reverse description: >- - reverse is set to true if results are to be returned in the - descending order. + reverse is set to true if results are to be returned in the descending order. + in: query required: false type: boolean @@ -10712,7 +10034,7 @@ paths: summary: Evidence queries evidence based on evidence hash. operationId: Evidence responses: - '200': + "200": description: A successful response. schema: type: object @@ -10721,67 +10043,56 @@ paths: description: evidence returns the requested evidence. type: object properties: - '@type': + "@type": type: string description: >- - A URL/resource name that uniquely identifies the type of - the serialized - + 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 - + + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - QueryEvidenceResponse is the response type for the Query/Evidence - RPC method. + QueryEvidenceResponse is the response type for the Query/Evidence RPC method. + default: description: An unexpected error response. schema: @@ -10797,81 +10108,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -10879,9 +10175,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -10892,9 +10188,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -10902,9 +10198,9 @@ paths: 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 { @@ -10915,61 +10211,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: hash description: hash defines the evidence hash of the requested evidence. @@ -10991,7 +10279,7 @@ paths: summary: Params queries all parameters of the gov module. operationId: GovParams responses: - '200': + "200": description: A successful response. schema: type: object @@ -11018,20 +10306,20 @@ paths: type: string description: >- Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the - custom method - + + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + description: Minimum deposit for a proposal to enter voting period. max_deposit_period: type: string description: >- - Maximum period for Atom holders to deposit on a proposal. - Initial value: 2 - + Maximum period for Atom holders to deposit on a proposal. Initial value: 2 + months. + tally_params: description: tally_params defines the parameters related to tally. type: object @@ -11040,27 +10328,27 @@ paths: type: string format: byte description: >- - Minimum percentage of total stake needed to vote for a - result to be - + Minimum percentage of total stake needed to vote for a result to be + considered valid. + threshold: type: string format: byte description: >- - Minimum proportion of Yes votes for proposal to pass. - Default value: 0.5. + Minimum proportion of Yes votes for proposal to pass. Default value: 0.5. + veto_threshold: type: string format: byte description: >- - Minimum value of Veto votes to Total votes ratio for - proposal to be - + Minimum value of Veto votes to Total votes ratio for proposal to be + vetoed. Default value: 1/3. + description: >- - QueryParamsResponse is the response type for the Query/Params RPC - method. + QueryParamsResponse is the response type for the Query/Params RPC method. + default: description: An unexpected error response. schema: @@ -11076,81 +10364,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -11158,9 +10431,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -11171,9 +10444,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -11181,9 +10454,9 @@ paths: 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 { @@ -11194,68 +10467,60 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: params_type description: >- - params_type defines which parameters to query for, can be one of - "voting", - + params_type defines which parameters to query for, can be one of "voting", + "tallying" or "deposit". + in: path required: true type: string @@ -11266,7 +10531,7 @@ paths: summary: Proposals queries all proposals based on given status. operationId: Proposals responses: - '200': + "200": description: A successful response. schema: type: object @@ -11284,64 +10549,52 @@ paths: description: content is the proposal's content. type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} status: description: status defines the proposal status. @@ -11356,31 +10609,30 @@ paths: default: PROPOSAL_STATUS_UNSPECIFIED final_tally_result: description: >- - final_tally_result is the final tally result of the - proposal. When - - querying a proposal via gRPC, this field is not - populated until the - + final_tally_result is the final tally result of the proposal. When + + querying a proposal via gRPC, this field is not populated until the + proposal's voting period has ended. + type: object properties: - 'yes': + "yes": type: string description: yes is the number of yes votes on a proposal. abstain: type: string description: >- - abstain is the number of abstain votes on a - proposal. - 'no': + abstain is the number of abstain votes on a proposal. + + "no": type: string description: no is the number of no votes on a proposal. no_with_veto: type: string description: >- - no_with_veto is the number of no with veto votes on - a proposal. + no_with_veto is the number of no with veto votes on a proposal. + submit_time: type: string format: date-time @@ -11399,28 +10651,27 @@ paths: amount: type: string description: >- - Coin defines a token with a denomination and an - amount. - - - NOTE: The amount field is an Int which implements the - custom method - + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + description: total_deposit is the total deposit on the proposal. voting_start_time: type: string format: date-time description: >- - voting_start_time is the starting time to vote on a - proposal. + voting_start_time is the starting time to vote on a proposal. + voting_end_time: type: string format: date-time description: voting_end_time is the end time of voting on a proposal. description: >- - Proposal defines the core field members of a governance - proposal. + Proposal defines the core field members of a governance proposal. + description: proposals defines all the requested governance proposals. pagination: description: pagination defines the pagination in the response. @@ -11437,15 +10688,15 @@ paths: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise - description: >- - QueryProposalsResponse is the response type for the - Query/Proposals RPC + description: >- + QueryProposalsResponse is the response type for the Query/Proposals RPC + method. + default: description: An unexpected error response. schema: @@ -11461,81 +10712,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -11543,9 +10779,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -11556,9 +10792,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -11566,9 +10802,9 @@ paths: 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 { @@ -11579,61 +10815,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: proposal_status description: |- @@ -11683,44 +10911,42 @@ paths: - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. - - It is less efficient than using key. Only one of offset or key - should - + + It is less efficient than using key. Only one of offset or key should + be set. + in: query required: false type: string format: uint64 - name: pagination.limit description: >- - limit is the total number of results to be returned in the result - page. - + limit is the total number of results to be returned in the result page. + If left empty it will default to a value to be set by each app. + in: query required: false type: string format: uint64 - name: pagination.count_total description: >- - count_total is set to true to indicate that the result set should - include - - a count of the total number of items available for pagination in - UIs. - - count_total is only respected when offset is used. It is ignored - when key - + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + is set. + in: query required: false type: boolean - name: pagination.reverse description: >- - reverse is set to true if results are to be returned in the - descending order. + reverse is set to true if results are to be returned in the descending order. + in: query required: false type: boolean @@ -11731,7 +10957,7 @@ paths: summary: Proposal queries proposal details based on ProposalID. operationId: Proposal responses: - '200': + "200": description: A successful response. schema: type: object @@ -11747,64 +10973,52 @@ paths: description: content is the proposal's content. type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} status: description: status defines the proposal status. @@ -11819,29 +11033,28 @@ paths: default: PROPOSAL_STATUS_UNSPECIFIED final_tally_result: description: >- - final_tally_result is the final tally result of the - proposal. When - - querying a proposal via gRPC, this field is not populated - until the - + final_tally_result is the final tally result of the proposal. When + + querying a proposal via gRPC, this field is not populated until the + proposal's voting period has ended. + type: object properties: - 'yes': + "yes": type: string description: yes is the number of yes votes on a proposal. abstain: type: string description: abstain is the number of abstain votes on a proposal. - 'no': + "no": type: string description: no is the number of no votes on a proposal. no_with_veto: type: string description: >- - no_with_veto is the number of no with veto votes on a - proposal. + no_with_veto is the number of no with veto votes on a proposal. + submit_time: type: string format: date-time @@ -11861,29 +11074,29 @@ paths: type: string description: >- Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the - custom method - + + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + description: total_deposit is the total deposit on the proposal. voting_start_time: type: string format: date-time description: >- - voting_start_time is the starting time to vote on a - proposal. + voting_start_time is the starting time to vote on a proposal. + voting_end_time: type: string format: date-time description: voting_end_time is the end time of voting on a proposal. description: >- - Proposal defines the core field members of a governance - proposal. + Proposal defines the core field members of a governance proposal. + description: >- - QueryProposalResponse is the response type for the Query/Proposal - RPC method. + QueryProposalResponse is the response type for the Query/Proposal RPC method. + default: description: An unexpected error response. schema: @@ -11899,81 +11112,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -11981,9 +11179,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -11994,9 +11192,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -12004,9 +11202,9 @@ paths: 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 { @@ -12017,61 +11215,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: proposal_id description: proposal_id defines the unique id of the proposal. @@ -12086,7 +11276,7 @@ paths: summary: Deposits queries all deposits of a single proposal. operationId: Deposits responses: - '200': + "200": description: A successful response. schema: type: object @@ -12103,8 +11293,8 @@ paths: depositor: type: string description: >- - depositor defines the deposit addresses from the - proposals. + depositor defines the deposit addresses from the proposals. + amount: type: array items: @@ -12115,20 +11305,19 @@ paths: amount: type: string description: >- - Coin defines a token with a denomination and an - amount. - - - NOTE: The amount field is an Int which implements the - custom method - + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + description: amount to be deposited by depositor. description: >- - Deposit defines an amount deposited by an account address to - an active - + Deposit defines an amount deposited by an account address to an active + proposal. + description: deposits defines the requested deposits. pagination: description: pagination defines the pagination in the response. @@ -12145,13 +11334,13 @@ paths: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise + description: >- - QueryDepositsResponse is the response type for the Query/Deposits - RPC method. + QueryDepositsResponse is the response type for the Query/Deposits RPC method. + default: description: An unexpected error response. schema: @@ -12167,81 +11356,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -12249,9 +11423,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -12262,9 +11436,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -12272,9 +11446,9 @@ paths: 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 { @@ -12285,61 +11459,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: proposal_id description: proposal_id defines the unique id of the proposal. @@ -12359,44 +11525,42 @@ paths: - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. - - It is less efficient than using key. Only one of offset or key - should - + + It is less efficient than using key. Only one of offset or key should + be set. + in: query required: false type: string format: uint64 - name: pagination.limit description: >- - limit is the total number of results to be returned in the result - page. - + limit is the total number of results to be returned in the result page. + If left empty it will default to a value to be set by each app. + in: query required: false type: string format: uint64 - name: pagination.count_total description: >- - count_total is set to true to indicate that the result set should - include - - a count of the total number of items available for pagination in - UIs. - - count_total is only respected when offset is used. It is ignored - when key - + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + is set. + in: query required: false type: boolean - name: pagination.reverse description: >- - reverse is set to true if results are to be returned in the - descending order. + reverse is set to true if results are to be returned in the descending order. + in: query required: false type: boolean @@ -12405,11 +11569,11 @@ paths: /cosmos/gov/v1beta1/proposals/{proposal_id}/deposits/{depositor}: get: summary: >- - Deposit queries single deposit information based on proposalID, - depositor address. + Deposit queries single deposit information based on proposalID, depositor address. + operationId: Deposit responses: - '200': + "200": description: A successful response. schema: type: object @@ -12425,8 +11589,8 @@ paths: depositor: type: string description: >- - depositor defines the deposit addresses from the - proposals. + depositor defines the deposit addresses from the proposals. + amount: type: array items: @@ -12438,16 +11602,16 @@ paths: type: string description: >- Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the - custom method - + + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + description: amount to be deposited by depositor. description: >- - QueryDepositResponse is the response type for the Query/Deposit - RPC method. + QueryDepositResponse is the response type for the Query/Deposit RPC method. + default: description: An unexpected error response. schema: @@ -12463,81 +11627,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -12545,9 +11694,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -12558,9 +11707,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -12568,9 +11717,9 @@ paths: 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 { @@ -12581,61 +11730,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: proposal_id description: proposal_id defines the unique id of the proposal. @@ -12655,7 +11796,7 @@ paths: summary: TallyResult queries the tally of a proposal vote. operationId: TallyResult responses: - '200': + "200": description: A successful response. schema: type: object @@ -12664,23 +11805,23 @@ paths: description: tally defines the requested tally. type: object properties: - 'yes': + "yes": type: string description: yes is the number of yes votes on a proposal. abstain: type: string description: abstain is the number of abstain votes on a proposal. - 'no': + "no": type: string description: no is the number of no votes on a proposal. no_with_veto: type: string description: >- - no_with_veto is the number of no with veto votes on a - proposal. + no_with_veto is the number of no with veto votes on a proposal. + description: >- - QueryTallyResultResponse is the response type for the Query/Tally - RPC method. + QueryTallyResultResponse is the response type for the Query/Tally RPC method. + default: description: An unexpected error response. schema: @@ -12696,81 +11837,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -12778,9 +11904,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -12791,9 +11917,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -12801,9 +11927,9 @@ paths: 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 { @@ -12814,61 +11940,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: proposal_id description: proposal_id defines the unique id of the proposal. @@ -12883,7 +12001,7 @@ paths: summary: Votes queries votes of a given proposal. operationId: Votes responses: - '200': + "200": description: A successful response. schema: type: object @@ -12902,14 +12020,12 @@ paths: description: voter is the voter address of the proposal. option: description: >- - Deprecated: Prefer to use `options` instead. This field - is set in queries + Deprecated: Prefer to use `options` instead. This field is set in queries + + if and only if `len(options) == 1` and that option has weight 1. In all + + other cases, this field will default to VOTE_OPTION_UNSPECIFIED. - if and only if `len(options) == 1` and that option has - weight 1. In all - - other cases, this field will default to - VOTE_OPTION_UNSPECIFIED. type: string enum: - VOTE_OPTION_UNSPECIFIED @@ -12925,8 +12041,8 @@ paths: properties: option: description: >- - option defines the valid vote options, it must not - contain duplicate vote options. + option defines the valid vote options, it must not contain duplicate vote options. + type: string enum: - VOTE_OPTION_UNSPECIFIED @@ -12938,20 +12054,20 @@ paths: weight: type: string description: >- - weight is the vote weight associated with the vote - option. + weight is the vote weight associated with the vote option. + description: >- - WeightedVoteOption defines a unit of vote for vote - split. + WeightedVoteOption defines a unit of vote for vote split. + description: |- options is the weighted vote options. Since: cosmos-sdk 0.43 description: >- Vote defines a vote on a governance proposal. + + A Vote consists of a proposal ID, the voter, and the vote option. - A Vote consists of a proposal ID, the voter, and the vote - option. description: votes defines the queried votes. pagination: description: pagination defines the pagination in the response. @@ -12968,13 +12084,13 @@ paths: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise + description: >- - QueryVotesResponse is the response type for the Query/Votes RPC - method. + QueryVotesResponse is the response type for the Query/Votes RPC method. + default: description: An unexpected error response. schema: @@ -12990,81 +12106,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -13072,9 +12173,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -13085,9 +12186,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -13095,9 +12196,9 @@ paths: 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 { @@ -13108,61 +12209,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: proposal_id description: proposal_id defines the unique id of the proposal. @@ -13182,44 +12275,42 @@ paths: - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. - - It is less efficient than using key. Only one of offset or key - should - + + It is less efficient than using key. Only one of offset or key should + be set. + in: query required: false type: string format: uint64 - name: pagination.limit description: >- - limit is the total number of results to be returned in the result - page. - + limit is the total number of results to be returned in the result page. + If left empty it will default to a value to be set by each app. + in: query required: false type: string format: uint64 - name: pagination.count_total description: >- - count_total is set to true to indicate that the result set should - include - - a count of the total number of items available for pagination in - UIs. - - count_total is only respected when offset is used. It is ignored - when key - + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + is set. + in: query required: false type: boolean - name: pagination.reverse description: >- - reverse is set to true if results are to be returned in the - descending order. + reverse is set to true if results are to be returned in the descending order. + in: query required: false type: boolean @@ -13229,12 +12320,12 @@ paths: get: summary: >- Vote queries voted information based on proposalID, voterAddr. + + Due to how we handle state, this query would error for proposals that has already been finished. - Due to how we handle state, this query would error for proposals that - has already been finished. operationId: Vote responses: - '200': + "200": description: A successful response. schema: type: object @@ -13252,14 +12343,12 @@ paths: description: voter is the voter address of the proposal. option: description: >- - Deprecated: Prefer to use `options` instead. This field is - set in queries + Deprecated: Prefer to use `options` instead. This field is set in queries + + if and only if `len(options) == 1` and that option has weight 1. In all + + other cases, this field will default to VOTE_OPTION_UNSPECIFIED. - if and only if `len(options) == 1` and that option has - weight 1. In all - - other cases, this field will default to - VOTE_OPTION_UNSPECIFIED. type: string enum: - VOTE_OPTION_UNSPECIFIED @@ -13275,8 +12364,8 @@ paths: properties: option: description: >- - option defines the valid vote options, it must not - contain duplicate vote options. + option defines the valid vote options, it must not contain duplicate vote options. + type: string enum: - VOTE_OPTION_UNSPECIFIED @@ -13288,18 +12377,18 @@ paths: weight: type: string description: >- - weight is the vote weight associated with the vote - option. + weight is the vote weight associated with the vote option. + description: >- - WeightedVoteOption defines a unit of vote for vote - split. + WeightedVoteOption defines a unit of vote for vote split. + description: |- options is the weighted vote options. Since: cosmos-sdk 0.43 description: >- - QueryVoteResponse is the response type for the Query/Vote RPC - method. + QueryVoteResponse is the response type for the Query/Vote RPC method. + default: description: An unexpected error response. schema: @@ -13315,81 +12404,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -13397,9 +12471,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -13410,9 +12484,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -13420,9 +12494,9 @@ paths: 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 { @@ -13433,61 +12507,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: proposal_id description: proposal_id defines the unique id of the proposal. @@ -13507,7 +12573,7 @@ paths: summary: Constitution queries the chain's constitution. operationId: Constitution responses: - '200': + "200": description: A successful response. schema: type: object @@ -13515,8 +12581,8 @@ paths: constitution: type: string title: >- - QueryConstitutionResponse is the response type for the - Query/Constitution RPC method + QueryConstitutionResponse is the response type for the Query/Constitution RPC method + default: description: An unexpected error response. schema: @@ -13532,81 +12598,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -13614,9 +12665,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -13627,9 +12678,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -13637,9 +12688,9 @@ paths: 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 { @@ -13650,61 +12701,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + tags: - Query /cosmos/gov/v1/params: @@ -13712,7 +12755,7 @@ paths: summary: Params queries all parameters of the gov module. operationId: GovV1Params responses: - '200': + "200": description: A successful response. schema: type: object @@ -13743,20 +12786,20 @@ paths: type: string description: >- Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the - custom method - + + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + description: Minimum deposit for a proposal to enter voting period. max_deposit_period: type: string description: >- - Maximum period for Atom holders to deposit on a proposal. - Initial value: 2 - + Maximum period for Atom holders to deposit on a proposal. Initial value: 2 + months. + tally_params: description: |- Deprecated: Prefer to use `params` instead. @@ -13766,22 +12809,22 @@ paths: quorum: type: string description: >- - Minimum percentage of total stake needed to vote for a - result to be - + Minimum percentage of total stake needed to vote for a result to be + considered valid. + threshold: type: string description: >- - Minimum proportion of Yes votes for proposal to pass. - Default value: 0.5. + Minimum proportion of Yes votes for proposal to pass. Default value: 0.5. + veto_threshold: type: string description: >- - Minimum value of Veto votes to Total votes ratio for - proposal to be - + Minimum value of Veto votes to Total votes ratio for proposal to be + vetoed. Default value: 1/3. + params: description: params defines all the parameters of x/gov module. type: object @@ -13797,66 +12840,65 @@ paths: type: string description: >- Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the - custom method - + + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + description: Minimum deposit for a proposal to enter voting period. max_deposit_period: type: string description: >- - Maximum period for stake holders to deposit on a proposal. - Initial value: 2 - + Maximum period for stake holders to deposit on a proposal. Initial value: 2 + months. + voting_period: type: string description: Duration of the voting period. quorum: type: string description: >- - Minimum percentage of total stake needed to vote for a - result to be + Minimum percentage of total stake needed to vote for a result to be considered valid. + threshold: type: string description: >- - Minimum proportion of Yes votes for proposal to pass. - Default value: 0.5. + Minimum proportion of Yes votes for proposal to pass. Default value: 0.5. + veto_threshold: type: string description: >- - Minimum value of Veto votes to Total votes ratio for - proposal to be + Minimum value of Veto votes to Total votes ratio for proposal to be vetoed. Default value: 1/3. + min_initial_deposit_ratio: type: string description: >- - The ratio representing the proportion of the deposit value - that must be paid at proposal submission. + The ratio representing the proportion of the deposit value that must be paid at proposal submission. + proposal_cancel_ratio: type: string description: >- - The cancel ratio which will not be returned back to the - depositors when a proposal is cancelled. + The cancel ratio which will not be returned back to the depositors when a proposal is cancelled. + proposal_cancel_dest: type: string description: >- - The address which will receive (proposal_cancel_ratio * - deposit) proposal deposits. + The address which will receive (proposal_cancel_ratio * deposit) proposal deposits. + + If empty, the (proposal_cancel_ratio * deposit) proposal deposits will be burned. - If empty, the (proposal_cancel_ratio * deposit) proposal - deposits will be burned. expedited_voting_period: type: string description: Duration of the voting period of an expedited proposal. expedited_threshold: type: string description: >- - Minimum proportion of Yes votes for proposal to pass. - Default value: 0.67. + Minimum proportion of Yes votes for proposal to pass. Default value: 0.67. + expedited_min_deposit: type: array items: @@ -13868,15 +12910,15 @@ paths: type: string description: >- Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the - custom method - + + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + description: >- - Minimum expedited deposit for a proposal to enter voting - period. + Minimum expedited deposit for a proposal to enter voting period. + burn_vote_quorum: type: boolean title: burn deposits if a proposal does not meet quorum @@ -13889,64 +12931,59 @@ paths: min_deposit_ratio: type: string description: >- - The ratio representing the proportion of the deposit value - minimum that must be met when making a deposit. - - Default value: 0.01. Meaning that for a chain with a - min_deposit of 100stake, a deposit of 1stake would be - + The ratio representing the proportion of the deposit value minimum that must be met when making a deposit. + + Default value: 0.01. Meaning that for a chain with a min_deposit of 100stake, a deposit of 1stake would be + required. + proposal_cancel_max_period: type: string description: >- - proposal_cancel_max_period defines how far in the voting - period a proposer can cancel a proposal. + proposal_cancel_max_period defines how far in the voting period a proposer can cancel a proposal. + + If the proposal is cancelled before the max cancel period, the deposit will be returned/burn to the + + depositors, according to the proposal_cancel_ratio and proposal_cancel_dest parameters. + + After the max cancel period, the proposal cannot be cancelled anymore. - If the proposal is cancelled before the max cancel period, - the deposit will be returned/burn to the - - depositors, according to the proposal_cancel_ratio and - proposal_cancel_dest parameters. - - After the max cancel period, the proposal cannot be - cancelled anymore. optimistic_authorized_addresses: type: array items: type: string title: >- - optimistic_authorized_addresses is an optional governance - parameter that limits the authorized accounts than can - + optimistic_authorized_addresses is an optional governance parameter that limits the authorized accounts than can + submit optimistic proposals + optimistic_rejected_threshold: type: string description: >- - optimistic rejected threshold defines at which percentage - of NO votes, the optimistic proposal should fail and be + optimistic rejected threshold defines at which percentage of NO votes, the optimistic proposal should fail and be + + converted to a standard proposal. The threshold is expressed as a percentage of the total bonded tokens. - converted to a standard proposal. The threshold is - expressed as a percentage of the total bonded tokens. yes_quorum: type: string description: >- - yes_quorum defines the minimum percentage of Yes votes in - quorum for proposal to pass. - + yes_quorum defines the minimum percentage of Yes votes in quorum for proposal to pass. + Default value: 0 (disabled). + expedited_quorum: type: string description: >- - Minimum percentage of total stake needed to vote for a - result to be - + Minimum percentage of total stake needed to vote for a result to be + considered valid for an expedited proposal. + proposal_execution_gas: type: string format: uint64 description: >- - QueryParamsResponse is the response type for the Query/Params RPC - method. + QueryParamsResponse is the response type for the Query/Params RPC method. + default: description: An unexpected error response. schema: @@ -13962,81 +12999,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -14044,9 +13066,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -14057,9 +13079,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -14067,9 +13089,9 @@ paths: 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 { @@ -14080,70 +13102,62 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: params_type description: >- - params_type defines which parameters to query for, can be one of - "voting", - + params_type defines which parameters to query for, can be one of "voting", + "tallying" or "deposit". - + Deprecated: all params are stored in Params. + in: query required: false type: string @@ -14152,11 +13166,11 @@ paths: /cosmos/gov/v1/params/{msg_url}: get: summary: >- - MessageBasedParams queries the message specific governance params based - on a msg url. + MessageBasedParams queries the message specific governance params based on a msg url. + operationId: MessageBasedParams responses: - '200': + "200": description: A successful response. schema: type: object @@ -14170,35 +13184,33 @@ paths: quorum: type: string description: >- - Minimum percentage of total stake needed to vote for a - result to be considered valid. + Minimum percentage of total stake needed to vote for a result to be considered valid. + yes_quorum: type: string description: >- - yes_quorum defines the minimum percentage of Yes votes in - quorum for proposal to pass. - + yes_quorum defines the minimum percentage of Yes votes in quorum for proposal to pass. + If zero then the yes_quorum is disabled. + threshold: type: string description: Minimum proportion of Yes votes for proposal to pass. veto_threshold: type: string description: >- - Minimum value of Veto votes to Total votes ratio for - proposal to be vetoed. - description: >- - MessageBasedParams defines the parameters of specific messages - in a proposal. + Minimum value of Veto votes to Total votes ratio for proposal to be vetoed. - It is used to define the parameters of a proposal that is - based on a specific message. + description: >- + MessageBasedParams defines the parameters of specific messages in a proposal. + + It is used to define the parameters of a proposal that is based on a specific message. + + Once a message has message based params, it only supports a standard proposal type. - Once a message has message based params, it only supports a - standard proposal type. description: >- - QueryMessageBasedParamsResponse is the response for the - Query/MessageBasedParams RPC method. + QueryMessageBasedParamsResponse is the response for the Query/MessageBasedParams RPC method. + default: description: An unexpected error response. schema: @@ -14214,81 +13226,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -14296,9 +13293,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -14309,9 +13306,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -14319,9 +13316,9 @@ paths: 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 { @@ -14332,61 +13329,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: msg_url in: path @@ -14399,7 +13388,7 @@ paths: summary: Proposals queries all proposals based on given status. operationId: GovV1Proposal responses: - '200': + "200": description: A successful response. schema: type: object @@ -14418,81 +13407,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -14500,9 +13474,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -14513,9 +13487,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -14523,9 +13497,9 @@ paths: 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 { @@ -14536,66 +13510,56 @@ paths: 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 - + + 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: - + + 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][]): - + + 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" } + description: >- - messages are the arbitrary messages to be executed if - the proposal passes. + messages are the arbitrary messages to be executed if the proposal passes. + status: description: status defines the proposal status. type: string @@ -14609,13 +13573,12 @@ paths: default: PROPOSAL_STATUS_UNSPECIFIED final_tally_result: description: >- - final_tally_result is the final tally result of the - proposal. When - - querying a proposal via gRPC, this field is not - populated until the - + final_tally_result is the final tally result of the proposal. When + + querying a proposal via gRPC, this field is not populated until the + proposal's voting period has ended. + type: object properties: yes_count: @@ -14627,11 +13590,11 @@ paths: abstain_count: type: string description: >- - abstain_count is the number of abstain votes on a - proposal. - - + abstain_count is the number of abstain votes on a proposal. + + option 2 + no_count: type: string description: |- @@ -14641,46 +13604,42 @@ paths: no_with_veto_count: type: string description: >- - no_with_veto_count is the number of no with veto - votes on a proposal. - - + no_with_veto_count is the number of no with veto votes on a proposal. + + option 4 + option_one_count: type: string description: >- - option_one_count corresponds to the number of votes - for option one (= yes_count for non multiple choice - proposals). + option_one_count corresponds to the number of votes for option one (= yes_count for non multiple choice proposals). + option_two_count: type: string description: >- - option_two_count corresponds to the number of votes - for option two (= abstain_count for non multiple - choice - + option_two_count corresponds to the number of votes for option two (= abstain_count for non multiple choice + proposals). + option_three_count: type: string description: >- - option_three_count corresponds to the number of - votes for option three (= no_count for non multiple - choice - + option_three_count corresponds to the number of votes for option three (= no_count for non multiple choice + proposals). + option_four_count: type: string description: >- - option_four_count corresponds to the number of votes - for option four (= no_with_veto_count for non - multiple choice - + option_four_count corresponds to the number of votes for option four (= no_with_veto_count for non multiple choice + proposals). + spam_count: type: string description: >- - spam_count is the number of spam votes on a - proposal. + spam_count is the number of spam votes on a proposal. + submit_time: type: string format: date-time @@ -14699,21 +13658,20 @@ paths: amount: type: string description: >- - Coin defines a token with a denomination and an - amount. - - - NOTE: The amount field is an Int which implements the - custom method - + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + description: total_deposit is the total deposit on the proposal. voting_start_time: type: string format: date-time description: >- - voting_start_time is the starting time to vote on a - proposal. + voting_start_time is the starting time to vote on a proposal. + voting_end_time: type: string format: date-time @@ -14721,13 +13679,12 @@ paths: metadata: type: string title: >- - metadata is any arbitrary metadata attached to the - proposal. - - the recommended format of the metadata is to be found - here: - + metadata is any arbitrary metadata attached to the proposal. + + the recommended format of the metadata is to be found here: + https://docs.cosmos.network/v0.47/modules/gov#proposal-3 + title: type: string title: title is the title of the proposal @@ -14739,7 +13696,7 @@ paths: title: proposer is the address of the proposal sumbitter expedited: type: boolean - description: 'Deprecated: Use ProposalType instead.' + description: "Deprecated: Use ProposalType instead." title: expedited defines if the proposal is expedited failed_reason: type: string @@ -14756,18 +13713,18 @@ paths: default: PROPOSAL_TYPE_UNSPECIFIED description: >- ProposalType enumerates the valid proposal types. - - All proposal types are v1.Proposal which have different - voting periods or tallying logic. - + + All proposal types are v1.Proposal which have different voting periods or tallying logic. + - PROPOSAL_TYPE_UNSPECIFIED: PROPOSAL_TYPE_UNSPECIFIED defines no proposal type, which fallback to PROPOSAL_TYPE_STANDARD. - PROPOSAL_TYPE_STANDARD: PROPOSAL_TYPE_STANDARD defines the type for a standard proposal. - PROPOSAL_TYPE_MULTIPLE_CHOICE: PROPOSAL_TYPE_MULTIPLE_CHOICE defines the type for a multiple choice proposal. - PROPOSAL_TYPE_OPTIMISTIC: PROPOSAL_TYPE_OPTIMISTIC defines the type for an optimistic proposal. - PROPOSAL_TYPE_EXPEDITED: PROPOSAL_TYPE_EXPEDITED defines the type for an expedited proposal. + description: >- - Proposal defines the core field members of a governance - proposal. + Proposal defines the core field members of a governance proposal. + description: proposals defines all the requested governance proposals. pagination: description: pagination defines the pagination in the response. @@ -14784,15 +13741,15 @@ paths: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise - description: >- - QueryProposalsResponse is the response type for the - Query/Proposals RPC + description: >- + QueryProposalsResponse is the response type for the Query/Proposals RPC + method. + default: description: An unexpected error response. schema: @@ -14808,81 +13765,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -14890,9 +13832,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -14903,9 +13845,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -14913,9 +13855,9 @@ paths: 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 { @@ -14926,61 +13868,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: proposal_status description: |- @@ -15030,44 +13964,42 @@ paths: - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. - - It is less efficient than using key. Only one of offset or key - should - + + It is less efficient than using key. Only one of offset or key should + be set. + in: query required: false type: string format: uint64 - name: pagination.limit description: >- - limit is the total number of results to be returned in the result - page. - + limit is the total number of results to be returned in the result page. + If left empty it will default to a value to be set by each app. + in: query required: false type: string format: uint64 - name: pagination.count_total description: >- - count_total is set to true to indicate that the result set should - include - - a count of the total number of items available for pagination in - UIs. - - count_total is only respected when offset is used. It is ignored - when key - + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + is set. + in: query required: false type: boolean - name: pagination.reverse description: >- - reverse is set to true if results are to be returned in the - descending order. + reverse is set to true if results are to be returned in the descending order. + in: query required: false type: boolean @@ -15078,7 +14010,7 @@ paths: summary: Proposal queries proposal details based on ProposalID. operationId: GovV1Proposal responses: - '200': + "200": description: A successful response. schema: type: object @@ -15096,81 +14028,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -15178,9 +14095,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -15191,9 +14108,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -15201,9 +14118,9 @@ paths: 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 { @@ -15214,66 +14131,56 @@ paths: 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 - + + 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: - + + 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][]): - + + 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" } + description: >- - messages are the arbitrary messages to be executed if the - proposal passes. + messages are the arbitrary messages to be executed if the proposal passes. + status: description: status defines the proposal status. type: string @@ -15287,13 +14194,12 @@ paths: default: PROPOSAL_STATUS_UNSPECIFIED final_tally_result: description: >- - final_tally_result is the final tally result of the - proposal. When - - querying a proposal via gRPC, this field is not populated - until the - + final_tally_result is the final tally result of the proposal. When + + querying a proposal via gRPC, this field is not populated until the + proposal's voting period has ended. + type: object properties: yes_count: @@ -15305,11 +14211,11 @@ paths: abstain_count: type: string description: >- - abstain_count is the number of abstain votes on a - proposal. - - + abstain_count is the number of abstain votes on a proposal. + + option 2 + no_count: type: string description: |- @@ -15319,40 +14225,37 @@ paths: no_with_veto_count: type: string description: >- - no_with_veto_count is the number of no with veto votes - on a proposal. - - + no_with_veto_count is the number of no with veto votes on a proposal. + + option 4 + option_one_count: type: string description: >- - option_one_count corresponds to the number of votes - for option one (= yes_count for non multiple choice - proposals). + option_one_count corresponds to the number of votes for option one (= yes_count for non multiple choice proposals). + option_two_count: type: string description: >- - option_two_count corresponds to the number of votes - for option two (= abstain_count for non multiple - choice - + option_two_count corresponds to the number of votes for option two (= abstain_count for non multiple choice + proposals). + option_three_count: type: string description: >- - option_three_count corresponds to the number of votes - for option three (= no_count for non multiple choice - + option_three_count corresponds to the number of votes for option three (= no_count for non multiple choice + proposals). + option_four_count: type: string description: >- - option_four_count corresponds to the number of votes - for option four (= no_with_veto_count for non multiple - choice - + option_four_count corresponds to the number of votes for option four (= no_with_veto_count for non multiple choice + proposals). + spam_count: type: string description: spam_count is the number of spam votes on a proposal. @@ -15375,19 +14278,19 @@ paths: type: string description: >- Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the - custom method - + + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + description: total_deposit is the total deposit on the proposal. voting_start_time: type: string format: date-time description: >- - voting_start_time is the starting time to vote on a - proposal. + voting_start_time is the starting time to vote on a proposal. + voting_end_time: type: string format: date-time @@ -15395,13 +14298,12 @@ paths: metadata: type: string title: >- - metadata is any arbitrary metadata attached to the - proposal. - - the recommended format of the metadata is to be found - here: - + metadata is any arbitrary metadata attached to the proposal. + + the recommended format of the metadata is to be found here: + https://docs.cosmos.network/v0.47/modules/gov#proposal-3 + title: type: string title: title is the title of the proposal @@ -15413,7 +14315,7 @@ paths: title: proposer is the address of the proposal sumbitter expedited: type: boolean - description: 'Deprecated: Use ProposalType instead.' + description: "Deprecated: Use ProposalType instead." title: expedited defines if the proposal is expedited failed_reason: type: string @@ -15430,18 +14332,18 @@ paths: default: PROPOSAL_TYPE_UNSPECIFIED description: >- ProposalType enumerates the valid proposal types. - - All proposal types are v1.Proposal which have different - voting periods or tallying logic. - + + All proposal types are v1.Proposal which have different voting periods or tallying logic. + - PROPOSAL_TYPE_UNSPECIFIED: PROPOSAL_TYPE_UNSPECIFIED defines no proposal type, which fallback to PROPOSAL_TYPE_STANDARD. - PROPOSAL_TYPE_STANDARD: PROPOSAL_TYPE_STANDARD defines the type for a standard proposal. - PROPOSAL_TYPE_MULTIPLE_CHOICE: PROPOSAL_TYPE_MULTIPLE_CHOICE defines the type for a multiple choice proposal. - PROPOSAL_TYPE_OPTIMISTIC: PROPOSAL_TYPE_OPTIMISTIC defines the type for an optimistic proposal. - PROPOSAL_TYPE_EXPEDITED: PROPOSAL_TYPE_EXPEDITED defines the type for an expedited proposal. + description: >- - QueryProposalResponse is the response type for the Query/Proposal - RPC method. + QueryProposalResponse is the response type for the Query/Proposal RPC method. + default: description: An unexpected error response. schema: @@ -15457,81 +14359,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -15539,9 +14426,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -15552,9 +14439,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -15562,9 +14449,9 @@ paths: 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 { @@ -15575,61 +14462,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: proposal_id description: proposal_id defines the unique id of the proposal. @@ -15644,7 +14523,7 @@ paths: summary: Deposits queries all deposits of a single proposal. operationId: GovV1Deposit responses: - '200': + "200": description: A successful response. schema: type: object @@ -15661,8 +14540,8 @@ paths: depositor: type: string description: >- - depositor defines the deposit addresses from the - proposals. + depositor defines the deposit addresses from the proposals. + amount: type: array items: @@ -15673,20 +14552,19 @@ paths: amount: type: string description: >- - Coin defines a token with a denomination and an - amount. - - - NOTE: The amount field is an Int which implements the - custom method - + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + description: amount to be deposited by depositor. description: >- - Deposit defines an amount deposited by an account address to - an active - + Deposit defines an amount deposited by an account address to an active + proposal. + description: deposits defines the requested deposits. pagination: description: pagination defines the pagination in the response. @@ -15703,13 +14581,13 @@ paths: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise + description: >- - QueryDepositsResponse is the response type for the Query/Deposits - RPC method. + QueryDepositsResponse is the response type for the Query/Deposits RPC method. + default: description: An unexpected error response. schema: @@ -15725,81 +14603,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -15807,9 +14670,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -15820,9 +14683,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -15830,9 +14693,9 @@ paths: 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 { @@ -15843,61 +14706,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: proposal_id description: proposal_id defines the unique id of the proposal. @@ -15917,44 +14772,42 @@ paths: - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. - - It is less efficient than using key. Only one of offset or key - should - + + It is less efficient than using key. Only one of offset or key should + be set. + in: query required: false type: string format: uint64 - name: pagination.limit description: >- - limit is the total number of results to be returned in the result - page. - + limit is the total number of results to be returned in the result page. + If left empty it will default to a value to be set by each app. + in: query required: false type: string format: uint64 - name: pagination.count_total description: >- - count_total is set to true to indicate that the result set should - include - - a count of the total number of items available for pagination in - UIs. - - count_total is only respected when offset is used. It is ignored - when key - + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + is set. + in: query required: false type: boolean - name: pagination.reverse description: >- - reverse is set to true if results are to be returned in the - descending order. + reverse is set to true if results are to be returned in the descending order. + in: query required: false type: boolean @@ -15963,11 +14816,11 @@ paths: /cosmos/gov/v1/proposals/{proposal_id}/deposits/{depositor}: get: summary: >- - Deposit queries single deposit information based on proposalID, - depositAddr. + Deposit queries single deposit information based on proposalID, depositAddr. + operationId: GovV1Deposit responses: - '200': + "200": description: A successful response. schema: type: object @@ -15983,8 +14836,8 @@ paths: depositor: type: string description: >- - depositor defines the deposit addresses from the - proposals. + depositor defines the deposit addresses from the proposals. + amount: type: array items: @@ -15996,16 +14849,16 @@ paths: type: string description: >- Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the - custom method - + + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + description: amount to be deposited by depositor. description: >- - QueryDepositResponse is the response type for the Query/Deposit - RPC method. + QueryDepositResponse is the response type for the Query/Deposit RPC method. + default: description: An unexpected error response. schema: @@ -16021,81 +14874,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -16103,9 +14941,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -16116,9 +14954,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -16126,9 +14964,9 @@ paths: 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 { @@ -16139,61 +14977,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: proposal_id description: proposal_id defines the unique id of the proposal. @@ -16213,7 +15043,7 @@ paths: summary: TallyResult queries the tally of a proposal vote. operationId: GovV1TallyResult responses: - '200': + "200": description: A successful response. schema: type: object @@ -16231,11 +15061,11 @@ paths: abstain_count: type: string description: >- - abstain_count is the number of abstain votes on a - proposal. - - + abstain_count is the number of abstain votes on a proposal. + + option 2 + no_count: type: string description: |- @@ -16245,44 +15075,43 @@ paths: no_with_veto_count: type: string description: >- - no_with_veto_count is the number of no with veto votes on - a proposal. - - + no_with_veto_count is the number of no with veto votes on a proposal. + + option 4 + option_one_count: type: string description: >- - option_one_count corresponds to the number of votes for - option one (= yes_count for non multiple choice - proposals). + option_one_count corresponds to the number of votes for option one (= yes_count for non multiple choice proposals). + option_two_count: type: string description: >- - option_two_count corresponds to the number of votes for - option two (= abstain_count for non multiple choice - + option_two_count corresponds to the number of votes for option two (= abstain_count for non multiple choice + proposals). + option_three_count: type: string description: >- - option_three_count corresponds to the number of votes for - option three (= no_count for non multiple choice - + option_three_count corresponds to the number of votes for option three (= no_count for non multiple choice + proposals). + option_four_count: type: string description: >- - option_four_count corresponds to the number of votes for - option four (= no_with_veto_count for non multiple choice - + option_four_count corresponds to the number of votes for option four (= no_with_veto_count for non multiple choice + proposals). + spam_count: type: string description: spam_count is the number of spam votes on a proposal. description: >- - QueryTallyResultResponse is the response type for the Query/Tally - RPC method. + QueryTallyResultResponse is the response type for the Query/Tally RPC method. + default: description: An unexpected error response. schema: @@ -16298,81 +15127,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -16380,9 +15194,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -16393,9 +15207,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -16403,9 +15217,9 @@ paths: 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 { @@ -16416,61 +15230,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: proposal_id description: proposal_id defines the unique id of the proposal. @@ -16485,7 +15291,7 @@ paths: summary: ProposalVoteOptions queries the valid voting options for a proposal. operationId: ProposalVoteOptions responses: - '200': + "200": description: A successful response. schema: type: object @@ -16510,8 +15316,8 @@ paths: type: string description: option_spam is always present for all proposals. description: >- - QueryProposalVoteOptionsResponse is the response type for the - Query/ProposalVoteOptions RPC method. + QueryProposalVoteOptionsResponse is the response type for the Query/ProposalVoteOptions RPC method. + default: description: An unexpected error response. schema: @@ -16527,81 +15333,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -16609,9 +15400,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -16622,9 +15413,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -16632,9 +15423,9 @@ paths: 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 { @@ -16645,61 +15436,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: proposal_id description: proposal_id defines the unique id of the proposal. @@ -16714,7 +15497,7 @@ paths: summary: Votes queries votes of a given proposal. operationId: GovV1Votes responses: - '200': + "200": description: A successful response. schema: type: object @@ -16738,8 +15521,8 @@ paths: properties: option: description: >- - option defines the valid vote options, it must not - contain duplicate vote options. + option defines the valid vote options, it must not contain duplicate vote options. + type: string enum: - VOTE_OPTION_UNSPECIFIED @@ -16756,25 +15539,24 @@ paths: weight: type: string description: >- - weight is the vote weight associated with the vote - option. + weight is the vote weight associated with the vote option. + description: >- - WeightedVoteOption defines a unit of vote for vote - split. + WeightedVoteOption defines a unit of vote for vote split. + description: options is the weighted vote options. metadata: type: string title: >- metadata is any arbitrary metadata attached to the vote. + + the recommended format of the metadata is to be found here: https://docs.cosmos.network/v0.47/modules/gov#vote-5 - the recommended format of the metadata is to be found - here: - https://docs.cosmos.network/v0.47/modules/gov#vote-5 description: >- Vote defines a vote on a governance proposal. + + A Vote consists of a proposal ID, the voter, and the vote option. - A Vote consists of a proposal ID, the voter, and the vote - option. description: votes defines the queried votes. pagination: description: pagination defines the pagination in the response. @@ -16791,13 +15573,13 @@ paths: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise + description: >- - QueryVotesResponse is the response type for the Query/Votes RPC - method. + QueryVotesResponse is the response type for the Query/Votes RPC method. + default: description: An unexpected error response. schema: @@ -16813,81 +15595,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -16895,9 +15662,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -16908,9 +15675,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -16918,9 +15685,9 @@ paths: 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 { @@ -16931,61 +15698,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: proposal_id description: proposal_id defines the unique id of the proposal. @@ -17005,44 +15764,42 @@ paths: - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. - - It is less efficient than using key. Only one of offset or key - should - + + It is less efficient than using key. Only one of offset or key should + be set. + in: query required: false type: string format: uint64 - name: pagination.limit description: >- - limit is the total number of results to be returned in the result - page. - + limit is the total number of results to be returned in the result page. + If left empty it will default to a value to be set by each app. + in: query required: false type: string format: uint64 - name: pagination.count_total description: >- - count_total is set to true to indicate that the result set should - include - - a count of the total number of items available for pagination in - UIs. - - count_total is only respected when offset is used. It is ignored - when key - + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + is set. + in: query required: false type: boolean - name: pagination.reverse description: >- - reverse is set to true if results are to be returned in the - descending order. + reverse is set to true if results are to be returned in the descending order. + in: query required: false type: boolean @@ -17053,7 +15810,7 @@ paths: summary: Vote queries voted information based on proposalID, voterAddr. operationId: GovV1Vote responses: - '200': + "200": description: A successful response. schema: type: object @@ -17076,8 +15833,8 @@ paths: properties: option: description: >- - option defines the valid vote options, it must not - contain duplicate vote options. + option defines the valid vote options, it must not contain duplicate vote options. + type: string enum: - VOTE_OPTION_UNSPECIFIED @@ -17094,22 +15851,22 @@ paths: weight: type: string description: >- - weight is the vote weight associated with the vote - option. + weight is the vote weight associated with the vote option. + description: >- - WeightedVoteOption defines a unit of vote for vote - split. + WeightedVoteOption defines a unit of vote for vote split. + description: options is the weighted vote options. metadata: type: string title: >- metadata is any arbitrary metadata attached to the vote. + + the recommended format of the metadata is to be found here: https://docs.cosmos.network/v0.47/modules/gov#vote-5 - the recommended format of the metadata is to be found - here: https://docs.cosmos.network/v0.47/modules/gov#vote-5 description: >- - QueryVoteResponse is the response type for the Query/Vote RPC - method. + QueryVoteResponse is the response type for the Query/Vote RPC method. + default: description: An unexpected error response. schema: @@ -17125,81 +15882,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -17207,9 +15949,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -17220,9 +15962,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -17230,9 +15972,9 @@ paths: 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 { @@ -17243,61 +15985,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: proposal_id description: proposal_id defines the unique id of the proposal. @@ -17317,7 +16051,7 @@ paths: summary: AnnualProvisions current minting annual provisions value. operationId: AnnualProvisions responses: - '200': + "200": description: A successful response. schema: type: object @@ -17326,8 +16060,8 @@ paths: type: string format: byte description: >- - annual_provisions is the current minting annual provisions - value. + annual_provisions is the current minting annual provisions value. + description: |- QueryAnnualProvisionsResponse is the response type for the Query/AnnualProvisions RPC method. @@ -17346,81 +16080,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -17428,9 +16147,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -17441,9 +16160,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -17451,9 +16170,9 @@ paths: 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 { @@ -17464,61 +16183,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + tags: - Query /cosmos/mint/v1beta1/inflation: @@ -17526,7 +16237,7 @@ paths: summary: Inflation returns the current minting inflation value. operationId: Inflation responses: - '200': + "200": description: A successful response. schema: type: object @@ -17536,10 +16247,10 @@ paths: format: byte description: inflation is the current minting inflation value. description: >- - QueryInflationResponse is the response type for the - Query/Inflation RPC - + QueryInflationResponse is the response type for the Query/Inflation RPC + method. + default: description: An unexpected error response. schema: @@ -17555,81 +16266,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -17637,9 +16333,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -17650,9 +16346,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -17660,9 +16356,9 @@ paths: 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 { @@ -17673,61 +16369,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + tags: - Query /cosmos/mint/v1beta1/params: @@ -17735,7 +16423,7 @@ paths: summary: Params returns the total set of minting parameters. operationId: MintParams responses: - '200': + "200": description: A successful response. schema: type: object @@ -17767,8 +16455,8 @@ paths: type: string title: maximum supply for the token description: >- - QueryParamsResponse is the response type for the Query/Params RPC - method. + QueryParamsResponse is the response type for the Query/Params RPC method. + default: description: An unexpected error response. schema: @@ -17784,81 +16472,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -17866,9 +16539,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -17879,9 +16552,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -17889,9 +16562,9 @@ paths: 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 { @@ -17902,61 +16575,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + tags: - Query /cosmos/params/v1beta1/params: @@ -17966,7 +16631,7 @@ paths: key. operationId: Params responses: - '200': + "200": description: A successful response. schema: type: object @@ -17982,8 +16647,8 @@ paths: value: type: string description: >- - QueryParamsResponse is response type for the Query/Params RPC - method. + QueryParamsResponse is response type for the Query/Params RPC method. + default: description: An unexpected error response. schema: @@ -17999,7 +16664,7 @@ paths: items: type: object properties: - '@type': + "@type": type: string additionalProperties: {} parameters: @@ -18018,11 +16683,11 @@ paths: /cosmos/params/v1beta1/subspaces: get: summary: >- - Subspaces queries for all registered subspaces and all keys for a - subspace. + Subspaces queries for all registered subspaces and all keys for a subspace. + operationId: Subspaces responses: - '200': + "200": description: A successful response. schema: type: object @@ -18039,15 +16704,15 @@ paths: items: type: string description: >- - Subspace defines a parameter subspace name and all the keys - that exist for - + Subspace defines a parameter subspace name and all the keys that exist for + the subspace. - description: >- - QuerySubspacesResponse defines the response types for querying for - all + description: >- + QuerySubspacesResponse defines the response types for querying for all + registered subspaces and all keys for a subspace. + default: description: An unexpected error response. schema: @@ -18063,7 +16728,7 @@ paths: items: type: object properties: - '@type': + "@type": type: string additionalProperties: {} tags: @@ -18073,7 +16738,7 @@ paths: summary: Params queries the parameters of slashing module operationId: SlashingParams responses: - '200': + "200": description: A successful response. schema: type: object @@ -18096,11 +16761,11 @@ paths: type: string format: byte description: >- - Params represents the parameters used for by the slashing - module. + Params represents the parameters used for by the slashing module. + title: >- - QueryParamsResponse is the response type for the Query/Params RPC - method + QueryParamsResponse is the response type for the Query/Params RPC method + default: description: An unexpected error response. schema: @@ -18116,7 +16781,7 @@ paths: items: type: object properties: - '@type': + "@type": type: string additionalProperties: {} tags: @@ -18126,7 +16791,7 @@ paths: summary: SigningInfos queries signing info of all validators operationId: SigningInfos responses: - '200': + "200": description: A successful response. schema: type: object @@ -18142,49 +16807,46 @@ paths: type: string format: int64 title: >- - Height at which validator was first a candidate OR was - un-jailed + Height at which validator was first a candidate OR was un-jailed + index_offset: type: string format: int64 description: >- - DEPRECATED: Index which is incremented every time a - validator is bonded in a block and - - _may_ have signed a pre-commit or not. This in - conjunction with the + DEPRECATED: Index which is incremented every time a validator is bonded in a block and + + _may_ have signed a pre-commit or not. This in conjunction with the + + signed_blocks_window param determines the index in the missed block bitmap. - signed_blocks_window param determines the index in the - missed block bitmap. jailed_until: type: string format: date-time description: >- - Timestamp until which the validator is jailed due to - liveness downtime. + Timestamp until which the validator is jailed due to liveness downtime. + tombstoned: type: boolean description: >- - Whether or not a validator has been tombstoned (killed - out of validator - - set). It is set once the validator commits an - equivocation or for any other - + Whether or not a validator has been tombstoned (killed out of validator + + set). It is set once the validator commits an equivocation or for any other + configured misbehavior. + missed_blocks_counter: type: string format: int64 description: >- - A counter of missed (unsigned) blocks. It is used to - avoid unnecessary - + A counter of missed (unsigned) blocks. It is used to avoid unnecessary + reads in the missed block bitmap. - description: >- - ValidatorSigningInfo defines a validator's signing info for - monitoring their + description: >- + ValidatorSigningInfo defines a validator's signing info for monitoring their + liveness activity. + title: info is the signing info of all validators pagination: type: object @@ -18200,25 +16862,25 @@ paths: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise - description: >- - PageResponse is to be embedded in gRPC response messages where - the + description: >- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. - + message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } - title: >- - QuerySigningInfosResponse is the response type for the - Query/SigningInfos RPC + title: >- + QuerySigningInfosResponse is the response type for the Query/SigningInfos RPC + method + default: description: An unexpected error response. schema: @@ -18234,7 +16896,7 @@ paths: items: type: object properties: - '@type': + "@type": type: string additionalProperties: {} parameters: @@ -18250,44 +16912,42 @@ paths: - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. - - It is less efficient than using key. Only one of offset or key - should - + + It is less efficient than using key. Only one of offset or key should + be set. + in: query required: false type: string format: uint64 - name: pagination.limit description: >- - limit is the total number of results to be returned in the result - page. - + limit is the total number of results to be returned in the result page. + If left empty it will default to a value to be set by each app. + in: query required: false type: string format: uint64 - name: pagination.count_total description: >- - count_total is set to true to indicate that the result set should - include - - a count of the total number of items available for pagination in - UIs. - - count_total is only respected when offset is used. It is ignored - when key - + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + is set. + in: query required: false type: boolean - name: pagination.reverse description: >- - reverse is set to true if results are to be returned in the - descending order. + reverse is set to true if results are to be returned in the descending order. + in: query required: false type: boolean @@ -18298,15 +16958,15 @@ paths: summary: SigningInfo queries the signing info of given cons address operationId: SigningInfo responses: - '200': + "200": description: A successful response. schema: type: object properties: val_signing_info: title: >- - val_signing_info is the signing info of requested val cons - address + val_signing_info is the signing info of requested val cons address + type: object properties: address: @@ -18315,54 +16975,51 @@ paths: type: string format: int64 title: >- - Height at which validator was first a candidate OR was - un-jailed + Height at which validator was first a candidate OR was un-jailed + index_offset: type: string format: int64 description: >- - DEPRECATED: Index which is incremented every time a - validator is bonded in a block and + DEPRECATED: Index which is incremented every time a validator is bonded in a block and + + _may_ have signed a pre-commit or not. This in conjunction with the + + signed_blocks_window param determines the index in the missed block bitmap. - _may_ have signed a pre-commit or not. This in conjunction - with the - - signed_blocks_window param determines the index in the - missed block bitmap. jailed_until: type: string format: date-time description: >- - Timestamp until which the validator is jailed due to - liveness downtime. + Timestamp until which the validator is jailed due to liveness downtime. + tombstoned: type: boolean description: >- - Whether or not a validator has been tombstoned (killed out - of validator - - set). It is set once the validator commits an equivocation - or for any other - + Whether or not a validator has been tombstoned (killed out of validator + + set). It is set once the validator commits an equivocation or for any other + configured misbehavior. + missed_blocks_counter: type: string format: int64 description: >- - A counter of missed (unsigned) blocks. It is used to avoid - unnecessary - + A counter of missed (unsigned) blocks. It is used to avoid unnecessary + reads in the missed block bitmap. - description: >- - ValidatorSigningInfo defines a validator's signing info for - monitoring their + description: >- + ValidatorSigningInfo defines a validator's signing info for monitoring their + liveness activity. - title: >- - QuerySigningInfoResponse is the response type for the - Query/SigningInfo RPC + title: >- + QuerySigningInfoResponse is the response type for the Query/SigningInfo RPC + method + default: description: An unexpected error response. schema: @@ -18378,7 +17035,7 @@ paths: items: type: object properties: - '@type': + "@type": type: string additionalProperties: {} parameters: @@ -18392,16 +17049,16 @@ paths: /cosmos/staking/v1beta1/delegations/{delegator_addr}: get: summary: >- - DelegatorDelegations queries all delegations of a given delegator - address. - description: >- - When called from another module, this query might consume a high amount - of + DelegatorDelegations queries all delegations of a given delegator address. + description: >- + When called from another module, this query might consume a high amount of + gas if the pagination field is incorrectly set. + operationId: DelegatorDelegations responses: - '200': + "200": description: A successful response. schema: type: object @@ -18417,24 +17074,23 @@ paths: delegator_address: type: string description: >- - delegator_address is the encoded address of the - delegator. + delegator_address is the encoded address of the delegator. + validator_address: type: string description: >- - validator_address is the encoded address of the - validator. + validator_address is the encoded address of the validator. + shares: type: string description: shares define the delegation shares received. description: >- - Delegation represents the bond with tokens held by an - account. It is - - owned by one delegator, and is associated with the - voting power of one - + Delegation represents the bond with tokens held by an account. It is + + owned by one delegator, and is associated with the voting power of one + validator. + balance: type: object properties: @@ -18444,21 +17100,20 @@ paths: type: string description: >- Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the - custom method - + + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + description: >- - DelegationResponse is equivalent to Delegation except that - it contains a + DelegationResponse is equivalent to Delegation except that it contains a + + balance in addition to shares which is more suitable for client responses. - balance in addition to shares which is more suitable for - client responses. description: >- - delegation_responses defines all the delegations' info of a - delegator. + delegation_responses defines all the delegations' info of a delegator. + pagination: description: pagination defines the pagination in the response. type: object @@ -18474,10 +17129,10 @@ paths: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise + description: |- QueryDelegatorDelegationsResponse is response type for the Query/DelegatorDelegations RPC method. @@ -18496,81 +17151,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -18578,9 +17218,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -18591,9 +17231,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -18601,9 +17241,9 @@ paths: 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 { @@ -18614,60 +17254,52 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: delegator_addr description: delegator_addr defines the delegator address to query for. @@ -18686,44 +17318,42 @@ paths: - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. - - It is less efficient than using key. Only one of offset or key - should - + + It is less efficient than using key. Only one of offset or key should + be set. + in: query required: false type: string format: uint64 - name: pagination.limit description: >- - limit is the total number of results to be returned in the result - page. - + limit is the total number of results to be returned in the result page. + If left empty it will default to a value to be set by each app. + in: query required: false type: string format: uint64 - name: pagination.count_total description: >- - count_total is set to true to indicate that the result set should - include - - a count of the total number of items available for pagination in - UIs. - - count_total is only respected when offset is used. It is ignored - when key - + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + is set. + in: query required: false type: boolean - name: pagination.reverse description: >- - reverse is set to true if results are to be returned in the - descending order. + reverse is set to true if results are to be returned in the descending order. + in: query required: false type: boolean @@ -18733,13 +17363,13 @@ paths: get: summary: Redelegations queries redelegations of given address. description: >- - When called from another module, this query might consume a high amount - of - + When called from another module, this query might consume a high amount of + gas if the pagination field is incorrectly set. + operationId: Redelegations responses: - '200': + "200": description: A successful response. schema: type: object @@ -18755,18 +17385,18 @@ paths: delegator_address: type: string description: >- - delegator_address is the bech32-encoded address of - the delegator. + delegator_address is the bech32-encoded address of the delegator. + validator_src_address: type: string description: >- - validator_src_address is the validator redelegation - source operator address. + validator_src_address is the validator redelegation source operator address. + validator_dst_address: type: string description: >- - validator_dst_address is the validator redelegation - destination operator address. + validator_dst_address is the validator redelegation destination operator address. + entries: type: array items: @@ -18776,50 +17406,48 @@ paths: type: string format: int64 description: >- - creation_height defines the height which the - redelegation took place. + creation_height defines the height which the redelegation took place. + completion_time: type: string format: date-time description: >- - completion_time defines the unix time for - redelegation completion. + completion_time defines the unix time for redelegation completion. + initial_balance: type: string description: >- - initial_balance defines the initial balance - when redelegation started. + initial_balance defines the initial balance when redelegation started. + shares_dst: type: string description: >- - shares_dst is the amount of - destination-validator shares created by - redelegation. + shares_dst is the amount of destination-validator shares created by redelegation. + unbonding_id: type: string format: uint64 title: >- - Incrementing id that uniquely identifies this - entry + Incrementing id that uniquely identifies this entry + unbonding_on_hold_ref_count: type: string format: int64 title: >- - Strictly positive if this entry's unbonding - has been stopped by external modules + Strictly positive if this entry's unbonding has been stopped by external modules + description: >- - RedelegationEntry defines a redelegation object - with relevant metadata. + RedelegationEntry defines a redelegation object with relevant metadata. + description: |- entries are the redelegation entries. redelegation entries description: >- - Redelegation contains the list of a particular - delegator's redelegating bonds + Redelegation contains the list of a particular delegator's redelegating bonds + + from a particular source validator to a particular destination validator. - from a particular source validator to a particular - destination validator. entries: type: array items: @@ -18832,58 +17460,55 @@ paths: type: string format: int64 description: >- - creation_height defines the height which the - redelegation took place. + creation_height defines the height which the redelegation took place. + completion_time: type: string format: date-time description: >- - completion_time defines the unix time for - redelegation completion. + completion_time defines the unix time for redelegation completion. + initial_balance: type: string description: >- - initial_balance defines the initial balance - when redelegation started. + initial_balance defines the initial balance when redelegation started. + shares_dst: type: string description: >- - shares_dst is the amount of - destination-validator shares created by - redelegation. + shares_dst is the amount of destination-validator shares created by redelegation. + unbonding_id: type: string format: uint64 title: >- - Incrementing id that uniquely identifies this - entry + Incrementing id that uniquely identifies this entry + unbonding_on_hold_ref_count: type: string format: int64 title: >- - Strictly positive if this entry's unbonding - has been stopped by external modules + Strictly positive if this entry's unbonding has been stopped by external modules + description: >- - RedelegationEntry defines a redelegation object - with relevant metadata. + RedelegationEntry defines a redelegation object with relevant metadata. + balance: type: string description: >- - RedelegationEntryResponse is equivalent to a - RedelegationEntry except that it - - contains a balance in addition to shares which is more - suitable for client - + RedelegationEntryResponse is equivalent to a RedelegationEntry except that it + + contains a balance in addition to shares which is more suitable for client + responses. - description: >- - RedelegationResponse is equivalent to a Redelegation except - that its entries - - contain a balance in addition to shares which is more - suitable for client + description: >- + RedelegationResponse is equivalent to a Redelegation except that its entries + + contain a balance in addition to shares which is more suitable for client + responses. + pagination: description: pagination defines the pagination in the response. type: object @@ -18899,15 +17524,15 @@ paths: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise - description: >- - QueryRedelegationsResponse is response type for the - Query/Redelegations RPC + description: >- + QueryRedelegationsResponse is response type for the Query/Redelegations RPC + method. + default: description: An unexpected error response. schema: @@ -18923,81 +17548,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -19005,9 +17615,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -19018,9 +17628,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -19028,9 +17638,9 @@ paths: 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 { @@ -19041,60 +17651,52 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: delegator_addr description: delegator_addr defines the delegator address to query for. @@ -19123,44 +17725,42 @@ paths: - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. - - It is less efficient than using key. Only one of offset or key - should - + + It is less efficient than using key. Only one of offset or key should + be set. + in: query required: false type: string format: uint64 - name: pagination.limit description: >- - limit is the total number of results to be returned in the result - page. - + limit is the total number of results to be returned in the result page. + If left empty it will default to a value to be set by each app. + in: query required: false type: string format: uint64 - name: pagination.count_total description: >- - count_total is set to true to indicate that the result set should - include - - a count of the total number of items available for pagination in - UIs. - - count_total is only respected when offset is used. It is ignored - when key - + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + is set. + in: query required: false type: boolean - name: pagination.reverse description: >- - reverse is set to true if results are to be returned in the - descending order. + reverse is set to true if results are to be returned in the descending order. + in: query required: false type: boolean @@ -19169,18 +17769,18 @@ paths: /cosmos/staking/v1beta1/delegators/{delegator_addr}/unbonding_delegations: get: summary: >- - DelegatorUnbondingDelegations queries all unbonding delegations of a - given - + DelegatorUnbondingDelegations queries all unbonding delegations of a given + delegator address. - description: >- - When called from another module, this query might consume a high amount - of + description: >- + When called from another module, this query might consume a high amount of + gas if the pagination field is incorrectly set. + operationId: DelegatorUnbondingDelegations responses: - '200': + "200": description: A successful response. schema: type: object @@ -19193,13 +17793,13 @@ paths: delegator_address: type: string description: >- - delegator_address is the encoded address of the - delegator. + delegator_address is the encoded address of the delegator. + validator_address: type: string description: >- - validator_address is the encoded address of the - validator. + validator_address is the encoded address of the validator. + entries: type: array items: @@ -19209,48 +17809,48 @@ paths: type: string format: int64 description: >- - creation_height is the height which the unbonding - took place. + creation_height is the height which the unbonding took place. + completion_time: type: string format: date-time description: >- - completion_time is the unix time for unbonding - completion. + completion_time is the unix time for unbonding completion. + initial_balance: type: string description: >- - initial_balance defines the tokens initially - scheduled to receive at completion. + initial_balance defines the tokens initially scheduled to receive at completion. + balance: type: string description: >- - balance defines the tokens to receive at - completion. + balance defines the tokens to receive at completion. + unbonding_id: type: string format: uint64 title: >- - Incrementing id that uniquely identifies this - entry + Incrementing id that uniquely identifies this entry + unbonding_on_hold_ref_count: type: string format: int64 title: >- - Strictly positive if this entry's unbonding has - been stopped by external modules + Strictly positive if this entry's unbonding has been stopped by external modules + description: >- - UnbondingDelegationEntry defines an unbonding object - with relevant metadata. + UnbondingDelegationEntry defines an unbonding object with relevant metadata. + description: |- entries are the unbonding delegation entries. unbonding delegation entries description: >- - UnbondingDelegation stores all of a single delegator's - unbonding bonds - + UnbondingDelegation stores all of a single delegator's unbonding bonds + for a single validator in an time-ordered list. + pagination: description: pagination defines the pagination in the response. type: object @@ -19266,15 +17866,15 @@ paths: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise - description: >- - QueryUnbondingDelegatorDelegationsResponse is response type for - the + description: >- + QueryUnbondingDelegatorDelegationsResponse is response type for the + Query/UnbondingDelegatorDelegations RPC method. + default: description: An unexpected error response. schema: @@ -19290,81 +17890,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -19372,9 +17957,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -19385,9 +17970,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -19395,9 +17980,9 @@ paths: 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 { @@ -19408,60 +17993,52 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: delegator_addr description: delegator_addr defines the delegator address to query for. @@ -19480,44 +18057,42 @@ paths: - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. - - It is less efficient than using key. Only one of offset or key - should - + + It is less efficient than using key. Only one of offset or key should + be set. + in: query required: false type: string format: uint64 - name: pagination.limit description: >- - limit is the total number of results to be returned in the result - page. - + limit is the total number of results to be returned in the result page. + If left empty it will default to a value to be set by each app. + in: query required: false type: string format: uint64 - name: pagination.count_total description: >- - count_total is set to true to indicate that the result set should - include - - a count of the total number of items available for pagination in - UIs. - - count_total is only respected when offset is used. It is ignored - when key - + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + is set. + in: query required: false type: boolean - name: pagination.reverse description: >- - reverse is set to true if results are to be returned in the - descending order. + reverse is set to true if results are to be returned in the descending order. + in: query required: false type: boolean @@ -19529,13 +18104,13 @@ paths: DelegatorValidators queries all validators info for given delegator address. description: >- - When called from another module, this query might consume a high amount - of - + When called from another module, this query might consume a high amount of + gas if the pagination field is incorrectly set. + operationId: StakingDelegatorValidators responses: - '200': + "200": description: A successful response. schema: type: object @@ -19548,82 +18123,70 @@ paths: operator_address: type: string description: >- - operator_address defines the address of the validator's - operator; bech encoded in JSON. + operator_address defines the address of the validator's operator; bech encoded in JSON. + consensus_pubkey: description: >- - consensus_pubkey is the consensus public key of the - validator, as a Protobuf Any. + consensus_pubkey is the consensus public key of the validator, as a Protobuf Any. + type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} jailed: type: boolean description: >- - jailed defined whether the validator has been jailed - from bonded status or not. + jailed defined whether the validator has been jailed from bonded status or not. + status: description: >- - status is the validator status - (bonded/unbonding/unbonded). + status is the validator status (bonded/unbonding/unbonded). + type: string enum: - BOND_STATUS_UNSPECIFIED @@ -19634,37 +18197,37 @@ paths: tokens: type: string description: >- - tokens define the delegated tokens (incl. - self-delegation). + tokens define the delegated tokens (incl. self-delegation). + delegator_shares: type: string description: >- - delegator_shares defines total shares issued to a - validator's delegators. + delegator_shares defines total shares issued to a validator's delegators. + description: description: >- - description defines the description terms for the - validator. + description defines the description terms for the validator. + type: object properties: moniker: type: string description: >- - moniker defines a human-readable name for the - validator. + moniker defines a human-readable name for the validator. + identity: type: string description: >- - identity defines an optional identity signature (ex. - UPort or Keybase). + identity defines an optional identity signature (ex. UPort or Keybase). + website: type: string description: website defines an optional website link. security_contact: type: string description: >- - security_contact defines an optional email for - security contact. + security_contact defines an optional email for security contact. + details: type: string description: details define other optional details. @@ -19672,88 +18235,81 @@ paths: type: string format: int64 description: >- - unbonding_height defines, if unbonding, the height at - which this validator has begun unbonding. + unbonding_height defines, if unbonding, the height at which this validator has begun unbonding. + unbonding_time: type: string format: date-time description: >- - unbonding_time defines, if unbonding, the min time for - the validator to complete unbonding. + unbonding_time defines, if unbonding, the min time for the validator to complete unbonding. + commission: description: commission defines the commission parameters. type: object properties: commission_rates: description: >- - commission_rates defines the initial commission - rates to be used for creating a validator. + commission_rates defines the initial commission rates to be used for creating a validator. + type: object properties: rate: type: string description: >- - rate is the commission rate charged to - delegators, as a fraction. + rate is the commission rate charged to delegators, as a fraction. + max_rate: type: string description: >- - max_rate defines the maximum commission rate - which validator can ever charge, as a fraction. + max_rate defines the maximum commission rate which validator can ever charge, as a fraction. + max_change_rate: type: string description: >- - max_change_rate defines the maximum daily - increase of the validator commission, as a - fraction. + max_change_rate defines the maximum daily increase of the validator commission, as a fraction. + update_time: type: string format: date-time description: >- - update_time is the last time the commission rate was - changed. + update_time is the last time the commission rate was changed. + min_self_delegation: type: string description: >- - min_self_delegation is the validator's self declared - minimum self delegation. + min_self_delegation is the validator's self declared minimum self delegation. + unbonding_on_hold_ref_count: type: string format: int64 title: >- - strictly positive if this validator's unbonding has been - stopped by external modules + strictly positive if this validator's unbonding has been stopped by external modules + unbonding_ids: type: array items: type: string format: uint64 title: >- - list of unbonding ids, each uniquely identifying an - unbonding of this validator - description: >- - Validator defines a validator, together with the total - amount of the - - Validator's bond shares and their exchange rate to coins. - Slashing results in - - a decrease in the exchange rate, allowing correct - calculation of future - - undelegations without iterating over delegators. When coins - are delegated to - - this validator, the validator is credited with a delegation - whose number of - - bond shares is based on the amount of coins delegated - divided by the current - - exchange rate. Voting power can be calculated as total - bonded shares + list of unbonding ids, each uniquely identifying an unbonding of this validator + description: >- + Validator defines a validator, together with the total amount of the + + Validator's bond shares and their exchange rate to coins. Slashing results in + + a decrease in the exchange rate, allowing correct calculation of future + + undelegations without iterating over delegators. When coins are delegated to + + this validator, the validator is credited with a delegation whose number of + + bond shares is based on the amount of coins delegated divided by the current + + exchange rate. Voting power can be calculated as total bonded shares + multiplied by exchange rate. + description: validators defines the validators' info of a delegator. pagination: description: pagination defines the pagination in the response. @@ -19770,10 +18326,10 @@ paths: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise + description: |- QueryDelegatorValidatorsResponse is response type for the Query/DelegatorValidators RPC method. @@ -19792,81 +18348,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -19874,9 +18415,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -19887,9 +18428,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -19897,9 +18438,9 @@ paths: 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 { @@ -19910,60 +18451,52 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: delegator_addr description: delegator_addr defines the delegator address to query for. @@ -19982,57 +18515,55 @@ paths: - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. - - It is less efficient than using key. Only one of offset or key - should - + + It is less efficient than using key. Only one of offset or key should + be set. + in: query required: false type: string format: uint64 - name: pagination.limit description: >- - limit is the total number of results to be returned in the result - page. - + limit is the total number of results to be returned in the result page. + If left empty it will default to a value to be set by each app. + in: query required: false type: string format: uint64 - name: pagination.count_total description: >- - count_total is set to true to indicate that the result set should - include - - a count of the total number of items available for pagination in - UIs. - - count_total is only respected when offset is used. It is ignored - when key - + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + is set. + in: query required: false type: boolean - name: pagination.reverse description: >- - reverse is set to true if results are to be returned in the - descending order. + reverse is set to true if results are to be returned in the descending order. + in: query required: false type: boolean tags: - Query - /cosmos/staking/v1beta1/delegators/{delegator_addr}/validators/{validator_addr}: - get: + ? /cosmos/staking/v1beta1/delegators/{delegator_addr}/validators/{validator_addr} + : get: summary: |- DelegatorValidator queries validator info for given delegator validator pair. operationId: DelegatorValidator responses: - '200': + "200": description: A successful response. schema: type: object @@ -20044,82 +18575,70 @@ paths: operator_address: type: string description: >- - operator_address defines the address of the validator's - operator; bech encoded in JSON. + operator_address defines the address of the validator's operator; bech encoded in JSON. + consensus_pubkey: description: >- - consensus_pubkey is the consensus public key of the - validator, as a Protobuf Any. + consensus_pubkey is the consensus public key of the validator, as a Protobuf Any. + type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} jailed: type: boolean description: >- - jailed defined whether the validator has been jailed from - bonded status or not. + jailed defined whether the validator has been jailed from bonded status or not. + status: description: >- - status is the validator status - (bonded/unbonding/unbonded). + status is the validator status (bonded/unbonding/unbonded). + type: string enum: - BOND_STATUS_UNSPECIFIED @@ -20130,37 +18649,37 @@ paths: tokens: type: string description: >- - tokens define the delegated tokens (incl. - self-delegation). + tokens define the delegated tokens (incl. self-delegation). + delegator_shares: type: string description: >- - delegator_shares defines total shares issued to a - validator's delegators. + delegator_shares defines total shares issued to a validator's delegators. + description: description: >- - description defines the description terms for the - validator. + description defines the description terms for the validator. + type: object properties: moniker: type: string description: >- - moniker defines a human-readable name for the - validator. + moniker defines a human-readable name for the validator. + identity: type: string description: >- - identity defines an optional identity signature (ex. - UPort or Keybase). + identity defines an optional identity signature (ex. UPort or Keybase). + website: type: string description: website defines an optional website link. security_contact: type: string description: >- - security_contact defines an optional email for - security contact. + security_contact defines an optional email for security contact. + details: type: string description: details define other optional details. @@ -20168,64 +18687,64 @@ paths: type: string format: int64 description: >- - unbonding_height defines, if unbonding, the height at - which this validator has begun unbonding. + unbonding_height defines, if unbonding, the height at which this validator has begun unbonding. + unbonding_time: type: string format: date-time description: >- - unbonding_time defines, if unbonding, the min time for the - validator to complete unbonding. + unbonding_time defines, if unbonding, the min time for the validator to complete unbonding. + commission: description: commission defines the commission parameters. type: object properties: commission_rates: description: >- - commission_rates defines the initial commission rates - to be used for creating a validator. + commission_rates defines the initial commission rates to be used for creating a validator. + type: object properties: rate: type: string description: >- - rate is the commission rate charged to delegators, - as a fraction. + rate is the commission rate charged to delegators, as a fraction. + max_rate: type: string description: >- - max_rate defines the maximum commission rate which - validator can ever charge, as a fraction. + max_rate defines the maximum commission rate which validator can ever charge, as a fraction. + max_change_rate: type: string description: >- - max_change_rate defines the maximum daily increase - of the validator commission, as a fraction. + max_change_rate defines the maximum daily increase of the validator commission, as a fraction. + update_time: type: string format: date-time description: >- - update_time is the last time the commission rate was - changed. + update_time is the last time the commission rate was changed. + min_self_delegation: type: string description: >- - min_self_delegation is the validator's self declared - minimum self delegation. + min_self_delegation is the validator's self declared minimum self delegation. + unbonding_on_hold_ref_count: type: string format: int64 title: >- - strictly positive if this validator's unbonding has been - stopped by external modules + strictly positive if this validator's unbonding has been stopped by external modules + unbonding_ids: type: array items: type: string format: uint64 title: >- - list of unbonding ids, each uniquely identifying an - unbonding of this validator + list of unbonding ids, each uniquely identifying an unbonding of this validator + description: |- QueryDelegatorValidatorResponse response type for the Query/DelegatorValidator RPC method. @@ -20244,81 +18763,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -20326,9 +18830,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -20339,9 +18843,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -20349,9 +18853,9 @@ paths: 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 { @@ -20362,60 +18866,52 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: delegator_addr description: delegator_addr defines the delegator address to query for. @@ -20434,7 +18930,7 @@ paths: summary: HistoricalInfo queries the historical info for given height. operationId: HistoricalInfo responses: - '200': + "200": description: A successful response. schema: type: object @@ -20457,13 +18953,12 @@ paths: type: string format: uint64 description: >- - Consensus captures the consensus rules for processing - a block in the blockchain, - - including all blockchain data structures and the rules - of the application's - + Consensus captures the consensus rules for processing a block in the blockchain, + + including all blockchain data structures and the rules of the application's + state transition machine. + chain_id: type: string height: @@ -20490,8 +18985,8 @@ paths: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block as its hash - and its `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + last_commit_hash: type: string format: byte @@ -20522,8 +19017,8 @@ paths: type: string format: byte title: >- - root hash of all results from the txs from the - previous block + root hash of all results from the txs from the previous block + evidence_hash: type: string format: byte @@ -20542,82 +19037,70 @@ paths: operator_address: type: string description: >- - operator_address defines the address of the - validator's operator; bech encoded in JSON. + operator_address defines the address of the validator's operator; bech encoded in JSON. + consensus_pubkey: description: >- - consensus_pubkey is the consensus public key of the - validator, as a Protobuf Any. + consensus_pubkey is the consensus public key of the validator, as a Protobuf Any. + type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} jailed: type: boolean description: >- - jailed defined whether the validator has been jailed - from bonded status or not. + jailed defined whether the validator has been jailed from bonded status or not. + status: description: >- - status is the validator status - (bonded/unbonding/unbonded). + status is the validator status (bonded/unbonding/unbonded). + type: string enum: - BOND_STATUS_UNSPECIFIED @@ -20628,37 +19111,37 @@ paths: tokens: type: string description: >- - tokens define the delegated tokens (incl. - self-delegation). + tokens define the delegated tokens (incl. self-delegation). + delegator_shares: type: string description: >- - delegator_shares defines total shares issued to a - validator's delegators. + delegator_shares defines total shares issued to a validator's delegators. + description: description: >- - description defines the description terms for the - validator. + description defines the description terms for the validator. + type: object properties: moniker: type: string description: >- - moniker defines a human-readable name for the - validator. + moniker defines a human-readable name for the validator. + identity: type: string description: >- - identity defines an optional identity signature - (ex. UPort or Keybase). + identity defines an optional identity signature (ex. UPort or Keybase). + website: type: string description: website defines an optional website link. security_contact: type: string description: >- - security_contact defines an optional email for - security contact. + security_contact defines an optional email for security contact. + details: type: string description: details define other optional details. @@ -20666,94 +19149,86 @@ paths: type: string format: int64 description: >- - unbonding_height defines, if unbonding, the height - at which this validator has begun unbonding. + unbonding_height defines, if unbonding, the height at which this validator has begun unbonding. + unbonding_time: type: string format: date-time description: >- - unbonding_time defines, if unbonding, the min time - for the validator to complete unbonding. + unbonding_time defines, if unbonding, the min time for the validator to complete unbonding. + commission: description: commission defines the commission parameters. type: object properties: commission_rates: description: >- - commission_rates defines the initial commission - rates to be used for creating a validator. + commission_rates defines the initial commission rates to be used for creating a validator. + type: object properties: rate: type: string description: >- - rate is the commission rate charged to - delegators, as a fraction. + rate is the commission rate charged to delegators, as a fraction. + max_rate: type: string description: >- - max_rate defines the maximum commission rate - which validator can ever charge, as a - fraction. + max_rate defines the maximum commission rate which validator can ever charge, as a fraction. + max_change_rate: type: string description: >- - max_change_rate defines the maximum daily - increase of the validator commission, as a - fraction. + max_change_rate defines the maximum daily increase of the validator commission, as a fraction. + update_time: type: string format: date-time description: >- - update_time is the last time the commission rate - was changed. + update_time is the last time the commission rate was changed. + min_self_delegation: type: string description: >- - min_self_delegation is the validator's self declared - minimum self delegation. + min_self_delegation is the validator's self declared minimum self delegation. + unbonding_on_hold_ref_count: type: string format: int64 title: >- - strictly positive if this validator's unbonding has - been stopped by external modules + strictly positive if this validator's unbonding has been stopped by external modules + unbonding_ids: type: array items: type: string format: uint64 title: >- - list of unbonding ids, each uniquely identifying an - unbonding of this validator - description: >- - Validator defines a validator, together with the total - amount of the - - Validator's bond shares and their exchange rate to - coins. Slashing results in - - a decrease in the exchange rate, allowing correct - calculation of future - - undelegations without iterating over delegators. When - coins are delegated to - - this validator, the validator is credited with a - delegation whose number of - - bond shares is based on the amount of coins delegated - divided by the current - - exchange rate. Voting power can be calculated as total - bonded shares - + list of unbonding ids, each uniquely identifying an unbonding of this validator + + description: >- + Validator defines a validator, together with the total amount of the + + Validator's bond shares and their exchange rate to coins. Slashing results in + + a decrease in the exchange rate, allowing correct calculation of future + + undelegations without iterating over delegators. When coins are delegated to + + this validator, the validator is credited with a delegation whose number of + + bond shares is based on the amount of coins delegated divided by the current + + exchange rate. Voting power can be calculated as total bonded shares + multiplied by exchange rate. - description: >- - QueryHistoricalInfoResponse is response type for the - Query/HistoricalInfo RPC + description: >- + QueryHistoricalInfoResponse is response type for the Query/HistoricalInfo RPC + method. + default: description: An unexpected error response. schema: @@ -20769,81 +19244,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -20851,9 +19311,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -20864,9 +19324,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -20874,9 +19334,9 @@ paths: 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 { @@ -20887,60 +19347,52 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: height description: height defines at which height to query the historical info. @@ -20955,7 +19407,7 @@ paths: summary: Parameters queries the staking parameters. operationId: StakingParams responses: - '200': + "200": description: A successful response. schema: type: object @@ -20975,22 +19427,22 @@ paths: type: integer format: int64 description: >- - max_entries is the max entries for either unbonding - delegation or redelegation (per pair/trio). + max_entries is the max entries for either unbonding delegation or redelegation (per pair/trio). + historical_entries: type: integer format: int64 description: >- - historical_entries is the number of historical entries to - persist. + historical_entries is the number of historical entries to persist. + bond_denom: type: string description: bond_denom defines the bondable coin denomination. min_commission_rate: type: string title: >- - min_commission_rate is the chain-wide minimum commission - rate that a validator can charge their delegators + min_commission_rate is the chain-wide minimum commission rate that a validator can charge their delegators + key_rotation_fee: type: object properties: @@ -21000,20 +19452,20 @@ paths: type: string description: >- Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the - custom method - + + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. - title: >- - key_rotation_fee is fee to be spent when rotating - validator's key + title: >- + key_rotation_fee is fee to be spent when rotating validator's key + (either consensus pubkey or operator key) + description: >- - QueryParamsResponse is response type for the Query/Params RPC - method. + QueryParamsResponse is response type for the Query/Params RPC method. + default: description: An unexpected error response. schema: @@ -21029,81 +19481,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -21111,9 +19548,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -21124,9 +19561,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -21134,9 +19571,9 @@ paths: 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 { @@ -21147,60 +19584,52 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + tags: - Query /cosmos/staking/v1beta1/pool: @@ -21208,7 +19637,7 @@ paths: summary: Pool queries the pool info. operationId: Pool responses: - '200': + "200": description: A successful response. schema: type: object @@ -21237,81 +19666,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -21319,9 +19733,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -21332,9 +19746,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -21342,9 +19756,9 @@ paths: 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 { @@ -21355,73 +19769,65 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + tags: - Query /cosmos/staking/v1beta1/validators: get: summary: Validators queries all validators that match the given status. description: >- - When called from another module, this query might consume a high amount - of - + When called from another module, this query might consume a high amount of + gas if the pagination field is incorrectly set. + operationId: Validators responses: - '200': + "200": description: A successful response. schema: type: object @@ -21434,82 +19840,70 @@ paths: operator_address: type: string description: >- - operator_address defines the address of the validator's - operator; bech encoded in JSON. + operator_address defines the address of the validator's operator; bech encoded in JSON. + consensus_pubkey: description: >- - consensus_pubkey is the consensus public key of the - validator, as a Protobuf Any. + consensus_pubkey is the consensus public key of the validator, as a Protobuf Any. + type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} jailed: type: boolean description: >- - jailed defined whether the validator has been jailed - from bonded status or not. + jailed defined whether the validator has been jailed from bonded status or not. + status: description: >- - status is the validator status - (bonded/unbonding/unbonded). + status is the validator status (bonded/unbonding/unbonded). + type: string enum: - BOND_STATUS_UNSPECIFIED @@ -21520,37 +19914,37 @@ paths: tokens: type: string description: >- - tokens define the delegated tokens (incl. - self-delegation). + tokens define the delegated tokens (incl. self-delegation). + delegator_shares: type: string description: >- - delegator_shares defines total shares issued to a - validator's delegators. + delegator_shares defines total shares issued to a validator's delegators. + description: description: >- - description defines the description terms for the - validator. + description defines the description terms for the validator. + type: object properties: moniker: type: string description: >- - moniker defines a human-readable name for the - validator. + moniker defines a human-readable name for the validator. + identity: type: string description: >- - identity defines an optional identity signature (ex. - UPort or Keybase). + identity defines an optional identity signature (ex. UPort or Keybase). + website: type: string description: website defines an optional website link. security_contact: type: string description: >- - security_contact defines an optional email for - security contact. + security_contact defines an optional email for security contact. + details: type: string description: details define other optional details. @@ -21558,88 +19952,81 @@ paths: type: string format: int64 description: >- - unbonding_height defines, if unbonding, the height at - which this validator has begun unbonding. + unbonding_height defines, if unbonding, the height at which this validator has begun unbonding. + unbonding_time: type: string format: date-time description: >- - unbonding_time defines, if unbonding, the min time for - the validator to complete unbonding. + unbonding_time defines, if unbonding, the min time for the validator to complete unbonding. + commission: description: commission defines the commission parameters. type: object properties: commission_rates: description: >- - commission_rates defines the initial commission - rates to be used for creating a validator. + commission_rates defines the initial commission rates to be used for creating a validator. + type: object properties: rate: type: string description: >- - rate is the commission rate charged to - delegators, as a fraction. + rate is the commission rate charged to delegators, as a fraction. + max_rate: type: string description: >- - max_rate defines the maximum commission rate - which validator can ever charge, as a fraction. + max_rate defines the maximum commission rate which validator can ever charge, as a fraction. + max_change_rate: type: string description: >- - max_change_rate defines the maximum daily - increase of the validator commission, as a - fraction. + max_change_rate defines the maximum daily increase of the validator commission, as a fraction. + update_time: type: string format: date-time description: >- - update_time is the last time the commission rate was - changed. + update_time is the last time the commission rate was changed. + min_self_delegation: type: string description: >- - min_self_delegation is the validator's self declared - minimum self delegation. + min_self_delegation is the validator's self declared minimum self delegation. + unbonding_on_hold_ref_count: type: string format: int64 title: >- - strictly positive if this validator's unbonding has been - stopped by external modules + strictly positive if this validator's unbonding has been stopped by external modules + unbonding_ids: type: array items: type: string format: uint64 title: >- - list of unbonding ids, each uniquely identifying an - unbonding of this validator - description: >- - Validator defines a validator, together with the total - amount of the - - Validator's bond shares and their exchange rate to coins. - Slashing results in - - a decrease in the exchange rate, allowing correct - calculation of future - - undelegations without iterating over delegators. When coins - are delegated to - - this validator, the validator is credited with a delegation - whose number of - - bond shares is based on the amount of coins delegated - divided by the current - - exchange rate. Voting power can be calculated as total - bonded shares + list of unbonding ids, each uniquely identifying an unbonding of this validator + description: >- + Validator defines a validator, together with the total amount of the + + Validator's bond shares and their exchange rate to coins. Slashing results in + + a decrease in the exchange rate, allowing correct calculation of future + + undelegations without iterating over delegators. When coins are delegated to + + this validator, the validator is credited with a delegation whose number of + + bond shares is based on the amount of coins delegated divided by the current + + exchange rate. Voting power can be calculated as total bonded shares + multiplied by exchange rate. + validator_info: type: array items: @@ -21648,23 +20035,20 @@ paths: consensus_address: type: string description: >- - consensus_address is the consensus address of the - validator. - description: >- - ValidatorInfo contains the validator's address and public - key. - description: >- - validator_info contains additional information for each - validator. + consensus_address is the consensus address of the validator. - The order of the elements in this list corresponds to the - order of the elements in the validators list. + description: >- + ValidatorInfo contains the validator's address and public key. - For example, if you want the ValidatorInfo for the third - validator in the validators list, + description: >- + validator_info contains additional information for each validator. + + The order of the elements in this list corresponds to the order of the elements in the validators list. + + For example, if you want the ValidatorInfo for the third validator in the validators list, + + you should look at the third element in the validator_info list. - you should look at the third element in the validator_info - list. pagination: type: object properties: @@ -21679,23 +20063,23 @@ paths: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise - description: >- - PageResponse is to be embedded in gRPC response messages where - the + description: >- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. - + message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } + title: >- - QueryValidatorsResponse is response type for the Query/Validators - RPC method + QueryValidatorsResponse is response type for the Query/Validators RPC method + default: description: An unexpected error response. schema: @@ -21711,81 +20095,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -21793,9 +20162,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -21806,9 +20175,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -21816,9 +20185,9 @@ paths: 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 { @@ -21829,60 +20198,52 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: status description: status enables to query for validators matching a given status. @@ -21901,44 +20262,42 @@ paths: - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. - - It is less efficient than using key. Only one of offset or key - should - + + It is less efficient than using key. Only one of offset or key should + be set. + in: query required: false type: string format: uint64 - name: pagination.limit description: >- - limit is the total number of results to be returned in the result - page. - + limit is the total number of results to be returned in the result page. + If left empty it will default to a value to be set by each app. + in: query required: false type: string format: uint64 - name: pagination.count_total description: >- - count_total is set to true to indicate that the result set should - include - - a count of the total number of items available for pagination in - UIs. - - count_total is only respected when offset is used. It is ignored - when key - + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + is set. + in: query required: false type: boolean - name: pagination.reverse description: >- - reverse is set to true if results are to be returned in the - descending order. + reverse is set to true if results are to be returned in the descending order. + in: query required: false type: boolean @@ -21949,7 +20308,7 @@ paths: summary: Validator queries validator info for given validator address. operationId: Validator responses: - '200': + "200": description: A successful response. schema: type: object @@ -21961,82 +20320,70 @@ paths: operator_address: type: string description: >- - operator_address defines the address of the validator's - operator; bech encoded in JSON. + operator_address defines the address of the validator's operator; bech encoded in JSON. + consensus_pubkey: description: >- - consensus_pubkey is the consensus public key of the - validator, as a Protobuf Any. + consensus_pubkey is the consensus public key of the validator, as a Protobuf Any. + type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} jailed: type: boolean description: >- - jailed defined whether the validator has been jailed from - bonded status or not. + jailed defined whether the validator has been jailed from bonded status or not. + status: description: >- - status is the validator status - (bonded/unbonding/unbonded). + status is the validator status (bonded/unbonding/unbonded). + type: string enum: - BOND_STATUS_UNSPECIFIED @@ -22047,37 +20394,37 @@ paths: tokens: type: string description: >- - tokens define the delegated tokens (incl. - self-delegation). + tokens define the delegated tokens (incl. self-delegation). + delegator_shares: type: string description: >- - delegator_shares defines total shares issued to a - validator's delegators. + delegator_shares defines total shares issued to a validator's delegators. + description: description: >- - description defines the description terms for the - validator. + description defines the description terms for the validator. + type: object properties: moniker: type: string description: >- - moniker defines a human-readable name for the - validator. + moniker defines a human-readable name for the validator. + identity: type: string description: >- - identity defines an optional identity signature (ex. - UPort or Keybase). + identity defines an optional identity signature (ex. UPort or Keybase). + website: type: string description: website defines an optional website link. security_contact: type: string description: >- - security_contact defines an optional email for - security contact. + security_contact defines an optional email for security contact. + details: type: string description: details define other optional details. @@ -22085,67 +20432,67 @@ paths: type: string format: int64 description: >- - unbonding_height defines, if unbonding, the height at - which this validator has begun unbonding. + unbonding_height defines, if unbonding, the height at which this validator has begun unbonding. + unbonding_time: type: string format: date-time description: >- - unbonding_time defines, if unbonding, the min time for the - validator to complete unbonding. + unbonding_time defines, if unbonding, the min time for the validator to complete unbonding. + commission: description: commission defines the commission parameters. type: object properties: commission_rates: description: >- - commission_rates defines the initial commission rates - to be used for creating a validator. + commission_rates defines the initial commission rates to be used for creating a validator. + type: object properties: rate: type: string description: >- - rate is the commission rate charged to delegators, - as a fraction. + rate is the commission rate charged to delegators, as a fraction. + max_rate: type: string description: >- - max_rate defines the maximum commission rate which - validator can ever charge, as a fraction. + max_rate defines the maximum commission rate which validator can ever charge, as a fraction. + max_change_rate: type: string description: >- - max_change_rate defines the maximum daily increase - of the validator commission, as a fraction. + max_change_rate defines the maximum daily increase of the validator commission, as a fraction. + update_time: type: string format: date-time description: >- - update_time is the last time the commission rate was - changed. + update_time is the last time the commission rate was changed. + min_self_delegation: type: string description: >- - min_self_delegation is the validator's self declared - minimum self delegation. + min_self_delegation is the validator's self declared minimum self delegation. + unbonding_on_hold_ref_count: type: string format: int64 title: >- - strictly positive if this validator's unbonding has been - stopped by external modules + strictly positive if this validator's unbonding has been stopped by external modules + unbonding_ids: type: array items: type: string format: uint64 title: >- - list of unbonding ids, each uniquely identifying an - unbonding of this validator + list of unbonding ids, each uniquely identifying an unbonding of this validator + title: >- - QueryValidatorResponse is response type for the Query/Validator - RPC method + QueryValidatorResponse is response type for the Query/Validator RPC method + default: description: An unexpected error response. schema: @@ -22161,81 +20508,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -22243,9 +20575,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -22256,9 +20588,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -22266,9 +20598,9 @@ paths: 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 { @@ -22279,60 +20611,52 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: validator_addr description: validator_addr defines the validator address to query for. @@ -22345,13 +20669,13 @@ paths: get: summary: ValidatorDelegations queries delegate info for given validator. description: >- - When called from another module, this query might consume a high amount - of - + When called from another module, this query might consume a high amount of + gas if the pagination field is incorrectly set. + operationId: ValidatorDelegations responses: - '200': + "200": description: A successful response. schema: type: object @@ -22367,24 +20691,23 @@ paths: delegator_address: type: string description: >- - delegator_address is the encoded address of the - delegator. + delegator_address is the encoded address of the delegator. + validator_address: type: string description: >- - validator_address is the encoded address of the - validator. + validator_address is the encoded address of the validator. + shares: type: string description: shares define the delegation shares received. description: >- - Delegation represents the bond with tokens held by an - account. It is - - owned by one delegator, and is associated with the - voting power of one - + Delegation represents the bond with tokens held by an account. It is + + owned by one delegator, and is associated with the voting power of one + validator. + balance: type: object properties: @@ -22394,18 +20717,17 @@ paths: type: string description: >- Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the - custom method - + + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + description: >- - DelegationResponse is equivalent to Delegation except that - it contains a + DelegationResponse is equivalent to Delegation except that it contains a + + balance in addition to shares which is more suitable for client responses. - balance in addition to shares which is more suitable for - client responses. pagination: type: object properties: @@ -22420,20 +20742,20 @@ paths: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise - description: >- - PageResponse is to be embedded in gRPC response messages where - the + description: >- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. - + message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } + title: |- QueryValidatorDelegationsResponse is response type for the Query/ValidatorDelegations RPC method @@ -22452,81 +20774,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -22534,9 +20841,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -22547,9 +20854,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -22557,9 +20864,9 @@ paths: 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 { @@ -22570,60 +20877,52 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: validator_addr description: validator_addr defines the validator address to query for. @@ -22642,63 +20941,61 @@ paths: - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. - - It is less efficient than using key. Only one of offset or key - should - + + It is less efficient than using key. Only one of offset or key should + be set. + in: query required: false type: string format: uint64 - name: pagination.limit description: >- - limit is the total number of results to be returned in the result - page. - + limit is the total number of results to be returned in the result page. + If left empty it will default to a value to be set by each app. + in: query required: false type: string format: uint64 - name: pagination.count_total description: >- - count_total is set to true to indicate that the result set should - include - - a count of the total number of items available for pagination in - UIs. - - count_total is only respected when offset is used. It is ignored - when key - + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + is set. + in: query required: false type: boolean - name: pagination.reverse description: >- - reverse is set to true if results are to be returned in the - descending order. + reverse is set to true if results are to be returned in the descending order. + in: query required: false type: boolean tags: - Query - /cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}: - get: + ? /cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr} + : get: summary: Delegation queries delegate info for given validator delegator pair. operationId: Delegation responses: - '200': + "200": description: A successful response. schema: type: object properties: delegation_response: description: >- - delegation_responses defines the delegation info of a - delegation. + delegation_responses defines the delegation info of a delegation. + type: object properties: delegation: @@ -22707,24 +21004,23 @@ paths: delegator_address: type: string description: >- - delegator_address is the encoded address of the - delegator. + delegator_address is the encoded address of the delegator. + validator_address: type: string description: >- - validator_address is the encoded address of the - validator. + validator_address is the encoded address of the validator. + shares: type: string description: shares define the delegation shares received. description: >- - Delegation represents the bond with tokens held by an - account. It is - - owned by one delegator, and is associated with the voting - power of one - + Delegation represents the bond with tokens held by an account. It is + + owned by one delegator, and is associated with the voting power of one + validator. + balance: type: object properties: @@ -22734,15 +21030,15 @@ paths: type: string description: >- Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the - custom method - + + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + description: >- - QueryDelegationResponse is response type for the Query/Delegation - RPC method. + QueryDelegationResponse is response type for the Query/Delegation RPC method. + default: description: An unexpected error response. schema: @@ -22758,81 +21054,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -22840,9 +21121,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -22853,9 +21134,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -22863,9 +21144,9 @@ paths: 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 { @@ -22876,60 +21157,52 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: validator_addr description: validator_addr defines the validator address to query for. @@ -22943,14 +21216,14 @@ paths: type: string tags: - Query - /cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}/unbonding_delegation: - get: + ? /cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}/unbonding_delegation + : get: summary: |- UnbondingDelegation queries unbonding info for given validator delegator pair. operationId: UnbondingDelegation responses: - '200': + "200": description: A successful response. schema: type: object @@ -22974,19 +21247,19 @@ paths: type: string format: int64 description: >- - creation_height is the height which the unbonding - took place. + creation_height is the height which the unbonding took place. + completion_time: type: string format: date-time description: >- - completion_time is the unix time for unbonding - completion. + completion_time is the unix time for unbonding completion. + initial_balance: type: string description: >- - initial_balance defines the tokens initially - scheduled to receive at completion. + initial_balance defines the tokens initially scheduled to receive at completion. + balance: type: string description: balance defines the tokens to receive at completion. @@ -22998,20 +21271,20 @@ paths: type: string format: int64 title: >- - Strictly positive if this entry's unbonding has been - stopped by external modules + Strictly positive if this entry's unbonding has been stopped by external modules + description: >- - UnbondingDelegationEntry defines an unbonding object - with relevant metadata. + UnbondingDelegationEntry defines an unbonding object with relevant metadata. + description: |- entries are the unbonding delegation entries. unbonding delegation entries description: >- - QueryDelegationResponse is response type for the - Query/UnbondingDelegation - + QueryDelegationResponse is response type for the Query/UnbondingDelegation + RPC method. + default: description: An unexpected error response. schema: @@ -23027,81 +21300,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -23109,9 +21367,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -23122,9 +21380,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -23132,9 +21390,9 @@ paths: 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 { @@ -23145,60 +21403,52 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: validator_addr description: validator_addr defines the validator address to query for. @@ -23215,16 +21465,16 @@ paths: /cosmos/staking/v1beta1/validators/{validator_addr}/unbonding_delegations: get: summary: >- - ValidatorUnbondingDelegations queries unbonding delegations of a - validator. - description: >- - When called from another module, this query might consume a high amount - of + ValidatorUnbondingDelegations queries unbonding delegations of a validator. + description: >- + When called from another module, this query might consume a high amount of + gas if the pagination field is incorrectly set. + operationId: ValidatorUnbondingDelegations responses: - '200': + "200": description: A successful response. schema: type: object @@ -23237,13 +21487,13 @@ paths: delegator_address: type: string description: >- - delegator_address is the encoded address of the - delegator. + delegator_address is the encoded address of the delegator. + validator_address: type: string description: >- - validator_address is the encoded address of the - validator. + validator_address is the encoded address of the validator. + entries: type: array items: @@ -23253,48 +21503,48 @@ paths: type: string format: int64 description: >- - creation_height is the height which the unbonding - took place. + creation_height is the height which the unbonding took place. + completion_time: type: string format: date-time description: >- - completion_time is the unix time for unbonding - completion. + completion_time is the unix time for unbonding completion. + initial_balance: type: string description: >- - initial_balance defines the tokens initially - scheduled to receive at completion. + initial_balance defines the tokens initially scheduled to receive at completion. + balance: type: string description: >- - balance defines the tokens to receive at - completion. + balance defines the tokens to receive at completion. + unbonding_id: type: string format: uint64 title: >- - Incrementing id that uniquely identifies this - entry + Incrementing id that uniquely identifies this entry + unbonding_on_hold_ref_count: type: string format: int64 title: >- - Strictly positive if this entry's unbonding has - been stopped by external modules + Strictly positive if this entry's unbonding has been stopped by external modules + description: >- - UnbondingDelegationEntry defines an unbonding object - with relevant metadata. + UnbondingDelegationEntry defines an unbonding object with relevant metadata. + description: |- entries are the unbonding delegation entries. unbonding delegation entries description: >- - UnbondingDelegation stores all of a single delegator's - unbonding bonds - + UnbondingDelegation stores all of a single delegator's unbonding bonds + for a single validator in an time-ordered list. + pagination: type: object properties: @@ -23309,25 +21559,25 @@ paths: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise - description: >- - PageResponse is to be embedded in gRPC response messages where - the + description: >- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. - + message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } - description: >- - QueryValidatorUnbondingDelegationsResponse is response type for - the + description: >- + QueryValidatorUnbondingDelegationsResponse is response type for the + Query/ValidatorUnbondingDelegations RPC method. + default: description: An unexpected error response. schema: @@ -23343,81 +21593,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -23425,9 +21660,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -23438,9 +21673,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -23448,9 +21683,9 @@ paths: 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 { @@ -23461,60 +21696,52 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: validator_addr description: validator_addr defines the validator address to query for. @@ -23533,44 +21760,42 @@ paths: - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. - - It is less efficient than using key. Only one of offset or key - should - + + It is less efficient than using key. Only one of offset or key should + be set. + in: query required: false type: string format: uint64 - name: pagination.limit description: >- - limit is the total number of results to be returned in the result - page. - + limit is the total number of results to be returned in the result page. + If left empty it will default to a value to be set by each app. + in: query required: false type: string format: uint64 - name: pagination.count_total description: >- - count_total is set to true to indicate that the result set should - include - - a count of the total number of items available for pagination in - UIs. - - count_total is only respected when offset is used. It is ignored - when key - + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + is set. + in: query required: false type: boolean - name: pagination.reverse description: >- - reverse is set to true if results are to be returned in the - descending order. + reverse is set to true if results are to be returned in the descending order. + in: query required: false type: boolean @@ -23581,10 +21806,10 @@ paths: summary: TxDecode decodes the transaction. operationId: TxDecode responses: - '200': + "200": description: A successful response. schema: - $ref: '#/definitions/cosmos.tx.v1beta1.TxDecodeResponse' + $ref: "#/definitions/cosmos.tx.v1beta1.TxDecodeResponse" default: description: An unexpected error response. schema: @@ -23600,81 +21825,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -23682,9 +21892,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -23695,9 +21905,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -23705,9 +21915,9 @@ paths: 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 { @@ -23718,61 +21928,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: body description: |- @@ -23797,7 +21999,7 @@ paths: summary: TxDecodeAmino decodes an Amino transaction from encoded bytes to JSON. operationId: TxDecodeAmino responses: - '200': + "200": description: A successful response. schema: type: object @@ -23805,10 +22007,10 @@ paths: amino_json: type: string description: >- - TxDecodeAminoResponse is the response type for the - Service.TxDecodeAmino - + TxDecodeAminoResponse is the response type for the Service.TxDecodeAmino + RPC method. + default: description: An unexpected error response. schema: @@ -23824,81 +22026,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -23906,9 +22093,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -23919,9 +22106,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -23929,9 +22116,9 @@ paths: 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 { @@ -23942,68 +22129,60 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: body description: >- - TxDecodeAminoRequest is the request type for the - Service.TxDecodeAmino - + TxDecodeAminoRequest is the request type for the Service.TxDecodeAmino + RPC method. + in: body required: true schema: @@ -24013,10 +22192,10 @@ paths: type: string format: byte description: >- - TxDecodeAminoRequest is the request type for the - Service.TxDecodeAmino - + TxDecodeAminoRequest is the request type for the Service.TxDecodeAmino + RPC method. + tags: - Service /cosmos/tx/v1beta1/encode: @@ -24024,7 +22203,7 @@ paths: summary: TxEncode encodes the transaction. operationId: TxEncode responses: - '200': + "200": description: A successful response. schema: type: object @@ -24051,81 +22230,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -24133,9 +22297,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -24146,9 +22310,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -24156,9 +22320,9 @@ paths: 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 { @@ -24169,61 +22333,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: body description: |- @@ -24232,7 +22388,7 @@ paths: in: body required: true schema: - $ref: '#/definitions/cosmos.tx.v1beta1.TxEncodeRequest' + $ref: "#/definitions/cosmos.tx.v1beta1.TxEncodeRequest" tags: - Service /cosmos/tx/v1beta1/encode/amino: @@ -24240,7 +22396,7 @@ paths: summary: TxEncodeAmino encodes an Amino transaction from JSON to encoded bytes. operationId: TxEncodeAmino responses: - '200': + "200": description: A successful response. schema: type: object @@ -24249,10 +22405,10 @@ paths: type: string format: byte description: >- - TxEncodeAminoResponse is the response type for the - Service.TxEncodeAmino - + TxEncodeAminoResponse is the response type for the Service.TxEncodeAmino + RPC method. + default: description: An unexpected error response. schema: @@ -24268,81 +22424,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -24350,9 +22491,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -24363,9 +22504,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -24373,9 +22514,9 @@ paths: 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 { @@ -24386,68 +22527,60 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: body description: >- - TxEncodeAminoRequest is the request type for the - Service.TxEncodeAmino - + TxEncodeAminoRequest is the request type for the Service.TxEncodeAmino + RPC method. + in: body required: true schema: @@ -24456,10 +22589,10 @@ paths: amino_json: type: string description: >- - TxEncodeAminoRequest is the request type for the - Service.TxEncodeAmino - + TxEncodeAminoRequest is the request type for the Service.TxEncodeAmino + RPC method. + tags: - Service /cosmos/tx/v1beta1/simulate: @@ -24467,7 +22600,7 @@ paths: summary: Simulate simulates executing a transaction for estimating gas usage. operationId: Simulate responses: - '200': + "200": description: A successful response. schema: type: object @@ -24480,8 +22613,8 @@ paths: type: string format: uint64 description: >- - GasWanted is the maximum units of work we allow this tx to - perform. + GasWanted is the maximum units of work we allow this tx to perform. + gas_used: type: string format: uint64 @@ -24494,21 +22627,19 @@ paths: type: string format: byte description: >- - Data is any data returned from message or handler - execution. It MUST be - - length prefixed in order to separate data from multiple - message executions. - - Deprecated. This field is still populated, but prefer - msg_response instead - + Data is any data returned from message or handler execution. It MUST be + + length prefixed in order to separate data from multiple message executions. + + Deprecated. This field is still populated, but prefer msg_response instead + because it also contains the Msg response typeURL. + log: type: string description: >- - Log contains the log information from message or handler - execution. + Log contains the log information from message or handler execution. + events: type: array items: @@ -24529,105 +22660,89 @@ paths: type: boolean title: nondeterministic description: >- - EventAttribute is a single key-value pair, - associated with an event. - description: >- - Event allows application developers to attach additional - information to + EventAttribute is a single key-value pair, associated with an event. + description: >- + Event allows application developers to attach additional information to + ResponseFinalizeBlock and ResponseCheckTx. - - Up to 0.37, this could also be used in - ResponseBeginBlock, ResponseEndBlock, - + + Up to 0.37, this could also be used in ResponseBeginBlock, ResponseEndBlock, + and ResponseDeliverTx. - + Later, transactions may be queried using these events. - description: >- - Events contains a slice of Event objects that were emitted - during message + description: >- + Events contains a slice of Event objects that were emitted during message + or handler execution. + msg_responses: type: array items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -24635,9 +22750,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -24648,9 +22763,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -24658,9 +22773,9 @@ paths: 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 { @@ -24671,66 +22786,56 @@ paths: 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 - + + 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: - + + 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][]): - + + 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" } + description: >- - msg_responses contains the Msg handler responses type - packed in Anys. + msg_responses contains the Msg handler responses type packed in Anys. + description: |- SimulateResponse is the response type for the Service.SimulateRPC method. @@ -24749,81 +22854,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -24831,9 +22921,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -24844,9 +22934,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -24854,9 +22944,9 @@ paths: 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 { @@ -24867,61 +22957,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: body description: |- @@ -24930,7 +23012,7 @@ paths: in: body required: true schema: - $ref: '#/definitions/cosmos.tx.v1beta1.SimulateRequest' + $ref: "#/definitions/cosmos.tx.v1beta1.SimulateRequest" tags: - Service /cosmos/tx/v1beta1/txs: @@ -24938,10 +23020,10 @@ paths: summary: GetTxsEvent fetches txs by event. operationId: GetTxsEvent responses: - '200': + "200": description: A successful response. schema: - $ref: '#/definitions/cosmos.tx.v1beta1.GetTxsEventResponse' + $ref: "#/definitions/cosmos.tx.v1beta1.GetTxsEventResponse" default: description: An unexpected error response. schema: @@ -24957,81 +23039,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -25039,9 +23106,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -25052,9 +23119,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -25062,9 +23129,9 @@ paths: 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 { @@ -25075,70 +23142,62 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: events description: >- events is the list of transaction event type. - - Deprecated: post v0.47.x use query instead, which should contain a - valid - + + Deprecated: post v0.47.x use query instead, which should contain a valid + events query. + in: query required: false type: array @@ -25157,44 +23216,42 @@ paths: - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. - - It is less efficient than using key. Only one of offset or key - should - + + It is less efficient than using key. Only one of offset or key should + be set. + in: query required: false type: string format: uint64 - name: pagination.limit description: >- - limit is the total number of results to be returned in the result - page. - + limit is the total number of results to be returned in the result page. + If left empty it will default to a value to be set by each app. + in: query required: false type: string format: uint64 - name: pagination.count_total description: >- - count_total is set to true to indicate that the result set should - include - - a count of the total number of items available for pagination in - UIs. - - count_total is only respected when offset is used. It is ignored - when key - + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + is set. + in: query required: false type: boolean - name: pagination.reverse description: >- - reverse is set to true if results are to be returned in the - descending order. + reverse is set to true if results are to be returned in the descending order. + in: query required: false type: boolean @@ -25222,20 +23279,20 @@ paths: format: uint64 - name: limit description: >- - limit is the total number of results to be returned in the result - page. - + limit is the total number of results to be returned in the result page. + If left empty it will default to a value to be set by each app. + in: query required: false type: string format: uint64 - name: query description: >- - query defines the transaction event query that is proxied to - Tendermint's - + query defines the transaction event query that is proxied to Tendermint's + TxSearch RPC method. The query must be valid. + in: query required: false type: string @@ -25245,7 +23302,7 @@ paths: summary: BroadcastTx broadcast transaction. operationId: BroadcastTx responses: - '200': + "200": description: A successful response. schema: type: object @@ -25274,10 +23331,10 @@ paths: raw_log: type: string description: >- - The output of the application's logger (raw string). May - be - + The output of the application's logger (raw string). May be + non-deterministic. + logs: type: array items: @@ -25305,27 +23362,26 @@ paths: value: type: string description: >- - Attribute defines an attribute wrapper where - the key and value are - + Attribute defines an attribute wrapper where the key and value are + strings instead of raw bytes. + description: >- - StringEvent defines en Event object wrapper where - all the attributes + StringEvent defines en Event object wrapper where all the attributes + + contain key/value pairs that are strings instead of raw bytes. - contain key/value pairs that are strings instead - of raw bytes. description: >- - Events contains a slice of Event objects that were - emitted during some - + Events contains a slice of Event objects that were emitted during some + execution. + description: >- - ABCIMessageLog defines a structure containing an indexed - tx ABCI message log. + ABCIMessageLog defines a structure containing an indexed tx ABCI message log. + description: >- - The output of the application's logger (typed). May be - non-deterministic. + The output of the application's logger (typed). May be non-deterministic. + info: type: string description: Additional information. May be non-deterministic. @@ -25341,75 +23397,62 @@ paths: description: The request transaction bytes. type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} timestamp: type: string description: >- - Time of the previous block. For heights > 1, it's the - weighted median of - - the timestamps of the valid votes in the block.LastCommit. - For height == 1, - + Time of the previous block. For heights > 1, it's the weighted median of + + the timestamps of the valid votes in the block.LastCommit. For height == 1, + it's genesis time. + events: type: array items: @@ -25430,35 +23473,31 @@ paths: type: boolean title: nondeterministic description: >- - EventAttribute is a single key-value pair, - associated with an event. - description: >- - Event allows application developers to attach additional - information to + EventAttribute is a single key-value pair, associated with an event. + description: >- + Event allows application developers to attach additional information to + ResponseFinalizeBlock and ResponseCheckTx. - - Up to 0.37, this could also be used in - ResponseBeginBlock, ResponseEndBlock, - + + Up to 0.37, this could also be used in ResponseBeginBlock, ResponseEndBlock, + and ResponseDeliverTx. - + Later, transactions may be queried using these events. - description: >- - Events defines all the events emitted by processing a - transaction. Note, - - these events include those emitted by processing all the - messages and those - - emitted from the ante. Whereas Logs contains the events, - with - - additional metadata, emitted only by processing the - messages. - + description: >- + Events defines all the events emitted by processing a transaction. Note, + + these events include those emitted by processing all the messages and those + + emitted from the ante. Whereas Logs contains the events, with + + additional metadata, emitted only by processing the messages. + + Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 + description: |- BroadcastTxResponse is the response type for the Service.BroadcastTx method. @@ -25477,81 +23516,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -25559,9 +23583,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -25572,9 +23596,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -25582,9 +23606,9 @@ paths: 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 { @@ -25595,68 +23619,60 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: body description: >- - BroadcastTxRequest is the request type for the - Service.BroadcastTxRequest - + BroadcastTxRequest is the request type for the Service.BroadcastTxRequest + RPC method. + in: body required: true schema: @@ -25675,24 +23691,23 @@ paths: - BROADCAST_MODE_ASYNC default: BROADCAST_MODE_UNSPECIFIED description: >- - BroadcastMode specifies the broadcast mode for the - TxService.Broadcast RPC - + BroadcastMode specifies the broadcast mode for the TxService.Broadcast RPC + method. - + - BROADCAST_MODE_UNSPECIFIED: zero-value for mode ordering - BROADCAST_MODE_BLOCK: Deprecated: use BROADCAST_MODE_SYNC instead, - BROADCAST_MODE_BLOCK is not supported by the SDK from v0.47.x - onwards. + BROADCAST_MODE_BLOCK is not supported by the SDK from v0.47.x onwards. - BROADCAST_MODE_SYNC: BROADCAST_MODE_SYNC defines a tx broadcasting mode where the client waits for a CheckTx execution response only. - BROADCAST_MODE_ASYNC: BROADCAST_MODE_ASYNC defines a tx broadcasting mode where the client returns immediately. - description: >- - BroadcastTxRequest is the request type for the - Service.BroadcastTxRequest + description: >- + BroadcastTxRequest is the request type for the Service.BroadcastTxRequest + RPC method. + tags: - Service /cosmos/tx/v1beta1/txs/block/{height}: @@ -25700,10 +23715,10 @@ paths: summary: GetBlockWithTxs fetches a block with decoded txs. operationId: GetBlockWithTxs responses: - '200': + "200": description: A successful response. schema: - $ref: '#/definitions/cosmos.tx.v1beta1.GetBlockWithTxsResponse' + $ref: "#/definitions/cosmos.tx.v1beta1.GetBlockWithTxsResponse" default: description: An unexpected error response. schema: @@ -25719,81 +23734,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -25801,9 +23801,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -25814,9 +23814,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -25824,9 +23824,9 @@ paths: 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 { @@ -25837,61 +23837,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: height description: height is the height of the block to query. @@ -25911,44 +23903,42 @@ paths: - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. - - It is less efficient than using key. Only one of offset or key - should - + + It is less efficient than using key. Only one of offset or key should + be set. + in: query required: false type: string format: uint64 - name: pagination.limit description: >- - limit is the total number of results to be returned in the result - page. - + limit is the total number of results to be returned in the result page. + If left empty it will default to a value to be set by each app. + in: query required: false type: string format: uint64 - name: pagination.count_total description: >- - count_total is set to true to indicate that the result set should - include - - a count of the total number of items available for pagination in - UIs. - - count_total is only respected when offset is used. It is ignored - when key - + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + is set. + in: query required: false type: boolean - name: pagination.reverse description: >- - reverse is set to true if results are to be returned in the - descending order. + reverse is set to true if results are to be returned in the descending order. + in: query required: false type: boolean @@ -25959,10 +23949,10 @@ paths: summary: GetTx fetches a tx by hash. operationId: GetTx responses: - '200': + "200": description: A successful response. schema: - $ref: '#/definitions/cosmos.tx.v1beta1.GetTxResponse' + $ref: "#/definitions/cosmos.tx.v1beta1.GetTxResponse" default: description: An unexpected error response. schema: @@ -25978,81 +23968,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -26060,9 +24035,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -26073,9 +24048,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -26083,9 +24058,9 @@ paths: 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 { @@ -26096,61 +24071,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: hash description: hash is the tx hash to query, encoded as a hex string. @@ -26164,7 +24131,7 @@ paths: summary: AppliedPlan queries a previously applied upgrade plan by its name. operationId: AppliedPlan responses: - '200': + "200": description: A successful response. schema: type: object @@ -26174,10 +24141,10 @@ paths: format: int64 description: height is the block height at which the plan was applied. description: >- - QueryAppliedPlanResponse is the response type for the - Query/AppliedPlan RPC - + QueryAppliedPlanResponse is the response type for the Query/AppliedPlan RPC + method. + default: description: An unexpected error response. schema: @@ -26193,81 +24160,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -26275,9 +24227,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -26288,9 +24240,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -26298,9 +24250,9 @@ paths: 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 { @@ -26311,61 +24263,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: name description: name is the name of the applied plan to query for. @@ -26379,7 +24323,7 @@ paths: summary: Returns the account with authority to conduct upgrades operationId: Authority responses: - '200': + "200": description: A successful response. schema: type: object @@ -26402,81 +24346,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -26484,9 +24413,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -26497,9 +24426,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -26507,9 +24436,9 @@ paths: 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 { @@ -26520,61 +24449,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + tags: - Query /cosmos/upgrade/v1beta1/current_plan: @@ -26582,7 +24503,7 @@ paths: summary: CurrentPlan queries the current upgrade plan. operationId: CurrentPlan responses: - '200': + "200": description: A successful response. schema: type: object @@ -26594,35 +24515,30 @@ paths: name: type: string description: >- - Sets the name for the upgrade. This name will be used by - the upgraded - - version of the software to apply any special "on-upgrade" - commands during - - the first BeginBlock method after the upgrade is applied. - It is also used - - to detect whether a software version can handle a given - upgrade. If no - - upgrade handler with this name has been set in the - software, it will be - - assumed that the software is out-of-date when the upgrade - Time or Height is - + Sets the name for the upgrade. This name will be used by the upgraded + + version of the software to apply any special "on-upgrade" commands during + + the first BeginBlock method after the upgrade is applied. It is also used + + to detect whether a software version can handle a given upgrade. If no + + upgrade handler with this name has been set in the software, it will be + + assumed that the software is out-of-date when the upgrade Time or Height is + reached and the software will exit. + time: type: string format: date-time description: >- - Deprecated: Time based upgrades have been deprecated. Time - based upgrade logic - + Deprecated: Time based upgrades have been deprecated. Time based upgrade logic + has been removed from the SDK. - + If this field is not empty, an error will be thrown. + height: type: string format: int64 @@ -26630,85 +24546,72 @@ paths: info: type: string title: >- - Any application specific upgrade info to be included - on-chain + Any application specific upgrade info to be included on-chain + + such as a git commit that validators could automatically upgrade to - such as a git commit that validators could automatically - upgrade to upgraded_client_state: description: >- - Deprecated: UpgradedClientState field has been deprecated. - IBC upgrade logic has been - + Deprecated: UpgradedClientState field has been deprecated. IBC upgrade logic has been + moved to the IBC module in the sub module 02-client. - + If this field is not empty, an error will be thrown. + type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - QueryCurrentPlanResponse is the response type for the - Query/CurrentPlan RPC - + QueryCurrentPlanResponse is the response type for the Query/CurrentPlan RPC + method. + default: description: An unexpected error response. schema: @@ -26724,81 +24627,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -26806,9 +24694,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -26819,9 +24707,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -26829,9 +24717,9 @@ paths: 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 { @@ -26842,61 +24730,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + tags: - Query /cosmos/upgrade/v1beta1/module_versions: @@ -26904,7 +24784,7 @@ paths: summary: ModuleVersions queries the list of module versions from state. operationId: ModuleVersions responses: - '200': + "200": description: A successful response. schema: type: object @@ -26923,13 +24803,13 @@ paths: title: consensus version of the app module description: ModuleVersion specifies a module and its consensus version. description: >- - module_versions is a list of module names with their consensus - versions. - description: >- - QueryModuleVersionsResponse is the response type for the - Query/ModuleVersions + module_versions is a list of module names with their consensus versions. + description: >- + QueryModuleVersionsResponse is the response type for the Query/ModuleVersions + RPC method. + default: description: An unexpected error response. schema: @@ -26945,81 +24825,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -27027,9 +24892,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -27040,9 +24905,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -27050,9 +24915,9 @@ paths: 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 { @@ -27063,61 +24928,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: module_name description: |- @@ -27133,19 +24990,20 @@ paths: get: summary: >- UpgradedConsensusState queries the consensus state that will serve - + as a trusted kernel for the next version of this chain. It will only be - + stored at the last height of this chain. - + UpgradedConsensusState RPC not supported with legacy querier - + This rpc is deprecated now that IBC has its own replacement - + (https://github.com/cosmos/ibc-go/blob/2c880a22e9f9cc75f62b527ca94aa75ce1106001/proto/ibc/core/client/v1/query.proto#L54) + operationId: UpgradedConsensusState responses: - '200': + "200": description: A successful response. schema: type: object @@ -27154,10 +25012,10 @@ paths: type: string format: byte description: >- - QueryUpgradedConsensusStateResponse is the response type for the - Query/UpgradedConsensusState - + QueryUpgradedConsensusStateResponse is the response type for the Query/UpgradedConsensusState + RPC method. + default: description: An unexpected error response. schema: @@ -27173,81 +25031,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -27255,9 +25098,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -27268,9 +25111,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -27278,9 +25121,9 @@ paths: 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 { @@ -27291,61 +25134,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: last_height description: |- @@ -27362,7 +25197,7 @@ paths: summary: Returns list of `Authorization`, granted to the grantee by the granter. operationId: Grants responses: - '200': + "200": description: A successful response. schema: type: object @@ -27375,81 +25210,66 @@ paths: authorization: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -27457,9 +25277,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -27470,9 +25290,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -27480,9 +25300,9 @@ paths: 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 { @@ -27493,80 +25313,69 @@ paths: 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 - + + 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: - + + 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][]): - + + 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" } + expiration: type: string format: date-time title: >- - time when the grant will expire and will be pruned. If - null, then the grant - - doesn't have a time expiration (other conditions in - `authorization` - + time when the grant will expire and will be pruned. If null, then the grant + + doesn't have a time expiration (other conditions in `authorization` + may apply to invalidate the grant) + description: |- Grant gives permissions to execute the provide method with expiration time. description: >- - authorizations is a list of grants granted for grantee by - granter. + authorizations is a list of grants granted for grantee by granter. + pagination: description: pagination defines an pagination for the response. type: object @@ -27582,13 +25391,13 @@ paths: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise + description: >- - QueryGrantsResponse is the response type for the - Query/Authorizations RPC method. + QueryGrantsResponse is the response type for the Query/Authorizations RPC method. + default: description: An unexpected error response. schema: @@ -27604,81 +25413,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -27686,9 +25480,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -27699,9 +25493,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -27709,9 +25503,9 @@ paths: 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 { @@ -27722,61 +25516,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: granter in: query @@ -27788,8 +25574,8 @@ paths: type: string - name: msg_type_url description: >- - Optional, msg_type_url, when set, will query only grants matching - given msg type. + Optional, msg_type_url, when set, will query only grants matching given msg type. + in: query required: false type: string @@ -27805,44 +25591,42 @@ paths: - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. - - It is less efficient than using key. Only one of offset or key - should - + + It is less efficient than using key. Only one of offset or key should + be set. + in: query required: false type: string format: uint64 - name: pagination.limit description: >- - limit is the total number of results to be returned in the result - page. - + limit is the total number of results to be returned in the result page. + If left empty it will default to a value to be set by each app. + in: query required: false type: string format: uint64 - name: pagination.count_total description: >- - count_total is set to true to indicate that the result set should - include - - a count of the total number of items available for pagination in - UIs. - - count_total is only respected when offset is used. It is ignored - when key - + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + is set. + in: query required: false type: boolean - name: pagination.reverse description: >- - reverse is set to true if results are to be returned in the - descending order. + reverse is set to true if results are to be returned in the descending order. + in: query required: false type: boolean @@ -27853,7 +25637,7 @@ paths: summary: GranteeGrants returns a list of `GrantAuthorization` by grantee. operationId: GranteeGrants responses: - '200': + "200": description: A successful response. schema: type: object @@ -27870,81 +25654,66 @@ paths: authorization: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -27952,9 +25721,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -27965,9 +25734,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -27975,9 +25744,9 @@ paths: 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 { @@ -27988,71 +25757,61 @@ paths: 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 - + + 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: - + + 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][]): - + + 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" } + expiration: type: string format: date-time title: >- - GrantAuthorization extends a grant with both the addresses - of the grantee and granter. - + GrantAuthorization extends a grant with both the addresses of the grantee and granter. + It is used in genesis.proto and query.proto + description: grants is a list of grants granted to the grantee. pagination: description: pagination defines an pagination for the response. @@ -28069,13 +25828,13 @@ paths: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise + description: >- - QueryGranteeGrantsResponse is the response type for the - Query/GranteeGrants RPC method. + QueryGranteeGrantsResponse is the response type for the Query/GranteeGrants RPC method. + default: description: An unexpected error response. schema: @@ -28091,81 +25850,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -28173,9 +25917,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -28186,9 +25930,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -28196,9 +25940,9 @@ paths: 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 { @@ -28209,61 +25953,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: grantee in: path @@ -28281,44 +26017,42 @@ paths: - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. - - It is less efficient than using key. Only one of offset or key - should - + + It is less efficient than using key. Only one of offset or key should + be set. + in: query required: false type: string format: uint64 - name: pagination.limit description: >- - limit is the total number of results to be returned in the result - page. - + limit is the total number of results to be returned in the result page. + If left empty it will default to a value to be set by each app. + in: query required: false type: string format: uint64 - name: pagination.count_total description: >- - count_total is set to true to indicate that the result set should - include - - a count of the total number of items available for pagination in - UIs. - - count_total is only respected when offset is used. It is ignored - when key - + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + is set. + in: query required: false type: boolean - name: pagination.reverse description: >- - reverse is set to true if results are to be returned in the - descending order. + reverse is set to true if results are to be returned in the descending order. + in: query required: false type: boolean @@ -28329,7 +26063,7 @@ paths: summary: GranterGrants returns list of `GrantAuthorization`, granted by granter. operationId: GranterGrants responses: - '200': + "200": description: A successful response. schema: type: object @@ -28346,81 +26080,66 @@ paths: authorization: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -28428,9 +26147,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -28441,9 +26160,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -28451,9 +26170,9 @@ paths: 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 { @@ -28464,71 +26183,61 @@ paths: 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 - + + 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: - + + 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][]): - + + 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" } + expiration: type: string format: date-time title: >- - GrantAuthorization extends a grant with both the addresses - of the grantee and granter. - + GrantAuthorization extends a grant with both the addresses of the grantee and granter. + It is used in genesis.proto and query.proto + description: grants is a list of grants granted by the granter. pagination: description: pagination defines an pagination for the response. @@ -28545,13 +26254,13 @@ paths: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise + description: >- - QueryGranterGrantsResponse is the response type for the - Query/GranterGrants RPC method. + QueryGranterGrantsResponse is the response type for the Query/GranterGrants RPC method. + default: description: An unexpected error response. schema: @@ -28567,81 +26276,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -28649,9 +26343,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -28662,9 +26356,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -28672,9 +26366,9 @@ paths: 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 { @@ -28685,61 +26379,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: granter in: path @@ -28757,44 +26443,42 @@ paths: - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. - - It is less efficient than using key. Only one of offset or key - should - + + It is less efficient than using key. Only one of offset or key should + be set. + in: query required: false type: string format: uint64 - name: pagination.limit description: >- - limit is the total number of results to be returned in the result - page. - + limit is the total number of results to be returned in the result page. + If left empty it will default to a value to be set by each app. + in: query required: false type: string format: uint64 - name: pagination.count_total description: >- - count_total is set to true to indicate that the result set should - include - - a count of the total number of items available for pagination in - UIs. - - count_total is only respected when offset is used. It is ignored - when key - + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + is set. + in: query required: false type: boolean - name: pagination.reverse description: >- - reverse is set to true if results are to be returned in the - descending order. + reverse is set to true if results are to be returned in the descending order. + in: query required: false type: boolean @@ -28805,7 +26489,7 @@ paths: summary: Allowance returns granted allowance to the grantee by the granter. operationId: Allowance responses: - '200': + "200": description: A successful response. schema: type: object @@ -28817,84 +26501,72 @@ paths: granter: type: string description: >- - granter is the address of the user granting an allowance - of their funds. + granter is the address of the user granting an allowance of their funds. + grantee: type: string description: >- - grantee is the address of the user being granted an - allowance of another user's funds. + grantee is the address of the user being granted an allowance of another user's funds. + allowance: description: >- - allowance can be any of basic, periodic, allowed fee - allowance. + allowance can be any of basic, periodic, allowed fee allowance. + type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} title: >- - Grant is stored in the KVStore to record a grant with full - context + Grant is stored in the KVStore to record a grant with full context + description: >- - QueryAllowanceResponse is the response type for the - Query/Allowance RPC method. + QueryAllowanceResponse is the response type for the Query/Allowance RPC method. + default: description: An unexpected error response. schema: @@ -28910,81 +26582,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -28992,9 +26649,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -29005,9 +26662,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -29015,9 +26672,9 @@ paths: 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 { @@ -29028,73 +26685,65 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: granter description: >- - granter is the address of the user granting an allowance of their - funds. + granter is the address of the user granting an allowance of their funds. + in: path required: true type: string - name: grantee description: >- - grantee is the address of the user being granted an allowance of - another user's funds. + grantee is the address of the user being granted an allowance of another user's funds. + in: path required: true type: string @@ -29105,7 +26754,7 @@ paths: summary: Allowances returns all the grants for the given grantee address. operationId: Allowances responses: - '200': + "200": description: A successful response. schema: type: object @@ -29118,81 +26767,69 @@ paths: granter: type: string description: >- - granter is the address of the user granting an allowance - of their funds. + granter is the address of the user granting an allowance of their funds. + grantee: type: string description: >- - grantee is the address of the user being granted an - allowance of another user's funds. + grantee is the address of the user being granted an allowance of another user's funds. + allowance: description: >- - allowance can be any of basic, periodic, allowed fee - allowance. + allowance can be any of basic, periodic, allowed fee allowance. + type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} title: >- - Grant is stored in the KVStore to record a grant with full - context + Grant is stored in the KVStore to record a grant with full context + description: allowances are allowance's granted for grantee by granter. pagination: description: pagination defines an pagination for the response. @@ -29209,13 +26846,13 @@ paths: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise + description: >- - QueryAllowancesResponse is the response type for the - Query/Allowances RPC method. + QueryAllowancesResponse is the response type for the Query/Allowances RPC method. + default: description: An unexpected error response. schema: @@ -29231,81 +26868,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -29313,9 +26935,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -29326,9 +26948,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -29336,9 +26958,9 @@ paths: 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 { @@ -29349,61 +26971,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: grantee in: path @@ -29421,44 +27035,42 @@ paths: - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. - - It is less efficient than using key. Only one of offset or key - should - + + It is less efficient than using key. Only one of offset or key should + be set. + in: query required: false type: string format: uint64 - name: pagination.limit description: >- - limit is the total number of results to be returned in the result - page. - + limit is the total number of results to be returned in the result page. + If left empty it will default to a value to be set by each app. + in: query required: false type: string format: uint64 - name: pagination.count_total description: >- - count_total is set to true to indicate that the result set should - include - - a count of the total number of items available for pagination in - UIs. - - count_total is only respected when offset is used. It is ignored - when key - + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + is set. + in: query required: false type: boolean - name: pagination.reverse description: >- - reverse is set to true if results are to be returned in the - descending order. + reverse is set to true if results are to be returned in the descending order. + in: query required: false type: boolean @@ -29469,7 +27081,7 @@ paths: summary: AllowancesByGranter returns all the grants given by an address operationId: AllowancesByGranter responses: - '200': + "200": description: A successful response. schema: type: object @@ -29482,81 +27094,69 @@ paths: granter: type: string description: >- - granter is the address of the user granting an allowance - of their funds. + granter is the address of the user granting an allowance of their funds. + grantee: type: string description: >- - grantee is the address of the user being granted an - allowance of another user's funds. + grantee is the address of the user being granted an allowance of another user's funds. + allowance: description: >- - allowance can be any of basic, periodic, allowed fee - allowance. + allowance can be any of basic, periodic, allowed fee allowance. + type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} title: >- - Grant is stored in the KVStore to record a grant with full - context + Grant is stored in the KVStore to record a grant with full context + description: allowances that have been issued by the granter. pagination: description: pagination defines an pagination for the response. @@ -29573,13 +27173,13 @@ paths: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise + description: >- - QueryAllowancesByGranterResponse is the response type for the - Query/AllowancesByGranter RPC method. + QueryAllowancesByGranterResponse is the response type for the Query/AllowancesByGranter RPC method. + default: description: An unexpected error response. schema: @@ -29595,81 +27195,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -29677,9 +27262,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -29690,9 +27275,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -29700,9 +27285,9 @@ paths: 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 { @@ -29713,61 +27298,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: granter in: path @@ -29785,44 +27362,42 @@ paths: - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. - - It is less efficient than using key. Only one of offset or key - should - + + It is less efficient than using key. Only one of offset or key should + be set. + in: query required: false type: string format: uint64 - name: pagination.limit description: >- - limit is the total number of results to be returned in the result - page. - + limit is the total number of results to be returned in the result page. + If left empty it will default to a value to be set by each app. + in: query required: false type: string format: uint64 - name: pagination.count_total description: >- - count_total is set to true to indicate that the result set should - include - - a count of the total number of items available for pagination in - UIs. - - count_total is only respected when offset is used. It is ignored - when key - + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + is set. + in: query required: false type: boolean - name: pagination.reverse description: >- - reverse is set to true if results are to be returned in the - descending order. + reverse is set to true if results are to be returned in the descending order. + in: query required: false type: boolean @@ -29831,11 +27406,11 @@ paths: /cosmos/nft/v1beta1/balance: get: summary: >- - BalanceByQueryString queries the number of NFTs of a given class owned - by the owner, same as balanceOf in ERC721 + BalanceByQueryString queries the number of NFTs of a given class owned by the owner, same as balanceOf in ERC721 + operationId: BalanceByQueryString responses: - '200': + "200": description: A successful response. schema: type: object @@ -29844,11 +27419,11 @@ paths: type: string format: uint64 title: >- - amount is the number of all NFTs of a given class owned by the - owner + amount is the number of all NFTs of a given class owned by the owner + title: >- - QueryBalanceByQueryStringResponse is the response type for the - Query/Balance RPC method + QueryBalanceByQueryStringResponse is the response type for the Query/Balance RPC method + default: description: An unexpected error response. schema: @@ -29864,81 +27439,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -29946,9 +27506,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -29959,9 +27519,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -29969,9 +27529,9 @@ paths: 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 { @@ -29982,61 +27542,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: class_id description: class_id associated with the nft @@ -30053,11 +27605,11 @@ paths: /cosmos/nft/v1beta1/balance/{owner}/{class_id}: get: summary: >- - Balance queries the number of NFTs of a given class owned by the owner, - same as balanceOf in ERC721 + Balance queries the number of NFTs of a given class owned by the owner, same as balanceOf in ERC721 + operationId: NftBalance responses: - '200': + "200": description: A successful response. schema: type: object @@ -30066,11 +27618,11 @@ paths: type: string format: uint64 title: >- - amount is the number of all NFTs of a given class owned by the - owner + amount is the number of all NFTs of a given class owned by the owner + title: >- - QueryBalanceResponse is the response type for the Query/Balance - RPC method + QueryBalanceResponse is the response type for the Query/Balance RPC method + default: description: An unexpected error response. schema: @@ -30086,81 +27638,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -30168,9 +27705,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -30181,9 +27718,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -30191,9 +27728,9 @@ paths: 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 { @@ -30204,61 +27741,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: owner description: owner is the owner address of the nft @@ -30277,7 +27806,7 @@ paths: summary: Class queries an NFT class based on its id operationId: ClassByQueryString responses: - '200': + "200": description: A successful response. schema: type: object @@ -30289,114 +27818,99 @@ paths: id: type: string title: >- - id defines the unique identifier of the NFT - classification, similar to the contract address of ERC721 + id defines the unique identifier of the NFT classification, similar to the contract address of ERC721 + name: type: string title: >- - name defines the human-readable name of the NFT - classification. Optional + name defines the human-readable name of the NFT classification. Optional + symbol: type: string title: >- - symbol is an abbreviated name for nft classification. - Optional + symbol is an abbreviated name for nft classification. Optional + description: type: string title: >- - description is a brief description of nft classification. - Optional + description is a brief description of nft classification. Optional + uri: type: string title: >- - uri for the class metadata stored off chain. It can define - schema for Class and NFT `Data` attributes. Optional + uri for the class metadata stored off chain. It can define schema for Class and NFT `Data` attributes. Optional + uri_hash: type: string title: >- - uri_hash is a hash of the document pointed by uri. - Optional + uri_hash is a hash of the document pointed by uri. Optional + data: title: >- - data is the app specific metadata of the NFT class. - Optional + data is the app specific metadata of the NFT class. Optional + type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -30404,9 +27918,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -30417,9 +27931,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -30427,9 +27941,9 @@ paths: 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 { @@ -30440,64 +27954,56 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + title: >- - QueryClassByQueryStringResponse is the response type for the - Query/Class RPC method + QueryClassByQueryStringResponse is the response type for the Query/Class RPC method + default: description: An unexpected error response. schema: @@ -30513,81 +28019,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -30595,9 +28086,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -30608,9 +28099,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -30618,9 +28109,9 @@ paths: 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 { @@ -30631,61 +28122,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: class_id description: class_id associated with the nft @@ -30699,7 +28182,7 @@ paths: summary: Classes queries all NFT classes operationId: Classes responses: - '200': + "200": description: A successful response. schema: type: object @@ -30712,116 +28195,99 @@ paths: id: type: string title: >- - id defines the unique identifier of the NFT - classification, similar to the contract address of - ERC721 + id defines the unique identifier of the NFT classification, similar to the contract address of ERC721 + name: type: string title: >- - name defines the human-readable name of the NFT - classification. Optional + name defines the human-readable name of the NFT classification. Optional + symbol: type: string title: >- - symbol is an abbreviated name for nft classification. - Optional + symbol is an abbreviated name for nft classification. Optional + description: type: string title: >- - description is a brief description of nft - classification. Optional + description is a brief description of nft classification. Optional + uri: type: string title: >- - uri for the class metadata stored off chain. It can - define schema for Class and NFT `Data` attributes. - Optional + uri for the class metadata stored off chain. It can define schema for Class and NFT `Data` attributes. Optional + uri_hash: type: string title: >- - uri_hash is a hash of the document pointed by uri. - Optional + uri_hash is a hash of the document pointed by uri. Optional + data: title: >- - data is the app specific metadata of the NFT class. - Optional + data is the app specific metadata of the NFT class. Optional + type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -30829,9 +28295,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -30842,9 +28308,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -30852,9 +28318,9 @@ paths: 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 { @@ -30865,63 +28331,53 @@ paths: 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 - + + 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: - + + 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][]): - + + 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" } + description: Class defines the class of the nft type. description: class defines the class of the nft type. pagination: @@ -30939,13 +28395,13 @@ paths: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise + title: >- - QueryClassesResponse is the response type for the Query/Classes - RPC method + QueryClassesResponse is the response type for the Query/Classes RPC method + default: description: An unexpected error response. schema: @@ -30961,81 +28417,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -31043,9 +28484,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -31056,9 +28497,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -31066,9 +28507,9 @@ paths: 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 { @@ -31079,61 +28520,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: pagination.key description: |- @@ -31147,44 +28580,42 @@ paths: - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. - - It is less efficient than using key. Only one of offset or key - should - + + It is less efficient than using key. Only one of offset or key should + be set. + in: query required: false type: string format: uint64 - name: pagination.limit description: >- - limit is the total number of results to be returned in the result - page. - + limit is the total number of results to be returned in the result page. + If left empty it will default to a value to be set by each app. + in: query required: false type: string format: uint64 - name: pagination.count_total description: >- - count_total is set to true to indicate that the result set should - include - - a count of the total number of items available for pagination in - UIs. - - count_total is only respected when offset is used. It is ignored - when key - + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + is set. + in: query required: false type: boolean - name: pagination.reverse description: >- - reverse is set to true if results are to be returned in the - descending order. + reverse is set to true if results are to be returned in the descending order. + in: query required: false type: boolean @@ -31195,7 +28626,7 @@ paths: summary: Class queries an NFT class based on its id operationId: Class responses: - '200': + "200": description: A successful response. schema: type: object @@ -31207,114 +28638,99 @@ paths: id: type: string title: >- - id defines the unique identifier of the NFT - classification, similar to the contract address of ERC721 + id defines the unique identifier of the NFT classification, similar to the contract address of ERC721 + name: type: string title: >- - name defines the human-readable name of the NFT - classification. Optional + name defines the human-readable name of the NFT classification. Optional + symbol: type: string title: >- - symbol is an abbreviated name for nft classification. - Optional + symbol is an abbreviated name for nft classification. Optional + description: type: string title: >- - description is a brief description of nft classification. - Optional + description is a brief description of nft classification. Optional + uri: type: string title: >- - uri for the class metadata stored off chain. It can define - schema for Class and NFT `Data` attributes. Optional + uri for the class metadata stored off chain. It can define schema for Class and NFT `Data` attributes. Optional + uri_hash: type: string title: >- - uri_hash is a hash of the document pointed by uri. - Optional + uri_hash is a hash of the document pointed by uri. Optional + data: title: >- - data is the app specific metadata of the NFT class. - Optional + data is the app specific metadata of the NFT class. Optional + type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -31322,9 +28738,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -31335,9 +28751,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -31345,9 +28761,9 @@ paths: 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 { @@ -31358,64 +28774,56 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + title: >- - QueryClassResponse is the response type for the Query/Class RPC - method + QueryClassResponse is the response type for the Query/Class RPC method + default: description: An unexpected error response. schema: @@ -31431,81 +28839,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -31513,9 +28906,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -31526,9 +28919,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -31536,9 +28929,9 @@ paths: 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 { @@ -31549,61 +28942,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: class_id description: class_id associated with the nft @@ -31617,7 +29002,7 @@ paths: summary: NFTByQueryString queries an NFT based on its class and id. operationId: NFTByQueryString responses: - '200': + "200": description: A successful response. schema: type: object @@ -31629,8 +29014,8 @@ paths: class_id: type: string title: >- - class_id associated with the NFT, similar to the contract - address of ERC721 + class_id associated with the NFT, similar to the contract address of ERC721 + id: type: string title: id is a unique identifier of the NFT @@ -31644,81 +29029,66 @@ paths: title: data is an app specific data of the NFT. Optional type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -31726,9 +29096,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -31739,9 +29109,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -31749,9 +29119,9 @@ paths: 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 { @@ -31762,65 +29132,57 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + description: NFT defines the NFT. title: >- - QueryNFTByQueryStringResponse is the response type for the - Query/NFT RPC method + QueryNFTByQueryStringResponse is the response type for the Query/NFT RPC method + default: description: An unexpected error response. schema: @@ -31836,81 +29198,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -31918,9 +29265,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -31931,9 +29278,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -31941,9 +29288,9 @@ paths: 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 { @@ -31954,61 +29301,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: class_id description: class_id associated with the nft @@ -32025,13 +29364,13 @@ paths: /cosmos/nft/v1beta1/nfts: get: summary: >- - NFTs queries all NFTs of a given class or owner,choose at least one of - the two, similar to tokenByIndex in - + NFTs queries all NFTs of a given class or owner,choose at least one of the two, similar to tokenByIndex in + ERC721Enumerable + operationId: NFTs responses: - '200': + "200": description: A successful response. schema: type: object @@ -32044,8 +29383,8 @@ paths: class_id: type: string title: >- - class_id associated with the NFT, similar to the - contract address of ERC721 + class_id associated with the NFT, similar to the contract address of ERC721 + id: type: string title: id is a unique identifier of the NFT @@ -32059,81 +29398,66 @@ paths: title: data is an app specific data of the NFT. Optional type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -32141,9 +29465,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -32154,9 +29478,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -32164,9 +29488,9 @@ paths: 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 { @@ -32177,63 +29501,53 @@ paths: 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 - + + 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: - + + 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][]): - + + 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" } + description: NFT defines the NFT. title: NFT defines the NFT pagination: @@ -32251,13 +29565,13 @@ paths: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise + title: >- - QueryNFTsResponse is the response type for the Query/NFTs RPC - methods + QueryNFTsResponse is the response type for the Query/NFTs RPC methods + default: description: An unexpected error response. schema: @@ -32273,81 +29587,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -32355,9 +29654,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -32368,9 +29667,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -32378,9 +29677,9 @@ paths: 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 { @@ -32391,61 +29690,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: class_id description: class_id associated with the nft @@ -32469,44 +29760,42 @@ paths: - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. - - It is less efficient than using key. Only one of offset or key - should - + + It is less efficient than using key. Only one of offset or key should + be set. + in: query required: false type: string format: uint64 - name: pagination.limit description: >- - limit is the total number of results to be returned in the result - page. - + limit is the total number of results to be returned in the result page. + If left empty it will default to a value to be set by each app. + in: query required: false type: string format: uint64 - name: pagination.count_total description: >- - count_total is set to true to indicate that the result set should - include - - a count of the total number of items available for pagination in - UIs. - - count_total is only respected when offset is used. It is ignored - when key - + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + is set. + in: query required: false type: boolean - name: pagination.reverse description: >- - reverse is set to true if results are to be returned in the - descending order. + reverse is set to true if results are to be returned in the descending order. + in: query required: false type: boolean @@ -32517,7 +29806,7 @@ paths: summary: NFT queries an NFT based on its class and id. operationId: NFT responses: - '200': + "200": description: A successful response. schema: type: object @@ -32529,8 +29818,8 @@ paths: class_id: type: string title: >- - class_id associated with the NFT, similar to the contract - address of ERC721 + class_id associated with the NFT, similar to the contract address of ERC721 + id: type: string title: id is a unique identifier of the NFT @@ -32544,81 +29833,66 @@ paths: title: data is an app specific data of the NFT. Optional type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -32626,9 +29900,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -32639,9 +29913,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -32649,9 +29923,9 @@ paths: 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 { @@ -32662,61 +29936,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + description: NFT defines the NFT. title: QueryNFTResponse is the response type for the Query/NFT RPC method default: @@ -32734,81 +30000,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -32816,9 +30067,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -32829,9 +30080,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -32839,9 +30090,9 @@ paths: 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 { @@ -32852,61 +30103,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: class_id description: class_id associated with the nft @@ -32923,11 +30166,11 @@ paths: /cosmos/nft/v1beta1/owner: get: summary: >- - OwnerByQueryString queries the owner of the NFT based on its class and - id, same as ownerOf in ERC721 + OwnerByQueryString queries the owner of the NFT based on its class and id, same as ownerOf in ERC721 + operationId: OwnerByQueryString responses: - '200': + "200": description: A successful response. schema: type: object @@ -32936,8 +30179,8 @@ paths: type: string title: owner is the owner address of the nft title: >- - QueryOwnerByQueryStringResponse is the response type for the - Query/Owner RPC method + QueryOwnerByQueryStringResponse is the response type for the Query/Owner RPC method + default: description: An unexpected error response. schema: @@ -32953,81 +30196,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -33035,9 +30263,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -33048,9 +30276,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -33058,9 +30286,9 @@ paths: 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 { @@ -33071,61 +30299,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: class_id description: class_id associated with the nft @@ -33142,11 +30362,11 @@ paths: /cosmos/nft/v1beta1/owner/{class_id}/{id}: get: summary: >- - Owner queries the owner of the NFT based on its class and id, same as - ownerOf in ERC721 + Owner queries the owner of the NFT based on its class and id, same as ownerOf in ERC721 + operationId: Owner responses: - '200': + "200": description: A successful response. schema: type: object @@ -33155,8 +30375,8 @@ paths: type: string title: owner is the owner address of the nft title: >- - QueryOwnerResponse is the response type for the Query/Owner RPC - method + QueryOwnerResponse is the response type for the Query/Owner RPC method + default: description: An unexpected error response. schema: @@ -33172,81 +30392,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -33254,9 +30459,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -33267,9 +30472,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -33277,9 +30482,9 @@ paths: 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 { @@ -33290,61 +30495,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: class_id description: class_id associated with the nft @@ -33361,11 +30558,11 @@ paths: /cosmos/nft/v1beta1/supply: get: summary: >- - SupplyByQueryString queries the number of NFTs from the given class, - same as totalSupply of ERC721. + SupplyByQueryString queries the number of NFTs from the given class, same as totalSupply of ERC721. + operationId: SupplyByQueryString responses: - '200': + "200": description: A successful response. schema: type: object @@ -33375,8 +30572,8 @@ paths: format: uint64 title: amount is the number of all NFTs from the given class title: >- - QuerySupplyByQueryStringResponse is the response type for the - Query/Supply RPC method + QuerySupplyByQueryStringResponse is the response type for the Query/Supply RPC method + default: description: An unexpected error response. schema: @@ -33392,81 +30589,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -33474,9 +30656,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -33487,9 +30669,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -33497,9 +30679,9 @@ paths: 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 { @@ -33510,61 +30692,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: class_id description: class_id associated with the nft @@ -33576,11 +30750,11 @@ paths: /cosmos/nft/v1beta1/supply/{class_id}: get: summary: >- - Supply queries the number of NFTs from the given class, same as - totalSupply of ERC721. + Supply queries the number of NFTs from the given class, same as totalSupply of ERC721. + operationId: Supply responses: - '200': + "200": description: A successful response. schema: type: object @@ -33590,8 +30764,8 @@ paths: format: uint64 title: amount is the number of all NFTs from the given class title: >- - QuerySupplyResponse is the response type for the Query/Supply RPC - method + QuerySupplyResponse is the response type for the Query/Supply RPC method + default: description: An unexpected error response. schema: @@ -33607,81 +30781,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -33689,9 +30848,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -33702,9 +30861,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -33712,9 +30871,9 @@ paths: 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 { @@ -33725,61 +30884,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: class_id description: class_id associated with the nft @@ -33793,7 +30944,7 @@ paths: summary: GroupInfo queries group info based on group id. operationId: GroupInfo responses: - '200': + "200": description: A successful response. schema: type: object @@ -33812,27 +30963,22 @@ paths: metadata: type: string title: >- - metadata is any arbitrary metadata to attached to the - group. + metadata is any arbitrary metadata to attached to the group. + + the recommended format of the metadata is to be found here: https://docs.cosmos.network/v0.47/modules/group#group-1 - the recommended format of the metadata is to be found - here: - https://docs.cosmos.network/v0.47/modules/group#group-1 version: type: string format: uint64 title: >- - version is used to track changes to a group's membership - structure that - - would break existing proposals. Whenever any members - weight is changed, + version is used to track changes to a group's membership structure that + + would break existing proposals. Whenever any members weight is changed, + + or any member is added or removed this version is incremented and will + + cause proposals based on older versions of this group to fail - or any member is added or removed this version is - incremented and will - - cause proposals based on older versions of this group to - fail total_weight: type: string description: total_weight is the sum of the group members' weights. @@ -33840,8 +30986,8 @@ paths: type: string format: date-time description: >- - created_at is a timestamp specifying when a group was - created. + created_at is a timestamp specifying when a group was created. + description: QueryGroupInfoResponse is the Query/GroupInfo response type. default: description: An unexpected error response. @@ -33858,81 +31004,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -33940,9 +31071,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -33953,9 +31084,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -33963,9 +31094,9 @@ paths: 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 { @@ -33976,61 +31107,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: group_id description: group_id is the unique ID of the group. @@ -34045,7 +31168,7 @@ paths: summary: GroupMembers queries members of a group by group id. operationId: GroupMembers responses: - '200': + "200": description: A successful response. schema: type: object @@ -34069,22 +31192,22 @@ paths: weight: type: string description: >- - weight is the member's voting weight that should be - greater than 0. + weight is the member's voting weight that should be greater than 0. + metadata: type: string description: >- - metadata is any arbitrary metadata attached to the - member. + metadata is any arbitrary metadata attached to the member. + added_at: type: string format: date-time description: >- - added_at is a timestamp specifying when a member was - added. + added_at is a timestamp specifying when a member was added. + description: >- - GroupMember represents the relationship between a group and - a member. + GroupMember represents the relationship between a group and a member. + description: members are the members of the group with given group_id. pagination: description: pagination defines the pagination in the response. @@ -34101,13 +31224,13 @@ paths: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise + description: >- - QueryGroupMembersResponse is the Query/GroupMembersResponse - response type. + QueryGroupMembersResponse is the Query/GroupMembersResponse response type. + default: description: An unexpected error response. schema: @@ -34123,81 +31246,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -34205,9 +31313,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -34218,9 +31326,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -34228,9 +31336,9 @@ paths: 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 { @@ -34241,61 +31349,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: group_id description: group_id is the unique ID of the group. @@ -34315,44 +31415,42 @@ paths: - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. - - It is less efficient than using key. Only one of offset or key - should - + + It is less efficient than using key. Only one of offset or key should + be set. + in: query required: false type: string format: uint64 - name: pagination.limit description: >- - limit is the total number of results to be returned in the result - page. - + limit is the total number of results to be returned in the result page. + If left empty it will default to a value to be set by each app. + in: query required: false type: string format: uint64 - name: pagination.count_total description: >- - count_total is set to true to indicate that the result set should - include - - a count of the total number of items available for pagination in - UIs. - - count_total is only respected when offset is used. It is ignored - when key - + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + is set. + in: query required: false type: boolean - name: pagination.reverse description: >- - reverse is set to true if results are to be returned in the - descending order. + reverse is set to true if results are to be returned in the descending order. + in: query required: false type: boolean @@ -34363,7 +31461,7 @@ paths: summary: GroupPoliciesByAdmin queries group policies by admin address. operationId: GroupPoliciesByAdmin responses: - '200': + "200": description: A successful response. schema: type: object @@ -34386,98 +31484,85 @@ paths: metadata: type: string title: >- - metadata is any arbitrary metadata attached to the group - policy. - - the recommended format of the metadata is to be found - here: - + metadata is any arbitrary metadata attached to the group policy. + + the recommended format of the metadata is to be found here: + https://docs.cosmos.network/v0.47/modules/group#decision-policy-1 + version: type: string format: uint64 description: >- - version is used to track changes to a group's - GroupPolicyInfo structure that - + version is used to track changes to a group's GroupPolicyInfo structure that + would create a different result on a running proposal. + decision_policy: description: >- - decision_policy specifies the group policy's decision - policy. + decision_policy specifies the group policy's decision policy. + type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} created_at: type: string format: date-time description: >- - created_at is a timestamp specifying when a group policy - was created. + created_at is a timestamp specifying when a group policy was created. + description: >- - GroupPolicyInfo represents the high-level on-chain - information for a group policy. + GroupPolicyInfo represents the high-level on-chain information for a group policy. + description: >- - group_policies are the group policies info with provided - admin. + group_policies are the group policies info with provided admin. + pagination: description: pagination defines the pagination in the response. type: object @@ -34493,13 +31578,13 @@ paths: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise + description: >- - QueryGroupPoliciesByAdminResponse is the - Query/GroupPoliciesByAdmin response type. + QueryGroupPoliciesByAdminResponse is the Query/GroupPoliciesByAdmin response type. + default: description: An unexpected error response. schema: @@ -34515,81 +31600,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -34597,9 +31667,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -34610,9 +31680,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -34620,9 +31690,9 @@ paths: 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 { @@ -34633,61 +31703,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: admin description: admin is the admin address of the group policy. @@ -34706,44 +31768,42 @@ paths: - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. - - It is less efficient than using key. Only one of offset or key - should - + + It is less efficient than using key. Only one of offset or key should + be set. + in: query required: false type: string format: uint64 - name: pagination.limit description: >- - limit is the total number of results to be returned in the result - page. - + limit is the total number of results to be returned in the result page. + If left empty it will default to a value to be set by each app. + in: query required: false type: string format: uint64 - name: pagination.count_total description: >- - count_total is set to true to indicate that the result set should - include - - a count of the total number of items available for pagination in - UIs. - - count_total is only respected when offset is used. It is ignored - when key - + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + is set. + in: query required: false type: boolean - name: pagination.reverse description: >- - reverse is set to true if results are to be returned in the - descending order. + reverse is set to true if results are to be returned in the descending order. + in: query required: false type: boolean @@ -34754,7 +31814,7 @@ paths: summary: GroupPoliciesByGroup queries group policies by group id. operationId: GroupPoliciesByGroup responses: - '200': + "200": description: A successful response. schema: type: object @@ -34777,98 +31837,85 @@ paths: metadata: type: string title: >- - metadata is any arbitrary metadata attached to the group - policy. - - the recommended format of the metadata is to be found - here: - + metadata is any arbitrary metadata attached to the group policy. + + the recommended format of the metadata is to be found here: + https://docs.cosmos.network/v0.47/modules/group#decision-policy-1 + version: type: string format: uint64 description: >- - version is used to track changes to a group's - GroupPolicyInfo structure that - + version is used to track changes to a group's GroupPolicyInfo structure that + would create a different result on a running proposal. + decision_policy: description: >- - decision_policy specifies the group policy's decision - policy. + decision_policy specifies the group policy's decision policy. + type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} created_at: type: string format: date-time description: >- - created_at is a timestamp specifying when a group policy - was created. + created_at is a timestamp specifying when a group policy was created. + description: >- - GroupPolicyInfo represents the high-level on-chain - information for a group policy. + GroupPolicyInfo represents the high-level on-chain information for a group policy. + description: >- - group_policies are the group policies info associated with the - provided group. + group_policies are the group policies info associated with the provided group. + pagination: description: pagination defines the pagination in the response. type: object @@ -34884,13 +31931,13 @@ paths: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise + description: >- - QueryGroupPoliciesByGroupResponse is the - Query/GroupPoliciesByGroup response type. + QueryGroupPoliciesByGroupResponse is the Query/GroupPoliciesByGroup response type. + default: description: An unexpected error response. schema: @@ -34906,81 +31953,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -34988,9 +32020,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -35001,9 +32033,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -35011,9 +32043,9 @@ paths: 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 { @@ -35024,61 +32056,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: group_id description: group_id is the unique ID of the group policy's group. @@ -35098,44 +32122,42 @@ paths: - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. - - It is less efficient than using key. Only one of offset or key - should - + + It is less efficient than using key. Only one of offset or key should + be set. + in: query required: false type: string format: uint64 - name: pagination.limit description: >- - limit is the total number of results to be returned in the result - page. - + limit is the total number of results to be returned in the result page. + If left empty it will default to a value to be set by each app. + in: query required: false type: string format: uint64 - name: pagination.count_total description: >- - count_total is set to true to indicate that the result set should - include - - a count of the total number of items available for pagination in - UIs. - - count_total is only respected when offset is used. It is ignored - when key - + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + is set. + in: query required: false type: boolean - name: pagination.reverse description: >- - reverse is set to true if results are to be returned in the - descending order. + reverse is set to true if results are to be returned in the descending order. + in: query required: false type: boolean @@ -35144,11 +32166,11 @@ paths: /cosmos/group/v1/group_policy_info/{address}: get: summary: >- - GroupPolicyInfo queries group policy info based on account address of - group policy. + GroupPolicyInfo queries group policy info based on account address of group policy. + operationId: GroupPolicyInfo responses: - '200': + "200": description: A successful response. schema: type: object @@ -35170,95 +32192,82 @@ paths: metadata: type: string title: >- - metadata is any arbitrary metadata attached to the group - policy. - - the recommended format of the metadata is to be found - here: - + metadata is any arbitrary metadata attached to the group policy. + + the recommended format of the metadata is to be found here: + https://docs.cosmos.network/v0.47/modules/group#decision-policy-1 + version: type: string format: uint64 description: >- - version is used to track changes to a group's - GroupPolicyInfo structure that - + version is used to track changes to a group's GroupPolicyInfo structure that + would create a different result on a running proposal. + decision_policy: description: >- - decision_policy specifies the group policy's decision - policy. + decision_policy specifies the group policy's decision policy. + type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} created_at: type: string format: date-time description: >- - created_at is a timestamp specifying when a group policy - was created. + created_at is a timestamp specifying when a group policy was created. + description: >- - QueryGroupPolicyInfoResponse is the Query/GroupPolicyInfo response - type. + QueryGroupPolicyInfoResponse is the Query/GroupPolicyInfo response type. + default: description: An unexpected error response. schema: @@ -35274,81 +32283,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -35356,9 +32350,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -35369,9 +32363,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -35379,9 +32373,9 @@ paths: 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 { @@ -35392,61 +32386,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: address description: address is the account address of the group policy. @@ -35460,7 +32446,7 @@ paths: summary: Groups queries all groups in state. operationId: Groups responses: - '200': + "200": description: A successful response. schema: type: object @@ -35480,27 +32466,22 @@ paths: metadata: type: string title: >- - metadata is any arbitrary metadata to attached to the - group. + metadata is any arbitrary metadata to attached to the group. + + the recommended format of the metadata is to be found here: https://docs.cosmos.network/v0.47/modules/group#group-1 - the recommended format of the metadata is to be found - here: - https://docs.cosmos.network/v0.47/modules/group#group-1 version: type: string format: uint64 title: >- - version is used to track changes to a group's membership - structure that + version is used to track changes to a group's membership structure that + + would break existing proposals. Whenever any members weight is changed, + + or any member is added or removed this version is incremented and will + + cause proposals based on older versions of this group to fail - would break existing proposals. Whenever any members - weight is changed, - - or any member is added or removed this version is - incremented and will - - cause proposals based on older versions of this group to - fail total_weight: type: string description: total_weight is the sum of the group members' weights. @@ -35508,12 +32489,12 @@ paths: type: string format: date-time description: >- - created_at is a timestamp specifying when a group was - created. + created_at is a timestamp specifying when a group was created. + description: >- - GroupInfo represents the high-level on-chain information for - a group. - description: '`groups` is all the groups present in state.' + GroupInfo represents the high-level on-chain information for a group. + + description: "`groups` is all the groups present in state." pagination: description: pagination defines the pagination in the response. type: object @@ -35529,10 +32510,10 @@ paths: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise + description: QueryGroupsResponse is the Query/Groups response type. default: description: An unexpected error response. @@ -35549,81 +32530,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -35631,9 +32597,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -35644,9 +32610,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -35654,9 +32620,9 @@ paths: 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 { @@ -35667,61 +32633,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: pagination.key description: |- @@ -35735,44 +32693,42 @@ paths: - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. - - It is less efficient than using key. Only one of offset or key - should - + + It is less efficient than using key. Only one of offset or key should + be set. + in: query required: false type: string format: uint64 - name: pagination.limit description: >- - limit is the total number of results to be returned in the result - page. - + limit is the total number of results to be returned in the result page. + If left empty it will default to a value to be set by each app. + in: query required: false type: string format: uint64 - name: pagination.count_total description: >- - count_total is set to true to indicate that the result set should - include - - a count of the total number of items available for pagination in - UIs. - - count_total is only respected when offset is used. It is ignored - when key - + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + is set. + in: query required: false type: boolean - name: pagination.reverse description: >- - reverse is set to true if results are to be returned in the - descending order. + reverse is set to true if results are to be returned in the descending order. + in: query required: false type: boolean @@ -35783,7 +32739,7 @@ paths: summary: GroupsByAdmin queries groups by admin address. operationId: GroupsByAdmin responses: - '200': + "200": description: A successful response. schema: type: object @@ -35803,27 +32759,22 @@ paths: metadata: type: string title: >- - metadata is any arbitrary metadata to attached to the - group. + metadata is any arbitrary metadata to attached to the group. + + the recommended format of the metadata is to be found here: https://docs.cosmos.network/v0.47/modules/group#group-1 - the recommended format of the metadata is to be found - here: - https://docs.cosmos.network/v0.47/modules/group#group-1 version: type: string format: uint64 title: >- - version is used to track changes to a group's membership - structure that - - would break existing proposals. Whenever any members - weight is changed, - - or any member is added or removed this version is - incremented and will + version is used to track changes to a group's membership structure that + + would break existing proposals. Whenever any members weight is changed, + + or any member is added or removed this version is incremented and will + + cause proposals based on older versions of this group to fail - cause proposals based on older versions of this group to - fail total_weight: type: string description: total_weight is the sum of the group members' weights. @@ -35831,11 +32782,11 @@ paths: type: string format: date-time description: >- - created_at is a timestamp specifying when a group was - created. + created_at is a timestamp specifying when a group was created. + description: >- - GroupInfo represents the high-level on-chain information for - a group. + GroupInfo represents the high-level on-chain information for a group. + description: groups are the groups info with the provided admin. pagination: description: pagination defines the pagination in the response. @@ -35852,13 +32803,13 @@ paths: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise + description: >- - QueryGroupsByAdminResponse is the Query/GroupsByAdminResponse - response type. + QueryGroupsByAdminResponse is the Query/GroupsByAdminResponse response type. + default: description: An unexpected error response. schema: @@ -35874,81 +32825,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -35956,9 +32892,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -35969,9 +32905,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -35979,9 +32915,9 @@ paths: 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 { @@ -35992,61 +32928,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: admin description: admin is the account address of a group's admin. @@ -36065,44 +32993,42 @@ paths: - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. - - It is less efficient than using key. Only one of offset or key - should - + + It is less efficient than using key. Only one of offset or key should + be set. + in: query required: false type: string format: uint64 - name: pagination.limit description: >- - limit is the total number of results to be returned in the result - page. - + limit is the total number of results to be returned in the result page. + If left empty it will default to a value to be set by each app. + in: query required: false type: string format: uint64 - name: pagination.count_total description: >- - count_total is set to true to indicate that the result set should - include - - a count of the total number of items available for pagination in - UIs. - - count_total is only respected when offset is used. It is ignored - when key - + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + is set. + in: query required: false type: boolean - name: pagination.reverse description: >- - reverse is set to true if results are to be returned in the - descending order. + reverse is set to true if results are to be returned in the descending order. + in: query required: false type: boolean @@ -36113,7 +33039,7 @@ paths: summary: GroupsByMember queries groups by member address. operationId: GroupsByMember responses: - '200': + "200": description: A successful response. schema: type: object @@ -36133,27 +33059,22 @@ paths: metadata: type: string title: >- - metadata is any arbitrary metadata to attached to the - group. + metadata is any arbitrary metadata to attached to the group. + + the recommended format of the metadata is to be found here: https://docs.cosmos.network/v0.47/modules/group#group-1 - the recommended format of the metadata is to be found - here: - https://docs.cosmos.network/v0.47/modules/group#group-1 version: type: string format: uint64 title: >- - version is used to track changes to a group's membership - structure that - - would break existing proposals. Whenever any members - weight is changed, + version is used to track changes to a group's membership structure that + + would break existing proposals. Whenever any members weight is changed, + + or any member is added or removed this version is incremented and will + + cause proposals based on older versions of this group to fail - or any member is added or removed this version is - incremented and will - - cause proposals based on older versions of this group to - fail total_weight: type: string description: total_weight is the sum of the group members' weights. @@ -36161,11 +33082,11 @@ paths: type: string format: date-time description: >- - created_at is a timestamp specifying when a group was - created. + created_at is a timestamp specifying when a group was created. + description: >- - GroupInfo represents the high-level on-chain information for - a group. + GroupInfo represents the high-level on-chain information for a group. + description: groups are the groups info with the provided group member. pagination: description: pagination defines the pagination in the response. @@ -36182,13 +33103,13 @@ paths: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise + description: >- - QueryGroupsByMemberResponse is the Query/GroupsByMember response - type. + QueryGroupsByMemberResponse is the Query/GroupsByMember response type. + default: description: An unexpected error response. schema: @@ -36204,81 +33125,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -36286,9 +33192,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -36299,9 +33205,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -36309,9 +33215,9 @@ paths: 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 { @@ -36322,61 +33228,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: address description: address is the group member address. @@ -36395,44 +33293,42 @@ paths: - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. - - It is less efficient than using key. Only one of offset or key - should - + + It is less efficient than using key. Only one of offset or key should + be set. + in: query required: false type: string format: uint64 - name: pagination.limit description: >- - limit is the total number of results to be returned in the result - page. - + limit is the total number of results to be returned in the result page. + If left empty it will default to a value to be set by each app. + in: query required: false type: string format: uint64 - name: pagination.count_total description: >- - count_total is set to true to indicate that the result set should - include - - a count of the total number of items available for pagination in - UIs. - - count_total is only respected when offset is used. It is ignored - when key - + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + is set. + in: query required: false type: boolean - name: pagination.reverse description: >- - reverse is set to true if results are to be returned in the - descending order. + reverse is set to true if results are to be returned in the descending order. + in: query required: false type: boolean @@ -36443,7 +33339,7 @@ paths: summary: Proposal queries a proposal based on proposal id. operationId: GroupProposal responses: - '200': + "200": description: A successful response. schema: type: object @@ -36459,18 +33355,17 @@ paths: group_policy_address: type: string description: >- - group_policy_address is the account address of group - policy. + group_policy_address is the account address of group policy. + metadata: type: string title: >- - metadata is any arbitrary metadata attached to the - proposal. - - the recommended format of the metadata is to be found - here: - + metadata is any arbitrary metadata attached to the proposal. + + the recommended format of the metadata is to be found here: + https://docs.cosmos.network/v0.47/modules/group#proposal-4 + proposers: type: array items: @@ -36480,33 +33375,32 @@ paths: type: string format: date-time description: >- - submit_time is a timestamp specifying when a proposal was - submitted. + submit_time is a timestamp specifying when a proposal was submitted. + group_version: type: string format: uint64 description: >- - group_version tracks the version of the group at proposal - submission. - + group_version tracks the version of the group at proposal submission. + This field is here for informational purposes only. + group_policy_version: type: string format: uint64 description: >- - group_policy_version tracks the version of the group - policy at proposal submission. - - When a decision policy is changed, existing proposals from - previous policy - + group_policy_version tracks the version of the group policy at proposal submission. + + When a decision policy is changed, existing proposals from previous policy + versions will become invalid with the `ABORTED` status. - + This field is here for informational purposes only. + status: description: >- - status represents the high level position in the life - cycle of the proposal. Initial value is Submitted. + status represents the high level position in the life cycle of the proposal. Initial value is Submitted. + type: string enum: - PROPOSAL_STATUS_UNSPECIFIED @@ -36518,16 +33412,14 @@ paths: default: PROPOSAL_STATUS_UNSPECIFIED final_tally_result: description: >- - final_tally_result contains the sums of all weighted votes - for this - - proposal for each vote option. It is empty at submission, - and only - - populated after tallying, at voting period end or at - proposal execution, - + final_tally_result contains the sums of all weighted votes for this + + proposal for each vote option. It is empty at submission, and only + + populated after tallying, at voting period end or at proposal execution, + whichever happens first. + type: object properties: yes_count: @@ -36546,23 +33438,20 @@ paths: type: string format: date-time description: >- - voting_period_end is the timestamp before which voting - must be done. - - Unless a successful MsgExec is called before (to execute a - proposal whose - - tally is successful before the voting period ends), - tallying will be done - - at this point, and the `final_tally_result`and `status` - fields will be - + voting_period_end is the timestamp before which voting must be done. + + Unless a successful MsgExec is called before (to execute a proposal whose + + tally is successful before the voting period ends), tallying will be done + + at this point, and the `final_tally_result`and `status` fields will be + accordingly updated. + executor_result: description: >- - executor_result is the final result of the proposal - execution. Initial value is NotRun. + executor_result is the final result of the proposal execution. Initial value is NotRun. + type: string enum: - PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED @@ -36575,81 +33464,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -36657,9 +33531,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -36670,9 +33544,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -36680,9 +33554,9 @@ paths: 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 { @@ -36693,66 +33567,56 @@ paths: 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 - + + 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: - + + 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][]): - + + 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" } + description: >- - messages is a list of `sdk.Msg`s that will be executed if - the proposal passes. + messages is a list of `sdk.Msg`s that will be executed if the proposal passes. + title: type: string title: title is the title of the proposal @@ -36775,81 +33639,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -36857,9 +33706,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -36870,9 +33719,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -36880,9 +33729,9 @@ paths: 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 { @@ -36893,61 +33742,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: proposal_id description: proposal_id is the unique ID of a proposal. @@ -36961,18 +33802,18 @@ paths: get: summary: >- TallyResult returns the tally result of a proposal. If the proposal is - - still in voting period, then this query computes the current tally - state, - + + still in voting period, then this query computes the current tally state, + which might not be final. On the other hand, if the proposal is final, - + then it simply returns the `final_tally_result` state stored in the - + proposal itself. + operationId: GroupTallyResult responses: - '200': + "200": description: A successful response. schema: type: object @@ -37009,81 +33850,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -37091,9 +33917,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -37104,9 +33930,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -37114,9 +33940,9 @@ paths: 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 { @@ -37127,61 +33953,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: proposal_id description: proposal_id is the unique id of a proposal. @@ -37194,11 +34012,11 @@ paths: /cosmos/group/v1/proposals_by_group_policy/{address}: get: summary: >- - ProposalsByGroupPolicy queries proposals based on account address of - group policy. + ProposalsByGroupPolicy queries proposals based on account address of group policy. + operationId: ProposalsByGroupPolicy responses: - '200': + "200": description: A successful response. schema: type: object @@ -37215,18 +34033,17 @@ paths: group_policy_address: type: string description: >- - group_policy_address is the account address of group - policy. + group_policy_address is the account address of group policy. + metadata: type: string title: >- - metadata is any arbitrary metadata attached to the - proposal. - - the recommended format of the metadata is to be found - here: - + metadata is any arbitrary metadata attached to the proposal. + + the recommended format of the metadata is to be found here: + https://docs.cosmos.network/v0.47/modules/group#proposal-4 + proposers: type: array items: @@ -37236,33 +34053,32 @@ paths: type: string format: date-time description: >- - submit_time is a timestamp specifying when a proposal - was submitted. + submit_time is a timestamp specifying when a proposal was submitted. + group_version: type: string format: uint64 description: >- - group_version tracks the version of the group at - proposal submission. - + group_version tracks the version of the group at proposal submission. + This field is here for informational purposes only. + group_policy_version: type: string format: uint64 description: >- - group_policy_version tracks the version of the group - policy at proposal submission. - - When a decision policy is changed, existing proposals - from previous policy - + group_policy_version tracks the version of the group policy at proposal submission. + + When a decision policy is changed, existing proposals from previous policy + versions will become invalid with the `ABORTED` status. - + This field is here for informational purposes only. + status: description: >- - status represents the high level position in the life - cycle of the proposal. Initial value is Submitted. + status represents the high level position in the life cycle of the proposal. Initial value is Submitted. + type: string enum: - PROPOSAL_STATUS_UNSPECIFIED @@ -37274,16 +34090,14 @@ paths: default: PROPOSAL_STATUS_UNSPECIFIED final_tally_result: description: >- - final_tally_result contains the sums of all weighted - votes for this - - proposal for each vote option. It is empty at - submission, and only - - populated after tallying, at voting period end or at - proposal execution, - + final_tally_result contains the sums of all weighted votes for this + + proposal for each vote option. It is empty at submission, and only + + populated after tallying, at voting period end or at proposal execution, + whichever happens first. + type: object properties: yes_count: @@ -37302,23 +34116,20 @@ paths: type: string format: date-time description: >- - voting_period_end is the timestamp before which voting - must be done. - - Unless a successful MsgExec is called before (to execute - a proposal whose - - tally is successful before the voting period ends), - tallying will be done - - at this point, and the `final_tally_result`and `status` - fields will be - + voting_period_end is the timestamp before which voting must be done. + + Unless a successful MsgExec is called before (to execute a proposal whose + + tally is successful before the voting period ends), tallying will be done + + at this point, and the `final_tally_result`and `status` fields will be + accordingly updated. + executor_result: description: >- - executor_result is the final result of the proposal - execution. Initial value is NotRun. + executor_result is the final result of the proposal execution. Initial value is NotRun. + type: string enum: - PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED @@ -37331,81 +34142,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -37413,9 +34209,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -37426,9 +34222,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -37436,9 +34232,9 @@ paths: 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 { @@ -37449,66 +34245,56 @@ paths: 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 - + + 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: - + + 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][]): - + + 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" } + description: >- - messages is a list of `sdk.Msg`s that will be executed - if the proposal passes. + messages is a list of `sdk.Msg`s that will be executed if the proposal passes. + title: type: string title: title is the title of the proposal @@ -37516,16 +34302,14 @@ paths: type: string title: summary is a short summary of the proposal description: >- - Proposal defines a group proposal. Any member of a group can - submit a proposal - + Proposal defines a group proposal. Any member of a group can submit a proposal + for a group policy to decide upon. + + A proposal consists of a set of `sdk.Msg`s that will be executed if the proposal + + passes as well as some optional metadata associated with the proposal. - A proposal consists of a set of `sdk.Msg`s that will be - executed if the proposal - - passes as well as some optional metadata associated with the - proposal. description: proposals are the proposals with given group policy. pagination: description: pagination defines the pagination in the response. @@ -37542,13 +34326,13 @@ paths: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise + description: >- - QueryProposalsByGroupPolicyResponse is the - Query/ProposalByGroupPolicy response type. + QueryProposalsByGroupPolicyResponse is the Query/ProposalByGroupPolicy response type. + default: description: An unexpected error response. schema: @@ -37564,81 +34348,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -37646,9 +34415,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -37659,9 +34428,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -37669,9 +34438,9 @@ paths: 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 { @@ -37682,66 +34451,58 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: address description: >- - address is the account address of the group policy related to - proposals. + address is the account address of the group policy related to proposals. + in: path required: true type: string @@ -37757,44 +34518,42 @@ paths: - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. - - It is less efficient than using key. Only one of offset or key - should - + + It is less efficient than using key. Only one of offset or key should + be set. + in: query required: false type: string format: uint64 - name: pagination.limit description: >- - limit is the total number of results to be returned in the result - page. - + limit is the total number of results to be returned in the result page. + If left empty it will default to a value to be set by each app. + in: query required: false type: string format: uint64 - name: pagination.count_total description: >- - count_total is set to true to indicate that the result set should - include - - a count of the total number of items available for pagination in - UIs. - - count_total is only respected when offset is used. It is ignored - when key - + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + is set. + in: query required: false type: boolean - name: pagination.reverse description: >- - reverse is set to true if results are to be returned in the - descending order. + reverse is set to true if results are to be returned in the descending order. + in: query required: false type: boolean @@ -37805,7 +34564,7 @@ paths: summary: VoteByProposalVoter queries a vote by proposal id and voter. operationId: VoteByProposalVoter responses: - '200': + "200": description: A successful response. schema: type: object @@ -37835,18 +34594,17 @@ paths: type: string title: >- metadata is any arbitrary metadata attached to the vote. + + the recommended format of the metadata is to be found here: https://docs.cosmos.network/v0.47/modules/group#vote-2 - the recommended format of the metadata is to be found - here: - https://docs.cosmos.network/v0.47/modules/group#vote-2 submit_time: type: string format: date-time description: submit_time is the timestamp when the vote was submitted. title: Vote represents a vote for a proposal.string metadata description: >- - QueryVoteByProposalVoterResponse is the Query/VoteByProposalVoter - response type. + QueryVoteByProposalVoterResponse is the Query/VoteByProposalVoter response type. + default: description: An unexpected error response. schema: @@ -37862,81 +34620,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -37944,9 +34687,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -37957,9 +34700,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -37967,9 +34710,9 @@ paths: 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 { @@ -37980,61 +34723,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: proposal_id description: proposal_id is the unique ID of a proposal. @@ -38054,7 +34789,7 @@ paths: summary: VotesByProposal queries a vote by proposal id. operationId: VotesByProposal responses: - '200': + "200": description: A successful response. schema: type: object @@ -38085,16 +34820,15 @@ paths: type: string title: >- metadata is any arbitrary metadata attached to the vote. + + the recommended format of the metadata is to be found here: https://docs.cosmos.network/v0.47/modules/group#vote-2 - the recommended format of the metadata is to be found - here: - https://docs.cosmos.network/v0.47/modules/group#vote-2 submit_time: type: string format: date-time description: >- - submit_time is the timestamp when the vote was - submitted. + submit_time is the timestamp when the vote was submitted. + title: Vote represents a vote for a proposal.string metadata description: votes are the list of votes for given proposal_id. pagination: @@ -38112,13 +34846,13 @@ paths: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise + description: >- - QueryVotesByProposalResponse is the Query/VotesByProposal response - type. + QueryVotesByProposalResponse is the Query/VotesByProposal response type. + default: description: An unexpected error response. schema: @@ -38134,81 +34868,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -38216,9 +34935,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -38229,9 +34948,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -38239,9 +34958,9 @@ paths: 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 { @@ -38252,61 +34971,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: proposal_id description: proposal_id is the unique ID of a proposal. @@ -38326,44 +35037,42 @@ paths: - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. - - It is less efficient than using key. Only one of offset or key - should - + + It is less efficient than using key. Only one of offset or key should + be set. + in: query required: false type: string format: uint64 - name: pagination.limit description: >- - limit is the total number of results to be returned in the result - page. - + limit is the total number of results to be returned in the result page. + If left empty it will default to a value to be set by each app. + in: query required: false type: string format: uint64 - name: pagination.count_total description: >- - count_total is set to true to indicate that the result set should - include - - a count of the total number of items available for pagination in - UIs. - - count_total is only respected when offset is used. It is ignored - when key - + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + is set. + in: query required: false type: boolean - name: pagination.reverse description: >- - reverse is set to true if results are to be returned in the - descending order. + reverse is set to true if results are to be returned in the descending order. + in: query required: false type: boolean @@ -38374,7 +35083,7 @@ paths: summary: VotesByVoter queries a vote by voter. operationId: VotesByVoter responses: - '200': + "200": description: A successful response. schema: type: object @@ -38405,16 +35114,15 @@ paths: type: string title: >- metadata is any arbitrary metadata attached to the vote. + + the recommended format of the metadata is to be found here: https://docs.cosmos.network/v0.47/modules/group#vote-2 - the recommended format of the metadata is to be found - here: - https://docs.cosmos.network/v0.47/modules/group#vote-2 submit_time: type: string format: date-time description: >- - submit_time is the timestamp when the vote was - submitted. + submit_time is the timestamp when the vote was submitted. + title: Vote represents a vote for a proposal.string metadata description: votes are the list of votes by given voter. pagination: @@ -38432,10 +35140,10 @@ paths: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise + description: QueryVotesByVoterResponse is the Query/VotesByVoter response type. default: description: An unexpected error response. @@ -38452,81 +35160,66 @@ paths: items: type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - + `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. - - + + + 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); @@ -38534,9 +35227,9 @@ paths: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -38547,9 +35240,9 @@ paths: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -38557,9 +35250,9 @@ paths: 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 { @@ -38570,61 +35263,53 @@ paths: 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 - + + 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: - + + 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` - + + 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" } + parameters: - name: voter description: voter is a proposal voter account address. @@ -38643,44 +35328,42 @@ paths: - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. - - It is less efficient than using key. Only one of offset or key - should - + + It is less efficient than using key. Only one of offset or key should + be set. + in: query required: false type: string format: uint64 - name: pagination.limit description: >- - limit is the total number of results to be returned in the result - page. - + limit is the total number of results to be returned in the result page. + If left empty it will default to a value to be set by each app. + in: query required: false type: string format: uint64 - name: pagination.count_total description: >- - count_total is set to true to indicate that the result set should - include - - a count of the total number of items available for pagination in - UIs. - - count_total is only respected when offset is used. It is ignored - when key - + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + is set. + in: query required: false type: boolean - name: pagination.reverse description: >- - reverse is set to true if results are to be returned in the - descending order. + reverse is set to true if results are to be returned in the descending order. + in: query required: false type: boolean @@ -38691,7 +35374,7 @@ paths: summary: Account returns account permissions. operationId: CircuitAccounts responses: - '200': + "200": description: A successful response. schema: type: object @@ -38708,8 +35391,8 @@ paths: properties: level: description: >- - level is the level of permissions granted to this - account. + level is the level of permissions granted to this account. + type: string enum: - LEVEL_NONE_UNSPECIFIED @@ -38722,21 +35405,20 @@ paths: items: type: string description: >- - limit_type_urls is used with LEVEL_SOME_MSGS to - limit the lists of Msg type - - URLs that the account can trip. It is an error to - use limit_type_urls with - + limit_type_urls is used with LEVEL_SOME_MSGS to limit the lists of Msg type + + URLs that the account can trip. It is an error to use limit_type_urls with + a level other than LEVEL_SOME_MSGS. - description: >- - Permissions are the permissions that an account has to - trip + description: >- + Permissions are the permissions that an account has to trip + or reset the circuit breaker. + title: >- - GenesisAccountPermissions is the account permissions for the - circuit breaker in genesis + GenesisAccountPermissions is the account permissions for the circuit breaker in genesis + pagination: description: pagination defines the pagination in the response. type: object @@ -38752,13 +35434,13 @@ paths: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise + description: >- - AccountsResponse is the response type for the Query/Accounts RPC - method. + AccountsResponse is the response type for the Query/Accounts RPC method. + default: description: An unexpected error response. schema: @@ -38774,7 +35456,7 @@ paths: items: type: object properties: - '@type': + "@type": type: string additionalProperties: {} parameters: @@ -38790,44 +35472,42 @@ paths: - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. - - It is less efficient than using key. Only one of offset or key - should - + + It is less efficient than using key. Only one of offset or key should + be set. + in: query required: false type: string format: uint64 - name: pagination.limit description: >- - limit is the total number of results to be returned in the result - page. - + limit is the total number of results to be returned in the result page. + If left empty it will default to a value to be set by each app. + in: query required: false type: string format: uint64 - name: pagination.count_total description: >- - count_total is set to true to indicate that the result set should - include - - a count of the total number of items available for pagination in - UIs. - - count_total is only respected when offset is used. It is ignored - when key - + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + is set. + in: query required: false type: boolean - name: pagination.reverse description: >- - reverse is set to true if results are to be returned in the - descending order. + reverse is set to true if results are to be returned in the descending order. + in: query required: false type: boolean @@ -38838,7 +35518,7 @@ paths: summary: Account returns account permissions. operationId: CircuitAccount responses: - '200': + "200": description: A successful response. schema: type: object @@ -38860,19 +35540,18 @@ paths: items: type: string description: >- - limit_type_urls is used with LEVEL_SOME_MSGS to limit the - lists of Msg type - - URLs that the account can trip. It is an error to use - limit_type_urls with - + limit_type_urls is used with LEVEL_SOME_MSGS to limit the lists of Msg type + + URLs that the account can trip. It is an error to use limit_type_urls with + a level other than LEVEL_SOME_MSGS. + description: |- Permissions are the permissions that an account has to trip or reset the circuit breaker. description: >- - AccountResponse is the response type for the Query/Account RPC - method. + AccountResponse is the response type for the Query/Account RPC method. + default: description: An unexpected error response. schema: @@ -38888,7 +35567,7 @@ paths: items: type: object properties: - '@type': + "@type": type: string additionalProperties: {} parameters: @@ -38903,7 +35582,7 @@ paths: summary: DisabledList returns a list of disabled message urls operationId: DisabledList responses: - '200': + "200": description: A successful response. schema: type: object @@ -38913,8 +35592,8 @@ paths: items: type: string description: >- - DisabledListResponse is the response type for the - Query/DisabledList RPC method. + DisabledListResponse is the response type for the Query/DisabledList RPC method. + default: description: An unexpected error response. schema: @@ -38930,30 +35609,29 @@ paths: items: type: object properties: - '@type': + "@type": type: string additionalProperties: {} tags: - Query /cosmos/consensus/v1/params: get: - summary: Params queries the parameters of x/consensus module. + summary: Params queries the parameters of x/comet module. operationId: ConsensusParams responses: - '200': + "200": description: A successful response. schema: type: object properties: params: description: >- - params are the tendermint consensus params stored in the - consensus module. - - Please note that `params.version` is not populated in this - response, it is - + params are the tendermint consensus params stored in the consensus module. + + Please note that `params.version` is not populated in this response, it is + tracked separately in the x/upgrade module. + type: object properties: block: @@ -38964,26 +35642,24 @@ paths: format: int64 description: >- Maximum size of a block, in bytes. - - - Must be greater or equal to -1 and cannot be greater - than the hard-coded - + + + Must be greater or equal to -1 and cannot be greater than the hard-coded + maximum block size, which is 100MB. + + + If set to -1, the limit is the hard-coded maximum block size. - - If set to -1, the limit is the hard-coded maximum - block size. max_gas: type: string format: int64 description: >- - Maximum gas wanted by transactions included in a - block. + Maximum gas wanted by transactions included in a block. + + + Must be greater or equal to -1. If set to -1, no limit is enforced. - - Must be greater or equal to -1. If set to -1, no limit - is enforced. description: BlockParams define limits on the block size and gas. evidence: type: object @@ -38993,41 +35669,38 @@ paths: format: int64 description: >- Maximum age of evidence, in blocks. - - - The recommended formula for calculating it is - max_age_duration / {average - + + + The recommended formula for calculating it is max_age_duration / {average + block time}. + max_age_duration: type: string description: >- Maximum age of evidence, in time. - - - The recommended value of is should correspond to the - application's - - "unbonding period" or other similar mechanism for - handling - + + + The recommended value of is should correspond to the application's + + "unbonding period" or other similar mechanism for handling + Nothing-At-Stake attacks. + + See: https://github.com/ethereum/wiki/wiki/Proof-of-Stake-FAQ#what-is-the-nothing-at-stake-problem-and-how-can-it-be-fixed. - See: - https://github.com/ethereum/wiki/wiki/Proof-of-Stake-FAQ#what-is-the-nothing-at-stake-problem-and-how-can-it-be-fixed. max_bytes: type: string format: int64 description: >- - Maximum size in bytes of evidence allowed to be - included in a block. + Maximum size in bytes of evidence allowed to be included in a block. + + + It should fall comfortably under the maximum size of a block. - - It should fall comfortably under the maximum size of a - block. description: >- - EvidenceParams determine the validity of evidences of - Byzantine behavior. + EvidenceParams determine the validity of evidences of Byzantine behavior. + validator: type: object properties: @@ -39036,11 +35709,11 @@ paths: items: type: string description: >- - ValidatorParams restrict the public key types validators - can use. - - + ValidatorParams restrict the public key types validators can use. + + NOTE: uses ABCI public keys naming, not Amino names. + version: type: object properties: @@ -39052,8 +35725,8 @@ paths: It was named app_version in CometBFT 0.34. description: >- - VersionParams contain the version of specific components - of CometBFT. + VersionParams contain the version of specific components of CometBFT. + abci: title: Use FeatureParams.vote_extensions_enable_height instead type: object @@ -39063,41 +35736,38 @@ paths: format: int64 description: >- vote_extensions_enable_height has been deprecated. + + Instead, use FeatureParams.vote_extensions_enable_height. - Instead, use - FeatureParams.vote_extensions_enable_height. synchrony: type: object properties: precision: type: string description: >- - Bound for how skewed a proposer's clock may be from - any validator on the - + Bound for how skewed a proposer's clock may be from any validator on the + network while still producing valid proposals. + message_delay: type: string description: >- - Bound for how long a proposal message may take to - reach all validators on - + Bound for how long a proposal message may take to reach all validators on + a network and still be considered valid. - description: >- - SynchronyParams determine the validity of block - timestamps. - - - These parameters are part of the Proposer-Based Timestamps - (PBTS) algorithm. - - For more information on the relationship of the synchrony - parameters to - - block timestamps validity, refer to the PBTS - specification: + description: >- + SynchronyParams determine the validity of block timestamps. + + + These parameters are part of the Proposer-Based Timestamps (PBTS) algorithm. + + For more information on the relationship of the synchrony parameters to + + block timestamps validity, refer to the PBTS specification: + https://github.com/tendermint/spec/blob/master/spec/consensus/proposer-based-timestamp/README.md + feature: type: object properties: @@ -39105,63 +35775,51 @@ paths: type: string format: int64 description: >- - First height during which vote extensions will be - enabled. - - - During the specified height, and for all subsequent - heights, precommit - - messages that do not contain valid extension data will - be considered - - invalid. Prior to this height, or when this height is - set to 0, vote - - extensions will not be used or accepted by validators - on the network. - - - Once enabled, vote extensions will be created by the - application in - - ExtendVote, validated by the application in - VerifyVoteExtension, and - - used by the application in PrepareProposal, when - proposing the next block. - + First height during which vote extensions will be enabled. + + + During the specified height, and for all subsequent heights, precommit + + messages that do not contain valid extension data will be considered + + invalid. Prior to this height, or when this height is set to 0, vote + + extensions will not be used or accepted by validators on the network. + + + Once enabled, vote extensions will be created by the application in + + ExtendVote, validated by the application in VerifyVoteExtension, and + + used by the application in PrepareProposal, when proposing the next block. + + + Cannot be set to heights lower or equal to the current blockchain height. - Cannot be set to heights lower or equal to the current - blockchain height. pbts_enable_height: type: string format: int64 description: >- - Height at which Proposer-Based Timestamps (PBTS) will - be enabled. - - - From the specified height, and for all subsequent - heights, the PBTS - - algorithm will be used to produce and validate block - timestamps. Prior to - - this height, or when this height is set to 0, the - legacy BFT Time - + Height at which Proposer-Based Timestamps (PBTS) will be enabled. + + + From the specified height, and for all subsequent heights, the PBTS + + algorithm will be used to produce and validate block timestamps. Prior to + + this height, or when this height is set to 0, the legacy BFT Time + algorithm is used to produce and validate timestamps. + + + Cannot be set to heights lower or equal to the current blockchain height. - - Cannot be set to heights lower or equal to the current - blockchain height. description: >- - FeatureParams configure the height from which features of - CometBFT are enabled. + FeatureParams configure the height from which features of CometBFT are enabled. + description: >- - QueryParamsResponse defines the response type for querying - x/consensus parameters. + QueryParamsResponse defines the response type for querying x/comet parameters. + default: description: An unexpected error response. schema: @@ -39177,7 +35835,7 @@ paths: items: type: object properties: - '@type': + "@type": type: string additionalProperties: {} tags: @@ -39189,8 +35847,8 @@ definitions: address_string: type: string description: >- - AddressBytesToStringResponse is the response type for AddressString rpc - method. + AddressBytesToStringResponse is the response type for AddressString rpc method. + cosmos.auth.v1beta1.AddressStringToBytesResponse: type: object properties: @@ -39198,8 +35856,8 @@ definitions: type: string format: byte description: >- - AddressStringToBytesResponse is the response type for AddressBytes rpc - method. + AddressStringToBytesResponse is the response type for AddressBytes rpc method. + cosmos.auth.v1beta1.BaseAccount: type: object properties: @@ -39208,39 +35866,33 @@ definitions: pub_key: type: object properties: - '@type': + "@type": type: string description: >- - A URL/resource name that uniquely identifies the type of the - serialized - + 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 - + + 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 - + + `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 - + + + 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 @@ -39248,34 +35900,32 @@ definitions: 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 - + + 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. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer message along - with a - + `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 - + + + 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); @@ -39283,9 +35933,9 @@ definitions: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -39296,9 +35946,9 @@ definitions: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -39306,9 +35956,9 @@ definitions: 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 { @@ -39319,52 +35969,53 @@ definitions: 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" } + account_number: type: string format: uint64 @@ -39372,13 +36023,12 @@ definitions: type: string format: uint64 description: >- - BaseAccount defines a base account type. It contains all the necessary - fields - - for basic account functionality. Any custom account type should extend - this - + BaseAccount defines a base account type. It contains all the necessary fields + + for basic account functionality. Any custom account type should extend this + type for additional functionality (e.g. vesting). + cosmos.auth.v1beta1.Bech32PrefixResponse: type: object properties: @@ -39410,8 +36060,8 @@ definitions: account_address: type: string title: >- - QueryAccountAddressByIDResponse is the response type for - AccountAddressByID rpc method + QueryAccountAddressByIDResponse is the response type for AccountAddressByID rpc method + cosmos.auth.v1beta1.QueryAccountInfoResponse: type: object properties: @@ -39424,78 +36074,66 @@ definitions: pub_key: type: object properties: - '@type': + "@type": type: string description: >- - A URL/resource name that uniquely identifies the type of the - serialized - + 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 - + + 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 - + + `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 - + + + 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer message - along with a - + `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. - - + + + 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); @@ -39503,9 +36141,9 @@ definitions: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -39516,9 +36154,9 @@ definitions: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -39526,9 +36164,9 @@ definitions: 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 { @@ -39539,54 +36177,53 @@ definitions: 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 - + + '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 - + + 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" } + account_number: type: string format: uint64 @@ -39600,39 +36237,33 @@ definitions: account: type: object properties: - '@type': + "@type": type: string description: >- - A URL/resource name that uniquely identifies the type of the - serialized - + 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 - + + 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 - + + `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 - + + + 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 @@ -39640,34 +36271,32 @@ definitions: 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 - + + 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. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer message along - with a - + `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 - + + + 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); @@ -39675,9 +36304,9 @@ definitions: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -39688,9 +36317,9 @@ definitions: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -39698,9 +36327,9 @@ definitions: 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 { @@ -39711,55 +36340,56 @@ definitions: 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" } + description: >- - QueryAccountResponse is the response type for the Query/Account RPC - method. + QueryAccountResponse is the response type for the Query/Account RPC method. + cosmos.auth.v1beta1.QueryAccountsResponse: type: object properties: @@ -39768,39 +36398,33 @@ definitions: items: type: object properties: - '@type': + "@type": type: string description: >- - A URL/resource name that uniquely identifies the type of the - serialized - + 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 - + + 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 - + + `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 - + + + 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 @@ -39808,37 +36432,32 @@ definitions: 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer message along - with a - + `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. - - + + + 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); @@ -39846,9 +36465,9 @@ definitions: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -39859,9 +36478,9 @@ definitions: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -39869,9 +36488,9 @@ definitions: 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 { @@ -39882,52 +36501,53 @@ definitions: 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" } + title: accounts are the existing accounts pagination: description: pagination defines the pagination in the response. @@ -39944,52 +36564,46 @@ definitions: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise + description: >- - QueryAccountsResponse is the response type for the Query/Accounts RPC - method. + QueryAccountsResponse is the response type for the Query/Accounts RPC method. + cosmos.auth.v1beta1.QueryModuleAccountByNameResponse: type: object properties: account: type: object properties: - '@type': + "@type": type: string description: >- - A URL/resource name that uniquely identifies the type of the - serialized - + 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 - + + 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 - + + `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 - + + + 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 @@ -39997,34 +36611,32 @@ definitions: 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 - + + 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. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer message along - with a - + `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 - + + + 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); @@ -40032,9 +36644,9 @@ definitions: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -40045,9 +36657,9 @@ definitions: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -40055,9 +36667,9 @@ definitions: 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 { @@ -40068,55 +36680,56 @@ definitions: 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" } + description: >- - QueryModuleAccountByNameResponse is the response type for the - Query/ModuleAccountByName RPC method. + QueryModuleAccountByNameResponse is the response type for the Query/ModuleAccountByName RPC method. + cosmos.auth.v1beta1.QueryModuleAccountsResponse: type: object properties: @@ -40125,39 +36738,33 @@ definitions: items: type: object properties: - '@type': + "@type": type: string description: >- - A URL/resource name that uniquely identifies the type of the - serialized - + 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 - + + 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 - + + `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 - + + + 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 @@ -40165,37 +36772,32 @@ definitions: 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer message along - with a - + `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. - - + + + 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); @@ -40203,9 +36805,9 @@ definitions: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -40216,9 +36818,9 @@ definitions: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -40226,9 +36828,9 @@ definitions: 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 { @@ -40239,55 +36841,56 @@ definitions: 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" } + description: >- - QueryModuleAccountsResponse is the response type for the - Query/ModuleAccounts RPC method. + QueryModuleAccountsResponse is the response type for the Query/ModuleAccounts RPC method. + cosmos.auth.v1beta1.QueryParamsResponse: type: object properties: @@ -40332,27 +36935,26 @@ definitions: type: string format: uint64 description: >- - limit is the total number of results to be returned in the result - page. - + limit is the total number of results to be returned in the result page. + If left empty it will default to a value to be set by each app. + count_total: type: boolean description: >- - count_total is set to true to indicate that the result set should - include - + count_total is set to true to indicate that the result set should include + a count of the total number of items available for pagination in UIs. - - count_total is only respected when offset is used. It is ignored when - key - + + count_total is only respected when offset is used. It is ignored when key + is set. + reverse: type: boolean description: >- - reverse is set to true if results are to be returned in the descending - order. + reverse is set to true if results are to be returned in the descending order. + description: |- message SomeRequest { Foo some_parameter = 1; @@ -40388,37 +36990,33 @@ definitions: google.protobuf.Any: type: object properties: - '@type': + "@type": type: string description: >- - A URL/resource name that uniquely identifies the type of the - serialized - + 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 - + + `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 - + + + 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 @@ -40426,32 +37024,32 @@ definitions: 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. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer message along with - a - + `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); @@ -40459,9 +37057,9 @@ definitions: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -40472,9 +37070,9 @@ definitions: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -40482,9 +37080,9 @@ definitions: 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 { @@ -40495,52 +37093,53 @@ definitions: 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" } + google.rpc.Status: type: object properties: @@ -40554,39 +37153,33 @@ definitions: items: type: object properties: - '@type': + "@type": type: string description: >- - A URL/resource name that uniquely identifies the type of the - serialized - + 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 - + + 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 - + + `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 - + + + 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 @@ -40594,37 +37187,32 @@ definitions: 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer message along - with a - + `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. - - + + + 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); @@ -40632,9 +37220,9 @@ definitions: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -40645,9 +37233,9 @@ definitions: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -40655,9 +37243,9 @@ definitions: 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 { @@ -40668,52 +37256,53 @@ definitions: 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" } + cosmos.bank.v1beta1.DenomOwner: type: object properties: @@ -40743,15 +37332,15 @@ definitions: format: int64 description: >- exponent represents power of 10 exponent that one must - + raise the base_denom to in order to equal the given DenomUnit's denom - + 1 denom = 10^exponent base_denom - - (e.g. with a base_denom of uatom, one can create a DenomUnit of 'atom' - with - + + (e.g. with a base_denom of uatom, one can create a DenomUnit of 'atom' with + exponent = 6, thus: 1 atom = 10^6 uatom). + aliases: type: array items: @@ -40773,23 +37362,22 @@ definitions: denom: type: string description: >- - denom represents the string name of the given denom unit (e.g - uatom). + denom represents the string name of the given denom unit (e.g uatom). + exponent: type: integer format: int64 description: >- exponent represents power of 10 exponent that one must - - raise the base_denom to in order to equal the given DenomUnit's - denom - + + raise the base_denom to in order to equal the given DenomUnit's denom + 1 denom = 10^exponent base_denom - - (e.g. with a base_denom of uatom, one can create a DenomUnit of - 'atom' with - + + (e.g. with a base_denom of uatom, one can create a DenomUnit of 'atom' with + exponent = 6, thus: 1 atom = 10^6 uatom). + aliases: type: array items: @@ -40802,8 +37390,8 @@ definitions: base: type: string description: >- - base represents the base denom (should be the DenomUnit with exponent - = 0). + base represents the base denom (should be the DenomUnit with exponent = 0). + display: type: string description: |- @@ -40811,26 +37399,26 @@ definitions: displayed in clients. name: type: string - title: 'name defines the name of the token (eg: Cosmos Atom)' + title: "name defines the name of the token (eg: Cosmos Atom)" symbol: type: string description: >- - symbol is the token symbol usually shown on exchanges (eg: ATOM). This - can - + symbol is the token symbol usually shown on exchanges (eg: ATOM). This can + be the same as the display. + uri: type: string description: >- - URI to a document (on or off-chain) that contains additional - information. Optional. + URI to a document (on or off-chain) that contains additional information. Optional. + uri_hash: type: string description: >- - URIHash is a sha256 hash of a document pointed by URI. It's used to - verify that - + URIHash is a sha256 hash of a document pointed by URI. It's used to verify that + the document didn't change. Optional. + description: |- Metadata represents a struct that describes a basic token. @@ -40847,22 +37435,20 @@ definitions: enabled: type: boolean description: >- - SendEnabled maps coin denom to a send_enabled status (whether a - denom is - + SendEnabled maps coin denom to a send_enabled status (whether a denom is + sendable). + description: >- Deprecated: Use of SendEnabled in params is deprecated. + + For genesis, use the newly added send_enabled field in the genesis object. + + Storage, lookup, and manipulation of this information is now in the keeper. + + + As of cosmos-sdk 0.47, this only exists for backwards compatibility of genesis files. - For genesis, use the newly added send_enabled field in the genesis - object. - - Storage, lookup, and manipulation of this information is now in the - keeper. - - - As of cosmos-sdk 0.47, this only exists for backwards compatibility of - genesis files. default_send_enabled: type: boolean description: Params defines the parameters for the bank module. @@ -40899,15 +37485,15 @@ definitions: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise - description: >- - QueryAllBalancesResponse is the response type for the Query/AllBalances - RPC + description: >- + QueryAllBalancesResponse is the response type for the Query/AllBalances RPC + method. + cosmos.bank.v1beta1.QueryBalanceResponse: type: object properties: @@ -40920,15 +37506,15 @@ definitions: amount: type: string description: >- - QueryBalanceResponse is the response type for the Query/Balance RPC - method. + QueryBalanceResponse is the response type for the Query/Balance RPC method. + cosmos.bank.v1beta1.QueryDenomMetadataByQueryStringResponse: type: object properties: metadata: description: >- - metadata describes and provides all the client information for the - requested token. + metadata describes and provides all the client information for the requested token. + type: object properties: description: @@ -40941,23 +37527,22 @@ definitions: denom: type: string description: >- - denom represents the string name of the given denom unit - (e.g uatom). + denom represents the string name of the given denom unit (e.g uatom). + exponent: type: integer format: int64 description: >- exponent represents power of 10 exponent that one must - - raise the base_denom to in order to equal the given - DenomUnit's denom - + + raise the base_denom to in order to equal the given DenomUnit's denom + 1 denom = 10^exponent base_denom - - (e.g. with a base_denom of uatom, one can create a DenomUnit - of 'atom' with - + + (e.g. with a base_denom of uatom, one can create a DenomUnit of 'atom' with + exponent = 6, thus: 1 atom = 10^6 uatom). + aliases: type: array items: @@ -40970,8 +37555,8 @@ definitions: base: type: string description: >- - base represents the base denom (should be the DenomUnit with - exponent = 0). + base represents the base denom (should be the DenomUnit with exponent = 0). + display: type: string description: |- @@ -40979,39 +37564,38 @@ definitions: displayed in clients. name: type: string - title: 'name defines the name of the token (eg: Cosmos Atom)' + title: "name defines the name of the token (eg: Cosmos Atom)" symbol: type: string description: >- - symbol is the token symbol usually shown on exchanges (eg: ATOM). - This can - + symbol is the token symbol usually shown on exchanges (eg: ATOM). This can + be the same as the display. + uri: type: string description: >- - URI to a document (on or off-chain) that contains additional - information. Optional. + URI to a document (on or off-chain) that contains additional information. Optional. + uri_hash: type: string description: >- - URIHash is a sha256 hash of a document pointed by URI. It's used - to verify that - + URIHash is a sha256 hash of a document pointed by URI. It's used to verify that + the document didn't change. Optional. + description: >- - QueryDenomMetadataByQueryStringResponse is the response type for the - Query/DenomMetadata RPC + QueryDenomMetadataByQueryStringResponse is the response type for the Query/DenomMetadata RPC + + method. Identical with QueryDenomMetadataResponse but receives denom as query string in request. - method. Identical with QueryDenomMetadataResponse but receives denom as - query string in request. cosmos.bank.v1beta1.QueryDenomMetadataResponse: type: object properties: metadata: description: >- - metadata describes and provides all the client information for the - requested token. + metadata describes and provides all the client information for the requested token. + type: object properties: description: @@ -41024,23 +37608,22 @@ definitions: denom: type: string description: >- - denom represents the string name of the given denom unit - (e.g uatom). + denom represents the string name of the given denom unit (e.g uatom). + exponent: type: integer format: int64 description: >- exponent represents power of 10 exponent that one must - - raise the base_denom to in order to equal the given - DenomUnit's denom - + + raise the base_denom to in order to equal the given DenomUnit's denom + 1 denom = 10^exponent base_denom - - (e.g. with a base_denom of uatom, one can create a DenomUnit - of 'atom' with - + + (e.g. with a base_denom of uatom, one can create a DenomUnit of 'atom' with + exponent = 6, thus: 1 atom = 10^6 uatom). + aliases: type: array items: @@ -41053,8 +37636,8 @@ definitions: base: type: string description: >- - base represents the base denom (should be the DenomUnit with - exponent = 0). + base represents the base denom (should be the DenomUnit with exponent = 0). + display: type: string description: |- @@ -41062,31 +37645,31 @@ definitions: displayed in clients. name: type: string - title: 'name defines the name of the token (eg: Cosmos Atom)' + title: "name defines the name of the token (eg: Cosmos Atom)" symbol: type: string description: >- - symbol is the token symbol usually shown on exchanges (eg: ATOM). - This can - + symbol is the token symbol usually shown on exchanges (eg: ATOM). This can + be the same as the display. + uri: type: string description: >- - URI to a document (on or off-chain) that contains additional - information. Optional. + URI to a document (on or off-chain) that contains additional information. Optional. + uri_hash: type: string description: >- - URIHash is a sha256 hash of a document pointed by URI. It's used - to verify that - + URIHash is a sha256 hash of a document pointed by URI. It's used to verify that + the document didn't change. Optional. - description: >- - QueryDenomMetadataResponse is the response type for the - Query/DenomMetadata RPC + description: >- + QueryDenomMetadataResponse is the response type for the Query/DenomMetadata RPC + method. + cosmos.bank.v1beta1.QueryDenomOwnersByQueryResponse: type: object properties: @@ -41107,13 +37690,12 @@ definitions: amount: type: string description: >- - DenomOwner defines structure representing an account that owns or - holds a - - particular denominated token. It contains the account address and - account - + DenomOwner defines structure representing an account that owns or holds a + + particular denominated token. It contains the account address and account + balance of the denominated token. + pagination: description: pagination defines the pagination in the response. type: object @@ -41129,13 +37711,13 @@ definitions: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise + description: >- - QueryDenomOwnersByQueryResponse defines the RPC response of a - DenomOwnersByQuery RPC query. + QueryDenomOwnersByQueryResponse defines the RPC response of a DenomOwnersByQuery RPC query. + cosmos.bank.v1beta1.QueryDenomOwnersResponse: type: object properties: @@ -41156,13 +37738,12 @@ definitions: amount: type: string description: >- - DenomOwner defines structure representing an account that owns or - holds a - - particular denominated token. It contains the account address and - account - + DenomOwner defines structure representing an account that owns or holds a + + particular denominated token. It contains the account address and account + balance of the denominated token. + pagination: description: pagination defines the pagination in the response. type: object @@ -41178,13 +37759,13 @@ definitions: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise + description: >- - QueryDenomOwnersResponse defines the RPC response of a DenomOwners RPC - query. + QueryDenomOwnersResponse defines the RPC response of a DenomOwners RPC query. + cosmos.bank.v1beta1.QueryDenomsMetadataResponse: type: object properties: @@ -41203,23 +37784,22 @@ definitions: denom: type: string description: >- - denom represents the string name of the given denom unit - (e.g uatom). + denom represents the string name of the given denom unit (e.g uatom). + exponent: type: integer format: int64 description: >- exponent represents power of 10 exponent that one must - - raise the base_denom to in order to equal the given - DenomUnit's denom - + + raise the base_denom to in order to equal the given DenomUnit's denom + 1 denom = 10^exponent base_denom - - (e.g. with a base_denom of uatom, one can create a - DenomUnit of 'atom' with - + + (e.g. with a base_denom of uatom, one can create a DenomUnit of 'atom' with + exponent = 6, thus: 1 atom = 10^6 uatom). + aliases: type: array items: @@ -41232,8 +37812,8 @@ definitions: base: type: string description: >- - base represents the base denom (should be the DenomUnit with - exponent = 0). + base represents the base denom (should be the DenomUnit with exponent = 0). + display: type: string description: |- @@ -41241,32 +37821,32 @@ definitions: displayed in clients. name: type: string - title: 'name defines the name of the token (eg: Cosmos Atom)' + title: "name defines the name of the token (eg: Cosmos Atom)" symbol: type: string description: >- - symbol is the token symbol usually shown on exchanges (eg: - ATOM). This can - + symbol is the token symbol usually shown on exchanges (eg: ATOM). This can + be the same as the display. + uri: type: string description: >- - URI to a document (on or off-chain) that contains additional - information. Optional. + URI to a document (on or off-chain) that contains additional information. Optional. + uri_hash: type: string description: >- - URIHash is a sha256 hash of a document pointed by URI. It's used - to verify that - + URIHash is a sha256 hash of a document pointed by URI. It's used to verify that + the document didn't change. Optional. + description: |- Metadata represents a struct that describes a basic token. description: >- - metadata provides the client information for all the registered - tokens. + metadata provides the client information for all the registered tokens. + pagination: description: pagination defines the pagination in the response. type: object @@ -41282,15 +37862,15 @@ definitions: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise - description: >- - QueryDenomsMetadataResponse is the response type for the - Query/DenomsMetadata RPC + description: >- + QueryDenomsMetadataResponse is the response type for the Query/DenomsMetadata RPC + method. + cosmos.bank.v1beta1.QueryParamsResponse: type: object properties: @@ -41308,27 +37888,25 @@ definitions: enabled: type: boolean description: >- - SendEnabled maps coin denom to a send_enabled status (whether a - denom is - + SendEnabled maps coin denom to a send_enabled status (whether a denom is + sendable). + description: >- Deprecated: Use of SendEnabled in params is deprecated. + + For genesis, use the newly added send_enabled field in the genesis object. + + Storage, lookup, and manipulation of this information is now in the keeper. + + + As of cosmos-sdk 0.47, this only exists for backwards compatibility of genesis files. - For genesis, use the newly added send_enabled field in the genesis - object. - - Storage, lookup, and manipulation of this information is now in - the keeper. - - - As of cosmos-sdk 0.47, this only exists for backwards - compatibility of genesis files. default_send_enabled: type: boolean description: >- - QueryParamsResponse defines the response type for querying x/bank - parameters. + QueryParamsResponse defines the response type for querying x/bank parameters. + cosmos.bank.v1beta1.QuerySendEnabledResponse: type: object properties: @@ -41342,10 +37920,10 @@ definitions: enabled: type: boolean description: >- - SendEnabled maps coin denom to a send_enabled status (whether a - denom is - + SendEnabled maps coin denom to a send_enabled status (whether a denom is + sendable). + pagination: description: |- pagination defines the pagination in the response. This field is only @@ -41363,10 +37941,10 @@ definitions: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise + description: QuerySendEnabledResponse defines the RPC response of a SendEnable query. cosmos.bank.v1beta1.QuerySpendableBalanceByDenomResponse: type: object @@ -41380,10 +37958,10 @@ definitions: amount: type: string description: >- - QuerySpendableBalanceByDenomResponse defines the gRPC response structure - for - + QuerySpendableBalanceByDenomResponse defines the gRPC response structure for + querying an account's spendable balance for a specific denom. + cosmos.bank.v1beta1.QuerySpendableBalancesResponse: type: object properties: @@ -41417,15 +37995,15 @@ definitions: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise - description: >- - QuerySpendableBalancesResponse defines the gRPC response structure for - querying + description: >- + QuerySpendableBalancesResponse defines the gRPC response structure for querying + an account's spendable balances. + cosmos.bank.v1beta1.QuerySupplyOfResponse: type: object properties: @@ -41438,8 +38016,8 @@ definitions: amount: type: string description: >- - QuerySupplyOfResponse is the response type for the Query/SupplyOf RPC - method. + QuerySupplyOfResponse is the response type for the Query/SupplyOf RPC method. + cosmos.bank.v1beta1.QueryTotalSupplyResponse: type: object properties: @@ -41473,15 +38051,15 @@ definitions: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise - title: >- - QueryTotalSupplyResponse is the response type for the Query/TotalSupply - RPC + title: >- + QueryTotalSupplyResponse is the response type for the Query/TotalSupply RPC + method + cosmos.bank.v1beta1.SendEnabled: type: object properties: @@ -41588,10 +38166,10 @@ definitions: type: string description: DefaultNodeInfoOther is the misc. application specific data. description: >- - DefaultNodeInfo is a basic node's information sent to other peers during - the - + DefaultNodeInfo is a basic node's information sent to other peers during the + p2p handshake. + cometbft.p2p.v1.DefaultNodeInfoOther: type: object properties: @@ -41630,13 +38208,12 @@ definitions: type: string format: uint64 description: >- - Consensus captures the consensus rules for processing a block in - the blockchain, - - including all blockchain data structures and the rules of the - application's - + Consensus captures the consensus rules for processing a block in the blockchain, + + including all blockchain data structures and the rules of the application's + state transition machine. + chain_id: type: string height: @@ -41662,8 +38239,8 @@ definitions: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block as its hash and its - `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + title: prev block info last_commit_hash: type: string @@ -41715,11 +38292,11 @@ definitions: format: byte description: >- Txs that will be applied by state @ block.Height+1. - - NOTE: not all txs here are valid. We're just agreeing on the - order first. - + + NOTE: not all txs here are valid. We're just agreeing on the order first. + This means that block.AppHash does not include these txs. + title: Data contains the set of transactions included in the block evidence: type: object @@ -41744,13 +38321,13 @@ definitions: - SIGNED_MSG_TYPE_PROPOSAL default: SIGNED_MSG_TYPE_UNKNOWN description: >- - SignedMsgType is a type of signed message in the - consensus. - + SignedMsgType is a type of signed message in the consensus. + - SIGNED_MSG_TYPE_UNKNOWN: Unknown - SIGNED_MSG_TYPE_PREVOTE: Prevote - SIGNED_MSG_TYPE_PRECOMMIT: Precommit - SIGNED_MSG_TYPE_PROPOSAL: Proposal + height: type: string format: int64 @@ -41774,8 +38351,8 @@ definitions: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block as its hash - and its `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + timestamp: type: string format: date-time @@ -41789,33 +38366,33 @@ definitions: type: string format: byte description: >- - Vote signature by the validator if they participated - in consensus for the - + Vote signature by the validator if they participated in consensus for the + associated block. + extension: type: string format: byte description: >- - Vote extension provided by the application. Only - valid for precommit - + Vote extension provided by the application. Only valid for precommit + messages. + extension_signature: type: string format: byte description: >- - Vote extension signature by the validator if they - participated in - + Vote extension signature by the validator if they participated in + consensus for the associated block. - + Only valid for precommit messages. - description: >- - Vote represents a prevote or precommit vote from - validators for + description: >- + Vote represents a prevote or precommit vote from validators for + consensus. + vote_b: type: object properties: @@ -41828,13 +38405,13 @@ definitions: - SIGNED_MSG_TYPE_PROPOSAL default: SIGNED_MSG_TYPE_UNKNOWN description: >- - SignedMsgType is a type of signed message in the - consensus. - + SignedMsgType is a type of signed message in the consensus. + - SIGNED_MSG_TYPE_UNKNOWN: Unknown - SIGNED_MSG_TYPE_PREVOTE: Prevote - SIGNED_MSG_TYPE_PRECOMMIT: Precommit - SIGNED_MSG_TYPE_PROPOSAL: Proposal + height: type: string format: int64 @@ -41858,8 +38435,8 @@ definitions: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block as its hash - and its `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + timestamp: type: string format: date-time @@ -41873,33 +38450,33 @@ definitions: type: string format: byte description: >- - Vote signature by the validator if they participated - in consensus for the - + Vote signature by the validator if they participated in consensus for the + associated block. + extension: type: string format: byte description: >- - Vote extension provided by the application. Only - valid for precommit - + Vote extension provided by the application. Only valid for precommit + messages. + extension_signature: type: string format: byte description: >- - Vote extension signature by the validator if they - participated in - + Vote extension signature by the validator if they participated in + consensus for the associated block. - + Only valid for precommit messages. - description: >- - Vote represents a prevote or precommit vote from - validators for + description: >- + Vote represents a prevote or precommit vote from validators for + consensus. + total_voting_power: type: string format: int64 @@ -41910,8 +38487,8 @@ definitions: type: string format: date-time description: >- - DuplicateVoteEvidence contains evidence of a validator - signed two conflicting votes. + DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes. + light_client_attack_evidence: type: object properties: @@ -41935,13 +38512,12 @@ definitions: type: string format: uint64 description: >- - Consensus captures the consensus rules for - processing a block in the blockchain, - - including all blockchain data structures and - the rules of the application's - + Consensus captures the consensus rules for processing a block in the blockchain, + + including all blockchain data structures and the rules of the application's + state transition machine. + chain_id: type: string height: @@ -41967,8 +38543,8 @@ definitions: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block as - its hash and its `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + title: prev block info last_commit_hash: type: string @@ -41984,8 +38560,8 @@ definitions: format: byte description: validators for the current block title: >- - hashes from the app output from the prev - block + hashes from the app output from the prev block + next_validators_hash: type: string format: byte @@ -42002,8 +38578,8 @@ definitions: type: string format: byte title: >- - root hash of all results from the txs from - the previous block + root hash of all results from the txs from the previous block + evidence_hash: type: string format: byte @@ -42040,8 +38616,8 @@ definitions: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block as - its hash and its `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + signatures: type: array items: @@ -42056,14 +38632,14 @@ definitions: - BLOCK_ID_FLAG_NIL default: BLOCK_ID_FLAG_UNKNOWN description: >- - - BLOCK_ID_FLAG_UNKNOWN: Indicates an - error condition + - BLOCK_ID_FLAG_UNKNOWN: Indicates an error condition - BLOCK_ID_FLAG_ABSENT: The vote was not received - BLOCK_ID_FLAG_COMMIT: Voted for the block that received the majority - BLOCK_ID_FLAG_NIL: Voted for nil + title: >- - BlockIdFlag indicates which BlockID the - signature is for + BlockIdFlag indicates which BlockID the signature is for + validator_address: type: string format: byte @@ -42074,14 +38650,14 @@ definitions: type: string format: byte description: >- - CommitSig is a part of the Vote included - in a Commit. + CommitSig is a part of the Vote included in a Commit. + description: >- - Commit contains the evidence that a block was - committed by a set of validators. + Commit contains the evidence that a block was committed by a set of validators. + description: >- - SignedHeader contains a Header(H) and Commit(H+1) - with signatures of validators who signed it. + SignedHeader contains a Header(H) and Commit(H+1) with signatures of validators who signed it. + validator_set: type: object properties: @@ -42103,8 +38679,8 @@ definitions: type: string format: byte description: >- - PublicKey is a ED25519 or a secp256k1 - public key. + PublicKey is a ED25519 or a secp256k1 public key. + voting_power: type: string format: int64 @@ -42112,8 +38688,8 @@ definitions: type: string format: int64 description: >- - Validator represents a node participating in - the consensus protocol. + Validator represents a node participating in the consensus protocol. + proposer: type: object properties: @@ -42130,8 +38706,8 @@ definitions: type: string format: byte description: >- - PublicKey is a ED25519 or a secp256k1 public - key. + PublicKey is a ED25519 or a secp256k1 public key. + voting_power: type: string format: int64 @@ -42139,15 +38715,15 @@ definitions: type: string format: int64 description: >- - Validator represents a node participating in the - consensus protocol. + Validator represents a node participating in the consensus protocol. + total_voting_power: type: string format: int64 description: ValidatorSet defines a set of validators. description: >- - LightBlock is a combination of SignedHeader and - ValidatorSet. It is used by light clients. + LightBlock is a combination of SignedHeader and ValidatorSet. It is used by light clients. + common_height: type: string format: int64 @@ -42176,8 +38752,8 @@ definitions: type: string format: int64 description: >- - Validator represents a node participating in the - consensus protocol. + Validator represents a node participating in the consensus protocol. + total_voting_power: type: string format: int64 @@ -42185,11 +38761,11 @@ definitions: type: string format: date-time description: >- - LightClientAttackEvidence contains evidence of a set of - validators attempting to mislead a light client. + LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client. + description: >- - Evidence is a generic type for wrapping evidence of misbehavior - by a validator. + Evidence is a generic type for wrapping evidence of misbehavior by a validator. + description: EvidenceList is a list of evidence. last_commit: type: object @@ -42217,8 +38793,8 @@ definitions: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block as its hash and its - `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + signatures: type: array items: @@ -42249,8 +38825,8 @@ definitions: format: byte description: CommitSig is a part of the Vote included in a Commit. description: >- - Commit contains the evidence that a block was committed by a set of - validators. + Commit contains the evidence that a block was committed by a set of validators. + description: Block defines the structure of a block in the CometBFT blockchain. cometbft.types.v1.BlockID: type: object @@ -42269,8 +38845,8 @@ definitions: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block as its hash and its - `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + cometbft.types.v1.BlockIDFlag: type: string enum: @@ -42311,8 +38887,8 @@ definitions: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block as its hash and its - `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + signatures: type: array items: @@ -42343,8 +38919,8 @@ definitions: format: byte description: CommitSig is a part of the Vote included in a Commit. description: >- - Commit contains the evidence that a block was committed by a set of - validators. + Commit contains the evidence that a block was committed by a set of validators. + cometbft.types.v1.CommitSig: type: object properties: @@ -42382,11 +38958,11 @@ definitions: format: byte description: >- Txs that will be applied by state @ block.Height+1. - - NOTE: not all txs here are valid. We're just agreeing on the order - first. - + + NOTE: not all txs here are valid. We're just agreeing on the order first. + This means that block.AppHash does not include these txs. + title: Data contains the set of transactions included in the block cometbft.types.v1.DuplicateVoteEvidence: type: object @@ -42432,8 +39008,8 @@ definitions: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block as its hash and its - `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + timestamp: type: string format: date-time @@ -42447,18 +39023,18 @@ definitions: type: string format: byte description: >- - Vote signature by the validator if they participated in consensus - for the - + Vote signature by the validator if they participated in consensus for the + associated block. + extension: type: string format: byte description: >- - Vote extension provided by the application. Only valid for - precommit - + Vote extension provided by the application. Only valid for precommit + messages. + extension_signature: type: string format: byte @@ -42510,8 +39086,8 @@ definitions: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block as its hash and its - `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + timestamp: type: string format: date-time @@ -42525,18 +39101,18 @@ definitions: type: string format: byte description: >- - Vote signature by the validator if they participated in consensus - for the - + Vote signature by the validator if they participated in consensus for the + associated block. + extension: type: string format: byte description: >- - Vote extension provided by the application. Only valid for - precommit - + Vote extension provided by the application. Only valid for precommit + messages. + extension_signature: type: string format: byte @@ -42557,8 +39133,8 @@ definitions: type: string format: date-time description: >- - DuplicateVoteEvidence contains evidence of a validator signed two - conflicting votes. + DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes. + cometbft.types.v1.Evidence: type: object properties: @@ -42606,8 +39182,8 @@ definitions: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block as its hash and its - `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + timestamp: type: string format: date-time @@ -42621,28 +39197,28 @@ definitions: type: string format: byte description: >- - Vote signature by the validator if they participated in - consensus for the - + Vote signature by the validator if they participated in consensus for the + associated block. + extension: type: string format: byte description: >- - Vote extension provided by the application. Only valid for - precommit - + Vote extension provided by the application. Only valid for precommit + messages. + extension_signature: type: string format: byte description: >- - Vote extension signature by the validator if they participated - in - + Vote extension signature by the validator if they participated in + consensus for the associated block. - + Only valid for precommit messages. + description: |- Vote represents a prevote or precommit vote from validators for consensus. @@ -42687,8 +39263,8 @@ definitions: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block as its hash and its - `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + timestamp: type: string format: date-time @@ -42702,28 +39278,28 @@ definitions: type: string format: byte description: >- - Vote signature by the validator if they participated in - consensus for the - + Vote signature by the validator if they participated in consensus for the + associated block. + extension: type: string format: byte description: >- - Vote extension provided by the application. Only valid for - precommit - + Vote extension provided by the application. Only valid for precommit + messages. + extension_signature: type: string format: byte description: >- - Vote extension signature by the validator if they participated - in - + Vote extension signature by the validator if they participated in + consensus for the associated block. - + Only valid for precommit messages. + description: |- Vote represents a prevote or precommit vote from validators for consensus. @@ -42737,8 +39313,8 @@ definitions: type: string format: date-time description: >- - DuplicateVoteEvidence contains evidence of a validator signed two - conflicting votes. + DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes. + light_client_attack_evidence: type: object properties: @@ -42762,13 +39338,12 @@ definitions: type: string format: uint64 description: >- - Consensus captures the consensus rules for processing - a block in the blockchain, - - including all blockchain data structures and the rules - of the application's - + Consensus captures the consensus rules for processing a block in the blockchain, + + including all blockchain data structures and the rules of the application's + state transition machine. + chain_id: type: string height: @@ -42794,8 +39369,8 @@ definitions: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block as its hash - and its `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + title: prev block info last_commit_hash: type: string @@ -42827,8 +39402,8 @@ definitions: type: string format: byte title: >- - root hash of all results from the txs from the - previous block + root hash of all results from the txs from the previous block + evidence_hash: type: string format: byte @@ -42865,8 +39440,8 @@ definitions: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block as its hash - and its `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + signatures: type: array items: @@ -42881,14 +39456,14 @@ definitions: - BLOCK_ID_FLAG_NIL default: BLOCK_ID_FLAG_UNKNOWN description: >- - - BLOCK_ID_FLAG_UNKNOWN: Indicates an error - condition + - BLOCK_ID_FLAG_UNKNOWN: Indicates an error condition - BLOCK_ID_FLAG_ABSENT: The vote was not received - BLOCK_ID_FLAG_COMMIT: Voted for the block that received the majority - BLOCK_ID_FLAG_NIL: Voted for nil + title: >- - BlockIdFlag indicates which BlockID the - signature is for + BlockIdFlag indicates which BlockID the signature is for + validator_address: type: string format: byte @@ -42899,14 +39474,14 @@ definitions: type: string format: byte description: >- - CommitSig is a part of the Vote included in a - Commit. + CommitSig is a part of the Vote included in a Commit. + description: >- - Commit contains the evidence that a block was committed by - a set of validators. + Commit contains the evidence that a block was committed by a set of validators. + description: >- - SignedHeader contains a Header(H) and Commit(H+1) with - signatures of validators who signed it. + SignedHeader contains a Header(H) and Commit(H+1) with signatures of validators who signed it. + validator_set: type: object properties: @@ -42935,8 +39510,8 @@ definitions: type: string format: int64 description: >- - Validator represents a node participating in the - consensus protocol. + Validator represents a node participating in the consensus protocol. + proposer: type: object properties: @@ -42960,15 +39535,15 @@ definitions: type: string format: int64 description: >- - Validator represents a node participating in the consensus - protocol. + Validator represents a node participating in the consensus protocol. + total_voting_power: type: string format: int64 description: ValidatorSet defines a set of validators. description: >- - LightBlock is a combination of SignedHeader and ValidatorSet. It - is used by light clients. + LightBlock is a combination of SignedHeader and ValidatorSet. It is used by light clients. + common_height: type: string format: int64 @@ -42997,8 +39572,8 @@ definitions: type: string format: int64 description: >- - Validator represents a node participating in the consensus - protocol. + Validator represents a node participating in the consensus protocol. + total_voting_power: type: string format: int64 @@ -43006,11 +39581,11 @@ definitions: type: string format: date-time description: >- - LightClientAttackEvidence contains evidence of a set of validators - attempting to mislead a light client. + LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client. + description: >- - Evidence is a generic type for wrapping evidence of misbehavior by a - validator. + Evidence is a generic type for wrapping evidence of misbehavior by a validator. + cometbft.types.v1.EvidenceList: type: object properties: @@ -43034,13 +39609,13 @@ definitions: - SIGNED_MSG_TYPE_PROPOSAL default: SIGNED_MSG_TYPE_UNKNOWN description: >- - SignedMsgType is a type of signed message in the - consensus. - + SignedMsgType is a type of signed message in the consensus. + - SIGNED_MSG_TYPE_UNKNOWN: Unknown - SIGNED_MSG_TYPE_PREVOTE: Prevote - SIGNED_MSG_TYPE_PRECOMMIT: Precommit - SIGNED_MSG_TYPE_PROPOSAL: Proposal + height: type: string format: int64 @@ -43064,8 +39639,8 @@ definitions: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block as its hash and - its `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + timestamp: type: string format: date-time @@ -43079,33 +39654,33 @@ definitions: type: string format: byte description: >- - Vote signature by the validator if they participated in - consensus for the - + Vote signature by the validator if they participated in consensus for the + associated block. + extension: type: string format: byte description: >- - Vote extension provided by the application. Only valid - for precommit - + Vote extension provided by the application. Only valid for precommit + messages. + extension_signature: type: string format: byte description: >- - Vote extension signature by the validator if they - participated in - + Vote extension signature by the validator if they participated in + consensus for the associated block. - + Only valid for precommit messages. - description: >- - Vote represents a prevote or precommit vote from validators - for + description: >- + Vote represents a prevote or precommit vote from validators for + consensus. + vote_b: type: object properties: @@ -43118,13 +39693,13 @@ definitions: - SIGNED_MSG_TYPE_PROPOSAL default: SIGNED_MSG_TYPE_UNKNOWN description: >- - SignedMsgType is a type of signed message in the - consensus. - + SignedMsgType is a type of signed message in the consensus. + - SIGNED_MSG_TYPE_UNKNOWN: Unknown - SIGNED_MSG_TYPE_PREVOTE: Prevote - SIGNED_MSG_TYPE_PRECOMMIT: Precommit - SIGNED_MSG_TYPE_PROPOSAL: Proposal + height: type: string format: int64 @@ -43148,8 +39723,8 @@ definitions: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block as its hash and - its `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + timestamp: type: string format: date-time @@ -43163,33 +39738,33 @@ definitions: type: string format: byte description: >- - Vote signature by the validator if they participated in - consensus for the - + Vote signature by the validator if they participated in consensus for the + associated block. + extension: type: string format: byte description: >- - Vote extension provided by the application. Only valid - for precommit - + Vote extension provided by the application. Only valid for precommit + messages. + extension_signature: type: string format: byte description: >- - Vote extension signature by the validator if they - participated in - + Vote extension signature by the validator if they participated in + consensus for the associated block. - + Only valid for precommit messages. - description: >- - Vote represents a prevote or precommit vote from validators - for + description: >- + Vote represents a prevote or precommit vote from validators for + consensus. + total_voting_power: type: string format: int64 @@ -43200,8 +39775,8 @@ definitions: type: string format: date-time description: >- - DuplicateVoteEvidence contains evidence of a validator signed - two conflicting votes. + DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes. + light_client_attack_evidence: type: object properties: @@ -43225,13 +39800,12 @@ definitions: type: string format: uint64 description: >- - Consensus captures the consensus rules for - processing a block in the blockchain, - - including all blockchain data structures and the - rules of the application's - + Consensus captures the consensus rules for processing a block in the blockchain, + + including all blockchain data structures and the rules of the application's + state transition machine. + chain_id: type: string height: @@ -43257,8 +39831,8 @@ definitions: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block as its - hash and its `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + title: prev block info last_commit_hash: type: string @@ -43290,8 +39864,8 @@ definitions: type: string format: byte title: >- - root hash of all results from the txs from the - previous block + root hash of all results from the txs from the previous block + evidence_hash: type: string format: byte @@ -43328,8 +39902,8 @@ definitions: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block as its - hash and its `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + signatures: type: array items: @@ -43344,14 +39918,14 @@ definitions: - BLOCK_ID_FLAG_NIL default: BLOCK_ID_FLAG_UNKNOWN description: >- - - BLOCK_ID_FLAG_UNKNOWN: Indicates an - error condition + - BLOCK_ID_FLAG_UNKNOWN: Indicates an error condition - BLOCK_ID_FLAG_ABSENT: The vote was not received - BLOCK_ID_FLAG_COMMIT: Voted for the block that received the majority - BLOCK_ID_FLAG_NIL: Voted for nil + title: >- - BlockIdFlag indicates which BlockID the - signature is for + BlockIdFlag indicates which BlockID the signature is for + validator_address: type: string format: byte @@ -43362,14 +39936,14 @@ definitions: type: string format: byte description: >- - CommitSig is a part of the Vote included in a - Commit. + CommitSig is a part of the Vote included in a Commit. + description: >- - Commit contains the evidence that a block was - committed by a set of validators. + Commit contains the evidence that a block was committed by a set of validators. + description: >- - SignedHeader contains a Header(H) and Commit(H+1) with - signatures of validators who signed it. + SignedHeader contains a Header(H) and Commit(H+1) with signatures of validators who signed it. + validator_set: type: object properties: @@ -43391,8 +39965,8 @@ definitions: type: string format: byte description: >- - PublicKey is a ED25519 or a secp256k1 public - key. + PublicKey is a ED25519 or a secp256k1 public key. + voting_power: type: string format: int64 @@ -43400,8 +39974,8 @@ definitions: type: string format: int64 description: >- - Validator represents a node participating in the - consensus protocol. + Validator represents a node participating in the consensus protocol. + proposer: type: object properties: @@ -43418,8 +39992,8 @@ definitions: type: string format: byte description: >- - PublicKey is a ED25519 or a secp256k1 public - key. + PublicKey is a ED25519 or a secp256k1 public key. + voting_power: type: string format: int64 @@ -43427,15 +40001,15 @@ definitions: type: string format: int64 description: >- - Validator represents a node participating in the - consensus protocol. + Validator represents a node participating in the consensus protocol. + total_voting_power: type: string format: int64 description: ValidatorSet defines a set of validators. description: >- - LightBlock is a combination of SignedHeader and - ValidatorSet. It is used by light clients. + LightBlock is a combination of SignedHeader and ValidatorSet. It is used by light clients. + common_height: type: string format: int64 @@ -43464,8 +40038,8 @@ definitions: type: string format: int64 description: >- - Validator represents a node participating in the consensus - protocol. + Validator represents a node participating in the consensus protocol. + total_voting_power: type: string format: int64 @@ -43473,11 +40047,11 @@ definitions: type: string format: date-time description: >- - LightClientAttackEvidence contains evidence of a set of - validators attempting to mislead a light client. + LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client. + description: >- - Evidence is a generic type for wrapping evidence of misbehavior by a - validator. + Evidence is a generic type for wrapping evidence of misbehavior by a validator. + description: EvidenceList is a list of evidence. cometbft.types.v1.Header: type: object @@ -43493,13 +40067,12 @@ definitions: type: string format: uint64 description: >- - Consensus captures the consensus rules for processing a block in the - blockchain, - - including all blockchain data structures and the rules of the - application's - + Consensus captures the consensus rules for processing a block in the blockchain, + + including all blockchain data structures and the rules of the application's + state transition machine. + chain_id: type: string height: @@ -43525,8 +40098,8 @@ definitions: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block as its hash and its - `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + title: prev block info last_commit_hash: type: string @@ -43588,13 +40161,12 @@ definitions: type: string format: uint64 description: >- - Consensus captures the consensus rules for processing a block - in the blockchain, - - including all blockchain data structures and the rules of the - application's - + Consensus captures the consensus rules for processing a block in the blockchain, + + including all blockchain data structures and the rules of the application's + state transition machine. + chain_id: type: string height: @@ -43620,8 +40192,8 @@ definitions: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block as its hash and its - `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + title: prev block info last_commit_hash: type: string @@ -43689,8 +40261,8 @@ definitions: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block as its hash and its - `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + signatures: type: array items: @@ -43721,11 +40293,11 @@ definitions: format: byte description: CommitSig is a part of the Vote included in a Commit. description: >- - Commit contains the evidence that a block was committed by a set - of validators. + Commit contains the evidence that a block was committed by a set of validators. + description: >- - SignedHeader contains a Header(H) and Commit(H+1) with signatures of - validators who signed it. + SignedHeader contains a Header(H) and Commit(H+1) with signatures of validators who signed it. + validator_set: type: object properties: @@ -43754,8 +40326,8 @@ definitions: type: string format: int64 description: >- - Validator represents a node participating in the consensus - protocol. + Validator represents a node participating in the consensus protocol. + proposer: type: object properties: @@ -43779,15 +40351,15 @@ definitions: type: string format: int64 description: >- - Validator represents a node participating in the consensus - protocol. + Validator represents a node participating in the consensus protocol. + total_voting_power: type: string format: int64 description: ValidatorSet defines a set of validators. description: >- - LightBlock is a combination of SignedHeader and ValidatorSet. It is used - by light clients. + LightBlock is a combination of SignedHeader and ValidatorSet. It is used by light clients. + cometbft.types.v1.LightClientAttackEvidence: type: object properties: @@ -43811,13 +40383,12 @@ definitions: type: string format: uint64 description: >- - Consensus captures the consensus rules for processing a - block in the blockchain, - - including all blockchain data structures and the rules of - the application's - + Consensus captures the consensus rules for processing a block in the blockchain, + + including all blockchain data structures and the rules of the application's + state transition machine. + chain_id: type: string height: @@ -43843,8 +40414,8 @@ definitions: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block as its hash and - its `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + title: prev block info last_commit_hash: type: string @@ -43876,8 +40447,8 @@ definitions: type: string format: byte title: >- - root hash of all results from the txs from the previous - block + root hash of all results from the txs from the previous block + evidence_hash: type: string format: byte @@ -43914,8 +40485,8 @@ definitions: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block as its hash and - its `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + signatures: type: array items: @@ -43930,14 +40501,14 @@ definitions: - BLOCK_ID_FLAG_NIL default: BLOCK_ID_FLAG_UNKNOWN description: >- - - BLOCK_ID_FLAG_UNKNOWN: Indicates an error - condition + - BLOCK_ID_FLAG_UNKNOWN: Indicates an error condition - BLOCK_ID_FLAG_ABSENT: The vote was not received - BLOCK_ID_FLAG_COMMIT: Voted for the block that received the majority - BLOCK_ID_FLAG_NIL: Voted for nil + title: >- - BlockIdFlag indicates which BlockID the signature is - for + BlockIdFlag indicates which BlockID the signature is for + validator_address: type: string format: byte @@ -43949,11 +40520,11 @@ definitions: format: byte description: CommitSig is a part of the Vote included in a Commit. description: >- - Commit contains the evidence that a block was committed by a - set of validators. + Commit contains the evidence that a block was committed by a set of validators. + description: >- - SignedHeader contains a Header(H) and Commit(H+1) with signatures - of validators who signed it. + SignedHeader contains a Header(H) and Commit(H+1) with signatures of validators who signed it. + validator_set: type: object properties: @@ -43982,8 +40553,8 @@ definitions: type: string format: int64 description: >- - Validator represents a node participating in the consensus - protocol. + Validator represents a node participating in the consensus protocol. + proposer: type: object properties: @@ -44007,15 +40578,15 @@ definitions: type: string format: int64 description: >- - Validator represents a node participating in the consensus - protocol. + Validator represents a node participating in the consensus protocol. + total_voting_power: type: string format: int64 description: ValidatorSet defines a set of validators. description: >- - LightBlock is a combination of SignedHeader and ValidatorSet. It is - used by light clients. + LightBlock is a combination of SignedHeader and ValidatorSet. It is used by light clients. + common_height: type: string format: int64 @@ -44051,8 +40622,8 @@ definitions: type: string format: date-time description: >- - LightClientAttackEvidence contains evidence of a set of validators - attempting to mislead a light client. + LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client. + cometbft.types.v1.PartSetHeader: type: object properties: @@ -44080,13 +40651,12 @@ definitions: type: string format: uint64 description: >- - Consensus captures the consensus rules for processing a block in - the blockchain, - - including all blockchain data structures and the rules of the - application's - + Consensus captures the consensus rules for processing a block in the blockchain, + + including all blockchain data structures and the rules of the application's + state transition machine. + chain_id: type: string height: @@ -44112,8 +40682,8 @@ definitions: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block as its hash and its - `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + title: prev block info last_commit_hash: type: string @@ -44181,8 +40751,8 @@ definitions: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block as its hash and its - `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + signatures: type: array items: @@ -44213,11 +40783,11 @@ definitions: format: byte description: CommitSig is a part of the Vote included in a Commit. description: >- - Commit contains the evidence that a block was committed by a set of - validators. + Commit contains the evidence that a block was committed by a set of validators. + description: >- - SignedHeader contains a Header(H) and Commit(H+1) with signatures of - validators who signed it. + SignedHeader contains a Header(H) and Commit(H+1) with signatures of validators who signed it. + cometbft.types.v1.SignedMsgType: type: string enum: @@ -44352,8 +40922,8 @@ definitions: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block as its hash and its - `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + timestamp: type: string format: date-time @@ -44367,10 +40937,10 @@ definitions: type: string format: byte description: >- - Vote signature by the validator if they participated in consensus for - the - + Vote signature by the validator if they participated in consensus for the + associated block. + extension: type: string format: byte @@ -44397,13 +40967,12 @@ definitions: type: string format: uint64 description: >- - Consensus captures the consensus rules for processing a block in the - blockchain, - - including all blockchain data structures and the rules of the - application's - + Consensus captures the consensus rules for processing a block in the blockchain, + + including all blockchain data structures and the rules of the application's + state transition machine. + cosmos.base.tendermint.v1beta1.ABCIQueryResponse: type: object properties: @@ -44452,13 +41021,13 @@ definitions: for example neighbouring node hash title: ProofOps is Merkle proof defined by the list of ProofOps description: >- - ABCIQueryResponse defines the response structure for the ABCIQuery gRPC - query. - - + ABCIQueryResponse defines the response structure for the ABCIQuery gRPC query. + + Note: This type is a duplicate of the ResponseQuery proto type defined in - + Tendermint. + cosmos.base.tendermint.v1beta1.Block: type: object properties: @@ -44476,13 +41045,12 @@ definitions: type: string format: uint64 description: >- - Consensus captures the consensus rules for processing a block in - the blockchain, - - including all blockchain data structures and the rules of the - application's - + Consensus captures the consensus rules for processing a block in the blockchain, + + including all blockchain data structures and the rules of the application's + state transition machine. + chain_id: type: string height: @@ -44508,8 +41076,8 @@ definitions: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block as its hash and its - `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + title: prev block info last_commit_hash: type: string @@ -44549,16 +41117,15 @@ definitions: proposer_address: type: string description: >- - proposer_address is the original block proposer address, formatted - as a Bech32 string. - - In Tendermint, this type is `bytes`, but in the SDK, we convert it - to a Bech32 string - + proposer_address is the original block proposer address, formatted as a Bech32 string. + + In Tendermint, this type is `bytes`, but in the SDK, we convert it to a Bech32 string + for better UX. - - + + original proposer of the block + description: Header defines the structure of a Tendermint block header. data: type: object @@ -44570,11 +41137,11 @@ definitions: format: byte description: >- Txs that will be applied by state @ block.Height+1. - - NOTE: not all txs here are valid. We're just agreeing on the - order first. - + + NOTE: not all txs here are valid. We're just agreeing on the order first. + This means that block.AppHash does not include these txs. + title: Data contains the set of transactions included in the block evidence: type: object @@ -44599,13 +41166,13 @@ definitions: - SIGNED_MSG_TYPE_PROPOSAL default: SIGNED_MSG_TYPE_UNKNOWN description: >- - SignedMsgType is a type of signed message in the - consensus. - + SignedMsgType is a type of signed message in the consensus. + - SIGNED_MSG_TYPE_UNKNOWN: Unknown - SIGNED_MSG_TYPE_PREVOTE: Prevote - SIGNED_MSG_TYPE_PRECOMMIT: Precommit - SIGNED_MSG_TYPE_PROPOSAL: Proposal + height: type: string format: int64 @@ -44629,8 +41196,8 @@ definitions: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block as its hash - and its `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + timestamp: type: string format: date-time @@ -44644,33 +41211,33 @@ definitions: type: string format: byte description: >- - Vote signature by the validator if they participated - in consensus for the - + Vote signature by the validator if they participated in consensus for the + associated block. + extension: type: string format: byte description: >- - Vote extension provided by the application. Only - valid for precommit - + Vote extension provided by the application. Only valid for precommit + messages. + extension_signature: type: string format: byte description: >- - Vote extension signature by the validator if they - participated in - + Vote extension signature by the validator if they participated in + consensus for the associated block. - + Only valid for precommit messages. - description: >- - Vote represents a prevote or precommit vote from - validators for + description: >- + Vote represents a prevote or precommit vote from validators for + consensus. + vote_b: type: object properties: @@ -44683,13 +41250,13 @@ definitions: - SIGNED_MSG_TYPE_PROPOSAL default: SIGNED_MSG_TYPE_UNKNOWN description: >- - SignedMsgType is a type of signed message in the - consensus. - + SignedMsgType is a type of signed message in the consensus. + - SIGNED_MSG_TYPE_UNKNOWN: Unknown - SIGNED_MSG_TYPE_PREVOTE: Prevote - SIGNED_MSG_TYPE_PRECOMMIT: Precommit - SIGNED_MSG_TYPE_PROPOSAL: Proposal + height: type: string format: int64 @@ -44713,8 +41280,8 @@ definitions: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block as its hash - and its `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + timestamp: type: string format: date-time @@ -44728,33 +41295,33 @@ definitions: type: string format: byte description: >- - Vote signature by the validator if they participated - in consensus for the - + Vote signature by the validator if they participated in consensus for the + associated block. + extension: type: string format: byte description: >- - Vote extension provided by the application. Only - valid for precommit - + Vote extension provided by the application. Only valid for precommit + messages. + extension_signature: type: string format: byte description: >- - Vote extension signature by the validator if they - participated in - + Vote extension signature by the validator if they participated in + consensus for the associated block. - + Only valid for precommit messages. - description: >- - Vote represents a prevote or precommit vote from - validators for + description: >- + Vote represents a prevote or precommit vote from validators for + consensus. + total_voting_power: type: string format: int64 @@ -44765,8 +41332,8 @@ definitions: type: string format: date-time description: >- - DuplicateVoteEvidence contains evidence of a validator - signed two conflicting votes. + DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes. + light_client_attack_evidence: type: object properties: @@ -44790,13 +41357,12 @@ definitions: type: string format: uint64 description: >- - Consensus captures the consensus rules for - processing a block in the blockchain, - - including all blockchain data structures and - the rules of the application's - + Consensus captures the consensus rules for processing a block in the blockchain, + + including all blockchain data structures and the rules of the application's + state transition machine. + chain_id: type: string height: @@ -44822,8 +41388,8 @@ definitions: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block as - its hash and its `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + title: prev block info last_commit_hash: type: string @@ -44839,8 +41405,8 @@ definitions: format: byte description: validators for the current block title: >- - hashes from the app output from the prev - block + hashes from the app output from the prev block + next_validators_hash: type: string format: byte @@ -44857,8 +41423,8 @@ definitions: type: string format: byte title: >- - root hash of all results from the txs from - the previous block + root hash of all results from the txs from the previous block + evidence_hash: type: string format: byte @@ -44895,8 +41461,8 @@ definitions: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block as - its hash and its `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + signatures: type: array items: @@ -44911,14 +41477,14 @@ definitions: - BLOCK_ID_FLAG_NIL default: BLOCK_ID_FLAG_UNKNOWN description: >- - - BLOCK_ID_FLAG_UNKNOWN: Indicates an - error condition + - BLOCK_ID_FLAG_UNKNOWN: Indicates an error condition - BLOCK_ID_FLAG_ABSENT: The vote was not received - BLOCK_ID_FLAG_COMMIT: Voted for the block that received the majority - BLOCK_ID_FLAG_NIL: Voted for nil + title: >- - BlockIdFlag indicates which BlockID the - signature is for + BlockIdFlag indicates which BlockID the signature is for + validator_address: type: string format: byte @@ -44929,14 +41495,14 @@ definitions: type: string format: byte description: >- - CommitSig is a part of the Vote included - in a Commit. + CommitSig is a part of the Vote included in a Commit. + description: >- - Commit contains the evidence that a block was - committed by a set of validators. + Commit contains the evidence that a block was committed by a set of validators. + description: >- - SignedHeader contains a Header(H) and Commit(H+1) - with signatures of validators who signed it. + SignedHeader contains a Header(H) and Commit(H+1) with signatures of validators who signed it. + validator_set: type: object properties: @@ -44958,8 +41524,8 @@ definitions: type: string format: byte description: >- - PublicKey is a ED25519 or a secp256k1 - public key. + PublicKey is a ED25519 or a secp256k1 public key. + voting_power: type: string format: int64 @@ -44967,8 +41533,8 @@ definitions: type: string format: int64 description: >- - Validator represents a node participating in - the consensus protocol. + Validator represents a node participating in the consensus protocol. + proposer: type: object properties: @@ -44985,8 +41551,8 @@ definitions: type: string format: byte description: >- - PublicKey is a ED25519 or a secp256k1 public - key. + PublicKey is a ED25519 or a secp256k1 public key. + voting_power: type: string format: int64 @@ -44994,15 +41560,15 @@ definitions: type: string format: int64 description: >- - Validator represents a node participating in the - consensus protocol. + Validator represents a node participating in the consensus protocol. + total_voting_power: type: string format: int64 description: ValidatorSet defines a set of validators. description: >- - LightBlock is a combination of SignedHeader and - ValidatorSet. It is used by light clients. + LightBlock is a combination of SignedHeader and ValidatorSet. It is used by light clients. + common_height: type: string format: int64 @@ -45031,8 +41597,8 @@ definitions: type: string format: int64 description: >- - Validator represents a node participating in the - consensus protocol. + Validator represents a node participating in the consensus protocol. + total_voting_power: type: string format: int64 @@ -45040,11 +41606,11 @@ definitions: type: string format: date-time description: >- - LightClientAttackEvidence contains evidence of a set of - validators attempting to mislead a light client. + LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client. + description: >- - Evidence is a generic type for wrapping evidence of misbehavior - by a validator. + Evidence is a generic type for wrapping evidence of misbehavior by a validator. + description: EvidenceList is a list of evidence. last_commit: type: object @@ -45072,8 +41638,8 @@ definitions: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block as its hash and its - `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + signatures: type: array items: @@ -45104,8 +41670,8 @@ definitions: format: byte description: CommitSig is a part of the Vote included in a Commit. description: >- - Commit contains the evidence that a block was committed by a set of - validators. + Commit contains the evidence that a block was committed by a set of validators. + description: |- Block is tendermint type Block, with the Header proposer address field converted to bech32 string. @@ -45129,10 +41695,10 @@ definitions: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block as its hash and its - `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + block: - title: 'Deprecated: please use `sdk_block` instead' + title: "Deprecated: please use `sdk_block` instead" type: object properties: header: @@ -45149,13 +41715,12 @@ definitions: type: string format: uint64 description: >- - Consensus captures the consensus rules for processing a block - in the blockchain, - - including all blockchain data structures and the rules of the - application's - + Consensus captures the consensus rules for processing a block in the blockchain, + + including all blockchain data structures and the rules of the application's + state transition machine. + chain_id: type: string height: @@ -45181,8 +41746,8 @@ definitions: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block as its hash and its - `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + title: prev block info last_commit_hash: type: string @@ -45234,11 +41799,11 @@ definitions: format: byte description: >- Txs that will be applied by state @ block.Height+1. - - NOTE: not all txs here are valid. We're just agreeing on the - order first. - + + NOTE: not all txs here are valid. We're just agreeing on the order first. + This means that block.AppHash does not include these txs. + title: Data contains the set of transactions included in the block evidence: type: object @@ -45263,13 +41828,13 @@ definitions: - SIGNED_MSG_TYPE_PROPOSAL default: SIGNED_MSG_TYPE_UNKNOWN description: >- - SignedMsgType is a type of signed message in the - consensus. - + SignedMsgType is a type of signed message in the consensus. + - SIGNED_MSG_TYPE_UNKNOWN: Unknown - SIGNED_MSG_TYPE_PREVOTE: Prevote - SIGNED_MSG_TYPE_PRECOMMIT: Precommit - SIGNED_MSG_TYPE_PROPOSAL: Proposal + height: type: string format: int64 @@ -45293,8 +41858,8 @@ definitions: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block as its - hash and its `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + timestamp: type: string format: date-time @@ -45308,33 +41873,33 @@ definitions: type: string format: byte description: >- - Vote signature by the validator if they - participated in consensus for the - + Vote signature by the validator if they participated in consensus for the + associated block. + extension: type: string format: byte description: >- - Vote extension provided by the application. Only - valid for precommit - + Vote extension provided by the application. Only valid for precommit + messages. + extension_signature: type: string format: byte description: >- - Vote extension signature by the validator if - they participated in - + Vote extension signature by the validator if they participated in + consensus for the associated block. - + Only valid for precommit messages. - description: >- - Vote represents a prevote or precommit vote from - validators for + description: >- + Vote represents a prevote or precommit vote from validators for + consensus. + vote_b: type: object properties: @@ -45347,13 +41912,13 @@ definitions: - SIGNED_MSG_TYPE_PROPOSAL default: SIGNED_MSG_TYPE_UNKNOWN description: >- - SignedMsgType is a type of signed message in the - consensus. - + SignedMsgType is a type of signed message in the consensus. + - SIGNED_MSG_TYPE_UNKNOWN: Unknown - SIGNED_MSG_TYPE_PREVOTE: Prevote - SIGNED_MSG_TYPE_PRECOMMIT: Precommit - SIGNED_MSG_TYPE_PROPOSAL: Proposal + height: type: string format: int64 @@ -45377,8 +41942,8 @@ definitions: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block as its - hash and its `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + timestamp: type: string format: date-time @@ -45392,33 +41957,33 @@ definitions: type: string format: byte description: >- - Vote signature by the validator if they - participated in consensus for the - + Vote signature by the validator if they participated in consensus for the + associated block. + extension: type: string format: byte description: >- - Vote extension provided by the application. Only - valid for precommit - + Vote extension provided by the application. Only valid for precommit + messages. + extension_signature: type: string format: byte description: >- - Vote extension signature by the validator if - they participated in - + Vote extension signature by the validator if they participated in + consensus for the associated block. - + Only valid for precommit messages. - description: >- - Vote represents a prevote or precommit vote from - validators for + description: >- + Vote represents a prevote or precommit vote from validators for + consensus. + total_voting_power: type: string format: int64 @@ -45429,8 +41994,8 @@ definitions: type: string format: date-time description: >- - DuplicateVoteEvidence contains evidence of a validator - signed two conflicting votes. + DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes. + light_client_attack_evidence: type: object properties: @@ -45454,14 +42019,12 @@ definitions: type: string format: uint64 description: >- - Consensus captures the consensus rules - for processing a block in the - blockchain, - - including all blockchain data structures - and the rules of the application's - + Consensus captures the consensus rules for processing a block in the blockchain, + + including all blockchain data structures and the rules of the application's + state transition machine. + chain_id: type: string height: @@ -45487,15 +42050,15 @@ definitions: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block - as its hash and its `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + title: prev block info last_commit_hash: type: string format: byte description: >- - commit from validators from the last - block + commit from validators from the last block + title: hashes of block data data_hash: type: string @@ -45506,8 +42069,8 @@ definitions: format: byte description: validators for the current block title: >- - hashes from the app output from the prev - block + hashes from the app output from the prev block + next_validators_hash: type: string format: byte @@ -45524,8 +42087,8 @@ definitions: type: string format: byte title: >- - root hash of all results from the txs - from the previous block + root hash of all results from the txs from the previous block + evidence_hash: type: string format: byte @@ -45536,8 +42099,8 @@ definitions: format: byte title: original proposer of the block description: >- - Header defines the structure of a block - header. + Header defines the structure of a block header. + commit: type: object properties: @@ -45564,8 +42127,8 @@ definitions: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block - as its hash and its `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + signatures: type: array items: @@ -45580,14 +42143,14 @@ definitions: - BLOCK_ID_FLAG_NIL default: BLOCK_ID_FLAG_UNKNOWN description: >- - - BLOCK_ID_FLAG_UNKNOWN: Indicates an - error condition + - BLOCK_ID_FLAG_UNKNOWN: Indicates an error condition - BLOCK_ID_FLAG_ABSENT: The vote was not received - BLOCK_ID_FLAG_COMMIT: Voted for the block that received the majority - BLOCK_ID_FLAG_NIL: Voted for nil + title: >- - BlockIdFlag indicates which BlockID the - signature is for + BlockIdFlag indicates which BlockID the signature is for + validator_address: type: string format: byte @@ -45598,15 +42161,14 @@ definitions: type: string format: byte description: >- - CommitSig is a part of the Vote included - in a Commit. + CommitSig is a part of the Vote included in a Commit. + description: >- - Commit contains the evidence that a block - was committed by a set of validators. + Commit contains the evidence that a block was committed by a set of validators. + description: >- - SignedHeader contains a Header(H) and - Commit(H+1) with signatures of validators who - signed it. + SignedHeader contains a Header(H) and Commit(H+1) with signatures of validators who signed it. + validator_set: type: object properties: @@ -45628,8 +42190,8 @@ definitions: type: string format: byte description: >- - PublicKey is a ED25519 or a secp256k1 - public key. + PublicKey is a ED25519 or a secp256k1 public key. + voting_power: type: string format: int64 @@ -45637,8 +42199,8 @@ definitions: type: string format: int64 description: >- - Validator represents a node participating - in the consensus protocol. + Validator represents a node participating in the consensus protocol. + proposer: type: object properties: @@ -45655,8 +42217,8 @@ definitions: type: string format: byte description: >- - PublicKey is a ED25519 or a secp256k1 - public key. + PublicKey is a ED25519 or a secp256k1 public key. + voting_power: type: string format: int64 @@ -45664,15 +42226,15 @@ definitions: type: string format: int64 description: >- - Validator represents a node participating in - the consensus protocol. + Validator represents a node participating in the consensus protocol. + total_voting_power: type: string format: int64 description: ValidatorSet defines a set of validators. description: >- - LightBlock is a combination of SignedHeader and - ValidatorSet. It is used by light clients. + LightBlock is a combination of SignedHeader and ValidatorSet. It is used by light clients. + common_height: type: string format: int64 @@ -45694,8 +42256,8 @@ definitions: type: string format: byte description: >- - PublicKey is a ED25519 or a secp256k1 public - key. + PublicKey is a ED25519 or a secp256k1 public key. + voting_power: type: string format: int64 @@ -45703,8 +42265,8 @@ definitions: type: string format: int64 description: >- - Validator represents a node participating in the - consensus protocol. + Validator represents a node participating in the consensus protocol. + total_voting_power: type: string format: int64 @@ -45712,11 +42274,11 @@ definitions: type: string format: date-time description: >- - LightClientAttackEvidence contains evidence of a set of - validators attempting to mislead a light client. + LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client. + description: >- - Evidence is a generic type for wrapping evidence of - misbehavior by a validator. + Evidence is a generic type for wrapping evidence of misbehavior by a validator. + description: EvidenceList is a list of evidence. last_commit: type: object @@ -45744,8 +42306,8 @@ definitions: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block as its hash and its - `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + signatures: type: array items: @@ -45776,8 +42338,8 @@ definitions: format: byte description: CommitSig is a part of the Vote included in a Commit. description: >- - Commit contains the evidence that a block was committed by a set - of validators. + Commit contains the evidence that a block was committed by a set of validators. + description: Block defines the structure of a block in the CometBFT blockchain. sdk_block: type: object @@ -45796,13 +42358,12 @@ definitions: type: string format: uint64 description: >- - Consensus captures the consensus rules for processing a block - in the blockchain, - - including all blockchain data structures and the rules of the - application's - + Consensus captures the consensus rules for processing a block in the blockchain, + + including all blockchain data structures and the rules of the application's + state transition machine. + chain_id: type: string height: @@ -45828,8 +42389,8 @@ definitions: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block as its hash and its - `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + title: prev block info last_commit_hash: type: string @@ -45869,16 +42430,15 @@ definitions: proposer_address: type: string description: >- - proposer_address is the original block proposer address, - formatted as a Bech32 string. - - In Tendermint, this type is `bytes`, but in the SDK, we - convert it to a Bech32 string - + proposer_address is the original block proposer address, formatted as a Bech32 string. + + In Tendermint, this type is `bytes`, but in the SDK, we convert it to a Bech32 string + for better UX. - - + + original proposer of the block + description: Header defines the structure of a Tendermint block header. data: type: object @@ -45890,11 +42450,11 @@ definitions: format: byte description: >- Txs that will be applied by state @ block.Height+1. - - NOTE: not all txs here are valid. We're just agreeing on the - order first. - + + NOTE: not all txs here are valid. We're just agreeing on the order first. + This means that block.AppHash does not include these txs. + title: Data contains the set of transactions included in the block evidence: type: object @@ -45919,13 +42479,13 @@ definitions: - SIGNED_MSG_TYPE_PROPOSAL default: SIGNED_MSG_TYPE_UNKNOWN description: >- - SignedMsgType is a type of signed message in the - consensus. - + SignedMsgType is a type of signed message in the consensus. + - SIGNED_MSG_TYPE_UNKNOWN: Unknown - SIGNED_MSG_TYPE_PREVOTE: Prevote - SIGNED_MSG_TYPE_PRECOMMIT: Precommit - SIGNED_MSG_TYPE_PROPOSAL: Proposal + height: type: string format: int64 @@ -45949,8 +42509,8 @@ definitions: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block as its - hash and its `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + timestamp: type: string format: date-time @@ -45964,33 +42524,33 @@ definitions: type: string format: byte description: >- - Vote signature by the validator if they - participated in consensus for the - + Vote signature by the validator if they participated in consensus for the + associated block. + extension: type: string format: byte description: >- - Vote extension provided by the application. Only - valid for precommit - + Vote extension provided by the application. Only valid for precommit + messages. + extension_signature: type: string format: byte description: >- - Vote extension signature by the validator if - they participated in - + Vote extension signature by the validator if they participated in + consensus for the associated block. - + Only valid for precommit messages. - description: >- - Vote represents a prevote or precommit vote from - validators for + description: >- + Vote represents a prevote or precommit vote from validators for + consensus. + vote_b: type: object properties: @@ -46003,13 +42563,13 @@ definitions: - SIGNED_MSG_TYPE_PROPOSAL default: SIGNED_MSG_TYPE_UNKNOWN description: >- - SignedMsgType is a type of signed message in the - consensus. - + SignedMsgType is a type of signed message in the consensus. + - SIGNED_MSG_TYPE_UNKNOWN: Unknown - SIGNED_MSG_TYPE_PREVOTE: Prevote - SIGNED_MSG_TYPE_PRECOMMIT: Precommit - SIGNED_MSG_TYPE_PROPOSAL: Proposal + height: type: string format: int64 @@ -46033,8 +42593,8 @@ definitions: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block as its - hash and its `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + timestamp: type: string format: date-time @@ -46048,33 +42608,33 @@ definitions: type: string format: byte description: >- - Vote signature by the validator if they - participated in consensus for the - + Vote signature by the validator if they participated in consensus for the + associated block. + extension: type: string format: byte description: >- - Vote extension provided by the application. Only - valid for precommit - + Vote extension provided by the application. Only valid for precommit + messages. + extension_signature: type: string format: byte description: >- - Vote extension signature by the validator if - they participated in - + Vote extension signature by the validator if they participated in + consensus for the associated block. - + Only valid for precommit messages. - description: >- - Vote represents a prevote or precommit vote from - validators for + description: >- + Vote represents a prevote or precommit vote from validators for + consensus. + total_voting_power: type: string format: int64 @@ -46085,8 +42645,8 @@ definitions: type: string format: date-time description: >- - DuplicateVoteEvidence contains evidence of a validator - signed two conflicting votes. + DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes. + light_client_attack_evidence: type: object properties: @@ -46110,14 +42670,12 @@ definitions: type: string format: uint64 description: >- - Consensus captures the consensus rules - for processing a block in the - blockchain, - - including all blockchain data structures - and the rules of the application's - + Consensus captures the consensus rules for processing a block in the blockchain, + + including all blockchain data structures and the rules of the application's + state transition machine. + chain_id: type: string height: @@ -46143,15 +42701,15 @@ definitions: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block - as its hash and its `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + title: prev block info last_commit_hash: type: string format: byte description: >- - commit from validators from the last - block + commit from validators from the last block + title: hashes of block data data_hash: type: string @@ -46162,8 +42720,8 @@ definitions: format: byte description: validators for the current block title: >- - hashes from the app output from the prev - block + hashes from the app output from the prev block + next_validators_hash: type: string format: byte @@ -46180,8 +42738,8 @@ definitions: type: string format: byte title: >- - root hash of all results from the txs - from the previous block + root hash of all results from the txs from the previous block + evidence_hash: type: string format: byte @@ -46192,8 +42750,8 @@ definitions: format: byte title: original proposer of the block description: >- - Header defines the structure of a block - header. + Header defines the structure of a block header. + commit: type: object properties: @@ -46220,8 +42778,8 @@ definitions: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block - as its hash and its `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + signatures: type: array items: @@ -46236,14 +42794,14 @@ definitions: - BLOCK_ID_FLAG_NIL default: BLOCK_ID_FLAG_UNKNOWN description: >- - - BLOCK_ID_FLAG_UNKNOWN: Indicates an - error condition + - BLOCK_ID_FLAG_UNKNOWN: Indicates an error condition - BLOCK_ID_FLAG_ABSENT: The vote was not received - BLOCK_ID_FLAG_COMMIT: Voted for the block that received the majority - BLOCK_ID_FLAG_NIL: Voted for nil + title: >- - BlockIdFlag indicates which BlockID the - signature is for + BlockIdFlag indicates which BlockID the signature is for + validator_address: type: string format: byte @@ -46254,15 +42812,14 @@ definitions: type: string format: byte description: >- - CommitSig is a part of the Vote included - in a Commit. + CommitSig is a part of the Vote included in a Commit. + description: >- - Commit contains the evidence that a block - was committed by a set of validators. + Commit contains the evidence that a block was committed by a set of validators. + description: >- - SignedHeader contains a Header(H) and - Commit(H+1) with signatures of validators who - signed it. + SignedHeader contains a Header(H) and Commit(H+1) with signatures of validators who signed it. + validator_set: type: object properties: @@ -46284,8 +42841,8 @@ definitions: type: string format: byte description: >- - PublicKey is a ED25519 or a secp256k1 - public key. + PublicKey is a ED25519 or a secp256k1 public key. + voting_power: type: string format: int64 @@ -46293,8 +42850,8 @@ definitions: type: string format: int64 description: >- - Validator represents a node participating - in the consensus protocol. + Validator represents a node participating in the consensus protocol. + proposer: type: object properties: @@ -46311,8 +42868,8 @@ definitions: type: string format: byte description: >- - PublicKey is a ED25519 or a secp256k1 - public key. + PublicKey is a ED25519 or a secp256k1 public key. + voting_power: type: string format: int64 @@ -46320,15 +42877,15 @@ definitions: type: string format: int64 description: >- - Validator represents a node participating in - the consensus protocol. + Validator represents a node participating in the consensus protocol. + total_voting_power: type: string format: int64 description: ValidatorSet defines a set of validators. description: >- - LightBlock is a combination of SignedHeader and - ValidatorSet. It is used by light clients. + LightBlock is a combination of SignedHeader and ValidatorSet. It is used by light clients. + common_height: type: string format: int64 @@ -46350,8 +42907,8 @@ definitions: type: string format: byte description: >- - PublicKey is a ED25519 or a secp256k1 public - key. + PublicKey is a ED25519 or a secp256k1 public key. + voting_power: type: string format: int64 @@ -46359,8 +42916,8 @@ definitions: type: string format: int64 description: >- - Validator represents a node participating in the - consensus protocol. + Validator represents a node participating in the consensus protocol. + total_voting_power: type: string format: int64 @@ -46368,11 +42925,11 @@ definitions: type: string format: date-time description: >- - LightClientAttackEvidence contains evidence of a set of - validators attempting to mislead a light client. + LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client. + description: >- - Evidence is a generic type for wrapping evidence of - misbehavior by a validator. + Evidence is a generic type for wrapping evidence of misbehavior by a validator. + description: EvidenceList is a list of evidence. last_commit: type: object @@ -46400,8 +42957,8 @@ definitions: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block as its hash and its - `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + signatures: type: array items: @@ -46432,14 +42989,14 @@ definitions: format: byte description: CommitSig is a part of the Vote included in a Commit. description: >- - Commit contains the evidence that a block was committed by a set - of validators. + Commit contains the evidence that a block was committed by a set of validators. + description: |- Block is tendermint type Block, with the Header proposer address field converted to bech32 string. description: >- - GetBlockByHeightResponse is the response type for the - Query/GetBlockByHeight RPC method. + GetBlockByHeightResponse is the response type for the Query/GetBlockByHeight RPC method. + cosmos.base.tendermint.v1beta1.GetLatestBlockResponse: type: object properties: @@ -46460,10 +43017,10 @@ definitions: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block as its hash and its - `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + block: - title: 'Deprecated: please use `sdk_block` instead' + title: "Deprecated: please use `sdk_block` instead" type: object properties: header: @@ -46480,13 +43037,12 @@ definitions: type: string format: uint64 description: >- - Consensus captures the consensus rules for processing a block - in the blockchain, - - including all blockchain data structures and the rules of the - application's - + Consensus captures the consensus rules for processing a block in the blockchain, + + including all blockchain data structures and the rules of the application's + state transition machine. + chain_id: type: string height: @@ -46512,8 +43068,8 @@ definitions: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block as its hash and its - `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + title: prev block info last_commit_hash: type: string @@ -46565,11 +43121,11 @@ definitions: format: byte description: >- Txs that will be applied by state @ block.Height+1. - - NOTE: not all txs here are valid. We're just agreeing on the - order first. - + + NOTE: not all txs here are valid. We're just agreeing on the order first. + This means that block.AppHash does not include these txs. + title: Data contains the set of transactions included in the block evidence: type: object @@ -46594,13 +43150,13 @@ definitions: - SIGNED_MSG_TYPE_PROPOSAL default: SIGNED_MSG_TYPE_UNKNOWN description: >- - SignedMsgType is a type of signed message in the - consensus. - + SignedMsgType is a type of signed message in the consensus. + - SIGNED_MSG_TYPE_UNKNOWN: Unknown - SIGNED_MSG_TYPE_PREVOTE: Prevote - SIGNED_MSG_TYPE_PRECOMMIT: Precommit - SIGNED_MSG_TYPE_PROPOSAL: Proposal + height: type: string format: int64 @@ -46624,8 +43180,8 @@ definitions: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block as its - hash and its `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + timestamp: type: string format: date-time @@ -46639,33 +43195,33 @@ definitions: type: string format: byte description: >- - Vote signature by the validator if they - participated in consensus for the - + Vote signature by the validator if they participated in consensus for the + associated block. + extension: type: string format: byte description: >- - Vote extension provided by the application. Only - valid for precommit - + Vote extension provided by the application. Only valid for precommit + messages. + extension_signature: type: string format: byte description: >- - Vote extension signature by the validator if - they participated in - + Vote extension signature by the validator if they participated in + consensus for the associated block. - + Only valid for precommit messages. - description: >- - Vote represents a prevote or precommit vote from - validators for + description: >- + Vote represents a prevote or precommit vote from validators for + consensus. + vote_b: type: object properties: @@ -46678,13 +43234,13 @@ definitions: - SIGNED_MSG_TYPE_PROPOSAL default: SIGNED_MSG_TYPE_UNKNOWN description: >- - SignedMsgType is a type of signed message in the - consensus. - + SignedMsgType is a type of signed message in the consensus. + - SIGNED_MSG_TYPE_UNKNOWN: Unknown - SIGNED_MSG_TYPE_PREVOTE: Prevote - SIGNED_MSG_TYPE_PRECOMMIT: Precommit - SIGNED_MSG_TYPE_PROPOSAL: Proposal + height: type: string format: int64 @@ -46708,8 +43264,8 @@ definitions: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block as its - hash and its `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + timestamp: type: string format: date-time @@ -46723,33 +43279,33 @@ definitions: type: string format: byte description: >- - Vote signature by the validator if they - participated in consensus for the - + Vote signature by the validator if they participated in consensus for the + associated block. + extension: type: string format: byte description: >- - Vote extension provided by the application. Only - valid for precommit - + Vote extension provided by the application. Only valid for precommit + messages. + extension_signature: type: string format: byte description: >- - Vote extension signature by the validator if - they participated in - + Vote extension signature by the validator if they participated in + consensus for the associated block. - + Only valid for precommit messages. - description: >- - Vote represents a prevote or precommit vote from - validators for + description: >- + Vote represents a prevote or precommit vote from validators for + consensus. + total_voting_power: type: string format: int64 @@ -46760,8 +43316,8 @@ definitions: type: string format: date-time description: >- - DuplicateVoteEvidence contains evidence of a validator - signed two conflicting votes. + DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes. + light_client_attack_evidence: type: object properties: @@ -46785,14 +43341,12 @@ definitions: type: string format: uint64 description: >- - Consensus captures the consensus rules - for processing a block in the - blockchain, - - including all blockchain data structures - and the rules of the application's - + Consensus captures the consensus rules for processing a block in the blockchain, + + including all blockchain data structures and the rules of the application's + state transition machine. + chain_id: type: string height: @@ -46818,15 +43372,15 @@ definitions: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block - as its hash and its `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + title: prev block info last_commit_hash: type: string format: byte description: >- - commit from validators from the last - block + commit from validators from the last block + title: hashes of block data data_hash: type: string @@ -46837,8 +43391,8 @@ definitions: format: byte description: validators for the current block title: >- - hashes from the app output from the prev - block + hashes from the app output from the prev block + next_validators_hash: type: string format: byte @@ -46855,8 +43409,8 @@ definitions: type: string format: byte title: >- - root hash of all results from the txs - from the previous block + root hash of all results from the txs from the previous block + evidence_hash: type: string format: byte @@ -46867,8 +43421,8 @@ definitions: format: byte title: original proposer of the block description: >- - Header defines the structure of a block - header. + Header defines the structure of a block header. + commit: type: object properties: @@ -46895,8 +43449,8 @@ definitions: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block - as its hash and its `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + signatures: type: array items: @@ -46911,14 +43465,14 @@ definitions: - BLOCK_ID_FLAG_NIL default: BLOCK_ID_FLAG_UNKNOWN description: >- - - BLOCK_ID_FLAG_UNKNOWN: Indicates an - error condition + - BLOCK_ID_FLAG_UNKNOWN: Indicates an error condition - BLOCK_ID_FLAG_ABSENT: The vote was not received - BLOCK_ID_FLAG_COMMIT: Voted for the block that received the majority - BLOCK_ID_FLAG_NIL: Voted for nil + title: >- - BlockIdFlag indicates which BlockID the - signature is for + BlockIdFlag indicates which BlockID the signature is for + validator_address: type: string format: byte @@ -46929,15 +43483,14 @@ definitions: type: string format: byte description: >- - CommitSig is a part of the Vote included - in a Commit. + CommitSig is a part of the Vote included in a Commit. + description: >- - Commit contains the evidence that a block - was committed by a set of validators. + Commit contains the evidence that a block was committed by a set of validators. + description: >- - SignedHeader contains a Header(H) and - Commit(H+1) with signatures of validators who - signed it. + SignedHeader contains a Header(H) and Commit(H+1) with signatures of validators who signed it. + validator_set: type: object properties: @@ -46959,8 +43512,8 @@ definitions: type: string format: byte description: >- - PublicKey is a ED25519 or a secp256k1 - public key. + PublicKey is a ED25519 or a secp256k1 public key. + voting_power: type: string format: int64 @@ -46968,8 +43521,8 @@ definitions: type: string format: int64 description: >- - Validator represents a node participating - in the consensus protocol. + Validator represents a node participating in the consensus protocol. + proposer: type: object properties: @@ -46986,8 +43539,8 @@ definitions: type: string format: byte description: >- - PublicKey is a ED25519 or a secp256k1 - public key. + PublicKey is a ED25519 or a secp256k1 public key. + voting_power: type: string format: int64 @@ -46995,15 +43548,15 @@ definitions: type: string format: int64 description: >- - Validator represents a node participating in - the consensus protocol. + Validator represents a node participating in the consensus protocol. + total_voting_power: type: string format: int64 description: ValidatorSet defines a set of validators. description: >- - LightBlock is a combination of SignedHeader and - ValidatorSet. It is used by light clients. + LightBlock is a combination of SignedHeader and ValidatorSet. It is used by light clients. + common_height: type: string format: int64 @@ -47025,8 +43578,8 @@ definitions: type: string format: byte description: >- - PublicKey is a ED25519 or a secp256k1 public - key. + PublicKey is a ED25519 or a secp256k1 public key. + voting_power: type: string format: int64 @@ -47034,8 +43587,8 @@ definitions: type: string format: int64 description: >- - Validator represents a node participating in the - consensus protocol. + Validator represents a node participating in the consensus protocol. + total_voting_power: type: string format: int64 @@ -47043,11 +43596,11 @@ definitions: type: string format: date-time description: >- - LightClientAttackEvidence contains evidence of a set of - validators attempting to mislead a light client. + LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client. + description: >- - Evidence is a generic type for wrapping evidence of - misbehavior by a validator. + Evidence is a generic type for wrapping evidence of misbehavior by a validator. + description: EvidenceList is a list of evidence. last_commit: type: object @@ -47075,8 +43628,8 @@ definitions: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block as its hash and its - `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + signatures: type: array items: @@ -47107,8 +43660,8 @@ definitions: format: byte description: CommitSig is a part of the Vote included in a Commit. description: >- - Commit contains the evidence that a block was committed by a set - of validators. + Commit contains the evidence that a block was committed by a set of validators. + description: Block defines the structure of a block in the CometBFT blockchain. sdk_block: type: object @@ -47127,13 +43680,12 @@ definitions: type: string format: uint64 description: >- - Consensus captures the consensus rules for processing a block - in the blockchain, - - including all blockchain data structures and the rules of the - application's - + Consensus captures the consensus rules for processing a block in the blockchain, + + including all blockchain data structures and the rules of the application's + state transition machine. + chain_id: type: string height: @@ -47159,8 +43711,8 @@ definitions: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block as its hash and its - `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + title: prev block info last_commit_hash: type: string @@ -47200,16 +43752,15 @@ definitions: proposer_address: type: string description: >- - proposer_address is the original block proposer address, - formatted as a Bech32 string. - - In Tendermint, this type is `bytes`, but in the SDK, we - convert it to a Bech32 string - + proposer_address is the original block proposer address, formatted as a Bech32 string. + + In Tendermint, this type is `bytes`, but in the SDK, we convert it to a Bech32 string + for better UX. - - + + original proposer of the block + description: Header defines the structure of a Tendermint block header. data: type: object @@ -47221,11 +43772,11 @@ definitions: format: byte description: >- Txs that will be applied by state @ block.Height+1. - - NOTE: not all txs here are valid. We're just agreeing on the - order first. - + + NOTE: not all txs here are valid. We're just agreeing on the order first. + This means that block.AppHash does not include these txs. + title: Data contains the set of transactions included in the block evidence: type: object @@ -47250,13 +43801,13 @@ definitions: - SIGNED_MSG_TYPE_PROPOSAL default: SIGNED_MSG_TYPE_UNKNOWN description: >- - SignedMsgType is a type of signed message in the - consensus. - + SignedMsgType is a type of signed message in the consensus. + - SIGNED_MSG_TYPE_UNKNOWN: Unknown - SIGNED_MSG_TYPE_PREVOTE: Prevote - SIGNED_MSG_TYPE_PRECOMMIT: Precommit - SIGNED_MSG_TYPE_PROPOSAL: Proposal + height: type: string format: int64 @@ -47280,8 +43831,8 @@ definitions: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block as its - hash and its `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + timestamp: type: string format: date-time @@ -47295,33 +43846,33 @@ definitions: type: string format: byte description: >- - Vote signature by the validator if they - participated in consensus for the - + Vote signature by the validator if they participated in consensus for the + associated block. + extension: type: string format: byte description: >- - Vote extension provided by the application. Only - valid for precommit - + Vote extension provided by the application. Only valid for precommit + messages. + extension_signature: type: string format: byte description: >- - Vote extension signature by the validator if - they participated in - + Vote extension signature by the validator if they participated in + consensus for the associated block. - + Only valid for precommit messages. - description: >- - Vote represents a prevote or precommit vote from - validators for + description: >- + Vote represents a prevote or precommit vote from validators for + consensus. + vote_b: type: object properties: @@ -47334,13 +43885,13 @@ definitions: - SIGNED_MSG_TYPE_PROPOSAL default: SIGNED_MSG_TYPE_UNKNOWN description: >- - SignedMsgType is a type of signed message in the - consensus. - + SignedMsgType is a type of signed message in the consensus. + - SIGNED_MSG_TYPE_UNKNOWN: Unknown - SIGNED_MSG_TYPE_PREVOTE: Prevote - SIGNED_MSG_TYPE_PRECOMMIT: Precommit - SIGNED_MSG_TYPE_PROPOSAL: Proposal + height: type: string format: int64 @@ -47364,8 +43915,8 @@ definitions: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block as its - hash and its `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + timestamp: type: string format: date-time @@ -47379,33 +43930,33 @@ definitions: type: string format: byte description: >- - Vote signature by the validator if they - participated in consensus for the - + Vote signature by the validator if they participated in consensus for the + associated block. + extension: type: string format: byte description: >- - Vote extension provided by the application. Only - valid for precommit - + Vote extension provided by the application. Only valid for precommit + messages. + extension_signature: type: string format: byte description: >- - Vote extension signature by the validator if - they participated in - + Vote extension signature by the validator if they participated in + consensus for the associated block. - + Only valid for precommit messages. - description: >- - Vote represents a prevote or precommit vote from - validators for + description: >- + Vote represents a prevote or precommit vote from validators for + consensus. + total_voting_power: type: string format: int64 @@ -47416,8 +43967,8 @@ definitions: type: string format: date-time description: >- - DuplicateVoteEvidence contains evidence of a validator - signed two conflicting votes. + DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes. + light_client_attack_evidence: type: object properties: @@ -47441,14 +43992,12 @@ definitions: type: string format: uint64 description: >- - Consensus captures the consensus rules - for processing a block in the - blockchain, - - including all blockchain data structures - and the rules of the application's - + Consensus captures the consensus rules for processing a block in the blockchain, + + including all blockchain data structures and the rules of the application's + state transition machine. + chain_id: type: string height: @@ -47474,15 +44023,15 @@ definitions: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block - as its hash and its `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + title: prev block info last_commit_hash: type: string format: byte description: >- - commit from validators from the last - block + commit from validators from the last block + title: hashes of block data data_hash: type: string @@ -47493,8 +44042,8 @@ definitions: format: byte description: validators for the current block title: >- - hashes from the app output from the prev - block + hashes from the app output from the prev block + next_validators_hash: type: string format: byte @@ -47511,8 +44060,8 @@ definitions: type: string format: byte title: >- - root hash of all results from the txs - from the previous block + root hash of all results from the txs from the previous block + evidence_hash: type: string format: byte @@ -47523,8 +44072,8 @@ definitions: format: byte title: original proposer of the block description: >- - Header defines the structure of a block - header. + Header defines the structure of a block header. + commit: type: object properties: @@ -47551,8 +44100,8 @@ definitions: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block - as its hash and its `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + signatures: type: array items: @@ -47567,14 +44116,14 @@ definitions: - BLOCK_ID_FLAG_NIL default: BLOCK_ID_FLAG_UNKNOWN description: >- - - BLOCK_ID_FLAG_UNKNOWN: Indicates an - error condition + - BLOCK_ID_FLAG_UNKNOWN: Indicates an error condition - BLOCK_ID_FLAG_ABSENT: The vote was not received - BLOCK_ID_FLAG_COMMIT: Voted for the block that received the majority - BLOCK_ID_FLAG_NIL: Voted for nil + title: >- - BlockIdFlag indicates which BlockID the - signature is for + BlockIdFlag indicates which BlockID the signature is for + validator_address: type: string format: byte @@ -47585,15 +44134,14 @@ definitions: type: string format: byte description: >- - CommitSig is a part of the Vote included - in a Commit. + CommitSig is a part of the Vote included in a Commit. + description: >- - Commit contains the evidence that a block - was committed by a set of validators. + Commit contains the evidence that a block was committed by a set of validators. + description: >- - SignedHeader contains a Header(H) and - Commit(H+1) with signatures of validators who - signed it. + SignedHeader contains a Header(H) and Commit(H+1) with signatures of validators who signed it. + validator_set: type: object properties: @@ -47615,8 +44163,8 @@ definitions: type: string format: byte description: >- - PublicKey is a ED25519 or a secp256k1 - public key. + PublicKey is a ED25519 or a secp256k1 public key. + voting_power: type: string format: int64 @@ -47624,8 +44172,8 @@ definitions: type: string format: int64 description: >- - Validator represents a node participating - in the consensus protocol. + Validator represents a node participating in the consensus protocol. + proposer: type: object properties: @@ -47642,8 +44190,8 @@ definitions: type: string format: byte description: >- - PublicKey is a ED25519 or a secp256k1 - public key. + PublicKey is a ED25519 or a secp256k1 public key. + voting_power: type: string format: int64 @@ -47651,15 +44199,15 @@ definitions: type: string format: int64 description: >- - Validator represents a node participating in - the consensus protocol. + Validator represents a node participating in the consensus protocol. + total_voting_power: type: string format: int64 description: ValidatorSet defines a set of validators. description: >- - LightBlock is a combination of SignedHeader and - ValidatorSet. It is used by light clients. + LightBlock is a combination of SignedHeader and ValidatorSet. It is used by light clients. + common_height: type: string format: int64 @@ -47681,8 +44229,8 @@ definitions: type: string format: byte description: >- - PublicKey is a ED25519 or a secp256k1 public - key. + PublicKey is a ED25519 or a secp256k1 public key. + voting_power: type: string format: int64 @@ -47690,8 +44238,8 @@ definitions: type: string format: int64 description: >- - Validator represents a node participating in the - consensus protocol. + Validator represents a node participating in the consensus protocol. + total_voting_power: type: string format: int64 @@ -47699,11 +44247,11 @@ definitions: type: string format: date-time description: >- - LightClientAttackEvidence contains evidence of a set of - validators attempting to mislead a light client. + LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client. + description: >- - Evidence is a generic type for wrapping evidence of - misbehavior by a validator. + Evidence is a generic type for wrapping evidence of misbehavior by a validator. + description: EvidenceList is a list of evidence. last_commit: type: object @@ -47731,8 +44279,8 @@ definitions: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block as its hash and its - `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + signatures: type: array items: @@ -47763,14 +44311,14 @@ definitions: format: byte description: CommitSig is a part of the Vote included in a Commit. description: >- - Commit contains the evidence that a block was committed by a set - of validators. + Commit contains the evidence that a block was committed by a set of validators. + description: |- Block is tendermint type Block, with the Header proposer address field converted to bech32 string. description: >- - GetLatestBlockResponse is the response type for the Query/GetLatestBlock - RPC method. + GetLatestBlockResponse is the response type for the Query/GetLatestBlock RPC method. + cosmos.base.tendermint.v1beta1.GetLatestValidatorSetResponse: type: object properties: @@ -47787,80 +44335,66 @@ definitions: pub_key: type: object properties: - '@type': + "@type": type: string description: >- - A URL/resource name that uniquely identifies the type of the - serialized - + 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 - + + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer message - along with a - + `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. - - + + + 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); @@ -47868,9 +44402,9 @@ definitions: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -47881,9 +44415,9 @@ definitions: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -47891,9 +44425,9 @@ definitions: 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 { @@ -47904,56 +44438,53 @@ definitions: 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 - '/' - + + 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 - + + 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" } + voting_power: type: string format: int64 @@ -47976,13 +44507,13 @@ definitions: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise + description: >- - GetLatestValidatorSetResponse is the response type for the - Query/GetValidatorSetByHeight RPC method. + GetLatestValidatorSetResponse is the response type for the Query/GetValidatorSetByHeight RPC method. + cosmos.base.tendermint.v1beta1.GetNodeInfoResponse: type: object properties: @@ -48024,10 +44555,10 @@ definitions: type: string description: DefaultNodeInfoOther is the misc. application specific data. description: >- - DefaultNodeInfo is a basic node's information sent to other peers - during the - + DefaultNodeInfo is a basic node's information sent to other peers during the + p2p handshake. + application_version: type: object properties: @@ -48062,16 +44593,16 @@ definitions: type: string description: VersionInfo is the type for the GetNodeInfoResponse message. description: >- - GetNodeInfoResponse is the response type for the Query/GetNodeInfo RPC - method. + GetNodeInfoResponse is the response type for the Query/GetNodeInfo RPC method. + cosmos.base.tendermint.v1beta1.GetSyncingResponse: type: object properties: syncing: type: boolean description: >- - GetSyncingResponse is the response type for the Query/GetSyncing RPC - method. + GetSyncingResponse is the response type for the Query/GetSyncing RPC method. + cosmos.base.tendermint.v1beta1.GetValidatorSetByHeightResponse: type: object properties: @@ -48088,80 +44619,66 @@ definitions: pub_key: type: object properties: - '@type': + "@type": type: string description: >- - A URL/resource name that uniquely identifies the type of the - serialized - + 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 - + + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer message - along with a - + `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. - - + + + 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); @@ -48169,9 +44686,9 @@ definitions: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -48182,9 +44699,9 @@ definitions: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -48192,9 +44709,9 @@ definitions: 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 { @@ -48205,56 +44722,53 @@ definitions: 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 - '/' - + + 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 - + + 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" } + voting_power: type: string format: int64 @@ -48277,13 +44791,13 @@ definitions: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise + description: >- - GetValidatorSetByHeightResponse is the response type for the - Query/GetValidatorSetByHeight RPC method. + GetValidatorSetByHeightResponse is the response type for the Query/GetValidatorSetByHeight RPC method. + cosmos.base.tendermint.v1beta1.Header: type: object properties: @@ -48298,13 +44812,12 @@ definitions: type: string format: uint64 description: >- - Consensus captures the consensus rules for processing a block in the - blockchain, - - including all blockchain data structures and the rules of the - application's - + Consensus captures the consensus rules for processing a block in the blockchain, + + including all blockchain data structures and the rules of the application's + state transition machine. + chain_id: type: string height: @@ -48330,8 +44843,8 @@ definitions: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block as its hash and its - `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + title: prev block info last_commit_hash: type: string @@ -48371,16 +44884,15 @@ definitions: proposer_address: type: string description: >- - proposer_address is the original block proposer address, formatted as - a Bech32 string. - - In Tendermint, this type is `bytes`, but in the SDK, we convert it to - a Bech32 string - + proposer_address is the original block proposer address, formatted as a Bech32 string. + + In Tendermint, this type is `bytes`, but in the SDK, we convert it to a Bech32 string + for better UX. - - + + original proposer of the block + description: Header defines the structure of a Tendermint block header. cosmos.base.tendermint.v1beta1.Module: type: object @@ -48403,39 +44915,33 @@ definitions: pub_key: type: object properties: - '@type': + "@type": type: string description: >- - A URL/resource name that uniquely identifies the type of the - serialized - + 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 - + + 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 - + + `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 - + + + 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 @@ -48443,34 +44949,32 @@ definitions: 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 - + + 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. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer message along - with a - + `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 - + + + 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); @@ -48478,9 +44982,9 @@ definitions: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -48491,9 +44995,9 @@ definitions: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -48501,9 +45005,9 @@ definitions: 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 { @@ -48514,52 +45018,53 @@ definitions: 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" } + voting_power: type: string format: int64 @@ -48679,17 +45184,17 @@ definitions: base_proposer_reward: type: string description: >- - Deprecated: The base_proposer_reward field is deprecated and is no - longer used - + Deprecated: The base_proposer_reward field is deprecated and is no longer used + in the x/distribution module's reward mechanism. + bonus_proposer_reward: type: string description: >- - Deprecated: The bonus_proposer_reward field is deprecated and is no - longer used - + Deprecated: The bonus_proposer_reward field is deprecated and is no longer used + in the x/distribution module's reward mechanism. + withdraw_addr_enabled: type: boolean description: Params defines the set of params for the distribution module. @@ -48712,13 +45217,13 @@ definitions: signatures required by gogoproto. description: pool defines community pool's coins. description: >- - QueryCommunityPoolResponse is the response type for the - Query/CommunityPool - + QueryCommunityPoolResponse is the response type for the Query/CommunityPool + RPC method. - - + + Deprecated + cosmos.distribution.v1beta1.QueryDelegationRewardsResponse: type: object properties: @@ -48760,14 +45265,13 @@ definitions: amount: type: string description: >- - DecCoin defines a token with a denomination and a decimal - amount. - - - NOTE: The amount field is an Dec which implements the custom - method - + DecCoin defines a token with a denomination and a decimal amount. + + + NOTE: The amount field is an Dec which implements the custom method + signatures required by gogoproto. + description: |- DelegationDelegatorReward represents the properties of a delegator's delegation reward. @@ -48822,17 +45326,17 @@ definitions: base_proposer_reward: type: string description: >- - Deprecated: The base_proposer_reward field is deprecated and is no - longer used - + Deprecated: The base_proposer_reward field is deprecated and is no longer used + in the x/distribution module's reward mechanism. + bonus_proposer_reward: type: string description: >- - Deprecated: The bonus_proposer_reward field is deprecated and is - no longer used - + Deprecated: The bonus_proposer_reward field is deprecated and is no longer used + in the x/distribution module's reward mechanism. + withdraw_addr_enabled: type: boolean description: QueryParamsResponse is the response type for the Query/Params RPC method. @@ -48853,14 +45357,13 @@ definitions: amount: type: string description: >- - DecCoin defines a token with a denomination and a decimal - amount. - - - NOTE: The amount field is an Dec which implements the custom - method - + DecCoin defines a token with a denomination and a decimal amount. + + + NOTE: The amount field is an Dec which implements the custom method + signatures required by gogoproto. + title: |- QueryValidatorCommissionResponse is the response type for the Query/ValidatorCommission RPC method @@ -48901,8 +45404,8 @@ definitions: signatures required by gogoproto. description: commission defines the commission the validator received. description: >- - QueryValidatorDistributionInfoResponse is the response type for the - Query/ValidatorDistributionInfo RPC method. + QueryValidatorDistributionInfoResponse is the response type for the Query/ValidatorDistributionInfo RPC method. + cosmos.distribution.v1beta1.QueryValidatorOutstandingRewardsResponse: type: object properties: @@ -48919,19 +45422,18 @@ definitions: amount: type: string description: >- - DecCoin defines a token with a denomination and a decimal - amount. - - - NOTE: The amount field is an Dec which implements the custom - method - + DecCoin defines a token with a denomination and a decimal amount. + + + NOTE: The amount field is an Dec which implements the custom method + signatures required by gogoproto. - description: >- - ValidatorOutstandingRewards represents outstanding (un-withdrawn) - rewards + description: >- + ValidatorOutstandingRewards represents outstanding (un-withdrawn) rewards + for a validator inexpensive to track, allows simple sanity checks. + description: |- QueryValidatorOutstandingRewardsResponse is the response type for the Query/ValidatorOutstandingRewards RPC method. @@ -48969,10 +45471,10 @@ definitions: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise + description: |- QueryValidatorSlashesResponse is the response type for the Query/ValidatorSlashes RPC method. @@ -49037,39 +45539,33 @@ definitions: items: type: object properties: - '@type': + "@type": type: string description: >- - A URL/resource name that uniquely identifies the type of the - serialized - + 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 - + + 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 - + + `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 - + + + 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 @@ -49077,37 +45573,32 @@ definitions: 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer message along - with a - + `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. - - + + + 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); @@ -49115,9 +45606,9 @@ definitions: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -49128,9 +45619,9 @@ definitions: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -49138,9 +45629,9 @@ definitions: 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 { @@ -49151,52 +45642,53 @@ definitions: 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" } + description: evidence returns all evidences. pagination: description: pagination defines the pagination in the response. @@ -49213,15 +45705,15 @@ definitions: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise - description: >- - QueryAllEvidenceResponse is the response type for the Query/AllEvidence - RPC + description: >- + QueryAllEvidenceResponse is the response type for the Query/AllEvidence RPC + method. + cosmos.evidence.v1beta1.QueryEvidenceResponse: type: object properties: @@ -49229,39 +45721,33 @@ definitions: description: evidence returns the requested evidence. type: object properties: - '@type': + "@type": type: string description: >- - A URL/resource name that uniquely identifies the type of the - serialized - + 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 - + + 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 - + + `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 - + + + 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 @@ -49269,22 +45755,22 @@ definitions: 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 - + + 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. + additionalProperties: {} description: >- - QueryEvidenceResponse is the response type for the Query/Evidence RPC - method. + QueryEvidenceResponse is the response type for the Query/Evidence RPC method. + cosmos.gov.v1beta1.Deposit: type: object properties: @@ -49334,10 +45820,10 @@ definitions: max_deposit_period: type: string description: >- - Maximum period for Atom holders to deposit on a proposal. Initial - value: 2 - + Maximum period for Atom holders to deposit on a proposal. Initial value: 2 + months. + description: DepositParams defines the params for deposits on governance proposals. cosmos.gov.v1beta1.Proposal: type: object @@ -49350,39 +45836,33 @@ definitions: description: content is the proposal's content. type: object properties: - '@type': + "@type": type: string description: >- - A URL/resource name that uniquely identifies the type of the - serialized - + 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 - + + 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 - + + `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 - + + + 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 @@ -49390,18 +45870,18 @@ definitions: 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 - + + 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. + additionalProperties: {} status: description: status defines the proposal status. @@ -49421,13 +45901,13 @@ definitions: proposal's voting period has ended. type: object properties: - 'yes': + "yes": type: string description: yes is the number of yes votes on a proposal. abstain: type: string description: abstain is the number of abstain votes on a proposal. - 'no': + "no": type: string description: no is the number of no votes on a proposal. no_with_veto: @@ -49514,16 +45994,16 @@ definitions: type: string description: >- Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - + + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + description: amount to be deposited by depositor. description: >- - QueryDepositResponse is the response type for the Query/Deposit RPC - method. + QueryDepositResponse is the response type for the Query/Deposit RPC method. + cosmos.gov.v1beta1.QueryDepositsResponse: type: object properties: @@ -49550,18 +46030,18 @@ definitions: type: string description: >- Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - + + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + description: amount to be deposited by depositor. description: >- - Deposit defines an amount deposited by an account address to an - active - + Deposit defines an amount deposited by an account address to an active + proposal. + description: deposits defines the requested deposits. pagination: description: pagination defines the pagination in the response. @@ -49578,13 +46058,13 @@ definitions: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise + description: >- - QueryDepositsResponse is the response type for the Query/Deposits RPC - method. + QueryDepositsResponse is the response type for the Query/Deposits RPC method. + cosmos.gov.v1beta1.QueryParamsResponse: type: object properties: @@ -49610,20 +46090,20 @@ definitions: type: string description: >- Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - + + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + description: Minimum deposit for a proposal to enter voting period. max_deposit_period: type: string description: >- - Maximum period for Atom holders to deposit on a proposal. Initial - value: 2 - + Maximum period for Atom holders to deposit on a proposal. Initial value: 2 + months. + tally_params: description: tally_params defines the parameters related to tally. type: object @@ -49632,24 +46112,24 @@ definitions: type: string format: byte description: >- - Minimum percentage of total stake needed to vote for a result to - be - + Minimum percentage of total stake needed to vote for a result to be + considered valid. + threshold: type: string format: byte description: >- - Minimum proportion of Yes votes for proposal to pass. Default - value: 0.5. + Minimum proportion of Yes votes for proposal to pass. Default value: 0.5. + veto_threshold: type: string format: byte description: >- - Minimum value of Veto votes to Total votes ratio for proposal to - be - + Minimum value of Veto votes to Total votes ratio for proposal to be + vetoed. Default value: 1/3. + description: QueryParamsResponse is the response type for the Query/Params RPC method. cosmos.gov.v1beta1.QueryProposalResponse: type: object @@ -49665,61 +46145,52 @@ definitions: description: content is the proposal's content. type: object properties: - '@type': + "@type": type: string description: >- - A URL/resource name that uniquely identifies the type of the - serialized - + 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 - + + 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 - + + `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 - + + + 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} status: description: status defines the proposal status. @@ -49735,27 +46206,27 @@ definitions: final_tally_result: description: >- final_tally_result is the final tally result of the proposal. When - - querying a proposal via gRPC, this field is not populated until - the - + + querying a proposal via gRPC, this field is not populated until the + proposal's voting period has ended. + type: object properties: - 'yes': + "yes": type: string description: yes is the number of yes votes on a proposal. abstain: type: string description: abstain is the number of abstain votes on a proposal. - 'no': + "no": type: string description: no is the number of no votes on a proposal. no_with_veto: type: string description: >- - no_with_veto is the number of no with veto votes on a - proposal. + no_with_veto is the number of no with veto votes on a proposal. + submit_time: type: string format: date-time @@ -49775,12 +46246,12 @@ definitions: type: string description: >- Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - + + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + description: total_deposit is the total deposit on the proposal. voting_start_time: type: string @@ -49792,8 +46263,8 @@ definitions: description: voting_end_time is the end time of voting on a proposal. description: Proposal defines the core field members of a governance proposal. description: >- - QueryProposalResponse is the response type for the Query/Proposal RPC - method. + QueryProposalResponse is the response type for the Query/Proposal RPC method. + cosmos.gov.v1beta1.QueryProposalsResponse: type: object properties: @@ -49810,63 +46281,52 @@ definitions: description: content is the proposal's content. type: object properties: - '@type': + "@type": type: string description: >- - A URL/resource name that uniquely identifies the type of the - serialized - + 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 - + + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} status: description: status defines the proposal status. @@ -49881,29 +46341,28 @@ definitions: default: PROPOSAL_STATUS_UNSPECIFIED final_tally_result: description: >- - final_tally_result is the final tally result of the proposal. - When - - querying a proposal via gRPC, this field is not populated until - the - + final_tally_result is the final tally result of the proposal. When + + querying a proposal via gRPC, this field is not populated until the + proposal's voting period has ended. + type: object properties: - 'yes': + "yes": type: string description: yes is the number of yes votes on a proposal. abstain: type: string description: abstain is the number of abstain votes on a proposal. - 'no': + "no": type: string description: no is the number of no votes on a proposal. no_with_veto: type: string description: >- - no_with_veto is the number of no with veto votes on a - proposal. + no_with_veto is the number of no with veto votes on a proposal. + submit_time: type: string format: date-time @@ -49923,12 +46382,12 @@ definitions: type: string description: >- Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - + + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + description: total_deposit is the total deposit on the proposal. voting_start_time: type: string @@ -49955,10 +46414,10 @@ definitions: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise + description: |- QueryProposalsResponse is the response type for the Query/Proposals RPC method. @@ -49969,21 +46428,21 @@ definitions: description: tally defines the requested tally. type: object properties: - 'yes': + "yes": type: string description: yes is the number of yes votes on a proposal. abstain: type: string description: abstain is the number of abstain votes on a proposal. - 'no': + "no": type: string description: no is the number of no votes on a proposal. no_with_veto: type: string description: no_with_veto is the number of no with veto votes on a proposal. description: >- - QueryTallyResultResponse is the response type for the Query/Tally RPC - method. + QueryTallyResultResponse is the response type for the Query/Tally RPC method. + cosmos.gov.v1beta1.QueryVoteResponse: type: object properties: @@ -50000,13 +46459,12 @@ definitions: description: voter is the voter address of the proposal. option: description: >- - Deprecated: Prefer to use `options` instead. This field is set in - queries - - if and only if `len(options) == 1` and that option has weight 1. - In all - + Deprecated: Prefer to use `options` instead. This field is set in queries + + if and only if `len(options) == 1` and that option has weight 1. In all + other cases, this field will default to VOTE_OPTION_UNSPECIFIED. + type: string enum: - VOTE_OPTION_UNSPECIFIED @@ -50022,8 +46480,8 @@ definitions: properties: option: description: >- - option defines the valid vote options, it must not contain - duplicate vote options. + option defines the valid vote options, it must not contain duplicate vote options. + type: string enum: - VOTE_OPTION_UNSPECIFIED @@ -50058,13 +46516,12 @@ definitions: description: voter is the voter address of the proposal. option: description: >- - Deprecated: Prefer to use `options` instead. This field is set - in queries - - if and only if `len(options) == 1` and that option has weight 1. - In all - + Deprecated: Prefer to use `options` instead. This field is set in queries + + if and only if `len(options) == 1` and that option has weight 1. In all + other cases, this field will default to VOTE_OPTION_UNSPECIFIED. + type: string enum: - VOTE_OPTION_UNSPECIFIED @@ -50080,8 +46537,8 @@ definitions: properties: option: description: >- - option defines the valid vote options, it must not contain - duplicate vote options. + option defines the valid vote options, it must not contain duplicate vote options. + type: string enum: - VOTE_OPTION_UNSPECIFIED @@ -50117,10 +46574,10 @@ definitions: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise + description: QueryVotesResponse is the response type for the Query/Votes RPC method. cosmos.gov.v1beta1.TallyParams: type: object @@ -50135,8 +46592,8 @@ definitions: type: string format: byte description: >- - Minimum proportion of Yes votes for proposal to pass. Default value: - 0.5. + Minimum proportion of Yes votes for proposal to pass. Default value: 0.5. + veto_threshold: type: string format: byte @@ -50147,13 +46604,13 @@ definitions: cosmos.gov.v1beta1.TallyResult: type: object properties: - 'yes': + "yes": type: string description: yes is the number of yes votes on a proposal. abstain: type: string description: abstain is the number of abstain votes on a proposal. - 'no': + "no": type: string description: no is the number of no votes on a proposal. no_with_veto: @@ -50172,13 +46629,12 @@ definitions: description: voter is the voter address of the proposal. option: description: >- - Deprecated: Prefer to use `options` instead. This field is set in - queries - - if and only if `len(options) == 1` and that option has weight 1. In - all - + Deprecated: Prefer to use `options` instead. This field is set in queries + + if and only if `len(options) == 1` and that option has weight 1. In all + other cases, this field will default to VOTE_OPTION_UNSPECIFIED. + type: string enum: - VOTE_OPTION_UNSPECIFIED @@ -50194,8 +46650,8 @@ definitions: properties: option: description: >- - option defines the valid vote options, it must not contain - duplicate vote options. + option defines the valid vote options, it must not contain duplicate vote options. + type: string enum: - VOTE_OPTION_UNSPECIFIED @@ -50225,14 +46681,14 @@ definitions: - VOTE_OPTION_NO_WITH_VETO default: VOTE_OPTION_UNSPECIFIED description: >- - VoteOption enumerates the valid vote options for a given governance - proposal. - + VoteOption enumerates the valid vote options for a given governance proposal. + - VOTE_OPTION_UNSPECIFIED: VOTE_OPTION_UNSPECIFIED defines a no-op vote option. - VOTE_OPTION_YES: VOTE_OPTION_YES defines a yes vote option. - VOTE_OPTION_ABSTAIN: VOTE_OPTION_ABSTAIN defines an abstain vote option. - VOTE_OPTION_NO: VOTE_OPTION_NO defines a no vote option. - VOTE_OPTION_NO_WITH_VETO: VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. + cosmos.gov.v1beta1.VotingParams: type: object properties: @@ -50245,8 +46701,8 @@ definitions: properties: option: description: >- - option defines the valid vote options, it must not contain duplicate - vote options. + option defines the valid vote options, it must not contain duplicate vote options. + type: string enum: - VOTE_OPTION_UNSPECIFIED @@ -50308,10 +46764,10 @@ definitions: max_deposit_period: type: string description: >- - Maximum period for Atom holders to deposit on a proposal. Initial - value: 2 - + Maximum period for Atom holders to deposit on a proposal. Initial value: 2 + months. + description: DepositParams defines the params for deposits on governance proposals. cosmos.gov.v1.MessageBasedParams: type: object @@ -50322,32 +46778,30 @@ definitions: quorum: type: string description: >- - Minimum percentage of total stake needed to vote for a result to be - considered valid. + Minimum percentage of total stake needed to vote for a result to be considered valid. + yes_quorum: type: string description: >- - yes_quorum defines the minimum percentage of Yes votes in quorum for - proposal to pass. - + yes_quorum defines the minimum percentage of Yes votes in quorum for proposal to pass. + If zero then the yes_quorum is disabled. + threshold: type: string description: Minimum proportion of Yes votes for proposal to pass. veto_threshold: type: string description: >- - Minimum value of Veto votes to Total votes ratio for proposal to be - vetoed. - description: >- - MessageBasedParams defines the parameters of specific messages in a - proposal. + Minimum value of Veto votes to Total votes ratio for proposal to be vetoed. - It is used to define the parameters of a proposal that is based on a - specific message. + description: >- + MessageBasedParams defines the parameters of specific messages in a proposal. + + It is used to define the parameters of a proposal that is based on a specific message. + + Once a message has message based params, it only supports a standard proposal type. - Once a message has message based params, it only supports a standard - proposal type. cosmos.gov.v1.Params: type: object properties: @@ -50369,10 +46823,10 @@ definitions: max_deposit_period: type: string description: >- - Maximum period for stake holders to deposit on a proposal. Initial - value: 2 - + Maximum period for stake holders to deposit on a proposal. Initial value: 2 + months. + voting_period: type: string description: Duration of the voting period. @@ -50384,8 +46838,8 @@ definitions: threshold: type: string description: >- - Minimum proportion of Yes votes for proposal to pass. Default value: - 0.5. + Minimum proportion of Yes votes for proposal to pass. Default value: 0.5. + veto_threshold: type: string description: |- @@ -50394,29 +46848,28 @@ definitions: min_initial_deposit_ratio: type: string description: >- - The ratio representing the proportion of the deposit value that must - be paid at proposal submission. + The ratio representing the proportion of the deposit value that must be paid at proposal submission. + proposal_cancel_ratio: type: string description: >- - The cancel ratio which will not be returned back to the depositors - when a proposal is cancelled. + The cancel ratio which will not be returned back to the depositors when a proposal is cancelled. + proposal_cancel_dest: type: string description: >- - The address which will receive (proposal_cancel_ratio * deposit) - proposal deposits. + The address which will receive (proposal_cancel_ratio * deposit) proposal deposits. + + If empty, the (proposal_cancel_ratio * deposit) proposal deposits will be burned. - If empty, the (proposal_cancel_ratio * deposit) proposal deposits will - be burned. expedited_voting_period: type: string description: Duration of the voting period of an expedited proposal. expedited_threshold: type: string description: >- - Minimum proportion of Yes votes for proposal to pass. Default value: - 0.67. + Minimum proportion of Yes votes for proposal to pass. Default value: 0.67. + expedited_min_deposit: type: array items: @@ -50444,50 +46897,46 @@ definitions: min_deposit_ratio: type: string description: >- - The ratio representing the proportion of the deposit value minimum - that must be met when making a deposit. - - Default value: 0.01. Meaning that for a chain with a min_deposit of - 100stake, a deposit of 1stake would be - + The ratio representing the proportion of the deposit value minimum that must be met when making a deposit. + + Default value: 0.01. Meaning that for a chain with a min_deposit of 100stake, a deposit of 1stake would be + required. + proposal_cancel_max_period: type: string description: >- - proposal_cancel_max_period defines how far in the voting period a - proposer can cancel a proposal. - - If the proposal is cancelled before the max cancel period, the deposit - will be returned/burn to the - - depositors, according to the proposal_cancel_ratio and - proposal_cancel_dest parameters. - + proposal_cancel_max_period defines how far in the voting period a proposer can cancel a proposal. + + If the proposal is cancelled before the max cancel period, the deposit will be returned/burn to the + + depositors, according to the proposal_cancel_ratio and proposal_cancel_dest parameters. + After the max cancel period, the proposal cannot be cancelled anymore. + optimistic_authorized_addresses: type: array items: type: string title: >- - optimistic_authorized_addresses is an optional governance parameter - that limits the authorized accounts than can - + optimistic_authorized_addresses is an optional governance parameter that limits the authorized accounts than can + submit optimistic proposals + optimistic_rejected_threshold: type: string description: >- - optimistic rejected threshold defines at which percentage of NO votes, - the optimistic proposal should fail and be + optimistic rejected threshold defines at which percentage of NO votes, the optimistic proposal should fail and be + + converted to a standard proposal. The threshold is expressed as a percentage of the total bonded tokens. - converted to a standard proposal. The threshold is expressed as a - percentage of the total bonded tokens. yes_quorum: type: string description: >- - yes_quorum defines the minimum percentage of Yes votes in quorum for - proposal to pass. - + yes_quorum defines the minimum percentage of Yes votes in quorum for proposal to pass. + Default value: 0 (disabled). + expedited_quorum: type: string description: |- @@ -50509,39 +46958,33 @@ definitions: items: type: object properties: - '@type': + "@type": type: string description: >- - A URL/resource name that uniquely identifies the type of the - serialized - + 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 - + + 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 - + + `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 - + + + 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 @@ -50549,37 +46992,32 @@ definitions: 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer message along - with a - + `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. - - + + + 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); @@ -50587,9 +47025,9 @@ definitions: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -50600,9 +47038,9 @@ definitions: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -50610,9 +47048,9 @@ definitions: 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 { @@ -50623,55 +47061,56 @@ definitions: 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" } + description: >- - messages are the arbitrary messages to be executed if the proposal - passes. + messages are the arbitrary messages to be executed if the proposal passes. + status: description: status defines the proposal status. type: string @@ -50711,37 +47150,37 @@ definitions: no_with_veto_count: type: string description: >- - no_with_veto_count is the number of no with veto votes on a - proposal. - - + no_with_veto_count is the number of no with veto votes on a proposal. + + option 4 + option_one_count: type: string description: >- - option_one_count corresponds to the number of votes for option one - (= yes_count for non multiple choice proposals). + option_one_count corresponds to the number of votes for option one (= yes_count for non multiple choice proposals). + option_two_count: type: string description: >- - option_two_count corresponds to the number of votes for option two - (= abstain_count for non multiple choice - + option_two_count corresponds to the number of votes for option two (= abstain_count for non multiple choice + proposals). + option_three_count: type: string description: >- - option_three_count corresponds to the number of votes for option - three (= no_count for non multiple choice - + option_three_count corresponds to the number of votes for option three (= no_count for non multiple choice + proposals). + option_four_count: type: string description: >- - option_four_count corresponds to the number of votes for option - four (= no_with_veto_count for non multiple choice - + option_four_count corresponds to the number of votes for option four (= no_with_veto_count for non multiple choice + proposals). + spam_count: type: string description: spam_count is the number of spam votes on a proposal. @@ -50793,7 +47232,7 @@ definitions: title: proposer is the address of the proposal sumbitter expedited: type: boolean - description: 'Deprecated: Use ProposalType instead.' + description: "Deprecated: Use ProposalType instead." title: expedited defines if the proposal is expedited failed_reason: type: string @@ -50810,15 +47249,15 @@ definitions: default: PROPOSAL_TYPE_UNSPECIFIED description: >- ProposalType enumerates the valid proposal types. - - All proposal types are v1.Proposal which have different voting periods - or tallying logic. - + + All proposal types are v1.Proposal which have different voting periods or tallying logic. + - PROPOSAL_TYPE_UNSPECIFIED: PROPOSAL_TYPE_UNSPECIFIED defines no proposal type, which fallback to PROPOSAL_TYPE_STANDARD. - PROPOSAL_TYPE_STANDARD: PROPOSAL_TYPE_STANDARD defines the type for a standard proposal. - PROPOSAL_TYPE_MULTIPLE_CHOICE: PROPOSAL_TYPE_MULTIPLE_CHOICE defines the type for a multiple choice proposal. - PROPOSAL_TYPE_OPTIMISTIC: PROPOSAL_TYPE_OPTIMISTIC defines the type for an optimistic proposal. - PROPOSAL_TYPE_EXPEDITED: PROPOSAL_TYPE_EXPEDITED defines the type for an expedited proposal. + description: Proposal defines the core field members of a governance proposal. cosmos.gov.v1.ProposalStatus: type: string @@ -50855,15 +47294,15 @@ definitions: default: PROPOSAL_TYPE_UNSPECIFIED description: >- ProposalType enumerates the valid proposal types. - - All proposal types are v1.Proposal which have different voting periods or - tallying logic. - + + All proposal types are v1.Proposal which have different voting periods or tallying logic. + - PROPOSAL_TYPE_UNSPECIFIED: PROPOSAL_TYPE_UNSPECIFIED defines no proposal type, which fallback to PROPOSAL_TYPE_STANDARD. - PROPOSAL_TYPE_STANDARD: PROPOSAL_TYPE_STANDARD defines the type for a standard proposal. - PROPOSAL_TYPE_MULTIPLE_CHOICE: PROPOSAL_TYPE_MULTIPLE_CHOICE defines the type for a multiple choice proposal. - PROPOSAL_TYPE_OPTIMISTIC: PROPOSAL_TYPE_OPTIMISTIC defines the type for an optimistic proposal. - PROPOSAL_TYPE_EXPEDITED: PROPOSAL_TYPE_EXPEDITED defines the type for an expedited proposal. + cosmos.gov.v1.ProposalVoteOptions: type: object properties: @@ -50891,8 +47330,8 @@ definitions: constitution: type: string title: >- - QueryConstitutionResponse is the response type for the Query/Constitution - RPC method + QueryConstitutionResponse is the response type for the Query/Constitution RPC method + cosmos.gov.v1.QueryDepositResponse: type: object properties: @@ -50918,16 +47357,16 @@ definitions: type: string description: >- Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - + + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + description: amount to be deposited by depositor. description: >- - QueryDepositResponse is the response type for the Query/Deposit RPC - method. + QueryDepositResponse is the response type for the Query/Deposit RPC method. + cosmos.gov.v1.QueryDepositsResponse: type: object properties: @@ -50954,18 +47393,18 @@ definitions: type: string description: >- Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - + + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + description: amount to be deposited by depositor. description: >- - Deposit defines an amount deposited by an account address to an - active - + Deposit defines an amount deposited by an account address to an active + proposal. + description: deposits defines the requested deposits. pagination: description: pagination defines the pagination in the response. @@ -50982,13 +47421,13 @@ definitions: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise + description: >- - QueryDepositsResponse is the response type for the Query/Deposits RPC - method. + QueryDepositsResponse is the response type for the Query/Deposits RPC method. + cosmos.gov.v1.QueryMessageBasedParamsResponse: type: object properties: @@ -51001,35 +47440,33 @@ definitions: quorum: type: string description: >- - Minimum percentage of total stake needed to vote for a result to - be considered valid. + Minimum percentage of total stake needed to vote for a result to be considered valid. + yes_quorum: type: string description: >- - yes_quorum defines the minimum percentage of Yes votes in quorum - for proposal to pass. - + yes_quorum defines the minimum percentage of Yes votes in quorum for proposal to pass. + If zero then the yes_quorum is disabled. + threshold: type: string description: Minimum proportion of Yes votes for proposal to pass. veto_threshold: type: string description: >- - Minimum value of Veto votes to Total votes ratio for proposal to - be vetoed. - description: >- - MessageBasedParams defines the parameters of specific messages in a - proposal. + Minimum value of Veto votes to Total votes ratio for proposal to be vetoed. - It is used to define the parameters of a proposal that is based on a - specific message. + description: >- + MessageBasedParams defines the parameters of specific messages in a proposal. + + It is used to define the parameters of a proposal that is based on a specific message. + + Once a message has message based params, it only supports a standard proposal type. - Once a message has message based params, it only supports a standard - proposal type. description: >- - QueryMessageBasedParamsResponse is the response for the - Query/MessageBasedParams RPC method. + QueryMessageBasedParamsResponse is the response for the Query/MessageBasedParams RPC method. + cosmos.gov.v1.QueryParamsResponse: type: object properties: @@ -51059,20 +47496,20 @@ definitions: type: string description: >- Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - + + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + description: Minimum deposit for a proposal to enter voting period. max_deposit_period: type: string description: >- - Maximum period for Atom holders to deposit on a proposal. Initial - value: 2 - + Maximum period for Atom holders to deposit on a proposal. Initial value: 2 + months. + tally_params: description: |- Deprecated: Prefer to use `params` instead. @@ -51082,22 +47519,22 @@ definitions: quorum: type: string description: >- - Minimum percentage of total stake needed to vote for a result to - be - + Minimum percentage of total stake needed to vote for a result to be + considered valid. + threshold: type: string description: >- - Minimum proportion of Yes votes for proposal to pass. Default - value: 0.5. + Minimum proportion of Yes votes for proposal to pass. Default value: 0.5. + veto_threshold: type: string description: >- - Minimum value of Veto votes to Total votes ratio for proposal to - be - + Minimum value of Veto votes to Total votes ratio for proposal to be + vetoed. Default value: 1/3. + params: description: params defines all the parameters of x/gov module. type: object @@ -51113,66 +47550,65 @@ definitions: type: string description: >- Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - + + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + description: Minimum deposit for a proposal to enter voting period. max_deposit_period: type: string description: >- - Maximum period for stake holders to deposit on a proposal. Initial - value: 2 - + Maximum period for stake holders to deposit on a proposal. Initial value: 2 + months. + voting_period: type: string description: Duration of the voting period. quorum: type: string description: >- - Minimum percentage of total stake needed to vote for a result to - be + Minimum percentage of total stake needed to vote for a result to be considered valid. + threshold: type: string description: >- - Minimum proportion of Yes votes for proposal to pass. Default - value: 0.5. + Minimum proportion of Yes votes for proposal to pass. Default value: 0.5. + veto_threshold: type: string description: >- - Minimum value of Veto votes to Total votes ratio for proposal to - be + Minimum value of Veto votes to Total votes ratio for proposal to be vetoed. Default value: 1/3. + min_initial_deposit_ratio: type: string description: >- - The ratio representing the proportion of the deposit value that - must be paid at proposal submission. + The ratio representing the proportion of the deposit value that must be paid at proposal submission. + proposal_cancel_ratio: type: string description: >- - The cancel ratio which will not be returned back to the depositors - when a proposal is cancelled. + The cancel ratio which will not be returned back to the depositors when a proposal is cancelled. + proposal_cancel_dest: type: string description: >- - The address which will receive (proposal_cancel_ratio * deposit) - proposal deposits. + The address which will receive (proposal_cancel_ratio * deposit) proposal deposits. + + If empty, the (proposal_cancel_ratio * deposit) proposal deposits will be burned. - If empty, the (proposal_cancel_ratio * deposit) proposal deposits - will be burned. expedited_voting_period: type: string description: Duration of the voting period of an expedited proposal. expedited_threshold: type: string description: >- - Minimum proportion of Yes votes for proposal to pass. Default - value: 0.67. + Minimum proportion of Yes votes for proposal to pass. Default value: 0.67. + expedited_min_deposit: type: array items: @@ -51184,12 +47620,12 @@ definitions: type: string description: >- Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - + + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + description: Minimum expedited deposit for a proposal to enter voting period. burn_vote_quorum: type: boolean @@ -51203,58 +47639,53 @@ definitions: min_deposit_ratio: type: string description: >- - The ratio representing the proportion of the deposit value minimum - that must be met when making a deposit. - - Default value: 0.01. Meaning that for a chain with a min_deposit - of 100stake, a deposit of 1stake would be - + The ratio representing the proportion of the deposit value minimum that must be met when making a deposit. + + Default value: 0.01. Meaning that for a chain with a min_deposit of 100stake, a deposit of 1stake would be + required. + proposal_cancel_max_period: type: string description: >- - proposal_cancel_max_period defines how far in the voting period a - proposer can cancel a proposal. - - If the proposal is cancelled before the max cancel period, the - deposit will be returned/burn to the - - depositors, according to the proposal_cancel_ratio and - proposal_cancel_dest parameters. + proposal_cancel_max_period defines how far in the voting period a proposer can cancel a proposal. + + If the proposal is cancelled before the max cancel period, the deposit will be returned/burn to the + + depositors, according to the proposal_cancel_ratio and proposal_cancel_dest parameters. + + After the max cancel period, the proposal cannot be cancelled anymore. - After the max cancel period, the proposal cannot be cancelled - anymore. optimistic_authorized_addresses: type: array items: type: string title: >- - optimistic_authorized_addresses is an optional governance - parameter that limits the authorized accounts than can - + optimistic_authorized_addresses is an optional governance parameter that limits the authorized accounts than can + submit optimistic proposals + optimistic_rejected_threshold: type: string description: >- - optimistic rejected threshold defines at which percentage of NO - votes, the optimistic proposal should fail and be + optimistic rejected threshold defines at which percentage of NO votes, the optimistic proposal should fail and be + + converted to a standard proposal. The threshold is expressed as a percentage of the total bonded tokens. - converted to a standard proposal. The threshold is expressed as a - percentage of the total bonded tokens. yes_quorum: type: string description: >- - yes_quorum defines the minimum percentage of Yes votes in quorum - for proposal to pass. - + yes_quorum defines the minimum percentage of Yes votes in quorum for proposal to pass. + Default value: 0 (disabled). + expedited_quorum: type: string description: >- - Minimum percentage of total stake needed to vote for a result to - be - + Minimum percentage of total stake needed to vote for a result to be + considered valid for an expedited proposal. + proposal_execution_gas: type: string format: uint64 @@ -51275,80 +47706,66 @@ definitions: items: type: object properties: - '@type': + "@type": type: string description: >- - A URL/resource name that uniquely identifies the type of the - serialized - + 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 - + + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer message - along with a - + `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. - - + + + 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); @@ -51356,9 +47773,9 @@ definitions: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -51369,9 +47786,9 @@ definitions: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -51379,9 +47796,9 @@ definitions: 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 { @@ -51392,59 +47809,56 @@ definitions: 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 - '/' - + + 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 - + + 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" } + description: >- - messages are the arbitrary messages to be executed if the proposal - passes. + messages are the arbitrary messages to be executed if the proposal passes. + status: description: status defines the proposal status. type: string @@ -51459,11 +47873,11 @@ definitions: final_tally_result: description: >- final_tally_result is the final tally result of the proposal. When - - querying a proposal via gRPC, this field is not populated until - the - + + querying a proposal via gRPC, this field is not populated until the + proposal's voting period has ended. + type: object properties: yes_count: @@ -51487,37 +47901,37 @@ definitions: no_with_veto_count: type: string description: >- - no_with_veto_count is the number of no with veto votes on a - proposal. - - + no_with_veto_count is the number of no with veto votes on a proposal. + + option 4 + option_one_count: type: string description: >- - option_one_count corresponds to the number of votes for option - one (= yes_count for non multiple choice proposals). + option_one_count corresponds to the number of votes for option one (= yes_count for non multiple choice proposals). + option_two_count: type: string description: >- - option_two_count corresponds to the number of votes for option - two (= abstain_count for non multiple choice - + option_two_count corresponds to the number of votes for option two (= abstain_count for non multiple choice + proposals). + option_three_count: type: string description: >- - option_three_count corresponds to the number of votes for - option three (= no_count for non multiple choice - + option_three_count corresponds to the number of votes for option three (= no_count for non multiple choice + proposals). + option_four_count: type: string description: >- - option_four_count corresponds to the number of votes for - option four (= no_with_veto_count for non multiple choice - + option_four_count corresponds to the number of votes for option four (= no_with_veto_count for non multiple choice + proposals). + spam_count: type: string description: spam_count is the number of spam votes on a proposal. @@ -51540,12 +47954,12 @@ definitions: type: string description: >- Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - + + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + description: total_deposit is the total deposit on the proposal. voting_start_time: type: string @@ -51572,7 +47986,7 @@ definitions: title: proposer is the address of the proposal sumbitter expedited: type: boolean - description: 'Deprecated: Use ProposalType instead.' + description: "Deprecated: Use ProposalType instead." title: expedited defines if the proposal is expedited failed_reason: type: string @@ -51589,18 +48003,18 @@ definitions: default: PROPOSAL_TYPE_UNSPECIFIED description: >- ProposalType enumerates the valid proposal types. - - All proposal types are v1.Proposal which have different voting - periods or tallying logic. - + + All proposal types are v1.Proposal which have different voting periods or tallying logic. + - PROPOSAL_TYPE_UNSPECIFIED: PROPOSAL_TYPE_UNSPECIFIED defines no proposal type, which fallback to PROPOSAL_TYPE_STANDARD. - PROPOSAL_TYPE_STANDARD: PROPOSAL_TYPE_STANDARD defines the type for a standard proposal. - PROPOSAL_TYPE_MULTIPLE_CHOICE: PROPOSAL_TYPE_MULTIPLE_CHOICE defines the type for a multiple choice proposal. - PROPOSAL_TYPE_OPTIMISTIC: PROPOSAL_TYPE_OPTIMISTIC defines the type for an optimistic proposal. - PROPOSAL_TYPE_EXPEDITED: PROPOSAL_TYPE_EXPEDITED defines the type for an expedited proposal. + description: >- - QueryProposalResponse is the response type for the Query/Proposal RPC - method. + QueryProposalResponse is the response type for the Query/Proposal RPC method. + cosmos.gov.v1.QueryProposalVoteOptionsResponse: type: object properties: @@ -51624,8 +48038,8 @@ definitions: type: string description: option_spam is always present for all proposals. description: >- - QueryProposalVoteOptionsResponse is the response type for the - Query/ProposalVoteOptions RPC method. + QueryProposalVoteOptionsResponse is the response type for the Query/ProposalVoteOptions RPC method. + cosmos.gov.v1.QueryProposalsResponse: type: object properties: @@ -51643,80 +48057,66 @@ definitions: items: type: object properties: - '@type': + "@type": type: string description: >- - A URL/resource name that uniquely identifies the type of - the serialized - + 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 - + + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer message - along with a - + `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. - - + + + 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); @@ -51724,9 +48124,9 @@ definitions: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -51737,9 +48137,9 @@ definitions: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -51747,9 +48147,9 @@ definitions: 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 { @@ -51760,61 +48160,56 @@ definitions: 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 - + + 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 - + + 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" } + description: >- - messages are the arbitrary messages to be executed if the - proposal passes. + messages are the arbitrary messages to be executed if the proposal passes. + status: description: status defines the proposal status. type: string @@ -51828,13 +48223,12 @@ definitions: default: PROPOSAL_STATUS_UNSPECIFIED final_tally_result: description: >- - final_tally_result is the final tally result of the proposal. - When - - querying a proposal via gRPC, this field is not populated until - the - + final_tally_result is the final tally result of the proposal. When + + querying a proposal via gRPC, this field is not populated until the + proposal's voting period has ended. + type: object properties: yes_count: @@ -51858,37 +48252,37 @@ definitions: no_with_veto_count: type: string description: >- - no_with_veto_count is the number of no with veto votes on a - proposal. - - + no_with_veto_count is the number of no with veto votes on a proposal. + + option 4 + option_one_count: type: string description: >- - option_one_count corresponds to the number of votes for - option one (= yes_count for non multiple choice proposals). + option_one_count corresponds to the number of votes for option one (= yes_count for non multiple choice proposals). + option_two_count: type: string description: >- - option_two_count corresponds to the number of votes for - option two (= abstain_count for non multiple choice - + option_two_count corresponds to the number of votes for option two (= abstain_count for non multiple choice + proposals). + option_three_count: type: string description: >- - option_three_count corresponds to the number of votes for - option three (= no_count for non multiple choice - + option_three_count corresponds to the number of votes for option three (= no_count for non multiple choice + proposals). + option_four_count: type: string description: >- - option_four_count corresponds to the number of votes for - option four (= no_with_veto_count for non multiple choice - + option_four_count corresponds to the number of votes for option four (= no_with_veto_count for non multiple choice + proposals). + spam_count: type: string description: spam_count is the number of spam votes on a proposal. @@ -51911,12 +48305,12 @@ definitions: type: string description: >- Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - + + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + description: total_deposit is the total deposit on the proposal. voting_start_time: type: string @@ -51943,7 +48337,7 @@ definitions: title: proposer is the address of the proposal sumbitter expedited: type: boolean - description: 'Deprecated: Use ProposalType instead.' + description: "Deprecated: Use ProposalType instead." title: expedited defines if the proposal is expedited failed_reason: type: string @@ -51960,15 +48354,15 @@ definitions: default: PROPOSAL_TYPE_UNSPECIFIED description: >- ProposalType enumerates the valid proposal types. - - All proposal types are v1.Proposal which have different voting - periods or tallying logic. - + + All proposal types are v1.Proposal which have different voting periods or tallying logic. + - PROPOSAL_TYPE_UNSPECIFIED: PROPOSAL_TYPE_UNSPECIFIED defines no proposal type, which fallback to PROPOSAL_TYPE_STANDARD. - PROPOSAL_TYPE_STANDARD: PROPOSAL_TYPE_STANDARD defines the type for a standard proposal. - PROPOSAL_TYPE_MULTIPLE_CHOICE: PROPOSAL_TYPE_MULTIPLE_CHOICE defines the type for a multiple choice proposal. - PROPOSAL_TYPE_OPTIMISTIC: PROPOSAL_TYPE_OPTIMISTIC defines the type for an optimistic proposal. - PROPOSAL_TYPE_EXPEDITED: PROPOSAL_TYPE_EXPEDITED defines the type for an expedited proposal. + description: Proposal defines the core field members of a governance proposal. description: proposals defines all the requested governance proposals. pagination: @@ -51986,10 +48380,10 @@ definitions: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise + description: |- QueryProposalsResponse is the response type for the Query/Proposals RPC method. @@ -52021,43 +48415,43 @@ definitions: no_with_veto_count: type: string description: >- - no_with_veto_count is the number of no with veto votes on a - proposal. - - + no_with_veto_count is the number of no with veto votes on a proposal. + + option 4 + option_one_count: type: string description: >- - option_one_count corresponds to the number of votes for option one - (= yes_count for non multiple choice proposals). + option_one_count corresponds to the number of votes for option one (= yes_count for non multiple choice proposals). + option_two_count: type: string description: >- - option_two_count corresponds to the number of votes for option two - (= abstain_count for non multiple choice - + option_two_count corresponds to the number of votes for option two (= abstain_count for non multiple choice + proposals). + option_three_count: type: string description: >- - option_three_count corresponds to the number of votes for option - three (= no_count for non multiple choice - + option_three_count corresponds to the number of votes for option three (= no_count for non multiple choice + proposals). + option_four_count: type: string description: >- - option_four_count corresponds to the number of votes for option - four (= no_with_veto_count for non multiple choice - + option_four_count corresponds to the number of votes for option four (= no_with_veto_count for non multiple choice + proposals). + spam_count: type: string description: spam_count is the number of spam votes on a proposal. description: >- - QueryTallyResultResponse is the response type for the Query/Tally RPC - method. + QueryTallyResultResponse is the response type for the Query/Tally RPC method. + cosmos.gov.v1.QueryVoteResponse: type: object properties: @@ -52079,8 +48473,8 @@ definitions: properties: option: description: >- - option defines the valid vote options, it must not contain - duplicate vote options. + option defines the valid vote options, it must not contain duplicate vote options. + type: string enum: - VOTE_OPTION_UNSPECIFIED @@ -52103,9 +48497,9 @@ definitions: type: string title: >- metadata is any arbitrary metadata attached to the vote. + + the recommended format of the metadata is to be found here: https://docs.cosmos.network/v0.47/modules/gov#vote-5 - the recommended format of the metadata is to be found here: - https://docs.cosmos.network/v0.47/modules/gov#vote-5 description: QueryVoteResponse is the response type for the Query/Vote RPC method. cosmos.gov.v1.QueryVotesResponse: type: object @@ -52129,8 +48523,8 @@ definitions: properties: option: description: >- - option defines the valid vote options, it must not contain - duplicate vote options. + option defines the valid vote options, it must not contain duplicate vote options. + type: string enum: - VOTE_OPTION_UNSPECIFIED @@ -52153,9 +48547,9 @@ definitions: type: string title: >- metadata is any arbitrary metadata attached to the vote. + + the recommended format of the metadata is to be found here: https://docs.cosmos.network/v0.47/modules/gov#vote-5 - the recommended format of the metadata is to be found here: - https://docs.cosmos.network/v0.47/modules/gov#vote-5 description: |- Vote defines a vote on a governance proposal. A Vote consists of a proposal ID, the voter, and the vote option. @@ -52175,10 +48569,10 @@ definitions: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise + description: QueryVotesResponse is the response type for the Query/Votes RPC method. cosmos.gov.v1.TallyParams: type: object @@ -52191,8 +48585,8 @@ definitions: threshold: type: string description: >- - Minimum proportion of Yes votes for proposal to pass. Default value: - 0.5. + Minimum proportion of Yes votes for proposal to pass. Default value: 0.5. + veto_threshold: type: string description: |- @@ -52229,29 +48623,29 @@ definitions: option_one_count: type: string description: >- - option_one_count corresponds to the number of votes for option one (= - yes_count for non multiple choice proposals). + option_one_count corresponds to the number of votes for option one (= yes_count for non multiple choice proposals). + option_two_count: type: string description: >- - option_two_count corresponds to the number of votes for option two (= - abstain_count for non multiple choice - + option_two_count corresponds to the number of votes for option two (= abstain_count for non multiple choice + proposals). + option_three_count: type: string description: >- - option_three_count corresponds to the number of votes for option three - (= no_count for non multiple choice - + option_three_count corresponds to the number of votes for option three (= no_count for non multiple choice + proposals). + option_four_count: type: string description: >- - option_four_count corresponds to the number of votes for option four - (= no_with_veto_count for non multiple choice - + option_four_count corresponds to the number of votes for option four (= no_with_veto_count for non multiple choice + proposals). + spam_count: type: string description: spam_count is the number of spam votes on a proposal. @@ -52273,8 +48667,8 @@ definitions: properties: option: description: >- - option defines the valid vote options, it must not contain - duplicate vote options. + option defines the valid vote options, it must not contain duplicate vote options. + type: string enum: - VOTE_OPTION_UNSPECIFIED @@ -52297,9 +48691,9 @@ definitions: type: string title: >- metadata is any arbitrary metadata attached to the vote. + + the recommended format of the metadata is to be found here: https://docs.cosmos.network/v0.47/modules/gov#vote-5 - the recommended format of the metadata is to be found here: - https://docs.cosmos.network/v0.47/modules/gov#vote-5 description: |- Vote defines a vote on a governance proposal. A Vote consists of a proposal ID, the voter, and the vote option. @@ -52318,9 +48712,8 @@ definitions: - VOTE_OPTION_SPAM default: VOTE_OPTION_UNSPECIFIED description: >- - VoteOption enumerates the valid vote options for a given governance - proposal. - + VoteOption enumerates the valid vote options for a given governance proposal. + - VOTE_OPTION_UNSPECIFIED: VOTE_OPTION_UNSPECIFIED defines a no-op vote option. - VOTE_OPTION_YES: VOTE_OPTION_YES defines the yes proposal vote option. - VOTE_OPTION_ONE: VOTE_OPTION_ONE defines the first proposal vote option. @@ -52331,6 +48724,7 @@ definitions: - VOTE_OPTION_NO_WITH_VETO: VOTE_OPTION_NO_WITH_VETO defines the no with veto proposal vote option. - VOTE_OPTION_FOUR: VOTE_OPTION_FOUR defines the fourth proposal vote option. - VOTE_OPTION_SPAM: VOTE_OPTION_SPAM defines the spam proposal vote option. + cosmos.gov.v1.VotingParams: type: object properties: @@ -52343,8 +48737,8 @@ definitions: properties: option: description: >- - option defines the valid vote options, it must not contain duplicate - vote options. + option defines the valid vote options, it must not contain duplicate vote options. + type: string enum: - VOTE_OPTION_UNSPECIFIED @@ -52479,10 +48873,10 @@ definitions: items: type: string description: >- - Subspace defines a parameter subspace name and all the keys that - exist for - + Subspace defines a parameter subspace name and all the keys that exist for + the subspace. + description: |- QuerySubspacesResponse defines the response types for querying for all registered subspaces and all keys for a subspace. @@ -52555,48 +48949,45 @@ definitions: type: string format: int64 description: >- - DEPRECATED: Index which is incremented every time a validator is - bonded in a block and - - _may_ have signed a pre-commit or not. This in conjunction with - the + DEPRECATED: Index which is incremented every time a validator is bonded in a block and + + _may_ have signed a pre-commit or not. This in conjunction with the + + signed_blocks_window param determines the index in the missed block bitmap. - signed_blocks_window param determines the index in the missed - block bitmap. jailed_until: type: string format: date-time description: >- - Timestamp until which the validator is jailed due to liveness - downtime. + Timestamp until which the validator is jailed due to liveness downtime. + tombstoned: type: boolean description: >- - Whether or not a validator has been tombstoned (killed out of - validator - - set). It is set once the validator commits an equivocation or for - any other - + Whether or not a validator has been tombstoned (killed out of validator + + set). It is set once the validator commits an equivocation or for any other + configured misbehavior. + missed_blocks_counter: type: string format: int64 description: >- - A counter of missed (unsigned) blocks. It is used to avoid - unnecessary - + A counter of missed (unsigned) blocks. It is used to avoid unnecessary + reads in the missed block bitmap. - description: >- - ValidatorSigningInfo defines a validator's signing info for monitoring - their + description: >- + ValidatorSigningInfo defines a validator's signing info for monitoring their + liveness activity. - title: >- - QuerySigningInfoResponse is the response type for the Query/SigningInfo - RPC + title: >- + QuerySigningInfoResponse is the response type for the Query/SigningInfo RPC + method + cosmos.slashing.v1beta1.QuerySigningInfosResponse: type: object properties: @@ -52615,43 +49006,40 @@ definitions: type: string format: int64 description: >- - DEPRECATED: Index which is incremented every time a validator is - bonded in a block and + DEPRECATED: Index which is incremented every time a validator is bonded in a block and + + _may_ have signed a pre-commit or not. This in conjunction with the + + signed_blocks_window param determines the index in the missed block bitmap. - _may_ have signed a pre-commit or not. This in conjunction with - the - - signed_blocks_window param determines the index in the missed - block bitmap. jailed_until: type: string format: date-time description: >- - Timestamp until which the validator is jailed due to liveness - downtime. + Timestamp until which the validator is jailed due to liveness downtime. + tombstoned: type: boolean description: >- - Whether or not a validator has been tombstoned (killed out of - validator - - set). It is set once the validator commits an equivocation or - for any other - + Whether or not a validator has been tombstoned (killed out of validator + + set). It is set once the validator commits an equivocation or for any other + configured misbehavior. + missed_blocks_counter: type: string format: int64 description: >- - A counter of missed (unsigned) blocks. It is used to avoid - unnecessary - + A counter of missed (unsigned) blocks. It is used to avoid unnecessary + reads in the missed block bitmap. - description: >- - ValidatorSigningInfo defines a validator's signing info for - monitoring their + description: >- + ValidatorSigningInfo defines a validator's signing info for monitoring their + liveness activity. + title: info is the signing info of all validators pagination: type: object @@ -52667,10 +49055,10 @@ definitions: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise + description: |- PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. @@ -52680,10 +49068,10 @@ definitions: PageResponse page = 2; } title: >- - QuerySigningInfosResponse is the response type for the Query/SigningInfos - RPC - + QuerySigningInfosResponse is the response type for the Query/SigningInfos RPC + method + cosmos.slashing.v1beta1.ValidatorSigningInfo: type: object properties: @@ -52697,29 +49085,27 @@ definitions: type: string format: int64 description: >- - DEPRECATED: Index which is incremented every time a validator is - bonded in a block and - + DEPRECATED: Index which is incremented every time a validator is bonded in a block and + _may_ have signed a pre-commit or not. This in conjunction with the + + signed_blocks_window param determines the index in the missed block bitmap. - signed_blocks_window param determines the index in the missed block - bitmap. jailed_until: type: string format: date-time description: >- - Timestamp until which the validator is jailed due to liveness - downtime. + Timestamp until which the validator is jailed due to liveness downtime. + tombstoned: type: boolean description: >- - Whether or not a validator has been tombstoned (killed out of - validator - - set). It is set once the validator commits an equivocation or for any - other - + Whether or not a validator has been tombstoned (killed out of validator + + set). It is set once the validator commits an equivocation or for any other + configured misbehavior. + missed_blocks_counter: type: string format: int64 @@ -52727,10 +49113,10 @@ definitions: A counter of missed (unsigned) blocks. It is used to avoid unnecessary reads in the missed block bitmap. description: >- - ValidatorSigningInfo defines a validator's signing info for monitoring - their - + ValidatorSigningInfo defines a validator's signing info for monitoring their + liveness activity. + cosmos.staking.v1beta1.BondStatus: type: string enum: @@ -52751,8 +49137,8 @@ definitions: properties: commission_rates: description: >- - commission_rates defines the initial commission rates to be used for - creating a validator. + commission_rates defines the initial commission rates to be used for creating a validator. + type: object properties: rate: @@ -52761,13 +49147,13 @@ definitions: max_rate: type: string description: >- - max_rate defines the maximum commission rate which validator can - ever charge, as a fraction. + max_rate defines the maximum commission rate which validator can ever charge, as a fraction. + max_change_rate: type: string description: >- - max_change_rate defines the maximum daily increase of the - validator commission, as a fraction. + max_change_rate defines the maximum daily increase of the validator commission, as a fraction. + update_time: type: string format: date-time @@ -52782,18 +49168,18 @@ definitions: max_rate: type: string description: >- - max_rate defines the maximum commission rate which validator can ever - charge, as a fraction. + max_rate defines the maximum commission rate which validator can ever charge, as a fraction. + max_change_rate: type: string description: >- - max_change_rate defines the maximum daily increase of the validator - commission, as a fraction. - description: >- - CommissionRates defines the initial commission rates to be used for - creating + max_change_rate defines the maximum daily increase of the validator commission, as a fraction. + description: >- + CommissionRates defines the initial commission rates to be used for creating + a validator. + cosmos.staking.v1beta1.Delegation: type: object properties: @@ -52853,8 +49239,8 @@ definitions: identity: type: string description: >- - identity defines an optional identity signature (ex. UPort or - Keybase). + identity defines an optional identity signature (ex. UPort or Keybase). + website: type: string description: website defines an optional website link. @@ -52882,13 +49268,12 @@ definitions: type: string format: uint64 description: >- - Consensus captures the consensus rules for processing a block in - the blockchain, - - including all blockchain data structures and the rules of the - application's - + Consensus captures the consensus rules for processing a block in the blockchain, + + including all blockchain data structures and the rules of the application's + state transition machine. + chain_id: type: string height: @@ -52915,8 +49300,8 @@ definitions: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block as its hash and its - `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + last_commit_hash: type: string format: byte @@ -52965,77 +49350,66 @@ definitions: operator_address: type: string description: >- - operator_address defines the address of the validator's - operator; bech encoded in JSON. + operator_address defines the address of the validator's operator; bech encoded in JSON. + consensus_pubkey: description: >- - consensus_pubkey is the consensus public key of the validator, - as a Protobuf Any. + consensus_pubkey is the consensus public key of the validator, as a Protobuf Any. + type: object properties: - '@type': + "@type": type: string description: >- - A URL/resource name that uniquely identifies the type of the - serialized - + 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 - + + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} jailed: type: boolean description: >- - jailed defined whether the validator has been jailed from bonded - status or not. + jailed defined whether the validator has been jailed from bonded status or not. + status: description: status is the validator status (bonded/unbonding/unbonded). type: string @@ -53051,8 +49425,8 @@ definitions: delegator_shares: type: string description: >- - delegator_shares defines total shares issued to a validator's - delegators. + delegator_shares defines total shares issued to a validator's delegators. + description: description: description defines the description terms for the validator. type: object @@ -53063,16 +49437,16 @@ definitions: identity: type: string description: >- - identity defines an optional identity signature (ex. UPort - or Keybase). + identity defines an optional identity signature (ex. UPort or Keybase). + website: type: string description: website defines an optional website link. security_contact: type: string description: >- - security_contact defines an optional email for security - contact. + security_contact defines an optional email for security contact. + details: type: string description: details define other optional details. @@ -53080,95 +49454,90 @@ definitions: type: string format: int64 description: >- - unbonding_height defines, if unbonding, the height at which this - validator has begun unbonding. + unbonding_height defines, if unbonding, the height at which this validator has begun unbonding. + unbonding_time: type: string format: date-time description: >- - unbonding_time defines, if unbonding, the min time for the - validator to complete unbonding. + unbonding_time defines, if unbonding, the min time for the validator to complete unbonding. + commission: description: commission defines the commission parameters. type: object properties: commission_rates: description: >- - commission_rates defines the initial commission rates to be - used for creating a validator. + commission_rates defines the initial commission rates to be used for creating a validator. + type: object properties: rate: type: string description: >- - rate is the commission rate charged to delegators, as a - fraction. + rate is the commission rate charged to delegators, as a fraction. + max_rate: type: string description: >- - max_rate defines the maximum commission rate which - validator can ever charge, as a fraction. + max_rate defines the maximum commission rate which validator can ever charge, as a fraction. + max_change_rate: type: string description: >- - max_change_rate defines the maximum daily increase of - the validator commission, as a fraction. + max_change_rate defines the maximum daily increase of the validator commission, as a fraction. + update_time: type: string format: date-time description: >- - update_time is the last time the commission rate was - changed. + update_time is the last time the commission rate was changed. + min_self_delegation: type: string description: >- - min_self_delegation is the validator's self declared minimum - self delegation. + min_self_delegation is the validator's self declared minimum self delegation. + unbonding_on_hold_ref_count: type: string format: int64 title: >- - strictly positive if this validator's unbonding has been stopped - by external modules + strictly positive if this validator's unbonding has been stopped by external modules + unbonding_ids: type: array items: type: string format: uint64 title: >- - list of unbonding ids, each uniquely identifying an unbonding of - this validator + list of unbonding ids, each uniquely identifying an unbonding of this validator + description: >- Validator defines a validator, together with the total amount of the - - Validator's bond shares and their exchange rate to coins. Slashing - results in - - a decrease in the exchange rate, allowing correct calculation of - future - - undelegations without iterating over delegators. When coins are - delegated to - - this validator, the validator is credited with a delegation whose - number of - - bond shares is based on the amount of coins delegated divided by the - current - + + Validator's bond shares and their exchange rate to coins. Slashing results in + + a decrease in the exchange rate, allowing correct calculation of future + + undelegations without iterating over delegators. When coins are delegated to + + this validator, the validator is credited with a delegation whose number of + + bond shares is based on the amount of coins delegated divided by the current + exchange rate. Voting power can be calculated as total bonded shares - + multiplied by exchange rate. - description: >- - HistoricalInfo contains header and validator information for a given - block. - - It is stored as part of staking module's state, which persists the `n` - most + description: >- + HistoricalInfo contains header and validator information for a given block. + + It is stored as part of staking module's state, which persists the `n` most + recent HistoricalInfo - + (`n` is set by the staking module's `historical_entries` parameter). + cosmos.staking.v1beta1.Params: type: object properties: @@ -53183,8 +49552,8 @@ definitions: type: integer format: int64 description: >- - max_entries is the max entries for either unbonding delegation or - redelegation (per pair/trio). + max_entries is the max entries for either unbonding delegation or redelegation (per pair/trio). + historical_entries: type: integer format: int64 @@ -53195,8 +49564,8 @@ definitions: min_commission_rate: type: string title: >- - min_commission_rate is the chain-wide minimum commission rate that a - validator can charge their delegators + min_commission_rate is the chain-wide minimum commission rate that a validator can charge their delegators + key_rotation_fee: type: object properties: @@ -53243,13 +49612,12 @@ definitions: type: string description: shares define the delegation shares received. description: >- - Delegation represents the bond with tokens held by an account. It - is - - owned by one delegator, and is associated with the voting power of - one - + Delegation represents the bond with tokens held by an account. It is + + owned by one delegator, and is associated with the voting power of one + validator. + balance: type: object properties: @@ -53259,15 +49627,15 @@ definitions: type: string description: >- Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - + + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + description: >- - QueryDelegationResponse is response type for the Query/Delegation RPC - method. + QueryDelegationResponse is response type for the Query/Delegation RPC method. + cosmos.staking.v1beta1.QueryDelegatorDelegationsResponse: type: object properties: @@ -53289,13 +49657,12 @@ definitions: type: string description: shares define the delegation shares received. description: >- - Delegation represents the bond with tokens held by an account. - It is - - owned by one delegator, and is associated with the voting power - of one - + Delegation represents the bond with tokens held by an account. It is + + owned by one delegator, and is associated with the voting power of one + validator. + balance: type: object properties: @@ -53305,18 +49672,17 @@ definitions: type: string description: >- Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - + + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + description: >- - DelegationResponse is equivalent to Delegation except that it - contains a + DelegationResponse is equivalent to Delegation except that it contains a + + balance in addition to shares which is more suitable for client responses. - balance in addition to shares which is more suitable for client - responses. description: delegation_responses defines all the delegations' info of a delegator. pagination: description: pagination defines the pagination in the response. @@ -53333,10 +49699,10 @@ definitions: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise + description: |- QueryDelegatorDelegationsResponse is response type for the Query/DelegatorDelegations RPC method. @@ -53363,8 +49729,8 @@ definitions: type: string format: int64 description: >- - creation_height is the height which the unbonding took - place. + creation_height is the height which the unbonding took place. + completion_time: type: string format: date-time @@ -53372,8 +49738,8 @@ definitions: initial_balance: type: string description: >- - initial_balance defines the tokens initially scheduled to - receive at completion. + initial_balance defines the tokens initially scheduled to receive at completion. + balance: type: string description: balance defines the tokens to receive at completion. @@ -53385,20 +49751,20 @@ definitions: type: string format: int64 title: >- - Strictly positive if this entry's unbonding has been - stopped by external modules + Strictly positive if this entry's unbonding has been stopped by external modules + description: >- - UnbondingDelegationEntry defines an unbonding object with - relevant metadata. + UnbondingDelegationEntry defines an unbonding object with relevant metadata. + description: |- entries are the unbonding delegation entries. unbonding delegation entries description: >- - UnbondingDelegation stores all of a single delegator's unbonding - bonds - + UnbondingDelegation stores all of a single delegator's unbonding bonds + for a single validator in an time-ordered list. + pagination: description: pagination defines the pagination in the response. type: object @@ -53414,10 +49780,10 @@ definitions: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise + description: |- QueryUnbondingDelegatorDelegationsResponse is response type for the Query/UnbondingDelegatorDelegations RPC method. @@ -53431,75 +49797,66 @@ definitions: operator_address: type: string description: >- - operator_address defines the address of the validator's operator; - bech encoded in JSON. + operator_address defines the address of the validator's operator; bech encoded in JSON. + consensus_pubkey: description: >- - consensus_pubkey is the consensus public key of the validator, as - a Protobuf Any. + consensus_pubkey is the consensus public key of the validator, as a Protobuf Any. + type: object properties: - '@type': + "@type": type: string description: >- - A URL/resource name that uniquely identifies the type of the - serialized - + 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 - + + 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 - + + `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 - + + + 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} jailed: type: boolean description: >- - jailed defined whether the validator has been jailed from bonded - status or not. + jailed defined whether the validator has been jailed from bonded status or not. + status: description: status is the validator status (bonded/unbonding/unbonded). type: string @@ -53515,8 +49872,8 @@ definitions: delegator_shares: type: string description: >- - delegator_shares defines total shares issued to a validator's - delegators. + delegator_shares defines total shares issued to a validator's delegators. + description: description: description defines the description terms for the validator. type: object @@ -53527,16 +49884,16 @@ definitions: identity: type: string description: >- - identity defines an optional identity signature (ex. UPort or - Keybase). + identity defines an optional identity signature (ex. UPort or Keybase). + website: type: string description: website defines an optional website link. security_contact: type: string description: >- - security_contact defines an optional email for security - contact. + security_contact defines an optional email for security contact. + details: type: string description: details define other optional details. @@ -53544,39 +49901,39 @@ definitions: type: string format: int64 description: >- - unbonding_height defines, if unbonding, the height at which this - validator has begun unbonding. + unbonding_height defines, if unbonding, the height at which this validator has begun unbonding. + unbonding_time: type: string format: date-time description: >- - unbonding_time defines, if unbonding, the min time for the - validator to complete unbonding. + unbonding_time defines, if unbonding, the min time for the validator to complete unbonding. + commission: description: commission defines the commission parameters. type: object properties: commission_rates: description: >- - commission_rates defines the initial commission rates to be - used for creating a validator. + commission_rates defines the initial commission rates to be used for creating a validator. + type: object properties: rate: type: string description: >- - rate is the commission rate charged to delegators, as a - fraction. + rate is the commission rate charged to delegators, as a fraction. + max_rate: type: string description: >- - max_rate defines the maximum commission rate which - validator can ever charge, as a fraction. + max_rate defines the maximum commission rate which validator can ever charge, as a fraction. + max_change_rate: type: string description: >- - max_change_rate defines the maximum daily increase of the - validator commission, as a fraction. + max_change_rate defines the maximum daily increase of the validator commission, as a fraction. + update_time: type: string format: date-time @@ -53584,22 +49941,22 @@ definitions: min_self_delegation: type: string description: >- - min_self_delegation is the validator's self declared minimum self - delegation. + min_self_delegation is the validator's self declared minimum self delegation. + unbonding_on_hold_ref_count: type: string format: int64 title: >- - strictly positive if this validator's unbonding has been stopped - by external modules + strictly positive if this validator's unbonding has been stopped by external modules + unbonding_ids: type: array items: type: string format: uint64 title: >- - list of unbonding ids, each uniquely identifying an unbonding of - this validator + list of unbonding ids, each uniquely identifying an unbonding of this validator + description: |- QueryDelegatorValidatorResponse response type for the Query/DelegatorValidator RPC method. @@ -53614,77 +49971,66 @@ definitions: operator_address: type: string description: >- - operator_address defines the address of the validator's - operator; bech encoded in JSON. + operator_address defines the address of the validator's operator; bech encoded in JSON. + consensus_pubkey: description: >- - consensus_pubkey is the consensus public key of the validator, - as a Protobuf Any. + consensus_pubkey is the consensus public key of the validator, as a Protobuf Any. + type: object properties: - '@type': + "@type": type: string description: >- - A URL/resource name that uniquely identifies the type of the - serialized - + 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 - + + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} jailed: type: boolean description: >- - jailed defined whether the validator has been jailed from bonded - status or not. + jailed defined whether the validator has been jailed from bonded status or not. + status: description: status is the validator status (bonded/unbonding/unbonded). type: string @@ -53700,8 +50046,8 @@ definitions: delegator_shares: type: string description: >- - delegator_shares defines total shares issued to a validator's - delegators. + delegator_shares defines total shares issued to a validator's delegators. + description: description: description defines the description terms for the validator. type: object @@ -53712,16 +50058,16 @@ definitions: identity: type: string description: >- - identity defines an optional identity signature (ex. UPort - or Keybase). + identity defines an optional identity signature (ex. UPort or Keybase). + website: type: string description: website defines an optional website link. security_contact: type: string description: >- - security_contact defines an optional email for security - contact. + security_contact defines an optional email for security contact. + details: type: string description: details define other optional details. @@ -53729,85 +50075,81 @@ definitions: type: string format: int64 description: >- - unbonding_height defines, if unbonding, the height at which this - validator has begun unbonding. + unbonding_height defines, if unbonding, the height at which this validator has begun unbonding. + unbonding_time: type: string format: date-time description: >- - unbonding_time defines, if unbonding, the min time for the - validator to complete unbonding. + unbonding_time defines, if unbonding, the min time for the validator to complete unbonding. + commission: description: commission defines the commission parameters. type: object properties: commission_rates: description: >- - commission_rates defines the initial commission rates to be - used for creating a validator. + commission_rates defines the initial commission rates to be used for creating a validator. + type: object properties: rate: type: string description: >- - rate is the commission rate charged to delegators, as a - fraction. + rate is the commission rate charged to delegators, as a fraction. + max_rate: type: string description: >- - max_rate defines the maximum commission rate which - validator can ever charge, as a fraction. + max_rate defines the maximum commission rate which validator can ever charge, as a fraction. + max_change_rate: type: string description: >- - max_change_rate defines the maximum daily increase of - the validator commission, as a fraction. + max_change_rate defines the maximum daily increase of the validator commission, as a fraction. + update_time: type: string format: date-time description: >- - update_time is the last time the commission rate was - changed. + update_time is the last time the commission rate was changed. + min_self_delegation: type: string description: >- - min_self_delegation is the validator's self declared minimum - self delegation. + min_self_delegation is the validator's self declared minimum self delegation. + unbonding_on_hold_ref_count: type: string format: int64 title: >- - strictly positive if this validator's unbonding has been stopped - by external modules + strictly positive if this validator's unbonding has been stopped by external modules + unbonding_ids: type: array items: type: string format: uint64 title: >- - list of unbonding ids, each uniquely identifying an unbonding of - this validator + list of unbonding ids, each uniquely identifying an unbonding of this validator + description: >- Validator defines a validator, together with the total amount of the - - Validator's bond shares and their exchange rate to coins. Slashing - results in - - a decrease in the exchange rate, allowing correct calculation of - future - - undelegations without iterating over delegators. When coins are - delegated to - - this validator, the validator is credited with a delegation whose - number of - - bond shares is based on the amount of coins delegated divided by the - current - + + Validator's bond shares and their exchange rate to coins. Slashing results in + + a decrease in the exchange rate, allowing correct calculation of future + + undelegations without iterating over delegators. When coins are delegated to + + this validator, the validator is credited with a delegation whose number of + + bond shares is based on the amount of coins delegated divided by the current + exchange rate. Voting power can be calculated as total bonded shares - + multiplied by exchange rate. + description: validators defines the validators' info of a delegator. pagination: description: pagination defines the pagination in the response. @@ -53824,10 +50166,10 @@ definitions: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise + description: |- QueryDelegatorValidatorsResponse is response type for the Query/DelegatorValidators RPC method. @@ -53852,13 +50194,12 @@ definitions: type: string format: uint64 description: >- - Consensus captures the consensus rules for processing a block - in the blockchain, - - including all blockchain data structures and the rules of the - application's - + Consensus captures the consensus rules for processing a block in the blockchain, + + including all blockchain data structures and the rules of the application's + state transition machine. + chain_id: type: string height: @@ -53885,8 +50226,8 @@ definitions: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block as its hash and its - `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + last_commit_hash: type: string format: byte @@ -53935,78 +50276,66 @@ definitions: operator_address: type: string description: >- - operator_address defines the address of the validator's - operator; bech encoded in JSON. + operator_address defines the address of the validator's operator; bech encoded in JSON. + consensus_pubkey: description: >- - consensus_pubkey is the consensus public key of the - validator, as a Protobuf Any. + consensus_pubkey is the consensus public key of the validator, as a Protobuf Any. + type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} jailed: type: boolean description: >- - jailed defined whether the validator has been jailed from - bonded status or not. + jailed defined whether the validator has been jailed from bonded status or not. + status: description: status is the validator status (bonded/unbonding/unbonded). type: string @@ -54022,8 +50351,8 @@ definitions: delegator_shares: type: string description: >- - delegator_shares defines total shares issued to a - validator's delegators. + delegator_shares defines total shares issued to a validator's delegators. + description: description: description defines the description terms for the validator. type: object @@ -54034,16 +50363,16 @@ definitions: identity: type: string description: >- - identity defines an optional identity signature (ex. - UPort or Keybase). + identity defines an optional identity signature (ex. UPort or Keybase). + website: type: string description: website defines an optional website link. security_contact: type: string description: >- - security_contact defines an optional email for security - contact. + security_contact defines an optional email for security contact. + details: type: string description: details define other optional details. @@ -54051,92 +50380,86 @@ definitions: type: string format: int64 description: >- - unbonding_height defines, if unbonding, the height at which - this validator has begun unbonding. + unbonding_height defines, if unbonding, the height at which this validator has begun unbonding. + unbonding_time: type: string format: date-time description: >- - unbonding_time defines, if unbonding, the min time for the - validator to complete unbonding. + unbonding_time defines, if unbonding, the min time for the validator to complete unbonding. + commission: description: commission defines the commission parameters. type: object properties: commission_rates: description: >- - commission_rates defines the initial commission rates to - be used for creating a validator. + commission_rates defines the initial commission rates to be used for creating a validator. + type: object properties: rate: type: string description: >- - rate is the commission rate charged to delegators, - as a fraction. + rate is the commission rate charged to delegators, as a fraction. + max_rate: type: string description: >- - max_rate defines the maximum commission rate which - validator can ever charge, as a fraction. + max_rate defines the maximum commission rate which validator can ever charge, as a fraction. + max_change_rate: type: string description: >- - max_change_rate defines the maximum daily increase - of the validator commission, as a fraction. + max_change_rate defines the maximum daily increase of the validator commission, as a fraction. + update_time: type: string format: date-time description: >- - update_time is the last time the commission rate was - changed. + update_time is the last time the commission rate was changed. + min_self_delegation: type: string description: >- - min_self_delegation is the validator's self declared minimum - self delegation. + min_self_delegation is the validator's self declared minimum self delegation. + unbonding_on_hold_ref_count: type: string format: int64 title: >- - strictly positive if this validator's unbonding has been - stopped by external modules + strictly positive if this validator's unbonding has been stopped by external modules + unbonding_ids: type: array items: type: string format: uint64 title: >- - list of unbonding ids, each uniquely identifying an - unbonding of this validator - description: >- - Validator defines a validator, together with the total amount of - the - - Validator's bond shares and their exchange rate to coins. - Slashing results in - - a decrease in the exchange rate, allowing correct calculation of - future - - undelegations without iterating over delegators. When coins are - delegated to - - this validator, the validator is credited with a delegation - whose number of - - bond shares is based on the amount of coins delegated divided by - the current - - exchange rate. Voting power can be calculated as total bonded - shares + list of unbonding ids, each uniquely identifying an unbonding of this validator + description: >- + Validator defines a validator, together with the total amount of the + + Validator's bond shares and their exchange rate to coins. Slashing results in + + a decrease in the exchange rate, allowing correct calculation of future + + undelegations without iterating over delegators. When coins are delegated to + + this validator, the validator is credited with a delegation whose number of + + bond shares is based on the amount of coins delegated divided by the current + + exchange rate. Voting power can be calculated as total bonded shares + multiplied by exchange rate. - description: >- - QueryHistoricalInfoResponse is response type for the Query/HistoricalInfo - RPC + description: >- + QueryHistoricalInfoResponse is response type for the Query/HistoricalInfo RPC + method. + cosmos.staking.v1beta1.QueryParamsResponse: type: object properties: @@ -54155,8 +50478,8 @@ definitions: type: integer format: int64 description: >- - max_entries is the max entries for either unbonding delegation or - redelegation (per pair/trio). + max_entries is the max entries for either unbonding delegation or redelegation (per pair/trio). + historical_entries: type: integer format: int64 @@ -54167,8 +50490,8 @@ definitions: min_commission_rate: type: string title: >- - min_commission_rate is the chain-wide minimum commission rate that - a validator can charge their delegators + min_commission_rate is the chain-wide minimum commission rate that a validator can charge their delegators + key_rotation_fee: type: object properties: @@ -54178,12 +50501,12 @@ definitions: type: string description: >- Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - + + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + title: |- key_rotation_fee is fee to be spent when rotating validator's key (either consensus pubkey or operator key) @@ -54214,18 +50537,18 @@ definitions: delegator_address: type: string description: >- - delegator_address is the bech32-encoded address of the - delegator. + delegator_address is the bech32-encoded address of the delegator. + validator_src_address: type: string description: >- - validator_src_address is the validator redelegation source - operator address. + validator_src_address is the validator redelegation source operator address. + validator_dst_address: type: string description: >- - validator_dst_address is the validator redelegation - destination operator address. + validator_dst_address is the validator redelegation destination operator address. + entries: type: array items: @@ -54235,24 +50558,24 @@ definitions: type: string format: int64 description: >- - creation_height defines the height which the - redelegation took place. + creation_height defines the height which the redelegation took place. + completion_time: type: string format: date-time description: >- - completion_time defines the unix time for redelegation - completion. + completion_time defines the unix time for redelegation completion. + initial_balance: type: string description: >- - initial_balance defines the initial balance when - redelegation started. + initial_balance defines the initial balance when redelegation started. + shares_dst: type: string description: >- - shares_dst is the amount of destination-validator - shares created by redelegation. + shares_dst is the amount of destination-validator shares created by redelegation. + unbonding_id: type: string format: uint64 @@ -54261,21 +50584,20 @@ definitions: type: string format: int64 title: >- - Strictly positive if this entry's unbonding has been - stopped by external modules + Strictly positive if this entry's unbonding has been stopped by external modules + description: >- - RedelegationEntry defines a redelegation object with - relevant metadata. + RedelegationEntry defines a redelegation object with relevant metadata. + description: |- entries are the redelegation entries. redelegation entries description: >- - Redelegation contains the list of a particular delegator's - redelegating bonds + Redelegation contains the list of a particular delegator's redelegating bonds + + from a particular source validator to a particular destination validator. - from a particular source validator to a particular destination - validator. entries: type: array items: @@ -54288,24 +50610,24 @@ definitions: type: string format: int64 description: >- - creation_height defines the height which the - redelegation took place. + creation_height defines the height which the redelegation took place. + completion_time: type: string format: date-time description: >- - completion_time defines the unix time for redelegation - completion. + completion_time defines the unix time for redelegation completion. + initial_balance: type: string description: >- - initial_balance defines the initial balance when - redelegation started. + initial_balance defines the initial balance when redelegation started. + shares_dst: type: string description: >- - shares_dst is the amount of destination-validator - shares created by redelegation. + shares_dst is the amount of destination-validator shares created by redelegation. + unbonding_id: type: string format: uint64 @@ -54314,29 +50636,27 @@ definitions: type: string format: int64 title: >- - Strictly positive if this entry's unbonding has been - stopped by external modules + Strictly positive if this entry's unbonding has been stopped by external modules + description: >- - RedelegationEntry defines a redelegation object with - relevant metadata. + RedelegationEntry defines a redelegation object with relevant metadata. + balance: type: string description: >- - RedelegationEntryResponse is equivalent to a RedelegationEntry - except that it - - contains a balance in addition to shares which is more - suitable for client - + RedelegationEntryResponse is equivalent to a RedelegationEntry except that it + + contains a balance in addition to shares which is more suitable for client + responses. - description: >- - RedelegationResponse is equivalent to a Redelegation except that its - entries - - contain a balance in addition to shares which is more suitable for - client + description: >- + RedelegationResponse is equivalent to a Redelegation except that its entries + + contain a balance in addition to shares which is more suitable for client + responses. + pagination: description: pagination defines the pagination in the response. type: object @@ -54352,15 +50672,15 @@ definitions: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise - description: >- - QueryRedelegationsResponse is response type for the Query/Redelegations - RPC + description: >- + QueryRedelegationsResponse is response type for the Query/Redelegations RPC + method. + cosmos.staking.v1beta1.QueryUnbondingDelegationResponse: type: object properties: @@ -54383,8 +50703,8 @@ definitions: type: string format: int64 description: >- - creation_height is the height which the unbonding took - place. + creation_height is the height which the unbonding took place. + completion_time: type: string format: date-time @@ -54392,8 +50712,8 @@ definitions: initial_balance: type: string description: >- - initial_balance defines the tokens initially scheduled to - receive at completion. + initial_balance defines the tokens initially scheduled to receive at completion. + balance: type: string description: balance defines the tokens to receive at completion. @@ -54405,11 +50725,11 @@ definitions: type: string format: int64 title: >- - Strictly positive if this entry's unbonding has been stopped - by external modules + Strictly positive if this entry's unbonding has been stopped by external modules + description: >- - UnbondingDelegationEntry defines an unbonding object with - relevant metadata. + UnbondingDelegationEntry defines an unbonding object with relevant metadata. + description: |- entries are the unbonding delegation entries. @@ -54438,13 +50758,12 @@ definitions: type: string description: shares define the delegation shares received. description: >- - Delegation represents the bond with tokens held by an account. - It is - - owned by one delegator, and is associated with the voting power - of one - + Delegation represents the bond with tokens held by an account. It is + + owned by one delegator, and is associated with the voting power of one + validator. + balance: type: object properties: @@ -54454,18 +50773,17 @@ definitions: type: string description: >- Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - + + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + description: >- - DelegationResponse is equivalent to Delegation except that it - contains a + DelegationResponse is equivalent to Delegation except that it contains a + + balance in addition to shares which is more suitable for client responses. - balance in addition to shares which is more suitable for client - responses. pagination: type: object properties: @@ -54480,10 +50798,10 @@ definitions: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise + description: |- PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. @@ -54505,75 +50823,66 @@ definitions: operator_address: type: string description: >- - operator_address defines the address of the validator's operator; - bech encoded in JSON. + operator_address defines the address of the validator's operator; bech encoded in JSON. + consensus_pubkey: description: >- - consensus_pubkey is the consensus public key of the validator, as - a Protobuf Any. + consensus_pubkey is the consensus public key of the validator, as a Protobuf Any. + type: object properties: - '@type': + "@type": type: string description: >- - A URL/resource name that uniquely identifies the type of the - serialized - + 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 - + + 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 - + + `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 - + + + 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} jailed: type: boolean description: >- - jailed defined whether the validator has been jailed from bonded - status or not. + jailed defined whether the validator has been jailed from bonded status or not. + status: description: status is the validator status (bonded/unbonding/unbonded). type: string @@ -54589,8 +50898,8 @@ definitions: delegator_shares: type: string description: >- - delegator_shares defines total shares issued to a validator's - delegators. + delegator_shares defines total shares issued to a validator's delegators. + description: description: description defines the description terms for the validator. type: object @@ -54601,16 +50910,16 @@ definitions: identity: type: string description: >- - identity defines an optional identity signature (ex. UPort or - Keybase). + identity defines an optional identity signature (ex. UPort or Keybase). + website: type: string description: website defines an optional website link. security_contact: type: string description: >- - security_contact defines an optional email for security - contact. + security_contact defines an optional email for security contact. + details: type: string description: details define other optional details. @@ -54618,39 +50927,39 @@ definitions: type: string format: int64 description: >- - unbonding_height defines, if unbonding, the height at which this - validator has begun unbonding. + unbonding_height defines, if unbonding, the height at which this validator has begun unbonding. + unbonding_time: type: string format: date-time description: >- - unbonding_time defines, if unbonding, the min time for the - validator to complete unbonding. + unbonding_time defines, if unbonding, the min time for the validator to complete unbonding. + commission: description: commission defines the commission parameters. type: object properties: commission_rates: description: >- - commission_rates defines the initial commission rates to be - used for creating a validator. + commission_rates defines the initial commission rates to be used for creating a validator. + type: object properties: rate: type: string description: >- - rate is the commission rate charged to delegators, as a - fraction. + rate is the commission rate charged to delegators, as a fraction. + max_rate: type: string description: >- - max_rate defines the maximum commission rate which - validator can ever charge, as a fraction. + max_rate defines the maximum commission rate which validator can ever charge, as a fraction. + max_change_rate: type: string description: >- - max_change_rate defines the maximum daily increase of the - validator commission, as a fraction. + max_change_rate defines the maximum daily increase of the validator commission, as a fraction. + update_time: type: string format: date-time @@ -54658,22 +50967,22 @@ definitions: min_self_delegation: type: string description: >- - min_self_delegation is the validator's self declared minimum self - delegation. + min_self_delegation is the validator's self declared minimum self delegation. + unbonding_on_hold_ref_count: type: string format: int64 title: >- - strictly positive if this validator's unbonding has been stopped - by external modules + strictly positive if this validator's unbonding has been stopped by external modules + unbonding_ids: type: array items: type: string format: uint64 title: >- - list of unbonding ids, each uniquely identifying an unbonding of - this validator + list of unbonding ids, each uniquely identifying an unbonding of this validator + title: QueryValidatorResponse is response type for the Query/Validator RPC method cosmos.staking.v1beta1.QueryValidatorUnbondingDelegationsResponse: type: object @@ -54698,8 +51007,8 @@ definitions: type: string format: int64 description: >- - creation_height is the height which the unbonding took - place. + creation_height is the height which the unbonding took place. + completion_time: type: string format: date-time @@ -54707,8 +51016,8 @@ definitions: initial_balance: type: string description: >- - initial_balance defines the tokens initially scheduled to - receive at completion. + initial_balance defines the tokens initially scheduled to receive at completion. + balance: type: string description: balance defines the tokens to receive at completion. @@ -54720,20 +51029,20 @@ definitions: type: string format: int64 title: >- - Strictly positive if this entry's unbonding has been - stopped by external modules + Strictly positive if this entry's unbonding has been stopped by external modules + description: >- - UnbondingDelegationEntry defines an unbonding object with - relevant metadata. + UnbondingDelegationEntry defines an unbonding object with relevant metadata. + description: |- entries are the unbonding delegation entries. unbonding delegation entries description: >- - UnbondingDelegation stores all of a single delegator's unbonding - bonds - + UnbondingDelegation stores all of a single delegator's unbonding bonds + for a single validator in an time-ordered list. + pagination: type: object properties: @@ -54748,10 +51057,10 @@ definitions: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise + description: |- PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. @@ -54774,77 +51083,66 @@ definitions: operator_address: type: string description: >- - operator_address defines the address of the validator's - operator; bech encoded in JSON. + operator_address defines the address of the validator's operator; bech encoded in JSON. + consensus_pubkey: description: >- - consensus_pubkey is the consensus public key of the validator, - as a Protobuf Any. + consensus_pubkey is the consensus public key of the validator, as a Protobuf Any. + type: object properties: - '@type': + "@type": type: string description: >- - A URL/resource name that uniquely identifies the type of the - serialized - + 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 - + + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} jailed: type: boolean description: >- - jailed defined whether the validator has been jailed from bonded - status or not. + jailed defined whether the validator has been jailed from bonded status or not. + status: description: status is the validator status (bonded/unbonding/unbonded). type: string @@ -54860,8 +51158,8 @@ definitions: delegator_shares: type: string description: >- - delegator_shares defines total shares issued to a validator's - delegators. + delegator_shares defines total shares issued to a validator's delegators. + description: description: description defines the description terms for the validator. type: object @@ -54872,16 +51170,16 @@ definitions: identity: type: string description: >- - identity defines an optional identity signature (ex. UPort - or Keybase). + identity defines an optional identity signature (ex. UPort or Keybase). + website: type: string description: website defines an optional website link. security_contact: type: string description: >- - security_contact defines an optional email for security - contact. + security_contact defines an optional email for security contact. + details: type: string description: details define other optional details. @@ -54889,85 +51187,81 @@ definitions: type: string format: int64 description: >- - unbonding_height defines, if unbonding, the height at which this - validator has begun unbonding. + unbonding_height defines, if unbonding, the height at which this validator has begun unbonding. + unbonding_time: type: string format: date-time description: >- - unbonding_time defines, if unbonding, the min time for the - validator to complete unbonding. + unbonding_time defines, if unbonding, the min time for the validator to complete unbonding. + commission: description: commission defines the commission parameters. type: object properties: commission_rates: description: >- - commission_rates defines the initial commission rates to be - used for creating a validator. + commission_rates defines the initial commission rates to be used for creating a validator. + type: object properties: rate: type: string description: >- - rate is the commission rate charged to delegators, as a - fraction. + rate is the commission rate charged to delegators, as a fraction. + max_rate: type: string description: >- - max_rate defines the maximum commission rate which - validator can ever charge, as a fraction. + max_rate defines the maximum commission rate which validator can ever charge, as a fraction. + max_change_rate: type: string description: >- - max_change_rate defines the maximum daily increase of - the validator commission, as a fraction. + max_change_rate defines the maximum daily increase of the validator commission, as a fraction. + update_time: type: string format: date-time description: >- - update_time is the last time the commission rate was - changed. + update_time is the last time the commission rate was changed. + min_self_delegation: type: string description: >- - min_self_delegation is the validator's self declared minimum - self delegation. + min_self_delegation is the validator's self declared minimum self delegation. + unbonding_on_hold_ref_count: type: string format: int64 title: >- - strictly positive if this validator's unbonding has been stopped - by external modules + strictly positive if this validator's unbonding has been stopped by external modules + unbonding_ids: type: array items: type: string format: uint64 title: >- - list of unbonding ids, each uniquely identifying an unbonding of - this validator + list of unbonding ids, each uniquely identifying an unbonding of this validator + description: >- Validator defines a validator, together with the total amount of the - - Validator's bond shares and their exchange rate to coins. Slashing - results in - - a decrease in the exchange rate, allowing correct calculation of - future - - undelegations without iterating over delegators. When coins are - delegated to - - this validator, the validator is credited with a delegation whose - number of - - bond shares is based on the amount of coins delegated divided by the - current - + + Validator's bond shares and their exchange rate to coins. Slashing results in + + a decrease in the exchange rate, allowing correct calculation of future + + undelegations without iterating over delegators. When coins are delegated to + + this validator, the validator is credited with a delegation whose number of + + bond shares is based on the amount of coins delegated divided by the current + exchange rate. Voting power can be calculated as total bonded shares - + multiplied by exchange rate. + validator_info: type: array items: @@ -54979,14 +51273,13 @@ definitions: description: ValidatorInfo contains the validator's address and public key. description: >- validator_info contains additional information for each validator. - - The order of the elements in this list corresponds to the order of the - elements in the validators list. - - For example, if you want the ValidatorInfo for the third validator in - the validators list, - + + The order of the elements in this list corresponds to the order of the elements in the validators list. + + For example, if you want the ValidatorInfo for the third validator in the validators list, + you should look at the third element in the validator_info list. + pagination: type: object properties: @@ -55001,10 +51294,10 @@ definitions: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise + description: |- PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. @@ -55014,8 +51307,8 @@ definitions: PageResponse page = 2; } title: >- - QueryValidatorsResponse is response type for the Query/Validators RPC - method + QueryValidatorsResponse is response type for the Query/Validators RPC method + cosmos.staking.v1beta1.Redelegation: type: object properties: @@ -55025,13 +51318,13 @@ definitions: validator_src_address: type: string description: >- - validator_src_address is the validator redelegation source operator - address. + validator_src_address is the validator redelegation source operator address. + validator_dst_address: type: string description: >- - validator_dst_address is the validator redelegation destination - operator address. + validator_dst_address is the validator redelegation destination operator address. + entries: type: array items: @@ -55041,24 +51334,24 @@ definitions: type: string format: int64 description: >- - creation_height defines the height which the redelegation took - place. + creation_height defines the height which the redelegation took place. + completion_time: type: string format: date-time description: >- - completion_time defines the unix time for redelegation - completion. + completion_time defines the unix time for redelegation completion. + initial_balance: type: string description: >- - initial_balance defines the initial balance when redelegation - started. + initial_balance defines the initial balance when redelegation started. + shares_dst: type: string description: >- - shares_dst is the amount of destination-validator shares created - by redelegation. + shares_dst is the amount of destination-validator shares created by redelegation. + unbonding_id: type: string format: uint64 @@ -55067,20 +51360,20 @@ definitions: type: string format: int64 title: >- - Strictly positive if this entry's unbonding has been stopped by - external modules + Strictly positive if this entry's unbonding has been stopped by external modules + description: >- - RedelegationEntry defines a redelegation object with relevant - metadata. + RedelegationEntry defines a redelegation object with relevant metadata. + description: |- entries are the redelegation entries. redelegation entries description: >- - Redelegation contains the list of a particular delegator's redelegating - bonds - + Redelegation contains the list of a particular delegator's redelegating bonds + from a particular source validator to a particular destination validator. + cosmos.staking.v1beta1.RedelegationEntry: type: object properties: @@ -55098,8 +51391,8 @@ definitions: shares_dst: type: string description: >- - shares_dst is the amount of destination-validator shares created by - redelegation. + shares_dst is the amount of destination-validator shares created by redelegation. + unbonding_id: type: string format: uint64 @@ -55108,8 +51401,8 @@ definitions: type: string format: int64 title: >- - Strictly positive if this entry's unbonding has been stopped by - external modules + Strictly positive if this entry's unbonding has been stopped by external modules + description: RedelegationEntry defines a redelegation object with relevant metadata. cosmos.staking.v1beta1.RedelegationEntryResponse: type: object @@ -55121,8 +51414,8 @@ definitions: type: string format: int64 description: >- - creation_height defines the height which the redelegation took - place. + creation_height defines the height which the redelegation took place. + completion_time: type: string format: date-time @@ -55130,13 +51423,13 @@ definitions: initial_balance: type: string description: >- - initial_balance defines the initial balance when redelegation - started. + initial_balance defines the initial balance when redelegation started. + shares_dst: type: string description: >- - shares_dst is the amount of destination-validator shares created - by redelegation. + shares_dst is the amount of destination-validator shares created by redelegation. + unbonding_id: type: string format: uint64 @@ -55145,20 +51438,20 @@ definitions: type: string format: int64 title: >- - Strictly positive if this entry's unbonding has been stopped by - external modules + Strictly positive if this entry's unbonding has been stopped by external modules + description: >- - RedelegationEntry defines a redelegation object with relevant - metadata. + RedelegationEntry defines a redelegation object with relevant metadata. + balance: type: string description: >- - RedelegationEntryResponse is equivalent to a RedelegationEntry except that - it - + RedelegationEntryResponse is equivalent to a RedelegationEntry except that it + contains a balance in addition to shares which is more suitable for client - + responses. + cosmos.staking.v1beta1.RedelegationResponse: type: object properties: @@ -55171,13 +51464,13 @@ definitions: validator_src_address: type: string description: >- - validator_src_address is the validator redelegation source - operator address. + validator_src_address is the validator redelegation source operator address. + validator_dst_address: type: string description: >- - validator_dst_address is the validator redelegation destination - operator address. + validator_dst_address is the validator redelegation destination operator address. + entries: type: array items: @@ -55187,24 +51480,24 @@ definitions: type: string format: int64 description: >- - creation_height defines the height which the redelegation - took place. + creation_height defines the height which the redelegation took place. + completion_time: type: string format: date-time description: >- - completion_time defines the unix time for redelegation - completion. + completion_time defines the unix time for redelegation completion. + initial_balance: type: string description: >- - initial_balance defines the initial balance when - redelegation started. + initial_balance defines the initial balance when redelegation started. + shares_dst: type: string description: >- - shares_dst is the amount of destination-validator shares - created by redelegation. + shares_dst is the amount of destination-validator shares created by redelegation. + unbonding_id: type: string format: uint64 @@ -55213,21 +51506,20 @@ definitions: type: string format: int64 title: >- - Strictly positive if this entry's unbonding has been stopped - by external modules + Strictly positive if this entry's unbonding has been stopped by external modules + description: >- - RedelegationEntry defines a redelegation object with relevant - metadata. + RedelegationEntry defines a redelegation object with relevant metadata. + description: |- entries are the redelegation entries. redelegation entries description: >- - Redelegation contains the list of a particular delegator's - redelegating bonds + Redelegation contains the list of a particular delegator's redelegating bonds + + from a particular source validator to a particular destination validator. - from a particular source validator to a particular destination - validator. entries: type: array items: @@ -55240,24 +51532,24 @@ definitions: type: string format: int64 description: >- - creation_height defines the height which the redelegation - took place. + creation_height defines the height which the redelegation took place. + completion_time: type: string format: date-time description: >- - completion_time defines the unix time for redelegation - completion. + completion_time defines the unix time for redelegation completion. + initial_balance: type: string description: >- - initial_balance defines the initial balance when - redelegation started. + initial_balance defines the initial balance when redelegation started. + shares_dst: type: string description: >- - shares_dst is the amount of destination-validator shares - created by redelegation. + shares_dst is the amount of destination-validator shares created by redelegation. + unbonding_id: type: string format: uint64 @@ -55266,28 +51558,27 @@ definitions: type: string format: int64 title: >- - Strictly positive if this entry's unbonding has been stopped - by external modules + Strictly positive if this entry's unbonding has been stopped by external modules + description: >- - RedelegationEntry defines a redelegation object with relevant - metadata. + RedelegationEntry defines a redelegation object with relevant metadata. + balance: type: string description: >- - RedelegationEntryResponse is equivalent to a RedelegationEntry - except that it - - contains a balance in addition to shares which is more suitable for - client - + RedelegationEntryResponse is equivalent to a RedelegationEntry except that it + + contains a balance in addition to shares which is more suitable for client + responses. - description: >- - RedelegationResponse is equivalent to a Redelegation except that its - entries + description: >- + RedelegationResponse is equivalent to a Redelegation except that its entries + contain a balance in addition to shares which is more suitable for client - + responses. + cosmos.staking.v1beta1.UnbondingDelegation: type: object properties: @@ -55313,8 +51604,8 @@ definitions: initial_balance: type: string description: >- - initial_balance defines the tokens initially scheduled to - receive at completion. + initial_balance defines the tokens initially scheduled to receive at completion. + balance: type: string description: balance defines the tokens to receive at completion. @@ -55326,11 +51617,11 @@ definitions: type: string format: int64 title: >- - Strictly positive if this entry's unbonding has been stopped by - external modules + Strictly positive if this entry's unbonding has been stopped by external modules + description: >- - UnbondingDelegationEntry defines an unbonding object with relevant - metadata. + UnbondingDelegationEntry defines an unbonding object with relevant metadata. + description: |- entries are the unbonding delegation entries. @@ -55352,8 +51643,8 @@ definitions: initial_balance: type: string description: >- - initial_balance defines the tokens initially scheduled to receive at - completion. + initial_balance defines the tokens initially scheduled to receive at completion. + balance: type: string description: balance defines the tokens to receive at completion. @@ -55365,58 +51656,52 @@ definitions: type: string format: int64 title: >- - Strictly positive if this entry's unbonding has been stopped by - external modules + Strictly positive if this entry's unbonding has been stopped by external modules + description: >- - UnbondingDelegationEntry defines an unbonding object with relevant - metadata. + UnbondingDelegationEntry defines an unbonding object with relevant metadata. + cosmos.staking.v1beta1.Validator: type: object properties: operator_address: type: string description: >- - operator_address defines the address of the validator's operator; bech - encoded in JSON. + operator_address defines the address of the validator's operator; bech encoded in JSON. + consensus_pubkey: description: >- - consensus_pubkey is the consensus public key of the validator, as a - Protobuf Any. + consensus_pubkey is the consensus public key of the validator, as a Protobuf Any. + type: object properties: - '@type': + "@type": type: string description: >- - A URL/resource name that uniquely identifies the type of the - serialized - + 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 - + + 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 - + + `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 - + + + 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 @@ -55424,24 +51709,24 @@ definitions: 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 - + + 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. + additionalProperties: {} jailed: type: boolean description: >- - jailed defined whether the validator has been jailed from bonded - status or not. + jailed defined whether the validator has been jailed from bonded status or not. + status: description: status is the validator status (bonded/unbonding/unbonded). type: string @@ -55457,8 +51742,8 @@ definitions: delegator_shares: type: string description: >- - delegator_shares defines total shares issued to a validator's - delegators. + delegator_shares defines total shares issued to a validator's delegators. + description: description: description defines the description terms for the validator. type: object @@ -55469,8 +51754,8 @@ definitions: identity: type: string description: >- - identity defines an optional identity signature (ex. UPort or - Keybase). + identity defines an optional identity signature (ex. UPort or Keybase). + website: type: string description: website defines an optional website link. @@ -55484,39 +51769,39 @@ definitions: type: string format: int64 description: >- - unbonding_height defines, if unbonding, the height at which this - validator has begun unbonding. + unbonding_height defines, if unbonding, the height at which this validator has begun unbonding. + unbonding_time: type: string format: date-time description: >- - unbonding_time defines, if unbonding, the min time for the validator - to complete unbonding. + unbonding_time defines, if unbonding, the min time for the validator to complete unbonding. + commission: description: commission defines the commission parameters. type: object properties: commission_rates: description: >- - commission_rates defines the initial commission rates to be used - for creating a validator. + commission_rates defines the initial commission rates to be used for creating a validator. + type: object properties: rate: type: string description: >- - rate is the commission rate charged to delegators, as a - fraction. + rate is the commission rate charged to delegators, as a fraction. + max_rate: type: string description: >- - max_rate defines the maximum commission rate which validator - can ever charge, as a fraction. + max_rate defines the maximum commission rate which validator can ever charge, as a fraction. + max_change_rate: type: string description: >- - max_change_rate defines the maximum daily increase of the - validator commission, as a fraction. + max_change_rate defines the maximum daily increase of the validator commission, as a fraction. + update_time: type: string format: date-time @@ -55524,42 +51809,39 @@ definitions: min_self_delegation: type: string description: >- - min_self_delegation is the validator's self declared minimum self - delegation. + min_self_delegation is the validator's self declared minimum self delegation. + unbonding_on_hold_ref_count: type: string format: int64 title: >- - strictly positive if this validator's unbonding has been stopped by - external modules + strictly positive if this validator's unbonding has been stopped by external modules + unbonding_ids: type: array items: type: string format: uint64 title: >- - list of unbonding ids, each uniquely identifying an unbonding of this - validator + list of unbonding ids, each uniquely identifying an unbonding of this validator + description: >- Validator defines a validator, together with the total amount of the - - Validator's bond shares and their exchange rate to coins. Slashing results - in - + + Validator's bond shares and their exchange rate to coins. Slashing results in + a decrease in the exchange rate, allowing correct calculation of future - - undelegations without iterating over delegators. When coins are delegated - to - - this validator, the validator is credited with a delegation whose number - of - - bond shares is based on the amount of coins delegated divided by the - current - + + undelegations without iterating over delegators. When coins are delegated to + + this validator, the validator is credited with a delegation whose number of + + bond shares is based on the amount of coins delegated divided by the current + exchange rate. Voting power can be calculated as total bonded shares - + multiplied by exchange rate. + cosmos.staking.v1beta1.ValidatorInfo: type: object properties: @@ -55587,15 +51869,15 @@ definitions: description: EventAttribute is a single key-value pair, associated with an event. description: >- Event allows application developers to attach additional information to - + ResponseFinalizeBlock and ResponseCheckTx. - - Up to 0.37, this could also be used in ResponseBeginBlock, - ResponseEndBlock, - + + Up to 0.37, this could also be used in ResponseBeginBlock, ResponseEndBlock, + and ResponseDeliverTx. - + Later, transactions may be queried using these events. + cometbft.abci.v1.EventAttribute: type: object properties: @@ -55632,10 +51914,10 @@ definitions: value: type: string description: >- - Attribute defines an attribute wrapper where the key and value - are - + Attribute defines an attribute wrapper where the key and value are + strings instead of raw bytes. + description: |- StringEvent defines en Event object wrapper where all the attributes contain key/value pairs that are strings instead of raw bytes. @@ -55643,8 +51925,8 @@ definitions: Events contains a slice of Event objects that were emitted during some execution. description: >- - ABCIMessageLog defines a structure containing an indexed tx ABCI message - log. + ABCIMessageLog defines a structure containing an indexed tx ABCI message log. + cosmos.base.abci.v1beta1.Attribute: type: object properties: @@ -55674,16 +51956,14 @@ definitions: type: string format: byte description: >- - Data is any data returned from message or handler execution. It MUST - be - - length prefixed in order to separate data from multiple message - executions. - - Deprecated. This field is still populated, but prefer msg_response - instead - + Data is any data returned from message or handler execution. It MUST be + + length prefixed in order to separate data from multiple message executions. + + Deprecated. This field is still populated, but prefer msg_response instead + because it also contains the Msg response typeURL. + log: type: string description: Log contains the log information from message or handler execution. @@ -55707,63 +51987,56 @@ definitions: type: boolean title: nondeterministic description: >- - EventAttribute is a single key-value pair, associated with an - event. - description: >- - Event allows application developers to attach additional information - to + EventAttribute is a single key-value pair, associated with an event. + description: >- + Event allows application developers to attach additional information to + ResponseFinalizeBlock and ResponseCheckTx. - - Up to 0.37, this could also be used in ResponseBeginBlock, - ResponseEndBlock, - + + Up to 0.37, this could also be used in ResponseBeginBlock, ResponseEndBlock, + and ResponseDeliverTx. - + Later, transactions may be queried using these events. - description: >- - Events contains a slice of Event objects that were emitted during - message + description: >- + Events contains a slice of Event objects that were emitted during message + or handler execution. + msg_responses: type: array items: type: object properties: - '@type': + "@type": type: string description: >- - A URL/resource name that uniquely identifies the type of the - serialized - + 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 - + + 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 - + + `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 - + + + 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 @@ -55771,37 +52044,32 @@ definitions: 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer message along - with a - + `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. - - + + + 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); @@ -55809,9 +52077,9 @@ definitions: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -55822,9 +52090,9 @@ definitions: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -55832,9 +52100,9 @@ definitions: 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 { @@ -55845,52 +52113,53 @@ definitions: 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" } + description: msg_responses contains the Msg handler responses type packed in Anys. description: Result is the union of ResponseFormat and ResponseCheckTx. cosmos.base.abci.v1beta1.StringEvent: @@ -55965,26 +52234,26 @@ definitions: value: type: string description: >- - Attribute defines an attribute wrapper where the key and - value are - + Attribute defines an attribute wrapper where the key and value are + strings instead of raw bytes. - description: >- - StringEvent defines en Event object wrapper where all the - attributes + description: >- + StringEvent defines en Event object wrapper where all the attributes + contain key/value pairs that are strings instead of raw bytes. - description: >- - Events contains a slice of Event objects that were emitted - during some + description: >- + Events contains a slice of Event objects that were emitted during some + execution. + description: >- - ABCIMessageLog defines a structure containing an indexed tx ABCI - message log. + ABCIMessageLog defines a structure containing an indexed tx ABCI message log. + description: >- - The output of the application's logger (typed). May be - non-deterministic. + The output of the application's logger (typed). May be non-deterministic. + info: type: string description: Additional information. May be non-deterministic. @@ -56000,39 +52269,33 @@ definitions: description: The request transaction bytes. type: object properties: - '@type': + "@type": type: string description: >- - A URL/resource name that uniquely identifies the type of the - serialized - + 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 - + + 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 - + + `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 - + + + 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 @@ -56040,29 +52303,28 @@ definitions: 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 - + + 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. + additionalProperties: {} timestamp: type: string description: >- - Time of the previous block. For heights > 1, it's the weighted median - of - - the timestamps of the valid votes in the block.LastCommit. For height - == 1, - + Time of the previous block. For heights > 1, it's the weighted median of + + the timestamps of the valid votes in the block.LastCommit. For height == 1, + it's genesis time. + events: type: array items: @@ -56083,38 +52345,36 @@ definitions: type: boolean title: nondeterministic description: >- - EventAttribute is a single key-value pair, associated with an - event. - description: >- - Event allows application developers to attach additional information - to + EventAttribute is a single key-value pair, associated with an event. + description: >- + Event allows application developers to attach additional information to + ResponseFinalizeBlock and ResponseCheckTx. - - Up to 0.37, this could also be used in ResponseBeginBlock, - ResponseEndBlock, - + + Up to 0.37, this could also be used in ResponseBeginBlock, ResponseEndBlock, + and ResponseDeliverTx. - + Later, transactions may be queried using these events. - description: >- - Events defines all the events emitted by processing a transaction. - Note, - - these events include those emitted by processing all the messages and - those + description: >- + Events defines all the events emitted by processing a transaction. Note, + + these events include those emitted by processing all the messages and those + emitted from the ante. Whereas Logs contains the events, with - + additional metadata, emitted only by processing the messages. - - + + Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 - description: >- - TxResponse defines a structure containing relevant tx data and metadata. - The + description: >- + TxResponse defines a structure containing relevant tx data and metadata. The + tags are stringified and the log is JSON decoded. + cosmos.crypto.multisig.v1beta1.CompactBitArray: type: object properties: @@ -56141,69 +52401,67 @@ definitions: default: SIGN_MODE_UNSPECIFIED description: >- SignMode represents a signing mode with its own security guarantees. - - + + This enum should be considered a registry of all known sign modes - + in the Cosmos ecosystem. Apps are not expected to support all known - + sign modes. Apps that would like to support custom sign modes are - + encouraged to open a small PR against this file to add a new case - + to this SignMode enum describing their sign mode so that different - + apps have a consistent version of this enum. - + - SIGN_MODE_UNSPECIFIED: SIGN_MODE_UNSPECIFIED specifies an unknown signing mode and will be rejected. - SIGN_MODE_DIRECT: SIGN_MODE_DIRECT specifies a signing mode which uses SignDoc and is verified with raw bytes from Tx. - SIGN_MODE_TEXTUAL: SIGN_MODE_TEXTUAL is a future signing mode that will verify some human-readable textual representation on top of the binary representation - + from SIGN_MODE_DIRECT. - - + + Since: cosmos-sdk 0.50 - SIGN_MODE_DIRECT_AUX: SIGN_MODE_DIRECT_AUX specifies a signing mode which uses SignDocDirectAux. As opposed to SIGN_MODE_DIRECT, this sign mode does not - + require signers signing over other signers' `signer_info`. - - + + Since: cosmos-sdk 0.46 - SIGN_MODE_LEGACY_AMINO_JSON: SIGN_MODE_LEGACY_AMINO_JSON is a backwards compatibility mode which uses Amino JSON and will be removed in the future. - SIGN_MODE_EIP_191: SIGN_MODE_EIP_191 specifies the sign mode for EIP 191 signing on the Cosmos SDK. Ref: https://eips.ethereum.org/EIPS/eip-191 - - + + Currently, SIGN_MODE_EIP_191 is registered as a SignMode enum variant, - + but is not implemented on the SDK by default. To enable EIP-191, you need - + to pass a custom `TxConfig` that has an implementation of - + `SignModeHandler` for EIP-191. The SDK may decide to fully support - + EIP-191 in the future. - - + + Since: cosmos-sdk 0.45.2 - - Deprecated: post 0.47.x Sign mode refers to a method of encoding string - data for - - signing, but in the SDK, it also refers to how to encode a transaction - into a string. - - This opens the possibility for additional EIP191 sign modes, like - SIGN_MODE_EIP_191_TEXTUAL, - + + Deprecated: post 0.47.x Sign mode refers to a method of encoding string data for + + signing, but in the SDK, it also refers to how to encode a transaction into a string. + + This opens the possibility for additional EIP191 sign modes, like SIGN_MODE_EIP_191_TEXTUAL, + SIGN_MODE_EIP_191_LEGACY_JSON, and more. - + Each new EIP191 sign mode should be accompanied by an associated ADR. + cosmos.tx.v1beta1.AuthInfo: type: object properties: @@ -56211,29 +52469,26 @@ definitions: type: array items: type: object - $ref: '#/definitions/cosmos.tx.v1beta1.SignerInfo' + $ref: "#/definitions/cosmos.tx.v1beta1.SignerInfo" description: >- - signer_infos defines the signing modes for the required signers. The - number - + signer_infos defines the signing modes for the required signers. The number + and order of elements must match the required signers from TxBody's - - messages. The first element is the primary signer and the one which - pays - + + messages. The first element is the primary signer and the one which pays + the fee. + fee: description: >- - Fee is the fee and gas limit for the transaction. The first signer is - the - - primary signer and the one which pays the fee. The fee can be - calculated - - based on the cost of evaluating the body and doing signature - verification - + Fee is the fee and gas limit for the transaction. The first signer is the + + primary signer and the one which pays the fee. The fee can be calculated + + based on the cost of evaluating the body and doing signature verification + of the signers. This can be estimated via simulation. + type: object properties: amount: @@ -56247,57 +52502,52 @@ definitions: type: string description: >- Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - + + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + title: amount is the amount of coins to be paid as a fee gas_limit: type: string format: uint64 title: >- - gas_limit is the maximum gas that can be used in transaction - processing - + gas_limit is the maximum gas that can be used in transaction processing + before an out of gas error occurs + payer: type: string description: >- - if unset, the first signer is responsible for paying the fees. If - set, the - - specified account must pay the fees. the payer must be a tx signer - (and - - thus have signed this field in AuthInfo). setting this field does - *not* - + if unset, the first signer is responsible for paying the fees. If set, the + + specified account must pay the fees. the payer must be a tx signer (and + + thus have signed this field in AuthInfo). setting this field does *not* + change the ordering of required signers for the transaction. + granter: type: string title: >- - if set, the fee payer (either the first signer or the value of the - payer - - field) requests that a fee grant be used to pay fees instead of - the fee - - payer's own balance. If an appropriate fee grant does not exist or - the - + if set, the fee payer (either the first signer or the value of the payer + + field) requests that a fee grant be used to pay fees instead of the fee + + payer's own balance. If an appropriate fee grant does not exist or the + chain does not support fee grants, this will fail + tip: description: >- - Tip is the optional tip used for transactions fees paid in another - denom. - - - This field is ignored if the chain didn't enable tips, i.e. didn't add - the - + Tip is the optional tip used for transactions fees paid in another denom. + + + This field is ignored if the chain didn't enable tips, i.e. didn't add the + `TipDecorator` in its posthandler. + type: object properties: amount: @@ -56311,12 +52561,12 @@ definitions: type: string description: >- Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - + + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + title: amount is the amount of the tip tipper: type: string @@ -56359,11 +52609,10 @@ definitions: - BROADCAST_MODE_ASYNC default: BROADCAST_MODE_UNSPECIFIED description: >- - BroadcastMode specifies the broadcast mode for the TxService.Broadcast - RPC - + BroadcastMode specifies the broadcast mode for the TxService.Broadcast RPC + method. - + - BROADCAST_MODE_UNSPECIFIED: zero-value for mode ordering - BROADCAST_MODE_BLOCK: Deprecated: use BROADCAST_MODE_SYNC instead, BROADCAST_MODE_BLOCK is not supported by the SDK from v0.47.x onwards. @@ -56371,6 +52620,7 @@ definitions: for a CheckTx execution response only. - BROADCAST_MODE_ASYNC: BROADCAST_MODE_ASYNC defines a tx broadcasting mode where the client returns immediately. + description: |- BroadcastTxRequest is the request type for the Service.BroadcastTxRequest RPC method. @@ -56430,27 +52680,26 @@ definitions: value: type: string description: >- - Attribute defines an attribute wrapper where the key - and value are - + Attribute defines an attribute wrapper where the key and value are + strings instead of raw bytes. + description: >- - StringEvent defines en Event object wrapper where all the - attributes + StringEvent defines en Event object wrapper where all the attributes + + contain key/value pairs that are strings instead of raw bytes. - contain key/value pairs that are strings instead of raw - bytes. description: >- - Events contains a slice of Event objects that were emitted - during some - + Events contains a slice of Event objects that were emitted during some + execution. + description: >- - ABCIMessageLog defines a structure containing an indexed tx ABCI - message log. + ABCIMessageLog defines a structure containing an indexed tx ABCI message log. + description: >- - The output of the application's logger (typed). May be - non-deterministic. + The output of the application's logger (typed). May be non-deterministic. + info: type: string description: Additional information. May be non-deterministic. @@ -56466,72 +52715,62 @@ definitions: description: The request transaction bytes. type: object properties: - '@type': + "@type": type: string description: >- - A URL/resource name that uniquely identifies the type of the - serialized - + 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 - + + 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 - + + `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 - + + + 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} timestamp: type: string description: >- - Time of the previous block. For heights > 1, it's the weighted - median of - - the timestamps of the valid votes in the block.LastCommit. For - height == 1, - + Time of the previous block. For heights > 1, it's the weighted median of + + the timestamps of the valid votes in the block.LastCommit. For height == 1, + it's genesis time. + events: type: array items: @@ -56552,33 +52791,31 @@ definitions: type: boolean title: nondeterministic description: >- - EventAttribute is a single key-value pair, associated with - an event. - description: >- - Event allows application developers to attach additional - information to + EventAttribute is a single key-value pair, associated with an event. + description: >- + Event allows application developers to attach additional information to + ResponseFinalizeBlock and ResponseCheckTx. - - Up to 0.37, this could also be used in ResponseBeginBlock, - ResponseEndBlock, - + + Up to 0.37, this could also be used in ResponseBeginBlock, ResponseEndBlock, + and ResponseDeliverTx. - + Later, transactions may be queried using these events. - description: >- - Events defines all the events emitted by processing a transaction. - Note, - - these events include those emitted by processing all the messages - and those + description: >- + Events defines all the events emitted by processing a transaction. Note, + + these events include those emitted by processing all the messages and those + emitted from the ante. Whereas Logs contains the events, with - + additional metadata, emitted only by processing the messages. - - + + Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 + description: |- BroadcastTxResponse is the response type for the Service.BroadcastTx method. @@ -56604,42 +52841,39 @@ definitions: type: string format: uint64 title: >- - gas_limit is the maximum gas that can be used in transaction - processing - + gas_limit is the maximum gas that can be used in transaction processing + before an out of gas error occurs + payer: type: string description: >- - if unset, the first signer is responsible for paying the fees. If set, - the - - specified account must pay the fees. the payer must be a tx signer - (and - - thus have signed this field in AuthInfo). setting this field does - *not* - + if unset, the first signer is responsible for paying the fees. If set, the + + specified account must pay the fees. the payer must be a tx signer (and + + thus have signed this field in AuthInfo). setting this field does *not* + change the ordering of required signers for the transaction. + granter: type: string title: >- - if set, the fee payer (either the first signer or the value of the - payer - - field) requests that a fee grant be used to pay fees instead of the - fee - + if set, the fee payer (either the first signer or the value of the payer + + field) requests that a fee grant be used to pay fees instead of the fee + payer's own balance. If an appropriate fee grant does not exist or the - + chain does not support fee grants, this will fail + description: >- Fee includes the amount of coins paid in fees and the maximum - - gas to be used by the transaction. The ratio yields an effective - "gasprice", - + + gas to be used by the transaction. The ratio yields an effective "gasprice", + which must be above some minimum to be accepted into the mempool. + cosmos.tx.v1beta1.GetBlockWithTxsResponse: type: object properties: @@ -56647,7 +52881,7 @@ definitions: type: array items: type: object - $ref: '#/definitions/cosmos.tx.v1beta1.Tx' + $ref: "#/definitions/cosmos.tx.v1beta1.Tx" description: txs are the transactions in the block. block_id: type: object @@ -56666,8 +52900,8 @@ definitions: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block as its hash and its - `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + block: type: object properties: @@ -56685,13 +52919,12 @@ definitions: type: string format: uint64 description: >- - Consensus captures the consensus rules for processing a block - in the blockchain, - - including all blockchain data structures and the rules of the - application's - + Consensus captures the consensus rules for processing a block in the blockchain, + + including all blockchain data structures and the rules of the application's + state transition machine. + chain_id: type: string height: @@ -56717,8 +52950,8 @@ definitions: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block as its hash and its - `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + title: prev block info last_commit_hash: type: string @@ -56770,11 +53003,11 @@ definitions: format: byte description: >- Txs that will be applied by state @ block.Height+1. - - NOTE: not all txs here are valid. We're just agreeing on the - order first. - + + NOTE: not all txs here are valid. We're just agreeing on the order first. + This means that block.AppHash does not include these txs. + title: Data contains the set of transactions included in the block evidence: type: object @@ -56799,97 +53032,13 @@ definitions: - SIGNED_MSG_TYPE_PROPOSAL default: SIGNED_MSG_TYPE_UNKNOWN description: >- - SignedMsgType is a type of signed message in the - consensus. - + SignedMsgType is a type of signed message in the consensus. + - SIGNED_MSG_TYPE_UNKNOWN: Unknown - SIGNED_MSG_TYPE_PREVOTE: Prevote - SIGNED_MSG_TYPE_PRECOMMIT: Precommit - SIGNED_MSG_TYPE_PROPOSAL: Proposal - height: - type: string - format: int64 - round: - type: integer - format: int32 - block_id: - type: object - properties: - hash: - type: string - format: byte - part_set_header: - type: object - properties: - total: - type: integer - format: int64 - hash: - type: string - format: byte - description: Header of the parts set for a block. - description: >- - BlockID defines the unique ID of a block as its - hash and its `PartSetHeader`. - timestamp: - type: string - format: date-time - validator_address: - type: string - format: byte - validator_index: - type: integer - format: int32 - signature: - type: string - format: byte - description: >- - Vote signature by the validator if they - participated in consensus for the - - associated block. - extension: - type: string - format: byte - description: >- - Vote extension provided by the application. Only - valid for precommit - - messages. - extension_signature: - type: string - format: byte - description: >- - Vote extension signature by the validator if - they participated in - - consensus for the associated block. - - Only valid for precommit messages. - description: >- - Vote represents a prevote or precommit vote from - validators for - consensus. - vote_b: - type: object - properties: - type: - type: string - enum: - - SIGNED_MSG_TYPE_UNKNOWN - - SIGNED_MSG_TYPE_PREVOTE - - SIGNED_MSG_TYPE_PRECOMMIT - - SIGNED_MSG_TYPE_PROPOSAL - default: SIGNED_MSG_TYPE_UNKNOWN - description: >- - SignedMsgType is a type of signed message in the - consensus. - - - SIGNED_MSG_TYPE_UNKNOWN: Unknown - - SIGNED_MSG_TYPE_PREVOTE: Prevote - - SIGNED_MSG_TYPE_PRECOMMIT: Precommit - - SIGNED_MSG_TYPE_PROPOSAL: Proposal height: type: string format: int64 @@ -56913,8 +53062,8 @@ definitions: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block as its - hash and its `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + timestamp: type: string format: date-time @@ -56928,33 +53077,117 @@ definitions: type: string format: byte description: >- - Vote signature by the validator if they - participated in consensus for the - + Vote signature by the validator if they participated in consensus for the + associated block. + extension: type: string format: byte description: >- - Vote extension provided by the application. Only - valid for precommit - + Vote extension provided by the application. Only valid for precommit + messages. + extension_signature: type: string format: byte description: >- - Vote extension signature by the validator if - they participated in - + Vote extension signature by the validator if they participated in + consensus for the associated block. - + Only valid for precommit messages. + description: >- - Vote represents a prevote or precommit vote from - validators for + Vote represents a prevote or precommit vote from validators for + + consensus. + + vote_b: + type: object + properties: + type: + type: string + enum: + - SIGNED_MSG_TYPE_UNKNOWN + - SIGNED_MSG_TYPE_PREVOTE + - SIGNED_MSG_TYPE_PRECOMMIT + - SIGNED_MSG_TYPE_PROPOSAL + default: SIGNED_MSG_TYPE_UNKNOWN + description: >- + SignedMsgType is a type of signed message in the consensus. + + - SIGNED_MSG_TYPE_UNKNOWN: Unknown + - SIGNED_MSG_TYPE_PREVOTE: Prevote + - SIGNED_MSG_TYPE_PRECOMMIT: Precommit + - SIGNED_MSG_TYPE_PROPOSAL: Proposal + + height: + type: string + format: int64 + round: + type: integer + format: int32 + block_id: + type: object + properties: + hash: + type: string + format: byte + part_set_header: + type: object + properties: + total: + type: integer + format: int64 + hash: + type: string + format: byte + description: Header of the parts set for a block. + description: >- + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + + timestamp: + type: string + format: date-time + validator_address: + type: string + format: byte + validator_index: + type: integer + format: int32 + signature: + type: string + format: byte + description: >- + Vote signature by the validator if they participated in consensus for the + + associated block. + + extension: + type: string + format: byte + description: >- + Vote extension provided by the application. Only valid for precommit + + messages. + extension_signature: + type: string + format: byte + description: >- + Vote extension signature by the validator if they participated in + + consensus for the associated block. + + Only valid for precommit messages. + + description: >- + Vote represents a prevote or precommit vote from validators for + consensus. + total_voting_power: type: string format: int64 @@ -56965,8 +53198,8 @@ definitions: type: string format: date-time description: >- - DuplicateVoteEvidence contains evidence of a validator - signed two conflicting votes. + DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes. + light_client_attack_evidence: type: object properties: @@ -56990,14 +53223,12 @@ definitions: type: string format: uint64 description: >- - Consensus captures the consensus rules - for processing a block in the - blockchain, - - including all blockchain data structures - and the rules of the application's - + Consensus captures the consensus rules for processing a block in the blockchain, + + including all blockchain data structures and the rules of the application's + state transition machine. + chain_id: type: string height: @@ -57023,15 +53254,15 @@ definitions: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block - as its hash and its `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + title: prev block info last_commit_hash: type: string format: byte description: >- - commit from validators from the last - block + commit from validators from the last block + title: hashes of block data data_hash: type: string @@ -57042,8 +53273,8 @@ definitions: format: byte description: validators for the current block title: >- - hashes from the app output from the prev - block + hashes from the app output from the prev block + next_validators_hash: type: string format: byte @@ -57060,8 +53291,8 @@ definitions: type: string format: byte title: >- - root hash of all results from the txs - from the previous block + root hash of all results from the txs from the previous block + evidence_hash: type: string format: byte @@ -57072,8 +53303,8 @@ definitions: format: byte title: original proposer of the block description: >- - Header defines the structure of a block - header. + Header defines the structure of a block header. + commit: type: object properties: @@ -57100,8 +53331,8 @@ definitions: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block - as its hash and its `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + signatures: type: array items: @@ -57116,14 +53347,14 @@ definitions: - BLOCK_ID_FLAG_NIL default: BLOCK_ID_FLAG_UNKNOWN description: >- - - BLOCK_ID_FLAG_UNKNOWN: Indicates an - error condition + - BLOCK_ID_FLAG_UNKNOWN: Indicates an error condition - BLOCK_ID_FLAG_ABSENT: The vote was not received - BLOCK_ID_FLAG_COMMIT: Voted for the block that received the majority - BLOCK_ID_FLAG_NIL: Voted for nil + title: >- - BlockIdFlag indicates which BlockID the - signature is for + BlockIdFlag indicates which BlockID the signature is for + validator_address: type: string format: byte @@ -57134,15 +53365,14 @@ definitions: type: string format: byte description: >- - CommitSig is a part of the Vote included - in a Commit. + CommitSig is a part of the Vote included in a Commit. + description: >- - Commit contains the evidence that a block - was committed by a set of validators. + Commit contains the evidence that a block was committed by a set of validators. + description: >- - SignedHeader contains a Header(H) and - Commit(H+1) with signatures of validators who - signed it. + SignedHeader contains a Header(H) and Commit(H+1) with signatures of validators who signed it. + validator_set: type: object properties: @@ -57164,8 +53394,8 @@ definitions: type: string format: byte description: >- - PublicKey is a ED25519 or a secp256k1 - public key. + PublicKey is a ED25519 or a secp256k1 public key. + voting_power: type: string format: int64 @@ -57173,8 +53403,8 @@ definitions: type: string format: int64 description: >- - Validator represents a node participating - in the consensus protocol. + Validator represents a node participating in the consensus protocol. + proposer: type: object properties: @@ -57191,8 +53421,8 @@ definitions: type: string format: byte description: >- - PublicKey is a ED25519 or a secp256k1 - public key. + PublicKey is a ED25519 or a secp256k1 public key. + voting_power: type: string format: int64 @@ -57200,15 +53430,15 @@ definitions: type: string format: int64 description: >- - Validator represents a node participating in - the consensus protocol. + Validator represents a node participating in the consensus protocol. + total_voting_power: type: string format: int64 description: ValidatorSet defines a set of validators. description: >- - LightBlock is a combination of SignedHeader and - ValidatorSet. It is used by light clients. + LightBlock is a combination of SignedHeader and ValidatorSet. It is used by light clients. + common_height: type: string format: int64 @@ -57230,8 +53460,8 @@ definitions: type: string format: byte description: >- - PublicKey is a ED25519 or a secp256k1 public - key. + PublicKey is a ED25519 or a secp256k1 public key. + voting_power: type: string format: int64 @@ -57239,8 +53469,8 @@ definitions: type: string format: int64 description: >- - Validator represents a node participating in the - consensus protocol. + Validator represents a node participating in the consensus protocol. + total_voting_power: type: string format: int64 @@ -57248,11 +53478,11 @@ definitions: type: string format: date-time description: >- - LightClientAttackEvidence contains evidence of a set of - validators attempting to mislead a light client. + LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client. + description: >- - Evidence is a generic type for wrapping evidence of - misbehavior by a validator. + Evidence is a generic type for wrapping evidence of misbehavior by a validator. + description: EvidenceList is a list of evidence. last_commit: type: object @@ -57280,8 +53510,8 @@ definitions: format: byte description: Header of the parts set for a block. description: >- - BlockID defines the unique ID of a block as its hash and its - `PartSetHeader`. + BlockID defines the unique ID of a block as its hash and its `PartSetHeader`. + signatures: type: array items: @@ -57312,8 +53542,8 @@ definitions: format: byte description: CommitSig is a part of the Vote included in a Commit. description: >- - Commit contains the evidence that a block was committed by a set - of validators. + Commit contains the evidence that a block was committed by a set of validators. + description: Block defines the structure of a block in the CometBFT blockchain. pagination: description: pagination defines a pagination for the response. @@ -57330,20 +53560,20 @@ definitions: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise - description: >- - GetBlockWithTxsResponse is the response type for the - Service.GetBlockWithTxs + description: >- + GetBlockWithTxsResponse is the response type for the Service.GetBlockWithTxs + method. + cosmos.tx.v1beta1.GetTxResponse: type: object properties: tx: - $ref: '#/definitions/cosmos.tx.v1beta1.Tx' + $ref: "#/definitions/cosmos.tx.v1beta1.Tx" description: tx is the queried transaction. tx_response: description: tx_response is the queried TxResponses. @@ -57398,27 +53628,26 @@ definitions: value: type: string description: >- - Attribute defines an attribute wrapper where the key - and value are - + Attribute defines an attribute wrapper where the key and value are + strings instead of raw bytes. + description: >- - StringEvent defines en Event object wrapper where all the - attributes + StringEvent defines en Event object wrapper where all the attributes + + contain key/value pairs that are strings instead of raw bytes. - contain key/value pairs that are strings instead of raw - bytes. description: >- - Events contains a slice of Event objects that were emitted - during some - + Events contains a slice of Event objects that were emitted during some + execution. + description: >- - ABCIMessageLog defines a structure containing an indexed tx ABCI - message log. + ABCIMessageLog defines a structure containing an indexed tx ABCI message log. + description: >- - The output of the application's logger (typed). May be - non-deterministic. + The output of the application's logger (typed). May be non-deterministic. + info: type: string description: Additional information. May be non-deterministic. @@ -57434,72 +53663,62 @@ definitions: description: The request transaction bytes. type: object properties: - '@type': + "@type": type: string description: >- - A URL/resource name that uniquely identifies the type of the - serialized - + 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 - + + 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 - + + `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 - + + + 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} timestamp: type: string description: >- - Time of the previous block. For heights > 1, it's the weighted - median of - - the timestamps of the valid votes in the block.LastCommit. For - height == 1, - + Time of the previous block. For heights > 1, it's the weighted median of + + the timestamps of the valid votes in the block.LastCommit. For height == 1, + it's genesis time. + events: type: array items: @@ -57520,33 +53739,31 @@ definitions: type: boolean title: nondeterministic description: >- - EventAttribute is a single key-value pair, associated with - an event. - description: >- - Event allows application developers to attach additional - information to + EventAttribute is a single key-value pair, associated with an event. + description: >- + Event allows application developers to attach additional information to + ResponseFinalizeBlock and ResponseCheckTx. - - Up to 0.37, this could also be used in ResponseBeginBlock, - ResponseEndBlock, - + + Up to 0.37, this could also be used in ResponseBeginBlock, ResponseEndBlock, + and ResponseDeliverTx. - + Later, transactions may be queried using these events. - description: >- - Events defines all the events emitted by processing a transaction. - Note, - - these events include those emitted by processing all the messages - and those + description: >- + Events defines all the events emitted by processing a transaction. Note, + + these events include those emitted by processing all the messages and those + emitted from the ante. Whereas Logs contains the events, with - + additional metadata, emitted only by processing the messages. - - + + Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 + description: GetTxResponse is the response type for the Service.GetTx method. cosmos.tx.v1beta1.GetTxsEventResponse: type: object @@ -57555,7 +53772,7 @@ definitions: type: array items: type: object - $ref: '#/definitions/cosmos.tx.v1beta1.Tx' + $ref: "#/definitions/cosmos.tx.v1beta1.Tx" description: txs is the list of queried transactions. tx_responses: type: array @@ -57611,27 +53828,26 @@ definitions: value: type: string description: >- - Attribute defines an attribute wrapper where the - key and value are - + Attribute defines an attribute wrapper where the key and value are + strings instead of raw bytes. + description: >- - StringEvent defines en Event object wrapper where all - the attributes + StringEvent defines en Event object wrapper where all the attributes + + contain key/value pairs that are strings instead of raw bytes. - contain key/value pairs that are strings instead of raw - bytes. description: >- - Events contains a slice of Event objects that were emitted - during some - + Events contains a slice of Event objects that were emitted during some + execution. + description: >- - ABCIMessageLog defines a structure containing an indexed tx - ABCI message log. + ABCIMessageLog defines a structure containing an indexed tx ABCI message log. + description: >- - The output of the application's logger (typed). May be - non-deterministic. + The output of the application's logger (typed). May be non-deterministic. + info: type: string description: Additional information. May be non-deterministic. @@ -57647,74 +53863,62 @@ definitions: description: The request transaction bytes. type: object properties: - '@type': + "@type": type: string description: >- - A URL/resource name that uniquely identifies the type of the - serialized - + 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 - + + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} timestamp: type: string description: >- - Time of the previous block. For heights > 1, it's the weighted - median of - - the timestamps of the valid votes in the block.LastCommit. For - height == 1, - + Time of the previous block. For heights > 1, it's the weighted median of + + the timestamps of the valid votes in the block.LastCommit. For height == 1, + it's genesis time. + events: type: array items: @@ -57735,38 +53939,36 @@ definitions: type: boolean title: nondeterministic description: >- - EventAttribute is a single key-value pair, associated - with an event. - description: >- - Event allows application developers to attach additional - information to + EventAttribute is a single key-value pair, associated with an event. + description: >- + Event allows application developers to attach additional information to + ResponseFinalizeBlock and ResponseCheckTx. - - Up to 0.37, this could also be used in ResponseBeginBlock, - ResponseEndBlock, - + + Up to 0.37, this could also be used in ResponseBeginBlock, ResponseEndBlock, + and ResponseDeliverTx. - + Later, transactions may be queried using these events. - description: >- - Events defines all the events emitted by processing a - transaction. Note, - - these events include those emitted by processing all the - messages and those + description: >- + Events defines all the events emitted by processing a transaction. Note, + + these events include those emitted by processing all the messages and those + emitted from the ante. Whereas Logs contains the events, with - + additional metadata, emitted only by processing the messages. - - + + Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 - description: >- - TxResponse defines a structure containing relevant tx data and - metadata. The + description: >- + TxResponse defines a structure containing relevant tx data and metadata. The + tags are stringified and the log is JSON decoded. + description: tx_responses is the list of queried TxResponses. pagination: description: |- @@ -57785,10 +53987,10 @@ definitions: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise + total: type: string format: uint64 @@ -57815,79 +54017,70 @@ definitions: - SIGN_MODE_EIP_191 default: SIGN_MODE_UNSPECIFIED description: >- - SignMode represents a signing mode with its own security - guarantees. - - + SignMode represents a signing mode with its own security guarantees. + + This enum should be considered a registry of all known sign modes - - in the Cosmos ecosystem. Apps are not expected to support all - known - + + in the Cosmos ecosystem. Apps are not expected to support all known + sign modes. Apps that would like to support custom sign modes are - + encouraged to open a small PR against this file to add a new case - + to this SignMode enum describing their sign mode so that different - + apps have a consistent version of this enum. - + - SIGN_MODE_UNSPECIFIED: SIGN_MODE_UNSPECIFIED specifies an unknown signing mode and will be rejected. - SIGN_MODE_DIRECT: SIGN_MODE_DIRECT specifies a signing mode which uses SignDoc and is verified with raw bytes from Tx. - SIGN_MODE_TEXTUAL: SIGN_MODE_TEXTUAL is a future signing mode that will verify some - human-readable textual representation on top of the binary - representation - + human-readable textual representation on top of the binary representation + from SIGN_MODE_DIRECT. - - + + Since: cosmos-sdk 0.50 - SIGN_MODE_DIRECT_AUX: SIGN_MODE_DIRECT_AUX specifies a signing mode which uses - SignDocDirectAux. As opposed to SIGN_MODE_DIRECT, this sign mode - does not - + SignDocDirectAux. As opposed to SIGN_MODE_DIRECT, this sign mode does not + require signers signing over other signers' `signer_info`. - - + + Since: cosmos-sdk 0.46 - SIGN_MODE_LEGACY_AMINO_JSON: SIGN_MODE_LEGACY_AMINO_JSON is a backwards compatibility mode which uses Amino JSON and will be removed in the future. - SIGN_MODE_EIP_191: SIGN_MODE_EIP_191 specifies the sign mode for EIP 191 signing on the Cosmos SDK. Ref: https://eips.ethereum.org/EIPS/eip-191 - - - Currently, SIGN_MODE_EIP_191 is registered as a SignMode enum - variant, - - but is not implemented on the SDK by default. To enable EIP-191, - you need - + + + Currently, SIGN_MODE_EIP_191 is registered as a SignMode enum variant, + + but is not implemented on the SDK by default. To enable EIP-191, you need + to pass a custom `TxConfig` that has an implementation of - + `SignModeHandler` for EIP-191. The SDK may decide to fully support - + EIP-191 in the future. - - + + Since: cosmos-sdk 0.45.2 - - Deprecated: post 0.47.x Sign mode refers to a method of encoding - string data for - - signing, but in the SDK, it also refers to how to encode a - transaction into a string. - - This opens the possibility for additional EIP191 sign modes, like - SIGN_MODE_EIP_191_TEXTUAL, - + + Deprecated: post 0.47.x Sign mode refers to a method of encoding string data for + + signing, but in the SDK, it also refers to how to encode a transaction into a string. + + This opens the possibility for additional EIP191 sign modes, like SIGN_MODE_EIP_191_TEXTUAL, + SIGN_MODE_EIP_191_LEGACY_JSON, and more. + + Each new EIP191 sign mode should be accompanied by an associated ADR. - Each new EIP191 sign mode should be accompanied by an associated - ADR. multi: - $ref: '#/definitions/cosmos.tx.v1beta1.ModeInfo.Multi' + $ref: "#/definitions/cosmos.tx.v1beta1.ModeInfo.Multi" title: multi represents a nested multisig signer description: ModeInfo describes the signing mode of a single or nested multisig signer. cosmos.tx.v1beta1.ModeInfo.Multi: @@ -57905,18 +54098,18 @@ definitions: format: byte description: >- CompactBitArray is an implementation of a space efficient bit array. - - This is used to ensure that the encoded data takes up a minimal amount - of - + + This is used to ensure that the encoded data takes up a minimal amount of + space after proto encoding. - + This is not thread safe, and is not intended for concurrent usage. + mode_infos: type: array items: type: object - $ref: '#/definitions/cosmos.tx.v1beta1.ModeInfo' + $ref: "#/definitions/cosmos.tx.v1beta1.ModeInfo" title: |- mode_infos is the corresponding modes of the signers of the multisig which could include nested multisig public keys @@ -57937,72 +54130,67 @@ definitions: default: SIGN_MODE_UNSPECIFIED description: >- SignMode represents a signing mode with its own security guarantees. - - + + This enum should be considered a registry of all known sign modes - + in the Cosmos ecosystem. Apps are not expected to support all known - + sign modes. Apps that would like to support custom sign modes are - + encouraged to open a small PR against this file to add a new case - + to this SignMode enum describing their sign mode so that different - + apps have a consistent version of this enum. - + - SIGN_MODE_UNSPECIFIED: SIGN_MODE_UNSPECIFIED specifies an unknown signing mode and will be rejected. - SIGN_MODE_DIRECT: SIGN_MODE_DIRECT specifies a signing mode which uses SignDoc and is verified with raw bytes from Tx. - SIGN_MODE_TEXTUAL: SIGN_MODE_TEXTUAL is a future signing mode that will verify some - human-readable textual representation on top of the binary - representation - + human-readable textual representation on top of the binary representation + from SIGN_MODE_DIRECT. - - + + Since: cosmos-sdk 0.50 - SIGN_MODE_DIRECT_AUX: SIGN_MODE_DIRECT_AUX specifies a signing mode which uses - SignDocDirectAux. As opposed to SIGN_MODE_DIRECT, this sign mode does - not - + SignDocDirectAux. As opposed to SIGN_MODE_DIRECT, this sign mode does not + require signers signing over other signers' `signer_info`. - - + + Since: cosmos-sdk 0.46 - SIGN_MODE_LEGACY_AMINO_JSON: SIGN_MODE_LEGACY_AMINO_JSON is a backwards compatibility mode which uses Amino JSON and will be removed in the future. - SIGN_MODE_EIP_191: SIGN_MODE_EIP_191 specifies the sign mode for EIP 191 signing on the Cosmos SDK. Ref: https://eips.ethereum.org/EIPS/eip-191 - - + + Currently, SIGN_MODE_EIP_191 is registered as a SignMode enum variant, - - but is not implemented on the SDK by default. To enable EIP-191, you - need - + + but is not implemented on the SDK by default. To enable EIP-191, you need + to pass a custom `TxConfig` that has an implementation of - + `SignModeHandler` for EIP-191. The SDK may decide to fully support - + EIP-191 in the future. - - + + Since: cosmos-sdk 0.45.2 - - Deprecated: post 0.47.x Sign mode refers to a method of encoding - string data for - - signing, but in the SDK, it also refers to how to encode a transaction - into a string. - - This opens the possibility for additional EIP191 sign modes, like - SIGN_MODE_EIP_191_TEXTUAL, - + + Deprecated: post 0.47.x Sign mode refers to a method of encoding string data for + + signing, but in the SDK, it also refers to how to encode a transaction into a string. + + This opens the possibility for additional EIP191 sign modes, like SIGN_MODE_EIP_191_TEXTUAL, + SIGN_MODE_EIP_191_LEGACY_JSON, and more. - + Each new EIP191 sign mode should be accompanied by an associated ADR. + title: |- Single is the mode info for a single signer. It is structured as a message to allow for additional fields such as locale for SIGN_MODE_TEXTUAL in the @@ -58015,60 +54203,53 @@ definitions: - ORDER_BY_DESC default: ORDER_BY_UNSPECIFIED description: >- - - ORDER_BY_UNSPECIFIED: ORDER_BY_UNSPECIFIED specifies an unknown sorting - order. OrderBy defaults - + - ORDER_BY_UNSPECIFIED: ORDER_BY_UNSPECIFIED specifies an unknown sorting order. OrderBy defaults + to ASC in this case. - ORDER_BY_ASC: ORDER_BY_ASC defines ascending order - ORDER_BY_DESC: ORDER_BY_DESC defines descending order + title: OrderBy defines the sorting order cosmos.tx.v1beta1.SignerInfo: type: object properties: public_key: description: >- - public_key is the public key of the signer. It is optional for - accounts - - that already exist in state. If unset, the verifier can use the - required \ - + public_key is the public key of the signer. It is optional for accounts + + that already exist in state. If unset, the verifier can use the required \ + signer address for this position and lookup the public key. + type: object properties: - '@type': + "@type": type: string description: >- - A URL/resource name that uniquely identifies the type of the - serialized - + 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 - + + 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 - + + `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 - + + + 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 @@ -58076,21 +54257,21 @@ definitions: 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 - + + 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. + additionalProperties: {} mode_info: - $ref: '#/definitions/cosmos.tx.v1beta1.ModeInfo' + $ref: "#/definitions/cosmos.tx.v1beta1.ModeInfo" title: |- mode_info describes the signing mode of the signer and is a nested structure to support nested multisig pubkey's @@ -58099,11 +54280,11 @@ definitions: format: uint64 description: >- sequence is the sequence of the account, which describes the - - number of committed transactions signed by a given address. It is used - to - + + number of committed transactions signed by a given address. It is used to + prevent replay attacks. + description: |- SignerInfo describes the public key and signing mode of a single top-level signer. @@ -58111,7 +54292,7 @@ definitions: type: object properties: tx: - $ref: '#/definitions/cosmos.tx.v1beta1.Tx' + $ref: "#/definitions/cosmos.tx.v1beta1.Tx" description: |- tx is the transaction to simulate. Deprecated. Send raw tx bytes instead. @@ -58133,8 +54314,8 @@ definitions: type: string format: uint64 description: >- - GasWanted is the maximum units of work we allow this tx to - perform. + GasWanted is the maximum units of work we allow this tx to perform. + gas_used: type: string format: uint64 @@ -58147,21 +54328,19 @@ definitions: type: string format: byte description: >- - Data is any data returned from message or handler execution. It - MUST be - - length prefixed in order to separate data from multiple message - executions. - - Deprecated. This field is still populated, but prefer msg_response - instead - + Data is any data returned from message or handler execution. It MUST be + + length prefixed in order to separate data from multiple message executions. + + Deprecated. This field is still populated, but prefer msg_response instead + because it also contains the Msg response typeURL. + log: type: string description: >- - Log contains the log information from message or handler - execution. + Log contains the log information from message or handler execution. + events: type: array items: @@ -58182,104 +54361,89 @@ definitions: type: boolean title: nondeterministic description: >- - EventAttribute is a single key-value pair, associated with - an event. - description: >- - Event allows application developers to attach additional - information to + EventAttribute is a single key-value pair, associated with an event. + description: >- + Event allows application developers to attach additional information to + ResponseFinalizeBlock and ResponseCheckTx. - - Up to 0.37, this could also be used in ResponseBeginBlock, - ResponseEndBlock, - + + Up to 0.37, this could also be used in ResponseBeginBlock, ResponseEndBlock, + and ResponseDeliverTx. - + Later, transactions may be queried using these events. - description: >- - Events contains a slice of Event objects that were emitted during - message + description: >- + Events contains a slice of Event objects that were emitted during message + or handler execution. + msg_responses: type: array items: type: object properties: - '@type': + "@type": type: string description: >- - A URL/resource name that uniquely identifies the type of the - serialized - + 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 - + + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer message - along with a - + `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. - - + + + 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); @@ -58287,9 +54451,9 @@ definitions: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -58300,9 +54464,9 @@ definitions: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -58310,9 +54474,9 @@ definitions: 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 { @@ -58323,59 +54487,56 @@ definitions: 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 - '/' - + + 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 - + + 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" } + description: >- - msg_responses contains the Msg handler responses type packed in - Anys. + msg_responses contains the Msg handler responses type packed in Anys. + description: |- SimulateResponse is the response type for the Service.SimulateRPC method. @@ -58413,80 +54574,66 @@ definitions: items: type: object properties: - '@type': + "@type": type: string description: >- - A URL/resource name that uniquely identifies the type of the - serialized - + 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 - + + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer message - along with a - + `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. - - + + + 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); @@ -58494,9 +54641,9 @@ definitions: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -58507,9 +54654,9 @@ definitions: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -58517,9 +54664,9 @@ definitions: 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 { @@ -58530,205 +54677,179 @@ definitions: 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 - '/' - + + 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 - + + 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" } - description: >- - messages is a list of messages to be executed. The required - signers of - - those messages define the number and order of elements in - AuthInfo's - - signer_infos and Tx's signatures. Each required signer address is - added to + description: >- + messages is a list of messages to be executed. The required signers of + + those messages define the number and order of elements in AuthInfo's + + signer_infos and Tx's signatures. Each required signer address is added to + the list only the first time it occurs. - - By convention, the first required signer (usually from the first - message) - - is referred to as the primary signer and pays the fee for the - whole - + + By convention, the first required signer (usually from the first message) + + is referred to as the primary signer and pays the fee for the whole + transaction. + memo: type: string description: >- memo is any arbitrary note/comment to be added to the transaction. - - WARNING: in clients, any publicly exposed text should not be - called memo, - + + WARNING: in clients, any publicly exposed text should not be called memo, + but should be called `note` instead (see - + https://github.com/cosmos/cosmos-sdk/issues/9122). + timeout_height: type: string format: uint64 description: >- - timeout_height is the block height after which this transaction - will not - + timeout_height is the block height after which this transaction will not + be processed by the chain. - - + + Note, if unordered=true this value MUST be set - - and will act as a short-lived TTL in which the transaction is - deemed valid - + + and will act as a short-lived TTL in which the transaction is deemed valid + and kept in memory to prevent duplicates. + unordered: type: boolean description: >- - unordered, when set to true, indicates that the transaction - signer(s) - - intend for the transaction to be evaluated and executed in an - un-ordered - + unordered, when set to true, indicates that the transaction signer(s) + + intend for the transaction to be evaluated and executed in an un-ordered + fashion. Specifically, the account's nonce will NOT be checked or - - incremented, which allows for fire-and-forget as well as - concurrent - + + incremented, which allows for fire-and-forget as well as concurrent + transaction execution. - - - Note, when set to true, the existing 'timeout_height' value must - be set and - - will be used to correspond to a height in which the transaction is - deemed - + + + Note, when set to true, the existing 'timeout_height' value must be set and + + will be used to correspond to a height in which the transaction is deemed + valid. + extension_options: type: array items: type: object properties: - '@type': + "@type": type: string description: >- - A URL/resource name that uniquely identifies the type of the - serialized - + 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 - + + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer message - along with a - + `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. - - + + + 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); @@ -58736,9 +54857,9 @@ definitions: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -58749,9 +54870,9 @@ definitions: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -58759,9 +54880,9 @@ definitions: 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 { @@ -58772,143 +54893,125 @@ definitions: 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 - '/' - + + 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 - + + 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" } - title: >- - extension_options are arbitrary options that can be added by - chains - - when the default options are not sufficient. If any of these are - present + title: >- + extension_options are arbitrary options that can be added by chains + + when the default options are not sufficient. If any of these are present + and can't be handled, the transaction will be rejected + non_critical_extension_options: type: array items: type: object properties: - '@type': + "@type": type: string description: >- - A URL/resource name that uniquely identifies the type of the - serialized - + 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 - + + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer message - along with a - + `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. - - + + + 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); @@ -58916,9 +55019,9 @@ definitions: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -58929,9 +55032,9 @@ definitions: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -58939,9 +55042,9 @@ definitions: 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 { @@ -58952,67 +55055,63 @@ definitions: 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 - '/' - + + 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 - + + 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" } - title: >- - extension_options are arbitrary options that can be added by - chains - - when the default options are not sufficient. If any of these are - present + title: >- + extension_options are arbitrary options that can be added by chains + + when the default options are not sufficient. If any of these are present + and can't be handled, they will be ignored + description: TxBody is the body of a transaction that all signers sign over. auth_info: - $ref: '#/definitions/cosmos.tx.v1beta1.AuthInfo' + $ref: "#/definitions/cosmos.tx.v1beta1.AuthInfo" title: |- auth_info is the authorization related content of the transaction, specifically signers, signer modes and fee @@ -59022,13 +55121,12 @@ definitions: type: string format: byte description: >- - signatures is a list of signatures that matches the length and order - of - - AuthInfo's signer_infos to allow connecting signature meta information - like - + signatures is a list of signatures that matches the length and order of + + AuthInfo's signer_infos to allow connecting signature meta information like + public key and signing mode by position. + description: Tx is the standard type used for broadcasting transactions. cosmos.tx.v1beta1.TxBody: type: object @@ -59038,39 +55136,33 @@ definitions: items: type: object properties: - '@type': + "@type": type: string description: >- - A URL/resource name that uniquely identifies the type of the - serialized - + 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 - + + 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 - + + `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 - + + + 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 @@ -59078,37 +55170,32 @@ definitions: 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer message along - with a - + `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. - - + + + 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); @@ -59116,9 +55203,9 @@ definitions: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -59129,9 +55216,9 @@ definitions: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -59139,9 +55226,9 @@ definitions: 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 { @@ -59152,155 +55239,146 @@ definitions: 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" } + description: >- messages is a list of messages to be executed. The required signers of - + those messages define the number and order of elements in AuthInfo's - - signer_infos and Tx's signatures. Each required signer address is - added to - + + signer_infos and Tx's signatures. Each required signer address is added to + the list only the first time it occurs. - - By convention, the first required signer (usually from the first - message) - + + By convention, the first required signer (usually from the first message) + is referred to as the primary signer and pays the fee for the whole - + transaction. + memo: type: string description: >- memo is any arbitrary note/comment to be added to the transaction. - - WARNING: in clients, any publicly exposed text should not be called - memo, - + + WARNING: in clients, any publicly exposed text should not be called memo, + but should be called `note` instead (see - + https://github.com/cosmos/cosmos-sdk/issues/9122). + timeout_height: type: string format: uint64 description: >- - timeout_height is the block height after which this transaction will - not - + timeout_height is the block height after which this transaction will not + be processed by the chain. - - + + Note, if unordered=true this value MUST be set - - and will act as a short-lived TTL in which the transaction is deemed - valid - + + and will act as a short-lived TTL in which the transaction is deemed valid + and kept in memory to prevent duplicates. + unordered: type: boolean description: >- unordered, when set to true, indicates that the transaction signer(s) - - intend for the transaction to be evaluated and executed in an - un-ordered - + + intend for the transaction to be evaluated and executed in an un-ordered + fashion. Specifically, the account's nonce will NOT be checked or - + incremented, which allows for fire-and-forget as well as concurrent - + transaction execution. - - - Note, when set to true, the existing 'timeout_height' value must be - set and - - will be used to correspond to a height in which the transaction is - deemed - + + + Note, when set to true, the existing 'timeout_height' value must be set and + + will be used to correspond to a height in which the transaction is deemed + valid. + extension_options: type: array items: type: object properties: - '@type': + "@type": type: string description: >- - A URL/resource name that uniquely identifies the type of the - serialized - + 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 - + + 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 - + + `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 - + + + 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 @@ -59308,37 +55386,32 @@ definitions: 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer message along - with a - + `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. - - + + + 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); @@ -59346,9 +55419,9 @@ definitions: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -59359,9 +55432,9 @@ definitions: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -59369,9 +55442,9 @@ definitions: 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 { @@ -59382,97 +55455,92 @@ definitions: 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" } + title: >- extension_options are arbitrary options that can be added by chains - - when the default options are not sufficient. If any of these are - present - + + when the default options are not sufficient. If any of these are present + and can't be handled, the transaction will be rejected + non_critical_extension_options: type: array items: type: object properties: - '@type': + "@type": type: string description: >- - A URL/resource name that uniquely identifies the type of the - serialized - + 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 - + + 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 - + + `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 - + + + 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 @@ -59480,37 +55548,32 @@ definitions: 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer message along - with a - + `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. - - + + + 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); @@ -59518,9 +55581,9 @@ definitions: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -59531,9 +55594,9 @@ definitions: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -59541,9 +55604,9 @@ definitions: 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 { @@ -59554,59 +55617,60 @@ definitions: 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" } + title: >- extension_options are arbitrary options that can be added by chains - - when the default options are not sufficient. If any of these are - present - + + when the default options are not sufficient. If any of these are present + and can't be handled, they will be ignored + description: TxBody is the body of a transaction that all signers sign over. cosmos.tx.v1beta1.TxDecodeAminoRequest: type: object @@ -59639,7 +55703,7 @@ definitions: type: object properties: tx: - $ref: '#/definitions/cosmos.tx.v1beta1.Tx' + $ref: "#/definitions/cosmos.tx.v1beta1.Tx" description: tx is the decoded transaction. description: |- TxDecodeResponse is the response type for the @@ -59665,7 +55729,7 @@ definitions: type: object properties: tx: - $ref: '#/definitions/cosmos.tx.v1beta1.Tx' + $ref: "#/definitions/cosmos.tx.v1beta1.Tx" description: tx is the transaction to encode. description: |- TxEncodeRequest is the request type for the Service.TxEncode @@ -59698,32 +55762,29 @@ definitions: type: string description: >- Sets the name for the upgrade. This name will be used by the upgraded - - version of the software to apply any special "on-upgrade" commands - during - - the first BeginBlock method after the upgrade is applied. It is also - used - + + version of the software to apply any special "on-upgrade" commands during + + the first BeginBlock method after the upgrade is applied. It is also used + to detect whether a software version can handle a given upgrade. If no - - upgrade handler with this name has been set in the software, it will - be - - assumed that the software is out-of-date when the upgrade Time or - Height is - + + upgrade handler with this name has been set in the software, it will be + + assumed that the software is out-of-date when the upgrade Time or Height is + reached and the software will exit. + time: type: string format: date-time description: >- - Deprecated: Time based upgrades have been deprecated. Time based - upgrade logic - + Deprecated: Time based upgrades have been deprecated. Time based upgrade logic + has been removed from the SDK. - + If this field is not empty, an error will be thrown. + height: type: string format: int64 @@ -59735,47 +55796,41 @@ definitions: such as a git commit that validators could automatically upgrade to upgraded_client_state: description: >- - Deprecated: UpgradedClientState field has been deprecated. IBC upgrade - logic has been - + Deprecated: UpgradedClientState field has been deprecated. IBC upgrade logic has been + moved to the IBC module in the sub module 02-client. - + If this field is not empty, an error will be thrown. + type: object properties: - '@type': + "@type": type: string description: >- - A URL/resource name that uniquely identifies the type of the - serialized - + 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 - + + 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 - + + `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 - + + + 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 @@ -59783,22 +55838,22 @@ definitions: 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 - + + 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. + additionalProperties: {} description: >- - Plan specifies information about a planned upgrade and when it should - occur. + Plan specifies information about a planned upgrade and when it should occur. + cosmos.upgrade.v1beta1.QueryAppliedPlanResponse: type: object properties: @@ -59807,10 +55862,10 @@ definitions: format: int64 description: height is the block height at which the plan was applied. description: >- - QueryAppliedPlanResponse is the response type for the Query/AppliedPlan - RPC - + QueryAppliedPlanResponse is the response type for the Query/AppliedPlan RPC + method. + cosmos.upgrade.v1beta1.QueryAuthorityResponse: type: object properties: @@ -59827,35 +55882,30 @@ definitions: name: type: string description: >- - Sets the name for the upgrade. This name will be used by the - upgraded - - version of the software to apply any special "on-upgrade" commands - during - - the first BeginBlock method after the upgrade is applied. It is - also used - - to detect whether a software version can handle a given upgrade. - If no - - upgrade handler with this name has been set in the software, it - will be - - assumed that the software is out-of-date when the upgrade Time or - Height is - + Sets the name for the upgrade. This name will be used by the upgraded + + version of the software to apply any special "on-upgrade" commands during + + the first BeginBlock method after the upgrade is applied. It is also used + + to detect whether a software version can handle a given upgrade. If no + + upgrade handler with this name has been set in the software, it will be + + assumed that the software is out-of-date when the upgrade Time or Height is + reached and the software will exit. + time: type: string format: date-time description: >- - Deprecated: Time based upgrades have been deprecated. Time based - upgrade logic - + Deprecated: Time based upgrades have been deprecated. Time based upgrade logic + has been removed from the SDK. - + If this field is not empty, an error will be thrown. + height: type: string format: int64 @@ -59864,80 +55914,71 @@ definitions: type: string title: >- Any application specific upgrade info to be included on-chain + + such as a git commit that validators could automatically upgrade to - such as a git commit that validators could automatically upgrade - to upgraded_client_state: description: >- - Deprecated: UpgradedClientState field has been deprecated. IBC - upgrade logic has been - + Deprecated: UpgradedClientState field has been deprecated. IBC upgrade logic has been + moved to the IBC module in the sub module 02-client. - + If this field is not empty, an error will be thrown. + type: object properties: - '@type': + "@type": type: string description: >- - A URL/resource name that uniquely identifies the type of the - serialized - + 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 - + + 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 - + + `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 - + + + 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - QueryCurrentPlanResponse is the response type for the Query/CurrentPlan - RPC - + QueryCurrentPlanResponse is the response type for the Query/CurrentPlan RPC + method. + cosmos.upgrade.v1beta1.QueryModuleVersionsResponse: type: object properties: @@ -59955,13 +55996,13 @@ definitions: title: consensus version of the app module description: ModuleVersion specifies a module and its consensus version. description: >- - module_versions is a list of module names with their consensus - versions. - description: >- - QueryModuleVersionsResponse is the response type for the - Query/ModuleVersions + module_versions is a list of module names with their consensus versions. + description: >- + QueryModuleVersionsResponse is the response type for the Query/ModuleVersions + RPC method. + cosmos.upgrade.v1beta1.QueryUpgradedConsensusStateResponse: type: object properties: @@ -59969,49 +56010,43 @@ definitions: type: string format: byte description: >- - QueryUpgradedConsensusStateResponse is the response type for the - Query/UpgradedConsensusState - + QueryUpgradedConsensusStateResponse is the response type for the Query/UpgradedConsensusState + RPC method. + cosmos.authz.v1beta1.Grant: type: object properties: authorization: type: object properties: - '@type': + "@type": type: string description: >- - A URL/resource name that uniquely identifies the type of the - serialized - + 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 - + + 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 - + + `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 - + + + 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 @@ -60019,34 +56054,32 @@ definitions: 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 - + + 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. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer message along - with a - + `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 - + + + 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); @@ -60054,9 +56087,9 @@ definitions: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -60067,9 +56100,9 @@ definitions: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -60077,9 +56110,9 @@ definitions: 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 { @@ -60090,62 +56123,63 @@ definitions: 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" } + expiration: type: string format: date-time title: >- - time when the grant will expire and will be pruned. If null, then the - grant - + time when the grant will expire and will be pruned. If null, then the grant + doesn't have a time expiration (other conditions in `authorization` - + may apply to invalidate the grant) + description: |- Grant gives permissions to execute the provide method with expiration time. @@ -60159,39 +56193,33 @@ definitions: authorization: type: object properties: - '@type': + "@type": type: string description: >- - A URL/resource name that uniquely identifies the type of the - serialized - + 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 - + + 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 - + + `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 - + + + 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 @@ -60199,34 +56227,32 @@ definitions: 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 - + + 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. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer message along - with a - + `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 - + + + 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); @@ -60234,9 +56260,9 @@ definitions: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -60247,9 +56273,9 @@ definitions: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -60257,9 +56283,9 @@ definitions: 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 { @@ -60270,60 +56296,61 @@ definitions: 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" } + expiration: type: string format: date-time title: >- - GrantAuthorization extends a grant with both the addresses of the grantee - and granter. - + GrantAuthorization extends a grant with both the addresses of the grantee and granter. + It is used in genesis.proto and query.proto + cosmos.authz.v1beta1.QueryGranteeGrantsResponse: type: object properties: @@ -60339,80 +56366,66 @@ definitions: authorization: type: object properties: - '@type': + "@type": type: string description: >- - A URL/resource name that uniquely identifies the type of the - serialized - + 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 - + + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer message - along with a - + `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. - - + + + 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); @@ -60420,9 +56433,9 @@ definitions: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -60433,9 +56446,9 @@ definitions: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -60443,9 +56456,9 @@ definitions: 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 { @@ -60456,64 +56469,61 @@ definitions: 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 - '/' - + + 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 - + + 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" } + expiration: type: string format: date-time title: >- - GrantAuthorization extends a grant with both the addresses of the - grantee and granter. - + GrantAuthorization extends a grant with both the addresses of the grantee and granter. + It is used in genesis.proto and query.proto + description: grants is a list of grants granted to the grantee. pagination: description: pagination defines an pagination for the response. @@ -60530,13 +56540,13 @@ definitions: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise + description: >- - QueryGranteeGrantsResponse is the response type for the - Query/GranteeGrants RPC method. + QueryGranteeGrantsResponse is the response type for the Query/GranteeGrants RPC method. + cosmos.authz.v1beta1.QueryGranterGrantsResponse: type: object properties: @@ -60552,80 +56562,66 @@ definitions: authorization: type: object properties: - '@type': + "@type": type: string description: >- - A URL/resource name that uniquely identifies the type of the - serialized - + 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 - + + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer message - along with a - + `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. - - + + + 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); @@ -60633,9 +56629,9 @@ definitions: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -60646,9 +56642,9 @@ definitions: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -60656,9 +56652,9 @@ definitions: 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 { @@ -60669,64 +56665,61 @@ definitions: 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 - '/' - + + 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 - + + 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" } + expiration: type: string format: date-time title: >- - GrantAuthorization extends a grant with both the addresses of the - grantee and granter. - + GrantAuthorization extends a grant with both the addresses of the grantee and granter. + It is used in genesis.proto and query.proto + description: grants is a list of grants granted by the granter. pagination: description: pagination defines an pagination for the response. @@ -60743,13 +56736,13 @@ definitions: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise + description: >- - QueryGranterGrantsResponse is the response type for the - Query/GranterGrants RPC method. + QueryGranterGrantsResponse is the response type for the Query/GranterGrants RPC method. + cosmos.authz.v1beta1.QueryGrantsResponse: type: object properties: @@ -60761,80 +56754,66 @@ definitions: authorization: type: object properties: - '@type': + "@type": type: string description: >- - A URL/resource name that uniquely identifies the type of the - serialized - + 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 - + + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer message - along with a - + `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. - - + + + 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); @@ -60842,9 +56821,9 @@ definitions: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -60855,9 +56834,9 @@ definitions: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -60865,9 +56844,9 @@ definitions: 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 { @@ -60878,67 +56857,63 @@ definitions: 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 - '/' - + + 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 - + + 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" } + expiration: type: string format: date-time title: >- - time when the grant will expire and will be pruned. If null, - then the grant - - doesn't have a time expiration (other conditions in - `authorization` - + time when the grant will expire and will be pruned. If null, then the grant + + doesn't have a time expiration (other conditions in `authorization` + may apply to invalidate the grant) + description: |- Grant gives permissions to execute the provide method with expiration time. @@ -60958,63 +56933,57 @@ definitions: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise + description: >- - QueryGrantsResponse is the response type for the Query/Authorizations RPC - method. + QueryGrantsResponse is the response type for the Query/Authorizations RPC method. + cosmos.feegrant.v1beta1.Grant: type: object properties: granter: type: string description: >- - granter is the address of the user granting an allowance of their - funds. + granter is the address of the user granting an allowance of their funds. + grantee: type: string description: >- - grantee is the address of the user being granted an allowance of - another user's funds. + grantee is the address of the user being granted an allowance of another user's funds. + allowance: description: allowance can be any of basic, periodic, allowed fee allowance. type: object properties: - '@type': + "@type": type: string description: >- - A URL/resource name that uniquely identifies the type of the - serialized - + 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 - + + 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 - + + `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 - + + + 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 @@ -61022,18 +56991,18 @@ definitions: 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 - + + 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. + additionalProperties: {} title: Grant is stored in the KVStore to record a grant with full context cosmos.feegrant.v1beta1.QueryAllowanceResponse: @@ -61046,77 +57015,68 @@ definitions: granter: type: string description: >- - granter is the address of the user granting an allowance of their - funds. + granter is the address of the user granting an allowance of their funds. + grantee: type: string description: >- - grantee is the address of the user being granted an allowance of - another user's funds. + grantee is the address of the user being granted an allowance of another user's funds. + allowance: description: allowance can be any of basic, periodic, allowed fee allowance. type: object properties: - '@type': + "@type": type: string description: >- - A URL/resource name that uniquely identifies the type of the - serialized - + 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 - + + 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 - + + `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 - + + + 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} title: Grant is stored in the KVStore to record a grant with full context description: >- - QueryAllowanceResponse is the response type for the Query/Allowance RPC - method. + QueryAllowanceResponse is the response type for the Query/Allowance RPC method. + cosmos.feegrant.v1beta1.QueryAllowancesByGranterResponse: type: object properties: @@ -61128,74 +57088,63 @@ definitions: granter: type: string description: >- - granter is the address of the user granting an allowance of - their funds. + granter is the address of the user granting an allowance of their funds. + grantee: type: string description: >- - grantee is the address of the user being granted an allowance of - another user's funds. + grantee is the address of the user being granted an allowance of another user's funds. + allowance: description: allowance can be any of basic, periodic, allowed fee allowance. type: object properties: - '@type': + "@type": type: string description: >- - A URL/resource name that uniquely identifies the type of the - serialized - + 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 - + + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} title: Grant is stored in the KVStore to record a grant with full context description: allowances that have been issued by the granter. @@ -61214,13 +57163,13 @@ definitions: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise + description: >- - QueryAllowancesByGranterResponse is the response type for the - Query/AllowancesByGranter RPC method. + QueryAllowancesByGranterResponse is the response type for the Query/AllowancesByGranter RPC method. + cosmos.feegrant.v1beta1.QueryAllowancesResponse: type: object properties: @@ -61232,74 +57181,63 @@ definitions: granter: type: string description: >- - granter is the address of the user granting an allowance of - their funds. + granter is the address of the user granting an allowance of their funds. + grantee: type: string description: >- - grantee is the address of the user being granted an allowance of - another user's funds. + grantee is the address of the user being granted an allowance of another user's funds. + allowance: description: allowance can be any of basic, periodic, allowed fee allowance. type: object properties: - '@type': + "@type": type: string description: >- - A URL/resource name that uniquely identifies the type of the - serialized - + 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 - + + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} title: Grant is stored in the KVStore to record a grant with full context description: allowances are allowance's granted for grantee by granter. @@ -61318,26 +57256,26 @@ definitions: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise + description: >- - QueryAllowancesResponse is the response type for the Query/Allowances RPC - method. + QueryAllowancesResponse is the response type for the Query/Allowances RPC method. + cosmos.nft.v1beta1.Class: type: object properties: id: type: string title: >- - id defines the unique identifier of the NFT classification, similar to - the contract address of ERC721 + id defines the unique identifier of the NFT classification, similar to the contract address of ERC721 + name: type: string title: >- - name defines the human-readable name of the NFT classification. - Optional + name defines the human-readable name of the NFT classification. Optional + symbol: type: string title: symbol is an abbreviated name for nft classification. Optional @@ -61347,8 +57285,8 @@ definitions: uri: type: string title: >- - uri for the class metadata stored off chain. It can define schema for - Class and NFT `Data` attributes. Optional + uri for the class metadata stored off chain. It can define schema for Class and NFT `Data` attributes. Optional + uri_hash: type: string title: uri_hash is a hash of the document pointed by uri. Optional @@ -61356,39 +57294,33 @@ definitions: title: data is the app specific metadata of the NFT class. Optional type: object properties: - '@type': + "@type": type: string description: >- - A URL/resource name that uniquely identifies the type of the - serialized - + 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 - + + 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 - + + `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 - + + + 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 @@ -61396,34 +57328,32 @@ definitions: 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 - + + 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. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer message along - with a - + `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 - + + + 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); @@ -61431,9 +57361,9 @@ definitions: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -61444,9 +57374,9 @@ definitions: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -61454,9 +57384,9 @@ definitions: 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 { @@ -61467,52 +57397,53 @@ definitions: 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" } + description: Class defines the class of the nft type. cosmos.nft.v1beta1.NFT: type: object @@ -61520,8 +57451,8 @@ definitions: class_id: type: string title: >- - class_id associated with the NFT, similar to the contract address of - ERC721 + class_id associated with the NFT, similar to the contract address of ERC721 + id: type: string title: id is a unique identifier of the NFT @@ -61535,39 +57466,33 @@ definitions: title: data is an app specific data of the NFT. Optional type: object properties: - '@type': + "@type": type: string description: >- - A URL/resource name that uniquely identifies the type of the - serialized - + 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 - + + 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 - + + `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 - + + + 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 @@ -61575,34 +57500,32 @@ definitions: 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 - + + 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. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer message along - with a - + `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 - + + + 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); @@ -61610,9 +57533,9 @@ definitions: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -61623,9 +57546,9 @@ definitions: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -61633,9 +57556,9 @@ definitions: 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 { @@ -61646,52 +57569,53 @@ definitions: 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" } + description: NFT defines the NFT. cosmos.nft.v1beta1.QueryBalanceByQueryStringResponse: type: object @@ -61701,8 +57625,8 @@ definitions: format: uint64 title: amount is the number of all NFTs of a given class owned by the owner title: >- - QueryBalanceByQueryStringResponse is the response type for the - Query/Balance RPC method + QueryBalanceByQueryStringResponse is the response type for the Query/Balance RPC method + cosmos.nft.v1beta1.QueryBalanceResponse: type: object properties: @@ -61721,13 +57645,13 @@ definitions: id: type: string title: >- - id defines the unique identifier of the NFT classification, - similar to the contract address of ERC721 + id defines the unique identifier of the NFT classification, similar to the contract address of ERC721 + name: type: string title: >- - name defines the human-readable name of the NFT classification. - Optional + name defines the human-readable name of the NFT classification. Optional + symbol: type: string title: symbol is an abbreviated name for nft classification. Optional @@ -61737,8 +57661,8 @@ definitions: uri: type: string title: >- - uri for the class metadata stored off chain. It can define schema - for Class and NFT `Data` attributes. Optional + uri for the class metadata stored off chain. It can define schema for Class and NFT `Data` attributes. Optional + uri_hash: type: string title: uri_hash is a hash of the document pointed by uri. Optional @@ -61746,78 +57670,66 @@ definitions: title: data is the app specific metadata of the NFT class. Optional type: object properties: - '@type': + "@type": type: string description: >- - A URL/resource name that uniquely identifies the type of the - serialized - + 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 - + + 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 - + + `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 - + + + 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer message - along with a - + `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. - - + + + 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); @@ -61825,9 +57737,9 @@ definitions: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -61838,9 +57750,9 @@ definitions: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -61848,9 +57760,9 @@ definitions: 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 { @@ -61861,57 +57773,56 @@ definitions: 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 - + + '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 - + + 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" } + title: >- - QueryClassByQueryStringResponse is the response type for the Query/Class - RPC method + QueryClassByQueryStringResponse is the response type for the Query/Class RPC method + cosmos.nft.v1beta1.QueryClassResponse: type: object properties: @@ -61922,13 +57833,13 @@ definitions: id: type: string title: >- - id defines the unique identifier of the NFT classification, - similar to the contract address of ERC721 + id defines the unique identifier of the NFT classification, similar to the contract address of ERC721 + name: type: string title: >- - name defines the human-readable name of the NFT classification. - Optional + name defines the human-readable name of the NFT classification. Optional + symbol: type: string title: symbol is an abbreviated name for nft classification. Optional @@ -61938,8 +57849,8 @@ definitions: uri: type: string title: >- - uri for the class metadata stored off chain. It can define schema - for Class and NFT `Data` attributes. Optional + uri for the class metadata stored off chain. It can define schema for Class and NFT `Data` attributes. Optional + uri_hash: type: string title: uri_hash is a hash of the document pointed by uri. Optional @@ -61947,78 +57858,66 @@ definitions: title: data is the app specific metadata of the NFT class. Optional type: object properties: - '@type': + "@type": type: string description: >- - A URL/resource name that uniquely identifies the type of the - serialized - + 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 - + + 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 - + + `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 - + + + 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer message - along with a - + `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. - - + + + 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); @@ -62026,9 +57925,9 @@ definitions: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -62039,9 +57938,9 @@ definitions: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -62049,9 +57948,9 @@ definitions: 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 { @@ -62062,54 +57961,53 @@ definitions: 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 - + + '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 - + + 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" } + title: QueryClassResponse is the response type for the Query/Class RPC method cosmos.nft.v1beta1.QueryClassesResponse: type: object @@ -62122,26 +58020,26 @@ definitions: id: type: string title: >- - id defines the unique identifier of the NFT classification, - similar to the contract address of ERC721 + id defines the unique identifier of the NFT classification, similar to the contract address of ERC721 + name: type: string title: >- - name defines the human-readable name of the NFT classification. - Optional + name defines the human-readable name of the NFT classification. Optional + symbol: type: string title: symbol is an abbreviated name for nft classification. Optional description: type: string title: >- - description is a brief description of nft classification. - Optional + description is a brief description of nft classification. Optional + uri: type: string title: >- - uri for the class metadata stored off chain. It can define - schema for Class and NFT `Data` attributes. Optional + uri for the class metadata stored off chain. It can define schema for Class and NFT `Data` attributes. Optional + uri_hash: type: string title: uri_hash is a hash of the document pointed by uri. Optional @@ -62149,80 +58047,66 @@ definitions: title: data is the app specific metadata of the NFT class. Optional type: object properties: - '@type': + "@type": type: string description: >- - A URL/resource name that uniquely identifies the type of the - serialized - + 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 - + + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer message - along with a - + `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. - - + + + 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); @@ -62230,9 +58114,9 @@ definitions: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -62243,9 +58127,9 @@ definitions: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -62253,9 +58137,9 @@ definitions: 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 { @@ -62266,56 +58150,53 @@ definitions: 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 - '/' - + + 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 - + + 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" } + description: Class defines the class of the nft type. description: class defines the class of the nft type. pagination: @@ -62333,10 +58214,10 @@ definitions: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise + title: QueryClassesResponse is the response type for the Query/Classes RPC method cosmos.nft.v1beta1.QueryNFTByQueryStringResponse: type: object @@ -62348,8 +58229,8 @@ definitions: class_id: type: string title: >- - class_id associated with the NFT, similar to the contract address - of ERC721 + class_id associated with the NFT, similar to the contract address of ERC721 + id: type: string title: id is a unique identifier of the NFT @@ -62363,78 +58244,66 @@ definitions: title: data is an app specific data of the NFT. Optional type: object properties: - '@type': + "@type": type: string description: >- - A URL/resource name that uniquely identifies the type of the - serialized - + 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 - + + 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 - + + `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 - + + + 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer message - along with a - + `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. - - + + + 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); @@ -62442,9 +58311,9 @@ definitions: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -62455,9 +58324,9 @@ definitions: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -62465,9 +58334,9 @@ definitions: 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 { @@ -62478,58 +58347,57 @@ definitions: 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 - + + '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 - + + 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" } + description: NFT defines the NFT. title: >- - QueryNFTByQueryStringResponse is the response type for the Query/NFT RPC - method + QueryNFTByQueryStringResponse is the response type for the Query/NFT RPC method + cosmos.nft.v1beta1.QueryNFTResponse: type: object properties: @@ -62540,8 +58408,8 @@ definitions: class_id: type: string title: >- - class_id associated with the NFT, similar to the contract address - of ERC721 + class_id associated with the NFT, similar to the contract address of ERC721 + id: type: string title: id is a unique identifier of the NFT @@ -62555,78 +58423,66 @@ definitions: title: data is an app specific data of the NFT. Optional type: object properties: - '@type': + "@type": type: string description: >- - A URL/resource name that uniquely identifies the type of the - serialized - + 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 - + + 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 - + + `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 - + + + 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer message - along with a - + `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. - - + + + 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); @@ -62634,9 +58490,9 @@ definitions: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -62647,9 +58503,9 @@ definitions: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -62657,9 +58513,9 @@ definitions: 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 { @@ -62670,54 +58526,53 @@ definitions: 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 - + + '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 - + + 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" } + description: NFT defines the NFT. title: QueryNFTResponse is the response type for the Query/NFT RPC method cosmos.nft.v1beta1.QueryNFTsResponse: @@ -62731,8 +58586,8 @@ definitions: class_id: type: string title: >- - class_id associated with the NFT, similar to the contract - address of ERC721 + class_id associated with the NFT, similar to the contract address of ERC721 + id: type: string title: id is a unique identifier of the NFT @@ -62746,80 +58601,66 @@ definitions: title: data is an app specific data of the NFT. Optional type: object properties: - '@type': + "@type": type: string description: >- - A URL/resource name that uniquely identifies the type of the - serialized - + 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 - + + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer message - along with a - + `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. - - + + + 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); @@ -62827,9 +58668,9 @@ definitions: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -62840,9 +58681,9 @@ definitions: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -62850,9 +58691,9 @@ definitions: 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 { @@ -62863,56 +58704,53 @@ definitions: 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 - '/' - + + 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 - + + 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" } + description: NFT defines the NFT. title: NFT defines the NFT pagination: @@ -62930,10 +58768,10 @@ definitions: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise + title: QueryNFTsResponse is the response type for the Query/NFTs RPC methods cosmos.nft.v1beta1.QueryOwnerByQueryStringResponse: type: object @@ -62942,8 +58780,8 @@ definitions: type: string title: owner is the owner address of the nft title: >- - QueryOwnerByQueryStringResponse is the response type for the Query/Owner - RPC method + QueryOwnerByQueryStringResponse is the response type for the Query/Owner RPC method + cosmos.nft.v1beta1.QueryOwnerResponse: type: object properties: @@ -62959,8 +58797,8 @@ definitions: format: uint64 title: amount is the number of all NFTs from the given class title: >- - QuerySupplyByQueryStringResponse is the response type for the Query/Supply - RPC method + QuerySupplyByQueryStringResponse is the response type for the Query/Supply RPC method + cosmos.nft.v1beta1.QuerySupplyResponse: type: object properties: @@ -62983,22 +58821,21 @@ definitions: type: string title: >- metadata is any arbitrary metadata to attached to the group. + + the recommended format of the metadata is to be found here: https://docs.cosmos.network/v0.47/modules/group#group-1 - the recommended format of the metadata is to be found here: - https://docs.cosmos.network/v0.47/modules/group#group-1 version: type: string format: uint64 title: >- - version is used to track changes to a group's membership structure - that - - would break existing proposals. Whenever any members weight is - changed, - + version is used to track changes to a group's membership structure that + + would break existing proposals. Whenever any members weight is changed, + or any member is added or removed this version is incremented and will - + cause proposals based on older versions of this group to fail + total_weight: type: string description: total_weight is the sum of the group members' weights. @@ -63024,8 +58861,8 @@ definitions: weight: type: string description: >- - weight is the member's voting weight that should be greater than - 0. + weight is the member's voting weight that should be greater than 0. + metadata: type: string description: metadata is any arbitrary metadata attached to the member. @@ -63057,47 +58894,41 @@ definitions: type: string format: uint64 description: >- - version is used to track changes to a group's GroupPolicyInfo - structure that - + version is used to track changes to a group's GroupPolicyInfo structure that + would create a different result on a running proposal. + decision_policy: description: decision_policy specifies the group policy's decision policy. type: object properties: - '@type': + "@type": type: string description: >- - A URL/resource name that uniquely identifies the type of the - serialized - + 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 - + + 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 - + + `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 - + + + 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 @@ -63105,26 +58936,26 @@ definitions: 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 - + + 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. + additionalProperties: {} created_at: type: string format: date-time description: created_at is a timestamp specifying when a group policy was created. description: >- - GroupPolicyInfo represents the high-level on-chain information for a group - policy. + GroupPolicyInfo represents the high-level on-chain information for a group policy. + cosmos.group.v1.Member: type: object properties: @@ -63179,19 +59010,18 @@ definitions: type: string format: uint64 description: >- - group_policy_version tracks the version of the group policy at - proposal submission. - - When a decision policy is changed, existing proposals from previous - policy - + group_policy_version tracks the version of the group policy at proposal submission. + + When a decision policy is changed, existing proposals from previous policy + versions will become invalid with the `ABORTED` status. - + This field is here for informational purposes only. + status: description: >- - status represents the high level position in the life cycle of the - proposal. Initial value is Submitted. + status represents the high level position in the life cycle of the proposal. Initial value is Submitted. + type: string enum: - PROPOSAL_STATUS_UNSPECIFIED @@ -63204,13 +59034,13 @@ definitions: final_tally_result: description: >- final_tally_result contains the sums of all weighted votes for this - + proposal for each vote option. It is empty at submission, and only - - populated after tallying, at voting period end or at proposal - execution, - + + populated after tallying, at voting period end or at proposal execution, + whichever happens first. + type: object properties: yes_count: @@ -63230,20 +59060,19 @@ definitions: format: date-time description: >- voting_period_end is the timestamp before which voting must be done. - - Unless a successful MsgExec is called before (to execute a proposal - whose - - tally is successful before the voting period ends), tallying will be - done - + + Unless a successful MsgExec is called before (to execute a proposal whose + + tally is successful before the voting period ends), tallying will be done + at this point, and the `final_tally_result`and `status` fields will be - + accordingly updated. + executor_result: description: >- - executor_result is the final result of the proposal execution. Initial - value is NotRun. + executor_result is the final result of the proposal execution. Initial value is NotRun. + type: string enum: - PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED @@ -63256,39 +59085,33 @@ definitions: items: type: object properties: - '@type': + "@type": type: string description: >- - A URL/resource name that uniquely identifies the type of the - serialized - + 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 - + + 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 - + + `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 - + + + 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 @@ -63296,37 +59119,32 @@ definitions: 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer message along - with a - + `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. - - + + + 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); @@ -63334,9 +59152,9 @@ definitions: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -63347,9 +59165,9 @@ definitions: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -63357,9 +59175,9 @@ definitions: 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 { @@ -63370,55 +59188,56 @@ definitions: 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" } + description: >- - messages is a list of `sdk.Msg`s that will be executed if the proposal - passes. + messages is a list of `sdk.Msg`s that will be executed if the proposal passes. + title: type: string title: title is the title of the proposal @@ -63426,15 +59245,14 @@ definitions: type: string title: summary is a short summary of the proposal description: >- - Proposal defines a group proposal. Any member of a group can submit a - proposal - + Proposal defines a group proposal. Any member of a group can submit a proposal + for a group policy to decide upon. - - A proposal consists of a set of `sdk.Msg`s that will be executed if the - proposal - + + A proposal consists of a set of `sdk.Msg`s that will be executed if the proposal + passes as well as some optional metadata associated with the proposal. + cosmos.group.v1.ProposalExecutorResult: type: string enum: @@ -63491,23 +59309,21 @@ definitions: type: string title: >- metadata is any arbitrary metadata to attached to the group. + + the recommended format of the metadata is to be found here: https://docs.cosmos.network/v0.47/modules/group#group-1 - the recommended format of the metadata is to be found here: - https://docs.cosmos.network/v0.47/modules/group#group-1 version: type: string format: uint64 title: >- - version is used to track changes to a group's membership structure - that - - would break existing proposals. Whenever any members weight is - changed, - - or any member is added or removed this version is incremented and - will - + version is used to track changes to a group's membership structure that + + would break existing proposals. Whenever any members weight is changed, + + or any member is added or removed this version is incremented and will + cause proposals based on older versions of this group to fail + total_weight: type: string description: total_weight is the sum of the group members' weights. @@ -63538,8 +59354,8 @@ definitions: weight: type: string description: >- - weight is the member's voting weight that should be greater - than 0. + weight is the member's voting weight that should be greater than 0. + metadata: type: string description: metadata is any arbitrary metadata attached to the member. @@ -63548,8 +59364,8 @@ definitions: format: date-time description: added_at is a timestamp specifying when a member was added. description: >- - GroupMember represents the relationship between a group and a - member. + GroupMember represents the relationship between a group and a member. + description: members are the members of the group with given group_id. pagination: description: pagination defines the pagination in the response. @@ -63566,10 +59382,10 @@ definitions: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise + description: QueryGroupMembersResponse is the Query/GroupMembersResponse response type. cosmos.group.v1.QueryGroupPoliciesByAdminResponse: type: object @@ -63593,89 +59409,79 @@ definitions: type: string title: >- metadata is any arbitrary metadata attached to the group policy. - + the recommended format of the metadata is to be found here: - + https://docs.cosmos.network/v0.47/modules/group#decision-policy-1 + version: type: string format: uint64 description: >- - version is used to track changes to a group's GroupPolicyInfo - structure that - + version is used to track changes to a group's GroupPolicyInfo structure that + would create a different result on a running proposal. + decision_policy: description: decision_policy specifies the group policy's decision policy. type: object properties: - '@type': + "@type": type: string description: >- - A URL/resource name that uniquely identifies the type of the - serialized - + 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 - + + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} created_at: type: string format: date-time description: >- - created_at is a timestamp specifying when a group policy was - created. + created_at is a timestamp specifying when a group policy was created. + description: >- - GroupPolicyInfo represents the high-level on-chain information for a - group policy. + GroupPolicyInfo represents the high-level on-chain information for a group policy. + description: group_policies are the group policies info with provided admin. pagination: description: pagination defines the pagination in the response. @@ -63692,13 +59498,13 @@ definitions: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise + description: >- - QueryGroupPoliciesByAdminResponse is the Query/GroupPoliciesByAdmin - response type. + QueryGroupPoliciesByAdminResponse is the Query/GroupPoliciesByAdmin response type. + cosmos.group.v1.QueryGroupPoliciesByGroupResponse: type: object properties: @@ -63721,92 +59527,82 @@ definitions: type: string title: >- metadata is any arbitrary metadata attached to the group policy. - + the recommended format of the metadata is to be found here: - + https://docs.cosmos.network/v0.47/modules/group#decision-policy-1 + version: type: string format: uint64 description: >- - version is used to track changes to a group's GroupPolicyInfo - structure that - + version is used to track changes to a group's GroupPolicyInfo structure that + would create a different result on a running proposal. + decision_policy: description: decision_policy specifies the group policy's decision policy. type: object properties: - '@type': + "@type": type: string description: >- - A URL/resource name that uniquely identifies the type of the - serialized - + 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 - + + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} created_at: type: string format: date-time description: >- - created_at is a timestamp specifying when a group policy was - created. + created_at is a timestamp specifying when a group policy was created. + description: >- - GroupPolicyInfo represents the high-level on-chain information for a - group policy. + GroupPolicyInfo represents the high-level on-chain information for a group policy. + description: >- - group_policies are the group policies info associated with the - provided group. + group_policies are the group policies info associated with the provided group. + pagination: description: pagination defines the pagination in the response. type: object @@ -63822,13 +59618,13 @@ definitions: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise + description: >- - QueryGroupPoliciesByGroupResponse is the Query/GroupPoliciesByGroup - response type. + QueryGroupPoliciesByGroupResponse is the Query/GroupPoliciesByGroup response type. + cosmos.group.v1.QueryGroupPolicyInfoResponse: type: object properties: @@ -63856,76 +59652,67 @@ definitions: type: string format: uint64 description: >- - version is used to track changes to a group's GroupPolicyInfo - structure that - + version is used to track changes to a group's GroupPolicyInfo structure that + would create a different result on a running proposal. + decision_policy: description: decision_policy specifies the group policy's decision policy. type: object properties: - '@type': + "@type": type: string description: >- - A URL/resource name that uniquely identifies the type of the - serialized - + 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 - + + 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 - + + `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 - + + + 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} created_at: type: string format: date-time description: >- - created_at is a timestamp specifying when a group policy was - created. + created_at is a timestamp specifying when a group policy was created. + description: QueryGroupPolicyInfoResponse is the Query/GroupPolicyInfo response type. cosmos.group.v1.QueryGroupsByAdminResponse: type: object @@ -63946,23 +59733,21 @@ definitions: type: string title: >- metadata is any arbitrary metadata to attached to the group. + + the recommended format of the metadata is to be found here: https://docs.cosmos.network/v0.47/modules/group#group-1 - the recommended format of the metadata is to be found here: - https://docs.cosmos.network/v0.47/modules/group#group-1 version: type: string format: uint64 title: >- - version is used to track changes to a group's membership - structure that - - would break existing proposals. Whenever any members weight is - changed, - - or any member is added or removed this version is incremented - and will - + version is used to track changes to a group's membership structure that + + would break existing proposals. Whenever any members weight is changed, + + or any member is added or removed this version is incremented and will + cause proposals based on older versions of this group to fail + total_weight: type: string description: total_weight is the sum of the group members' weights. @@ -63971,8 +59756,8 @@ definitions: format: date-time description: created_at is a timestamp specifying when a group was created. description: >- - GroupInfo represents the high-level on-chain information for a - group. + GroupInfo represents the high-level on-chain information for a group. + description: groups are the groups info with the provided admin. pagination: description: pagination defines the pagination in the response. @@ -63989,13 +59774,13 @@ definitions: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise + description: >- - QueryGroupsByAdminResponse is the Query/GroupsByAdminResponse response - type. + QueryGroupsByAdminResponse is the Query/GroupsByAdminResponse response type. + cosmos.group.v1.QueryGroupsByMemberResponse: type: object properties: @@ -64015,23 +59800,21 @@ definitions: type: string title: >- metadata is any arbitrary metadata to attached to the group. + + the recommended format of the metadata is to be found here: https://docs.cosmos.network/v0.47/modules/group#group-1 - the recommended format of the metadata is to be found here: - https://docs.cosmos.network/v0.47/modules/group#group-1 version: type: string format: uint64 title: >- - version is used to track changes to a group's membership - structure that - - would break existing proposals. Whenever any members weight is - changed, - - or any member is added or removed this version is incremented - and will - + version is used to track changes to a group's membership structure that + + would break existing proposals. Whenever any members weight is changed, + + or any member is added or removed this version is incremented and will + cause proposals based on older versions of this group to fail + total_weight: type: string description: total_weight is the sum of the group members' weights. @@ -64040,8 +59823,8 @@ definitions: format: date-time description: created_at is a timestamp specifying when a group was created. description: >- - GroupInfo represents the high-level on-chain information for a - group. + GroupInfo represents the high-level on-chain information for a group. + description: groups are the groups info with the provided group member. pagination: description: pagination defines the pagination in the response. @@ -64058,10 +59841,10 @@ definitions: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise + description: QueryGroupsByMemberResponse is the Query/GroupsByMember response type. cosmos.group.v1.QueryGroupsResponse: type: object @@ -64082,23 +59865,21 @@ definitions: type: string title: >- metadata is any arbitrary metadata to attached to the group. + + the recommended format of the metadata is to be found here: https://docs.cosmos.network/v0.47/modules/group#group-1 - the recommended format of the metadata is to be found here: - https://docs.cosmos.network/v0.47/modules/group#group-1 version: type: string format: uint64 title: >- - version is used to track changes to a group's membership - structure that - - would break existing proposals. Whenever any members weight is - changed, - - or any member is added or removed this version is incremented - and will - + version is used to track changes to a group's membership structure that + + would break existing proposals. Whenever any members weight is changed, + + or any member is added or removed this version is incremented and will + cause proposals based on older versions of this group to fail + total_weight: type: string description: total_weight is the sum of the group members' weights. @@ -64107,9 +59888,9 @@ definitions: format: date-time description: created_at is a timestamp specifying when a group was created. description: >- - GroupInfo represents the high-level on-chain information for a - group. - description: '`groups` is all the groups present in state.' + GroupInfo represents the high-level on-chain information for a group. + + description: "`groups` is all the groups present in state." pagination: description: pagination defines the pagination in the response. type: object @@ -64125,10 +59906,10 @@ definitions: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise + description: QueryGroupsResponse is the Query/Groups response type. cosmos.group.v1.QueryProposalResponse: type: object @@ -64159,33 +59940,32 @@ definitions: type: string format: date-time description: >- - submit_time is a timestamp specifying when a proposal was - submitted. + submit_time is a timestamp specifying when a proposal was submitted. + group_version: type: string format: uint64 description: >- - group_version tracks the version of the group at proposal - submission. - + group_version tracks the version of the group at proposal submission. + This field is here for informational purposes only. + group_policy_version: type: string format: uint64 description: >- - group_policy_version tracks the version of the group policy at - proposal submission. - - When a decision policy is changed, existing proposals from - previous policy - + group_policy_version tracks the version of the group policy at proposal submission. + + When a decision policy is changed, existing proposals from previous policy + versions will become invalid with the `ABORTED` status. - + This field is here for informational purposes only. + status: description: >- - status represents the high level position in the life cycle of the - proposal. Initial value is Submitted. + status represents the high level position in the life cycle of the proposal. Initial value is Submitted. + type: string enum: - PROPOSAL_STATUS_UNSPECIFIED @@ -64197,15 +59977,14 @@ definitions: default: PROPOSAL_STATUS_UNSPECIFIED final_tally_result: description: >- - final_tally_result contains the sums of all weighted votes for - this - + final_tally_result contains the sums of all weighted votes for this + proposal for each vote option. It is empty at submission, and only - - populated after tallying, at voting period end or at proposal - execution, - + + populated after tallying, at voting period end or at proposal execution, + whichever happens first. + type: object properties: yes_count: @@ -64224,23 +60003,20 @@ definitions: type: string format: date-time description: >- - voting_period_end is the timestamp before which voting must be - done. - - Unless a successful MsgExec is called before (to execute a - proposal whose - - tally is successful before the voting period ends), tallying will - be done - - at this point, and the `final_tally_result`and `status` fields - will be - + voting_period_end is the timestamp before which voting must be done. + + Unless a successful MsgExec is called before (to execute a proposal whose + + tally is successful before the voting period ends), tallying will be done + + at this point, and the `final_tally_result`and `status` fields will be + accordingly updated. + executor_result: description: >- - executor_result is the final result of the proposal execution. - Initial value is NotRun. + executor_result is the final result of the proposal execution. Initial value is NotRun. + type: string enum: - PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED @@ -64253,80 +60029,66 @@ definitions: items: type: object properties: - '@type': + "@type": type: string description: >- - A URL/resource name that uniquely identifies the type of the - serialized - + 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 - + + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer message - along with a - + `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. - - + + + 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); @@ -64334,9 +60096,9 @@ definitions: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -64347,9 +60109,9 @@ definitions: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -64357,9 +60119,9 @@ definitions: 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 { @@ -64370,59 +60132,56 @@ definitions: 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 - '/' - + + 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 - + + 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" } + description: >- - messages is a list of `sdk.Msg`s that will be executed if the - proposal passes. + messages is a list of `sdk.Msg`s that will be executed if the proposal passes. + title: type: string title: title is the title of the proposal @@ -64460,33 +60219,32 @@ definitions: type: string format: date-time description: >- - submit_time is a timestamp specifying when a proposal was - submitted. + submit_time is a timestamp specifying when a proposal was submitted. + group_version: type: string format: uint64 description: >- - group_version tracks the version of the group at proposal - submission. - + group_version tracks the version of the group at proposal submission. + This field is here for informational purposes only. + group_policy_version: type: string format: uint64 description: >- - group_policy_version tracks the version of the group policy at - proposal submission. - - When a decision policy is changed, existing proposals from - previous policy - + group_policy_version tracks the version of the group policy at proposal submission. + + When a decision policy is changed, existing proposals from previous policy + versions will become invalid with the `ABORTED` status. - + This field is here for informational purposes only. + status: description: >- - status represents the high level position in the life cycle of - the proposal. Initial value is Submitted. + status represents the high level position in the life cycle of the proposal. Initial value is Submitted. + type: string enum: - PROPOSAL_STATUS_UNSPECIFIED @@ -64498,16 +60256,14 @@ definitions: default: PROPOSAL_STATUS_UNSPECIFIED final_tally_result: description: >- - final_tally_result contains the sums of all weighted votes for - this - - proposal for each vote option. It is empty at submission, and - only - - populated after tallying, at voting period end or at proposal - execution, - + final_tally_result contains the sums of all weighted votes for this + + proposal for each vote option. It is empty at submission, and only + + populated after tallying, at voting period end or at proposal execution, + whichever happens first. + type: object properties: yes_count: @@ -64526,23 +60282,20 @@ definitions: type: string format: date-time description: >- - voting_period_end is the timestamp before which voting must be - done. - - Unless a successful MsgExec is called before (to execute a - proposal whose - - tally is successful before the voting period ends), tallying - will be done - - at this point, and the `final_tally_result`and `status` fields - will be - + voting_period_end is the timestamp before which voting must be done. + + Unless a successful MsgExec is called before (to execute a proposal whose + + tally is successful before the voting period ends), tallying will be done + + at this point, and the `final_tally_result`and `status` fields will be + accordingly updated. + executor_result: description: >- - executor_result is the final result of the proposal execution. - Initial value is NotRun. + executor_result is the final result of the proposal execution. Initial value is NotRun. + type: string enum: - PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED @@ -64555,80 +60308,66 @@ definitions: items: type: object properties: - '@type': + "@type": type: string description: >- - A URL/resource name that uniquely identifies the type of - the serialized - + 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 - + + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} description: >- - `Any` contains an arbitrary serialized protocol buffer message - along with a - + `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. - - + + + 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); @@ -64636,9 +60375,9 @@ definitions: if (any.UnpackTo(&foo)) { ... } - + Example 2: Pack and unpack a message in Java. - + Foo foo = ...; Any any = Any.pack(foo); ... @@ -64649,9 +60388,9 @@ definitions: if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } - + Example 3: Pack and unpack a message in Python. - + foo = Foo(...) any = Any() any.Pack(foo) @@ -64659,9 +60398,9 @@ definitions: 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 { @@ -64672,61 +60411,56 @@ definitions: 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 - + + 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 - + + 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" } + description: >- - messages is a list of `sdk.Msg`s that will be executed if the - proposal passes. + messages is a list of `sdk.Msg`s that will be executed if the proposal passes. + title: type: string title: title is the title of the proposal @@ -64734,16 +60468,14 @@ definitions: type: string title: summary is a short summary of the proposal description: >- - Proposal defines a group proposal. Any member of a group can submit - a proposal - + Proposal defines a group proposal. Any member of a group can submit a proposal + for a group policy to decide upon. + + A proposal consists of a set of `sdk.Msg`s that will be executed if the proposal + + passes as well as some optional metadata associated with the proposal. - A proposal consists of a set of `sdk.Msg`s that will be executed if - the proposal - - passes as well as some optional metadata associated with the - proposal. description: proposals are the proposals with given group policy. pagination: description: pagination defines the pagination in the response. @@ -64760,13 +60492,13 @@ definitions: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise + description: >- - QueryProposalsByGroupPolicyResponse is the Query/ProposalByGroupPolicy - response type. + QueryProposalsByGroupPolicyResponse is the Query/ProposalByGroupPolicy response type. + cosmos.group.v1.QueryTallyResultResponse: type: object properties: @@ -64815,17 +60547,17 @@ definitions: type: string title: >- metadata is any arbitrary metadata attached to the vote. + + the recommended format of the metadata is to be found here: https://docs.cosmos.network/v0.47/modules/group#vote-2 - the recommended format of the metadata is to be found here: - https://docs.cosmos.network/v0.47/modules/group#vote-2 submit_time: type: string format: date-time description: submit_time is the timestamp when the vote was submitted. title: Vote represents a vote for a proposal.string metadata description: >- - QueryVoteByProposalVoterResponse is the Query/VoteByProposalVoter response - type. + QueryVoteByProposalVoterResponse is the Query/VoteByProposalVoter response type. + cosmos.group.v1.QueryVotesByProposalResponse: type: object properties: @@ -64855,9 +60587,9 @@ definitions: type: string title: >- metadata is any arbitrary metadata attached to the vote. + + the recommended format of the metadata is to be found here: https://docs.cosmos.network/v0.47/modules/group#vote-2 - the recommended format of the metadata is to be found here: - https://docs.cosmos.network/v0.47/modules/group#vote-2 submit_time: type: string format: date-time @@ -64879,10 +60611,10 @@ definitions: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise + description: QueryVotesByProposalResponse is the Query/VotesByProposal response type. cosmos.group.v1.QueryVotesByVoterResponse: type: object @@ -64913,9 +60645,9 @@ definitions: type: string title: >- metadata is any arbitrary metadata attached to the vote. + + the recommended format of the metadata is to be found here: https://docs.cosmos.network/v0.47/modules/group#vote-2 - the recommended format of the metadata is to be found here: - https://docs.cosmos.network/v0.47/modules/group#vote-2 submit_time: type: string format: date-time @@ -64937,10 +60669,10 @@ definitions: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise + description: QueryVotesByVoterResponse is the Query/VotesByVoter response type. cosmos.group.v1.TallyResult: type: object @@ -64982,9 +60714,9 @@ definitions: type: string title: >- metadata is any arbitrary metadata attached to the vote. + + the recommended format of the metadata is to be found here: https://docs.cosmos.network/v0.47/modules/group#vote-2 - the recommended format of the metadata is to be found here: - https://docs.cosmos.network/v0.47/modules/group#vote-2 submit_time: type: string format: date-time @@ -65028,13 +60760,12 @@ definitions: items: type: string description: >- - limit_type_urls is used with LEVEL_SOME_MSGS to limit the lists of - Msg type - - URLs that the account can trip. It is an error to use - limit_type_urls with - + limit_type_urls is used with LEVEL_SOME_MSGS to limit the lists of Msg type + + URLs that the account can trip. It is an error to use limit_type_urls with + a level other than LEVEL_SOME_MSGS. + description: |- Permissions are the permissions that an account has to trip or reset the circuit breaker. @@ -65066,19 +60797,18 @@ definitions: items: type: string description: >- - limit_type_urls is used with LEVEL_SOME_MSGS to limit the - lists of Msg type - - URLs that the account can trip. It is an error to use - limit_type_urls with - + limit_type_urls is used with LEVEL_SOME_MSGS to limit the lists of Msg type + + URLs that the account can trip. It is an error to use limit_type_urls with + a level other than LEVEL_SOME_MSGS. + description: |- Permissions are the permissions that an account has to trip or reset the circuit breaker. title: >- - GenesisAccountPermissions is the account permissions for the circuit - breaker in genesis + GenesisAccountPermissions is the account permissions for the circuit breaker in genesis + pagination: description: pagination defines the pagination in the response. type: object @@ -65094,10 +60824,10 @@ definitions: type: string format: uint64 title: >- - total is total number of results available if - PageRequest.count_total - + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise + description: AccountsResponse is the response type for the Query/Accounts RPC method. cosmos.circuit.v1.DisabledListResponse: type: object @@ -65107,8 +60837,8 @@ definitions: items: type: string description: >- - DisabledListResponse is the response type for the Query/DisabledList RPC - method. + DisabledListResponse is the response type for the Query/DisabledList RPC method. + cosmos.circuit.v1.GenesisAccountPermissions: type: object properties: @@ -65131,19 +60861,18 @@ definitions: items: type: string description: >- - limit_type_urls is used with LEVEL_SOME_MSGS to limit the lists of - Msg type - - URLs that the account can trip. It is an error to use - limit_type_urls with - + limit_type_urls is used with LEVEL_SOME_MSGS to limit the lists of Msg type + + URLs that the account can trip. It is an error to use limit_type_urls with + a level other than LEVEL_SOME_MSGS. + description: |- Permissions are the permissions that an account has to trip or reset the circuit breaker. title: >- - GenesisAccountPermissions is the account permissions for the circuit - breaker in genesis + GenesisAccountPermissions is the account permissions for the circuit breaker in genesis + cosmos.circuit.v1.Permissions: type: object properties: @@ -65161,13 +60890,12 @@ definitions: items: type: string description: >- - limit_type_urls is used with LEVEL_SOME_MSGS to limit the lists of Msg - type - - URLs that the account can trip. It is an error to use limit_type_urls - with - + limit_type_urls is used with LEVEL_SOME_MSGS to limit the lists of Msg type + + URLs that the account can trip. It is an error to use limit_type_urls with + a level other than LEVEL_SOME_MSGS. + description: |- Permissions are the permissions that an account has to trip or reset the circuit breaker. @@ -65274,12 +61002,12 @@ definitions: type: string format: int64 title: >- - Total voting power of the validator set in case the ABCI application - does - + Total voting power of the validator set in case the ABCI application does + not store historical validators. - + https://github.com/tendermint/tendermint/issues/4581 + description: Misbehavior is a type of misbehavior committed by a validator. cometbft.abci.v1.MisbehaviorType: type: string @@ -65356,15 +61084,15 @@ definitions: format: int64 description: >- Maximum size of a block, in bytes. - - - Must be greater or equal to -1 and cannot be greater than the - hard-coded - + + + Must be greater or equal to -1 and cannot be greater than the hard-coded + maximum block size, which is 100MB. - - + + If set to -1, the limit is the hard-coded maximum block size. + max_gas: type: string format: int64 @@ -65384,24 +61112,24 @@ definitions: format: int64 description: >- Maximum size of a block, in bytes. - - - Must be greater or equal to -1 and cannot be greater than the - hard-coded - + + + Must be greater or equal to -1 and cannot be greater than the hard-coded + maximum block size, which is 100MB. - - + + If set to -1, the limit is the hard-coded maximum block size. + max_gas: type: string format: int64 description: >- Maximum gas wanted by transactions included in a block. + + + Must be greater or equal to -1. If set to -1, no limit is enforced. - - Must be greater or equal to -1. If set to -1, no limit is - enforced. description: BlockParams define limits on the block size and gas. evidence: type: object @@ -65411,38 +61139,38 @@ definitions: format: int64 description: >- Maximum age of evidence, in blocks. - - - The recommended formula for calculating it is max_age_duration / - {average - + + + The recommended formula for calculating it is max_age_duration / {average + block time}. + max_age_duration: type: string description: >- Maximum age of evidence, in time. - - + + The recommended value of is should correspond to the application's - + "unbonding period" or other similar mechanism for handling - + Nothing-At-Stake attacks. + + See: https://github.com/ethereum/wiki/wiki/Proof-of-Stake-FAQ#what-is-the-nothing-at-stake-problem-and-how-can-it-be-fixed. - See: - https://github.com/ethereum/wiki/wiki/Proof-of-Stake-FAQ#what-is-the-nothing-at-stake-problem-and-how-can-it-be-fixed. max_bytes: type: string format: int64 description: >- - Maximum size in bytes of evidence allowed to be included in a - block. - - + Maximum size in bytes of evidence allowed to be included in a block. + + It should fall comfortably under the maximum size of a block. + description: >- - EvidenceParams determine the validity of evidences of Byzantine - behavior. + EvidenceParams determine the validity of evidences of Byzantine behavior. + validator: type: object properties: @@ -65481,30 +61209,29 @@ definitions: precision: type: string description: >- - Bound for how skewed a proposer's clock may be from any validator - on the - + Bound for how skewed a proposer's clock may be from any validator on the + network while still producing valid proposals. + message_delay: type: string description: >- - Bound for how long a proposal message may take to reach all - validators on - + Bound for how long a proposal message may take to reach all validators on + a network and still be considered valid. + description: >- SynchronyParams determine the validity of block timestamps. - - - These parameters are part of the Proposer-Based Timestamps (PBTS) - algorithm. - - For more information on the relationship of the synchrony parameters - to - + + + These parameters are part of the Proposer-Based Timestamps (PBTS) algorithm. + + For more information on the relationship of the synchrony parameters to + block timestamps validity, refer to the PBTS specification: - + https://github.com/tendermint/spec/blob/master/spec/consensus/proposer-based-timestamp/README.md + feature: type: object properties: @@ -65513,56 +61240,47 @@ definitions: format: int64 description: >- First height during which vote extensions will be enabled. + + + During the specified height, and for all subsequent heights, precommit + + messages that do not contain valid extension data will be considered + + invalid. Prior to this height, or when this height is set to 0, vote + + extensions will not be used or accepted by validators on the network. + + + Once enabled, vote extensions will be created by the application in + + ExtendVote, validated by the application in VerifyVoteExtension, and + + used by the application in PrepareProposal, when proposing the next block. + + + Cannot be set to heights lower or equal to the current blockchain height. - - During the specified height, and for all subsequent heights, - precommit - - messages that do not contain valid extension data will be - considered - - invalid. Prior to this height, or when this height is set to 0, - vote - - extensions will not be used or accepted by validators on the - network. - - - Once enabled, vote extensions will be created by the application - in - - ExtendVote, validated by the application in VerifyVoteExtension, - and - - used by the application in PrepareProposal, when proposing the - next block. - - - Cannot be set to heights lower or equal to the current blockchain - height. pbts_enable_height: type: string format: int64 description: >- Height at which Proposer-Based Timestamps (PBTS) will be enabled. - - - From the specified height, and for all subsequent heights, the - PBTS - - algorithm will be used to produce and validate block timestamps. - Prior to - + + + From the specified height, and for all subsequent heights, the PBTS + + algorithm will be used to produce and validate block timestamps. Prior to + this height, or when this height is set to 0, the legacy BFT Time - + algorithm is used to produce and validate timestamps. + + + Cannot be set to heights lower or equal to the current blockchain height. - - Cannot be set to heights lower or equal to the current blockchain - height. description: >- - FeatureParams configure the height from which features of CometBFT are - enabled. + FeatureParams configure the height from which features of CometBFT are enabled. + description: |- ConsensusParams contains consensus critical parameters that determine the validity of blocks. @@ -65574,26 +61292,26 @@ definitions: format: int64 description: >- Maximum age of evidence, in blocks. - - - The recommended formula for calculating it is max_age_duration / - {average - + + + The recommended formula for calculating it is max_age_duration / {average + block time}. + max_age_duration: type: string description: >- Maximum age of evidence, in time. - - + + The recommended value of is should correspond to the application's - + "unbonding period" or other similar mechanism for handling - + Nothing-At-Stake attacks. + + See: https://github.com/ethereum/wiki/wiki/Proof-of-Stake-FAQ#what-is-the-nothing-at-stake-problem-and-how-can-it-be-fixed. - See: - https://github.com/ethereum/wiki/wiki/Proof-of-Stake-FAQ#what-is-the-nothing-at-stake-problem-and-how-can-it-be-fixed. max_bytes: type: string format: int64 @@ -65610,78 +61328,76 @@ definitions: format: int64 description: >- First height during which vote extensions will be enabled. - - + + During the specified height, and for all subsequent heights, precommit - + messages that do not contain valid extension data will be considered - + invalid. Prior to this height, or when this height is set to 0, vote - + extensions will not be used or accepted by validators on the network. - - + + Once enabled, vote extensions will be created by the application in - + ExtendVote, validated by the application in VerifyVoteExtension, and + + used by the application in PrepareProposal, when proposing the next block. + + + Cannot be set to heights lower or equal to the current blockchain height. - used by the application in PrepareProposal, when proposing the next - block. - - - Cannot be set to heights lower or equal to the current blockchain - height. pbts_enable_height: type: string format: int64 description: >- Height at which Proposer-Based Timestamps (PBTS) will be enabled. - - + + From the specified height, and for all subsequent heights, the PBTS - - algorithm will be used to produce and validate block timestamps. Prior - to - + + algorithm will be used to produce and validate block timestamps. Prior to + this height, or when this height is set to 0, the legacy BFT Time - + algorithm is used to produce and validate timestamps. + + + Cannot be set to heights lower or equal to the current blockchain height. - - Cannot be set to heights lower or equal to the current blockchain - height. description: >- - FeatureParams configure the height from which features of CometBFT are - enabled. + FeatureParams configure the height from which features of CometBFT are enabled. + cometbft.types.v1.SynchronyParams: type: object properties: precision: type: string description: >- - Bound for how skewed a proposer's clock may be from any validator on - the - + Bound for how skewed a proposer's clock may be from any validator on the + network while still producing valid proposals. + message_delay: type: string description: >- - Bound for how long a proposal message may take to reach all validators - on - + Bound for how long a proposal message may take to reach all validators on + a network and still be considered valid. + description: >- SynchronyParams determine the validity of block timestamps. - - - These parameters are part of the Proposer-Based Timestamps (PBTS) - algorithm. - + + + These parameters are part of the Proposer-Based Timestamps (PBTS) algorithm. + For more information on the relationship of the synchrony parameters to - + block timestamps validity, refer to the PBTS specification: - + https://github.com/tendermint/spec/blob/master/spec/consensus/proposer-based-timestamp/README.md + cometbft.types.v1.ValidatorParams: type: object properties: @@ -65751,12 +61467,12 @@ definitions: type: string format: int64 title: >- - Total voting power of the validator set in case the ABCI - application does - + Total voting power of the validator set in case the ABCI application does + not store historical validators. - + https://github.com/tendermint/tendermint/issues/4581 + description: Misbehavior is a type of misbehavior committed by a validator. validators_hash: type: string @@ -65804,12 +61520,12 @@ definitions: title: BlockIdFlag indicates which BlockID the signature is for description: VoteInfo contains the information about the vote. description: CommitInfo contains votes for the particular round. - description: CometInfo defines the structure of the x/consensus module's comet info. + description: CometInfo defines the structure of the x/comet module's comet info. cosmos.consensus.v1.QueryGetCometInfoResponse: type: object properties: comet_info: - description: comet_info is the comet info of the x/consensus module. + description: comet_info is the comet info of the x/comet module. type: object properties: evidence: @@ -65856,12 +61572,12 @@ definitions: type: string format: int64 title: >- - Total voting power of the validator set in case the ABCI - application does - + Total voting power of the validator set in case the ABCI application does + not store historical validators. - + https://github.com/tendermint/tendermint/issues/4581 + description: Misbehavior is a type of misbehavior committed by a validator. validators_hash: type: string @@ -65910,20 +61626,19 @@ definitions: description: VoteInfo contains the information about the vote. description: CommitInfo contains votes for the particular round. description: >- - QueryCometInfoResponse defines the response type for querying x/consensus - comet info. + QueryCometInfoResponse defines the response type for querying x/comet comet info. + cosmos.consensus.v1.QueryParamsResponse: type: object properties: params: description: >- - params are the tendermint consensus params stored in the consensus - module. - - Please note that `params.version` is not populated in this response, - it is - + params are the tendermint consensus params stored in the consensus module. + + Please note that `params.version` is not populated in this response, it is + tracked separately in the x/upgrade module. + type: object properties: block: @@ -65934,24 +61649,24 @@ definitions: format: int64 description: >- Maximum size of a block, in bytes. - - - Must be greater or equal to -1 and cannot be greater than the - hard-coded - + + + Must be greater or equal to -1 and cannot be greater than the hard-coded + maximum block size, which is 100MB. - - + + If set to -1, the limit is the hard-coded maximum block size. + max_gas: type: string format: int64 description: >- Maximum gas wanted by transactions included in a block. + + + Must be greater or equal to -1. If set to -1, no limit is enforced. - - Must be greater or equal to -1. If set to -1, no limit is - enforced. description: BlockParams define limits on the block size and gas. evidence: type: object @@ -65961,39 +61676,38 @@ definitions: format: int64 description: >- Maximum age of evidence, in blocks. - - - The recommended formula for calculating it is max_age_duration - / {average - + + + The recommended formula for calculating it is max_age_duration / {average + block time}. + max_age_duration: type: string description: >- Maximum age of evidence, in time. - - - The recommended value of is should correspond to the - application's - + + + The recommended value of is should correspond to the application's + "unbonding period" or other similar mechanism for handling - + Nothing-At-Stake attacks. + + See: https://github.com/ethereum/wiki/wiki/Proof-of-Stake-FAQ#what-is-the-nothing-at-stake-problem-and-how-can-it-be-fixed. - See: - https://github.com/ethereum/wiki/wiki/Proof-of-Stake-FAQ#what-is-the-nothing-at-stake-problem-and-how-can-it-be-fixed. max_bytes: type: string format: int64 description: >- - Maximum size in bytes of evidence allowed to be included in a - block. - - + Maximum size in bytes of evidence allowed to be included in a block. + + It should fall comfortably under the maximum size of a block. + description: >- - EvidenceParams determine the validity of evidences of Byzantine - behavior. + EvidenceParams determine the validity of evidences of Byzantine behavior. + validator: type: object properties: @@ -66016,8 +61730,8 @@ definitions: It was named app_version in CometBFT 0.34. description: >- - VersionParams contain the version of specific components of - CometBFT. + VersionParams contain the version of specific components of CometBFT. + abci: title: Use FeatureParams.vote_extensions_enable_height instead type: object @@ -66034,30 +61748,29 @@ definitions: precision: type: string description: >- - Bound for how skewed a proposer's clock may be from any - validator on the - + Bound for how skewed a proposer's clock may be from any validator on the + network while still producing valid proposals. + message_delay: type: string description: >- - Bound for how long a proposal message may take to reach all - validators on - + Bound for how long a proposal message may take to reach all validators on + a network and still be considered valid. + description: >- SynchronyParams determine the validity of block timestamps. - - - These parameters are part of the Proposer-Based Timestamps (PBTS) - algorithm. - - For more information on the relationship of the synchrony - parameters to - + + + These parameters are part of the Proposer-Based Timestamps (PBTS) algorithm. + + For more information on the relationship of the synchrony parameters to + block timestamps validity, refer to the PBTS specification: - + https://github.com/tendermint/spec/blob/master/spec/consensus/proposer-based-timestamp/README.md + feature: type: object properties: @@ -66066,61 +61779,50 @@ definitions: format: int64 description: >- First height during which vote extensions will be enabled. + + + During the specified height, and for all subsequent heights, precommit + + messages that do not contain valid extension data will be considered + + invalid. Prior to this height, or when this height is set to 0, vote + + extensions will not be used or accepted by validators on the network. + + + Once enabled, vote extensions will be created by the application in + + ExtendVote, validated by the application in VerifyVoteExtension, and + + used by the application in PrepareProposal, when proposing the next block. + + + Cannot be set to heights lower or equal to the current blockchain height. - - During the specified height, and for all subsequent heights, - precommit - - messages that do not contain valid extension data will be - considered - - invalid. Prior to this height, or when this height is set to - 0, vote - - extensions will not be used or accepted by validators on the - network. - - - Once enabled, vote extensions will be created by the - application in - - ExtendVote, validated by the application in - VerifyVoteExtension, and - - used by the application in PrepareProposal, when proposing the - next block. - - - Cannot be set to heights lower or equal to the current - blockchain height. pbts_enable_height: type: string format: int64 description: >- - Height at which Proposer-Based Timestamps (PBTS) will be - enabled. - - - From the specified height, and for all subsequent heights, the - PBTS - - algorithm will be used to produce and validate block - timestamps. Prior to - - this height, or when this height is set to 0, the legacy BFT - Time - + Height at which Proposer-Based Timestamps (PBTS) will be enabled. + + + From the specified height, and for all subsequent heights, the PBTS + + algorithm will be used to produce and validate block timestamps. Prior to + + this height, or when this height is set to 0, the legacy BFT Time + algorithm is used to produce and validate timestamps. + + + Cannot be set to heights lower or equal to the current blockchain height. - - Cannot be set to heights lower or equal to the current - blockchain height. description: >- - FeatureParams configure the height from which features of CometBFT - are enabled. + FeatureParams configure the height from which features of CometBFT are enabled. + description: >- - QueryParamsResponse defines the response type for querying x/consensus - parameters. + QueryParamsResponse defines the response type for querying x/comet parameters. + cosmos.app.v1alpha1.Config: type: object properties: @@ -66132,97 +61834,79 @@ definitions: name: type: string description: >- - name is the unique name of the module within the app. It should - be a name - - that persists between different versions of a module so that - modules - + name is the unique name of the module within the app. It should be a name + + that persists between different versions of a module so that modules + can be smoothly upgraded to new versions. - - - For example, for the module cosmos.bank.module.v1.Module, we may - chose - + + + For example, for the module cosmos.bank.module.v1.Module, we may chose + to simply name the module "bank" in the app. When we upgrade to + + cosmos.bank.module.v2.Module, the app-specific name "bank" stays the same + + and the framework knows that the v2 module should receive all the same state + + that the v1 module had. Note: modules should provide info on which versions + + they can migrate from in the ModuleDescriptor.can_migration_from field. - cosmos.bank.module.v2.Module, the app-specific name "bank" stays - the same - - and the framework knows that the v2 module should receive all - the same state - - that the v1 module had. Note: modules should provide info on - which versions - - they can migrate from in the ModuleDescriptor.can_migration_from - field. config: description: >- - config is the config object for the module. Module config - messages should + config is the config object for the module. Module config messages should + + define a ModuleDescriptor using the cosmos.app.v1alpha1.is_module extension. - define a ModuleDescriptor using the - cosmos.app.v1alpha1.is_module extension. type: object properties: - '@type': + "@type": type: string description: >- - A URL/resource name that uniquely identifies the type of the - serialized - + 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 - + + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} golang_bindings: type: array @@ -66232,24 +61916,23 @@ definitions: interface_type: type: string title: >- - interface_type is the interface type which will be bound - to a specific implementation type + interface_type is the interface type which will be bound to a specific implementation type + implementation: type: string title: >- - implementation is the implementing type which will be - supplied when an input of type interface is requested - description: >- - GolangBinding is an explicit interface type to implementing - type binding for dependency injection. - description: >- - golang_bindings specifies explicit interface to implementation - type bindings which + implementation is the implementing type which will be supplied when an input of type interface is requested - depinject uses to resolve interface inputs to provider - functions. The scope of this + description: >- + GolangBinding is an explicit interface type to implementing type binding for dependency injection. + description: >- + golang_bindings specifies explicit interface to implementation type bindings which + + depinject uses to resolve interface inputs to provider functions. The scope of this + field's configuration is module specific. + description: ModuleConfig is a module configuration for an app. description: modules are the module configurations for the app. golang_bindings: @@ -66260,127 +61943,114 @@ definitions: interface_type: type: string title: >- - interface_type is the interface type which will be bound to a - specific implementation type + interface_type is the interface type which will be bound to a specific implementation type + implementation: type: string title: >- - implementation is the implementing type which will be supplied - when an input of type interface is requested - description: >- - GolangBinding is an explicit interface type to implementing type - binding for dependency injection. - description: >- - golang_bindings specifies explicit interface to implementation type - bindings which + implementation is the implementing type which will be supplied when an input of type interface is requested - depinject uses to resolve interface inputs to provider functions. The - scope of this + description: >- + GolangBinding is an explicit interface type to implementing type binding for dependency injection. + description: >- + golang_bindings specifies explicit interface to implementation type bindings which + + depinject uses to resolve interface inputs to provider functions. The scope of this + field's configuration is global (not module specific). + description: >- Config represents the configuration for a Cosmos SDK ABCI app. - + It is intended that all state machine logic including the version of - + baseapp and tx handlers (and possibly even Tendermint) that an app needs - - can be described in a config object. For compatibility, the framework - should - + + can be described in a config object. For compatibility, the framework should + allow a mixture of declarative and imperative app wiring, however, apps - - that strive for the maximum ease of maintainability should be able to - describe - + + that strive for the maximum ease of maintainability should be able to describe + their state machine with a config object alone. + cosmos.app.v1alpha1.GolangBinding: type: object properties: interface_type: type: string title: >- - interface_type is the interface type which will be bound to a specific - implementation type + interface_type is the interface type which will be bound to a specific implementation type + implementation: type: string title: >- - implementation is the implementing type which will be supplied when an - input of type interface is requested + implementation is the implementing type which will be supplied when an input of type interface is requested + description: >- - GolangBinding is an explicit interface type to implementing type binding - for dependency injection. + GolangBinding is an explicit interface type to implementing type binding for dependency injection. + cosmos.app.v1alpha1.ModuleConfig: type: object properties: name: type: string description: >- - name is the unique name of the module within the app. It should be a - name - + name is the unique name of the module within the app. It should be a name + that persists between different versions of a module so that modules - + can be smoothly upgraded to new versions. - - + + For example, for the module cosmos.bank.module.v1.Module, we may chose - + to simply name the module "bank" in the app. When we upgrade to + + cosmos.bank.module.v2.Module, the app-specific name "bank" stays the same + + and the framework knows that the v2 module should receive all the same state + + that the v1 module had. Note: modules should provide info on which versions + + they can migrate from in the ModuleDescriptor.can_migration_from field. - cosmos.bank.module.v2.Module, the app-specific name "bank" stays the - same - - and the framework knows that the v2 module should receive all the same - state - - that the v1 module had. Note: modules should provide info on which - versions - - they can migrate from in the ModuleDescriptor.can_migration_from - field. config: description: >- - config is the config object for the module. Module config messages - should + config is the config object for the module. Module config messages should + + define a ModuleDescriptor using the cosmos.app.v1alpha1.is_module extension. - define a ModuleDescriptor using the cosmos.app.v1alpha1.is_module - extension. type: object properties: - '@type': + "@type": type: string description: >- - A URL/resource name that uniquely identifies the type of the - serialized - + 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 - + + 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 - + + `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 - + + + 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 @@ -66388,18 +62058,18 @@ definitions: 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 - + + 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. + additionalProperties: {} golang_bindings: type: array @@ -66409,24 +62079,23 @@ definitions: interface_type: type: string title: >- - interface_type is the interface type which will be bound to a - specific implementation type + interface_type is the interface type which will be bound to a specific implementation type + implementation: type: string title: >- - implementation is the implementing type which will be supplied - when an input of type interface is requested - description: >- - GolangBinding is an explicit interface type to implementing type - binding for dependency injection. - description: >- - golang_bindings specifies explicit interface to implementation type - bindings which + implementation is the implementing type which will be supplied when an input of type interface is requested - depinject uses to resolve interface inputs to provider functions. The - scope of this + description: >- + GolangBinding is an explicit interface type to implementing type binding for dependency injection. + description: >- + golang_bindings specifies explicit interface to implementation type bindings which + + depinject uses to resolve interface inputs to provider functions. The scope of this + field's configuration is module specific. + description: ModuleConfig is a module configuration for an app. cosmos.app.v1alpha1.QueryConfigResponse: type: object @@ -66443,99 +62112,79 @@ definitions: name: type: string description: >- - name is the unique name of the module within the app. It - should be a name - - that persists between different versions of a module so that - modules - + name is the unique name of the module within the app. It should be a name + + that persists between different versions of a module so that modules + can be smoothly upgraded to new versions. + + + For example, for the module cosmos.bank.module.v1.Module, we may chose + + to simply name the module "bank" in the app. When we upgrade to + + cosmos.bank.module.v2.Module, the app-specific name "bank" stays the same + + and the framework knows that the v2 module should receive all the same state + + that the v1 module had. Note: modules should provide info on which versions + + they can migrate from in the ModuleDescriptor.can_migration_from field. - - For example, for the module cosmos.bank.module.v1.Module, we - may chose - - to simply name the module "bank" in the app. When we upgrade - to - - cosmos.bank.module.v2.Module, the app-specific name "bank" - stays the same - - and the framework knows that the v2 module should receive - all the same state - - that the v1 module had. Note: modules should provide info on - which versions - - they can migrate from in the - ModuleDescriptor.can_migration_from field. config: description: >- - config is the config object for the module. Module config - messages should + config is the config object for the module. Module config messages should + + define a ModuleDescriptor using the cosmos.app.v1alpha1.is_module extension. - define a ModuleDescriptor using the - cosmos.app.v1alpha1.is_module extension. type: object properties: - '@type': + "@type": type: string description: >- - 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 - + 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 - + + `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: - - + + + 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][] + + * 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 + * 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 - + + 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 - + + + Schemes other than `http`, `https` (or the empty scheme) might be + used with implementation specific semantics. + additionalProperties: {} golang_bindings: type: array @@ -66545,24 +62194,23 @@ definitions: interface_type: type: string title: >- - interface_type is the interface type which will be - bound to a specific implementation type + interface_type is the interface type which will be bound to a specific implementation type + implementation: type: string title: >- - implementation is the implementing type which will be - supplied when an input of type interface is requested - description: >- - GolangBinding is an explicit interface type to - implementing type binding for dependency injection. - description: >- - golang_bindings specifies explicit interface to - implementation type bindings which + implementation is the implementing type which will be supplied when an input of type interface is requested - depinject uses to resolve interface inputs to provider - functions. The scope of this + description: >- + GolangBinding is an explicit interface type to implementing type binding for dependency injection. + description: >- + golang_bindings specifies explicit interface to implementation type bindings which + + depinject uses to resolve interface inputs to provider functions. The scope of this + field's configuration is module specific. + description: ModuleConfig is a module configuration for an app. description: modules are the module configurations for the app. golang_bindings: @@ -66573,22 +62221,21 @@ definitions: interface_type: type: string title: >- - interface_type is the interface type which will be bound to - a specific implementation type + interface_type is the interface type which will be bound to a specific implementation type + implementation: type: string title: >- - implementation is the implementing type which will be - supplied when an input of type interface is requested - description: >- - GolangBinding is an explicit interface type to implementing type - binding for dependency injection. - description: >- - golang_bindings specifies explicit interface to implementation - type bindings which + implementation is the implementing type which will be supplied when an input of type interface is requested - depinject uses to resolve interface inputs to provider functions. - The scope of this + description: >- + GolangBinding is an explicit interface type to implementing type binding for dependency injection. + description: >- + golang_bindings specifies explicit interface to implementation type bindings which + + depinject uses to resolve interface inputs to provider functions. The scope of this + field's configuration is global (not module specific). + description: QueryConfigResponse is the Query/Config response type. diff --git a/client/v2/go.mod b/client/v2/go.mod index 9a2abff54c08..304c588fdda1 100644 --- a/client/v2/go.mod +++ b/client/v2/go.mod @@ -28,7 +28,7 @@ require ( cosmossdk.io/math v1.3.0 cosmossdk.io/store v1.1.1-0.20240418092142-896cdf1971bc // indirect cosmossdk.io/x/auth v0.0.0-00010101000000-000000000000 - cosmossdk.io/x/consensus v0.0.0-00010101000000-000000000000 // indirect + cosmossdk.io/x/comet v0.0.0-00010101000000-000000000000 // indirect cosmossdk.io/x/staking v0.0.0-00010101000000-000000000000 // indirect filippo.io/edwards25519 v1.1.0 // indirect github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 // indirect @@ -188,7 +188,7 @@ replace ( cosmossdk.io/x/accounts => ./../../x/accounts cosmossdk.io/x/auth => ./../../x/auth cosmossdk.io/x/bank => ./../../x/bank - cosmossdk.io/x/consensus => ./../../x/consensus + cosmossdk.io/x/comet => ./../../x/comet cosmossdk.io/x/distribution => ./../../x/distribution cosmossdk.io/x/gov => ./../../x/gov cosmossdk.io/x/mint => ./../../x/mint diff --git a/contrib/images/simd-env/Dockerfile b/contrib/images/simd-env/Dockerfile index 8ff6675b0379..f664206600ec 100644 --- a/contrib/images/simd-env/Dockerfile +++ b/contrib/images/simd-env/Dockerfile @@ -21,7 +21,7 @@ COPY x/auth/go.mod x/auth/go.sum /work/x/auth/ COPY x/authz/go.mod x/authz/go.sum /work/x/authz/ COPY x/bank/go.mod x/bank/go.sum /work/x/bank/ COPY x/mint/go.mod x/mint/go.sum /work/x/mint/ -COPY x/consensus/go.mod x/consensus/go.sum /work/x/consensus/ +COPY x/comet/go.mod x/comet/go.sum /work/x/comet/ COPY x/accounts/go.mod x/accounts/go.sum /work/x/accounts/ COPY runtime/v2/go.mod runtime/v2/go.sum /work/runtime/v2/ COPY server/v2/go.mod server/v2/go.sum /work/server/v2/ diff --git a/docs/learn/advanced/00-baseapp.md b/docs/learn/advanced/00-baseapp.md index 1a7cd28fdc96..cc0b7bb833cd 100644 --- a/docs/learn/advanced/00-baseapp.md +++ b/docs/learn/advanced/00-baseapp.md @@ -205,7 +205,7 @@ newly committed state and `finalizeBlockState` is set to `nil` to be reset on `F During `InitChain`, the `RequestInitChain` provides `ConsensusParams` which contains parameters related to block execution such as maximum gas and size in addition to evidence parameters. If these parameters are non-nil, they are set in the BaseApp's `ParamStore`. Behind the scenes, the `ParamStore` -is managed by an `x/consensus_params` module. This allows the parameters to be tweaked via +is managed by an `x/comet_params` module. This allows the parameters to be tweaked via on-chain governance. ## Service Routers diff --git a/go.mod b/go.mod index 0bd0fa9a6c37..fabca161ec96 100644 --- a/go.mod +++ b/go.mod @@ -15,7 +15,7 @@ require ( cosmossdk.io/store v1.1.1-0.20240418092142-896cdf1971bc cosmossdk.io/x/auth v0.0.0-00010101000000-000000000000 cosmossdk.io/x/bank v0.0.0-20240226161501-23359a0b6d91 - cosmossdk.io/x/consensus v0.0.0-00010101000000-000000000000 + cosmossdk.io/x/comet v0.0.0-00010101000000-000000000000 cosmossdk.io/x/staking v0.0.0-00010101000000-000000000000 cosmossdk.io/x/tx v0.13.3 github.com/99designs/keyring v1.2.2 @@ -194,7 +194,7 @@ replace ( cosmossdk.io/x/accounts => ./x/accounts cosmossdk.io/x/auth => ./x/auth cosmossdk.io/x/bank => ./x/bank - cosmossdk.io/x/consensus => ./x/consensus + cosmossdk.io/x/comet => ./x/comet cosmossdk.io/x/staking => ./x/staking cosmossdk.io/x/tx => ./x/tx ) diff --git a/go.work.example b/go.work.example index 834c86da2181..4bb70819a114 100644 --- a/go.work.example +++ b/go.work.example @@ -31,7 +31,7 @@ use ( ./x/authz ./x/bank ./x/circuit - ./x/consensus + ./x/comet ./x/distribution ./x/evidence ./x/feegrant diff --git a/server/v2/cometbft/abci.go b/server/v2/cometbft/abci.go index f842bfc56ff8..96823be9b0f2 100644 --- a/server/v2/cometbft/abci.go +++ b/server/v2/cometbft/abci.go @@ -27,7 +27,7 @@ import ( cometerrors "cosmossdk.io/server/v2/cometbft/types/errors" "cosmossdk.io/server/v2/streaming" "cosmossdk.io/store/v2/snapshots" - consensustypes "cosmossdk.io/x/consensus/types" + consensustypes "cosmossdk.io/x/comet/types" ) var _ abci.Application = (*Consensus[transaction.Tx])(nil) diff --git a/server/v2/cometbft/go.mod b/server/v2/cometbft/go.mod index d4c637689b89..c9906f5beb71 100644 --- a/server/v2/cometbft/go.mod +++ b/server/v2/cometbft/go.mod @@ -13,7 +13,7 @@ replace ( cosmossdk.io/x/accounts => ../../../x/accounts cosmossdk.io/x/auth => ../../../x/auth cosmossdk.io/x/bank => ../../../x/bank - cosmossdk.io/x/consensus => ../../../x/consensus + cosmossdk.io/x/comet => ../../../x/comet cosmossdk.io/x/staking => ../../../x/staking cosmossdk.io/x/tx => ../../../x/tx github.com/cosmos/cosmos-sdk => ../../../ @@ -28,7 +28,7 @@ require ( cosmossdk.io/server/v2 v2.0.0-00010101000000-000000000000 cosmossdk.io/server/v2/appmanager v0.0.0-20240802110823-cffeedff643d cosmossdk.io/store/v2 v2.0.0-00010101000000-000000000000 - cosmossdk.io/x/consensus v0.0.0-00010101000000-000000000000 + cosmossdk.io/x/comet v0.0.0-00010101000000-000000000000 github.com/cometbft/cometbft v1.0.0-rc1 github.com/cometbft/cometbft/api v1.0.0-rc.1 github.com/cosmos/cosmos-proto v1.0.0-beta.5 diff --git a/server/v2/cometbft/utils.go b/server/v2/cometbft/utils.go index b8470c79e76a..98220abc998e 100644 --- a/server/v2/cometbft/utils.go +++ b/server/v2/cometbft/utils.go @@ -23,7 +23,7 @@ import ( "cosmossdk.io/core/server" "cosmossdk.io/core/transaction" errorsmod "cosmossdk.io/errors" - consensus "cosmossdk.io/x/consensus/types" + consensus "cosmossdk.io/x/comet/types" ) func queryResponse(res transaction.Msg, height int64) (*abci.QueryResponse, error) { diff --git a/simapp/app.go b/simapp/app.go index 1dd924ce4ca1..1bc61f1856c4 100644 --- a/simapp/app.go +++ b/simapp/app.go @@ -48,9 +48,9 @@ import ( "cosmossdk.io/x/circuit" circuitkeeper "cosmossdk.io/x/circuit/keeper" circuittypes "cosmossdk.io/x/circuit/types" - "cosmossdk.io/x/consensus" - consensusparamkeeper "cosmossdk.io/x/consensus/keeper" - consensustypes "cosmossdk.io/x/consensus/types" + consensus "cosmossdk.io/x/comet" + consensusparamkeeper "cosmossdk.io/x/comet/keeper" + consensustypes "cosmossdk.io/x/comet/types" distr "cosmossdk.io/x/distribution" distrkeeper "cosmossdk.io/x/distribution/keeper" distrtypes "cosmossdk.io/x/distribution/types" @@ -287,7 +287,7 @@ func NewSimApp( cometService := runtime.NewContextAwareCometInfoService() // set the BaseApp's parameter store - app.ConsensusParamsKeeper = consensusparamkeeper.NewKeeper(appCodec, runtime.NewEnvironment(runtime.NewKVStoreService(keys[consensustypes.StoreKey]), logger.With(log.ModuleKey, "x/consensus")), authtypes.NewModuleAddress(govtypes.ModuleName).String()) + app.ConsensusParamsKeeper = consensusparamkeeper.NewKeeper(appCodec, runtime.NewEnvironment(runtime.NewKVStoreService(keys[consensustypes.StoreKey]), logger.With(log.ModuleKey, "x/comet")), authtypes.NewModuleAddress(govtypes.ModuleName).String()) bApp.SetParamStore(app.ConsensusParamsKeeper.ParamsStore) // add keepers diff --git a/simapp/app_config.go b/simapp/app_config.go index 8d2172e44b41..826dc6de89d2 100644 --- a/simapp/app_config.go +++ b/simapp/app_config.go @@ -41,8 +41,8 @@ import ( banktypes "cosmossdk.io/x/bank/types" _ "cosmossdk.io/x/circuit" // import for side-effects circuittypes "cosmossdk.io/x/circuit/types" - _ "cosmossdk.io/x/consensus" // import for side-effects - consensustypes "cosmossdk.io/x/consensus/types" + _ "cosmossdk.io/x/comet" // import for side-effects + consensustypes "cosmossdk.io/x/comet/types" _ "cosmossdk.io/x/distribution" // import for side-effects distrtypes "cosmossdk.io/x/distribution/types" _ "cosmossdk.io/x/epochs" // import for side-effects diff --git a/simapp/app_di.go b/simapp/app_di.go index 774043481324..62387301a7cb 100644 --- a/simapp/app_di.go +++ b/simapp/app_di.go @@ -23,7 +23,7 @@ import ( authzkeeper "cosmossdk.io/x/authz/keeper" bankkeeper "cosmossdk.io/x/bank/keeper" circuitkeeper "cosmossdk.io/x/circuit/keeper" - consensuskeeper "cosmossdk.io/x/consensus/keeper" + consensuskeeper "cosmossdk.io/x/comet/keeper" distrkeeper "cosmossdk.io/x/distribution/keeper" epochskeeper "cosmossdk.io/x/epochs/keeper" evidencekeeper "cosmossdk.io/x/evidence/keeper" diff --git a/simapp/go.mod b/simapp/go.mod index 53bd961b7d5a..6eac3d99bf3a 100644 --- a/simapp/go.mod +++ b/simapp/go.mod @@ -19,7 +19,7 @@ require ( cosmossdk.io/x/authz v0.0.0-00010101000000-000000000000 cosmossdk.io/x/bank v0.0.0-20240226161501-23359a0b6d91 cosmossdk.io/x/circuit v0.0.0-20230613133644-0a778132a60f - cosmossdk.io/x/consensus v0.0.0-00010101000000-000000000000 + cosmossdk.io/x/comet v0.0.0-00010101000000-000000000000 cosmossdk.io/x/distribution v0.0.0-20240227221813-a248d05f70f4 cosmossdk.io/x/epochs v0.0.0-20240522060652-a1ae4c3e0337 cosmossdk.io/x/evidence v0.0.0-20230613133644-0a778132a60f @@ -254,7 +254,7 @@ replace ( cosmossdk.io/x/authz => ../x/authz cosmossdk.io/x/bank => ../x/bank cosmossdk.io/x/circuit => ../x/circuit - cosmossdk.io/x/consensus => ../x/consensus + cosmossdk.io/x/comet => ../x/comet cosmossdk.io/x/distribution => ../x/distribution cosmossdk.io/x/epochs => ../x/epochs cosmossdk.io/x/evidence => ../x/evidence diff --git a/simapp/v2/app_config.go b/simapp/v2/app_config.go index c126d1dcfa90..27aef03b97b2 100644 --- a/simapp/v2/app_config.go +++ b/simapp/v2/app_config.go @@ -42,8 +42,8 @@ import ( banktypes "cosmossdk.io/x/bank/types" _ "cosmossdk.io/x/circuit" // import for side-effects circuittypes "cosmossdk.io/x/circuit/types" - _ "cosmossdk.io/x/consensus" // import for side-effects - consensustypes "cosmossdk.io/x/consensus/types" + _ "cosmossdk.io/x/comet" // import for side-effects + consensustypes "cosmossdk.io/x/comet/types" _ "cosmossdk.io/x/distribution" // import for side-effects distrtypes "cosmossdk.io/x/distribution/types" _ "cosmossdk.io/x/epochs" // import for side-effects diff --git a/simapp/v2/app_di.go b/simapp/v2/app_di.go index 19796803af3b..10b5e3f248d2 100644 --- a/simapp/v2/app_di.go +++ b/simapp/v2/app_di.go @@ -17,7 +17,7 @@ import ( authzkeeper "cosmossdk.io/x/authz/keeper" bankkeeper "cosmossdk.io/x/bank/keeper" circuitkeeper "cosmossdk.io/x/circuit/keeper" - consensuskeeper "cosmossdk.io/x/consensus/keeper" + consensuskeeper "cosmossdk.io/x/comet/keeper" distrkeeper "cosmossdk.io/x/distribution/keeper" epochskeeper "cosmossdk.io/x/epochs/keeper" evidencekeeper "cosmossdk.io/x/evidence/keeper" diff --git a/simapp/v2/go.mod b/simapp/v2/go.mod index f164c701b228..12fa51a0cf2f 100644 --- a/simapp/v2/go.mod +++ b/simapp/v2/go.mod @@ -19,7 +19,7 @@ require ( cosmossdk.io/x/authz v0.0.0-00010101000000-000000000000 cosmossdk.io/x/bank v0.0.0-20240226161501-23359a0b6d91 cosmossdk.io/x/circuit v0.0.0-20230613133644-0a778132a60f - cosmossdk.io/x/consensus v0.0.0-00010101000000-000000000000 + cosmossdk.io/x/comet v0.0.0-00010101000000-000000000000 cosmossdk.io/x/distribution v0.0.0-20230925135524-a1bc045b3190 cosmossdk.io/x/epochs v0.0.0-20240522060652-a1ae4c3e0337 cosmossdk.io/x/evidence v0.0.0-20230613133644-0a778132a60f @@ -258,7 +258,7 @@ replace ( cosmossdk.io/x/authz => ../../x/authz cosmossdk.io/x/bank => ../../x/bank cosmossdk.io/x/circuit => ../../x/circuit - cosmossdk.io/x/consensus => ../../x/consensus + cosmossdk.io/x/comet => ../../x/comet cosmossdk.io/x/distribution => ../../x/distribution cosmossdk.io/x/epochs => ../../x/epochs cosmossdk.io/x/evidence => ../../x/evidence diff --git a/tests/e2e/auth/keeper/app_config.go b/tests/e2e/auth/keeper/app_config.go index 526d19acba92..9a497f0784cd 100644 --- a/tests/e2e/auth/keeper/app_config.go +++ b/tests/e2e/auth/keeper/app_config.go @@ -6,7 +6,7 @@ import ( _ "cosmossdk.io/x/auth/tx/config" // import as blank for app wiring`` _ "cosmossdk.io/x/auth/vesting" // import as blank for app wiring _ "cosmossdk.io/x/bank" // import as blank for app wiring - _ "cosmossdk.io/x/consensus" // import as blank for app wiring + _ "cosmossdk.io/x/comet" // import as blank for app wiring _ "cosmossdk.io/x/staking" // import as blank for app wiring "github.com/cosmos/cosmos-sdk/testutil/configurator" diff --git a/tests/e2e/baseapp/utils.go b/tests/e2e/baseapp/utils.go index aa69a28e73ee..97a8a5265eeb 100644 --- a/tests/e2e/baseapp/utils.go +++ b/tests/e2e/baseapp/utils.go @@ -14,7 +14,7 @@ import ( authtypes "cosmossdk.io/x/auth/types" _ "cosmossdk.io/x/bank" banktypes "cosmossdk.io/x/bank/types" - _ "cosmossdk.io/x/consensus" + _ "cosmossdk.io/x/comet" _ "cosmossdk.io/x/staking" "github.com/cosmos/cosmos-sdk/codec" diff --git a/tests/go.mod b/tests/go.mod index 4a58a7ffec31..bf3130fc8a77 100644 --- a/tests/go.mod +++ b/tests/go.mod @@ -41,7 +41,7 @@ require ( cosmossdk.io/x/auth v0.0.0-20240226161501-23359a0b6d91 cosmossdk.io/x/authz v0.0.0-00010101000000-000000000000 cosmossdk.io/x/bank v0.0.0-20240226161501-23359a0b6d91 - cosmossdk.io/x/consensus v0.0.0-00010101000000-000000000000 + cosmossdk.io/x/comet v0.0.0-00010101000000-000000000000 cosmossdk.io/x/distribution v0.0.0-20240227221813-a248d05f70f4 cosmossdk.io/x/gov v0.0.0-20231113122742-912390d5fc4a cosmossdk.io/x/group v0.0.0-00010101000000-000000000000 @@ -249,7 +249,7 @@ replace ( cosmossdk.io/x/authz => ../x/authz cosmossdk.io/x/bank => ../x/bank cosmossdk.io/x/circuit => ../x/circuit - cosmossdk.io/x/consensus => ../x/consensus + cosmossdk.io/x/comet => ../x/comet cosmossdk.io/x/distribution => ../x/distribution cosmossdk.io/x/epochs => ../x/epochs cosmossdk.io/x/evidence => ../x/evidence diff --git a/tests/integration/bank/app_test.go b/tests/integration/bank/app_test.go index b4478a3e1f3d..1011c08182ac 100644 --- a/tests/integration/bank/app_test.go +++ b/tests/integration/bank/app_test.go @@ -18,7 +18,7 @@ import ( bankkeeper "cosmossdk.io/x/bank/keeper" "cosmossdk.io/x/bank/testutil" "cosmossdk.io/x/bank/types" - _ "cosmossdk.io/x/consensus" + _ "cosmossdk.io/x/comet" _ "cosmossdk.io/x/distribution" distrkeeper "cosmossdk.io/x/distribution/keeper" _ "cosmossdk.io/x/gov" diff --git a/tests/integration/bank/keeper/deterministic_test.go b/tests/integration/bank/keeper/deterministic_test.go index 3ac15f3dfd88..ec8212455db2 100644 --- a/tests/integration/bank/keeper/deterministic_test.go +++ b/tests/integration/bank/keeper/deterministic_test.go @@ -22,7 +22,7 @@ import ( "cosmossdk.io/x/bank/keeper" banktestutil "cosmossdk.io/x/bank/testutil" banktypes "cosmossdk.io/x/bank/types" - _ "cosmossdk.io/x/consensus" + _ "cosmossdk.io/x/comet" minttypes "cosmossdk.io/x/mint/types" _ "cosmossdk.io/x/staking" diff --git a/tests/integration/distribution/appconfig.go b/tests/integration/distribution/appconfig.go index a7f023f81065..34bf493f6b0c 100644 --- a/tests/integration/distribution/appconfig.go +++ b/tests/integration/distribution/appconfig.go @@ -5,7 +5,7 @@ import ( _ "cosmossdk.io/x/auth" // import as blank for app wiring _ "cosmossdk.io/x/auth/tx/config" // import as blank for app wiring _ "cosmossdk.io/x/bank" // import as blank for app wiring - _ "cosmossdk.io/x/consensus" // import as blank for app wiring + _ "cosmossdk.io/x/comet" // import as blank for app wiring _ "cosmossdk.io/x/distribution" // import as blank for app wiring _ "cosmossdk.io/x/mint" // import as blank for app wiring _ "cosmossdk.io/x/protocolpool" // import as blank for app wiring diff --git a/tests/integration/distribution/keeper/msg_server_test.go b/tests/integration/distribution/keeper/msg_server_test.go index e0bd5b0548b6..02b732df67aa 100644 --- a/tests/integration/distribution/keeper/msg_server_test.go +++ b/tests/integration/distribution/keeper/msg_server_test.go @@ -23,7 +23,7 @@ import ( "cosmossdk.io/x/bank" bankkeeper "cosmossdk.io/x/bank/keeper" banktypes "cosmossdk.io/x/bank/types" - consensustypes "cosmossdk.io/x/consensus/types" + consensustypes "cosmossdk.io/x/comet/types" "cosmossdk.io/x/distribution" distrkeeper "cosmossdk.io/x/distribution/keeper" distrtypes "cosmossdk.io/x/distribution/types" diff --git a/tests/integration/evidence/app_config.go b/tests/integration/evidence/app_config.go index def4a99d5423..bdeb278526ab 100644 --- a/tests/integration/evidence/app_config.go +++ b/tests/integration/evidence/app_config.go @@ -5,7 +5,7 @@ import ( _ "cosmossdk.io/x/auth" // import as blank for app wiring _ "cosmossdk.io/x/auth/tx/config" // import as blank for app wiring _ "cosmossdk.io/x/bank" // import as blank for app wiring - _ "cosmossdk.io/x/consensus" // import as blank for app wiring + _ "cosmossdk.io/x/comet" // import as blank for app wiring _ "cosmossdk.io/x/evidence" // import as blank for app wiring _ "cosmossdk.io/x/slashing" // import as blank for app wiring _ "cosmossdk.io/x/staking" // import as blank for app wiring diff --git a/tests/integration/evidence/keeper/infraction_test.go b/tests/integration/evidence/keeper/infraction_test.go index 62fa116ec07d..b71b60370623 100644 --- a/tests/integration/evidence/keeper/infraction_test.go +++ b/tests/integration/evidence/keeper/infraction_test.go @@ -25,7 +25,7 @@ import ( "cosmossdk.io/x/bank" bankkeeper "cosmossdk.io/x/bank/keeper" banktypes "cosmossdk.io/x/bank/types" - consensusparamtypes "cosmossdk.io/x/consensus/types" + consensusparamtypes "cosmossdk.io/x/comet/types" "cosmossdk.io/x/evidence" "cosmossdk.io/x/evidence/exported" "cosmossdk.io/x/evidence/keeper" diff --git a/tests/integration/gov/common_test.go b/tests/integration/gov/common_test.go index 746ca2bc6c3f..13756827de2e 100644 --- a/tests/integration/gov/common_test.go +++ b/tests/integration/gov/common_test.go @@ -16,7 +16,7 @@ import ( _ "cosmossdk.io/x/auth" authtypes "cosmossdk.io/x/auth/types" _ "cosmossdk.io/x/bank" - _ "cosmossdk.io/x/consensus" + _ "cosmossdk.io/x/comet" "cosmossdk.io/x/gov/types" v1 "cosmossdk.io/x/gov/types/v1" "cosmossdk.io/x/gov/types/v1beta1" diff --git a/tests/integration/gov/genesis_test.go b/tests/integration/gov/genesis_test.go index e54b3eb012a1..830bc7b59f33 100644 --- a/tests/integration/gov/genesis_test.go +++ b/tests/integration/gov/genesis_test.go @@ -20,7 +20,7 @@ import ( _ "cosmossdk.io/x/bank" bankkeeper "cosmossdk.io/x/bank/keeper" banktypes "cosmossdk.io/x/bank/types" - _ "cosmossdk.io/x/consensus" + _ "cosmossdk.io/x/comet" "cosmossdk.io/x/gov" "cosmossdk.io/x/gov/keeper" "cosmossdk.io/x/gov/types" diff --git a/tests/integration/mint/app_config.go b/tests/integration/mint/app_config.go index 5c717ff9d37a..3bc9e72d27cf 100644 --- a/tests/integration/mint/app_config.go +++ b/tests/integration/mint/app_config.go @@ -5,7 +5,7 @@ import ( _ "cosmossdk.io/x/auth" // import as blank for app wiring _ "cosmossdk.io/x/auth/tx/config" // import as blank for app wiring _ "cosmossdk.io/x/bank" // import as blank for app wiring - _ "cosmossdk.io/x/consensus" // import as blank for app wiring + _ "cosmossdk.io/x/comet" // import as blank for app wiring _ "cosmossdk.io/x/mint" // import as blank for app wiring _ "cosmossdk.io/x/staking" // import as blank for app wiring diff --git a/tests/integration/protocolpool/app_config.go b/tests/integration/protocolpool/app_config.go index 15c814073e15..975bddcc6a61 100644 --- a/tests/integration/protocolpool/app_config.go +++ b/tests/integration/protocolpool/app_config.go @@ -5,7 +5,7 @@ import ( _ "cosmossdk.io/x/auth" // import as blank for app wiring _ "cosmossdk.io/x/auth/tx/config" // import as blank for app wiring _ "cosmossdk.io/x/bank" // import as blank for app wiring - _ "cosmossdk.io/x/consensus" // import as blank for app wiring + _ "cosmossdk.io/x/comet" // import as blank for app wiring _ "cosmossdk.io/x/distribution" // import as blank for app wiring _ "cosmossdk.io/x/mint" // import as blank for app wiring _ "cosmossdk.io/x/protocolpool" // import as blank for app wiring diff --git a/tests/integration/rapidgen/rapidgen.go b/tests/integration/rapidgen/rapidgen.go index 86d3d988094a..31f069c8fc0c 100644 --- a/tests/integration/rapidgen/rapidgen.go +++ b/tests/integration/rapidgen/rapidgen.go @@ -33,7 +33,7 @@ import ( vestingtypes "cosmossdk.io/x/auth/vesting/types" authztypes "cosmossdk.io/x/authz" banktypes "cosmossdk.io/x/bank/types" - consensustypes "cosmossdk.io/x/consensus/types" + consensustypes "cosmossdk.io/x/comet/types" disttypes "cosmossdk.io/x/distribution/types" evidencetypes "cosmossdk.io/x/evidence/types" feegranttypes "cosmossdk.io/x/feegrant" diff --git a/tests/integration/runtime/query_test.go b/tests/integration/runtime/query_test.go index f06c27b3f01e..8b4c64b6abbb 100644 --- a/tests/integration/runtime/query_test.go +++ b/tests/integration/runtime/query_test.go @@ -18,7 +18,7 @@ import ( _ "cosmossdk.io/x/auth" _ "cosmossdk.io/x/auth/tx/config" _ "cosmossdk.io/x/bank" - _ "cosmossdk.io/x/consensus" + _ "cosmossdk.io/x/comet" _ "cosmossdk.io/x/staking" "github.com/cosmos/cosmos-sdk/baseapp" diff --git a/tests/integration/server/grpc/out_of_gas_test.go b/tests/integration/server/grpc/out_of_gas_test.go index 4a91d3e05201..014ef971b50c 100644 --- a/tests/integration/server/grpc/out_of_gas_test.go +++ b/tests/integration/server/grpc/out_of_gas_test.go @@ -14,7 +14,7 @@ import ( _ "cosmossdk.io/x/auth/tx/config" _ "cosmossdk.io/x/bank" banktypes "cosmossdk.io/x/bank/types" - _ "cosmossdk.io/x/consensus" + _ "cosmossdk.io/x/comet" _ "cosmossdk.io/x/staking" "github.com/cosmos/cosmos-sdk/baseapp" diff --git a/tests/integration/server/grpc/server_test.go b/tests/integration/server/grpc/server_test.go index f22793c56921..7e33a8db24bc 100644 --- a/tests/integration/server/grpc/server_test.go +++ b/tests/integration/server/grpc/server_test.go @@ -18,7 +18,7 @@ import ( _ "cosmossdk.io/x/auth/tx/config" _ "cosmossdk.io/x/bank" banktypes "cosmossdk.io/x/bank/types" - _ "cosmossdk.io/x/consensus" + _ "cosmossdk.io/x/comet" _ "cosmossdk.io/x/staking" stakingtypes "cosmossdk.io/x/staking/types" diff --git a/tests/integration/slashing/app_config.go b/tests/integration/slashing/app_config.go index 038672031f21..b8eaac2438fc 100644 --- a/tests/integration/slashing/app_config.go +++ b/tests/integration/slashing/app_config.go @@ -5,7 +5,7 @@ import ( _ "cosmossdk.io/x/auth" // import as blank for app wiring _ "cosmossdk.io/x/auth/tx/config" // import as blank for app wiring _ "cosmossdk.io/x/bank" // import as blank for app wiring - _ "cosmossdk.io/x/consensus" // import as blank for app wiring + _ "cosmossdk.io/x/comet" // import as blank for app wiring _ "cosmossdk.io/x/distribution" // import as blank for app wiring _ "cosmossdk.io/x/mint" // import as blank for app wiring _ "cosmossdk.io/x/protocolpool" // import as blank for app wiring diff --git a/tests/integration/slashing/keeper/keeper_test.go b/tests/integration/slashing/keeper/keeper_test.go index 2e925d49c4e7..91985fa02ba9 100644 --- a/tests/integration/slashing/keeper/keeper_test.go +++ b/tests/integration/slashing/keeper/keeper_test.go @@ -21,7 +21,7 @@ import ( "cosmossdk.io/x/bank" bankkeeper "cosmossdk.io/x/bank/keeper" banktypes "cosmossdk.io/x/bank/types" - consensustypes "cosmossdk.io/x/consensus/types" + consensustypes "cosmossdk.io/x/comet/types" minttypes "cosmossdk.io/x/mint/types" "cosmossdk.io/x/slashing" slashingkeeper "cosmossdk.io/x/slashing/keeper" diff --git a/tests/integration/staking/app_config.go b/tests/integration/staking/app_config.go index 7f936c4b69b7..ca40f3ac3b74 100644 --- a/tests/integration/staking/app_config.go +++ b/tests/integration/staking/app_config.go @@ -5,7 +5,7 @@ import ( _ "cosmossdk.io/x/auth" // import as blank for app wiring _ "cosmossdk.io/x/auth/tx/config" // import as blank for app wiring _ "cosmossdk.io/x/bank" // import as blank for app wiring - _ "cosmossdk.io/x/consensus" // import as blank for app wiring + _ "cosmossdk.io/x/comet" // import as blank for app wiring _ "cosmossdk.io/x/distribution" // import as blank for app wiring _ "cosmossdk.io/x/mint" // import as blank for app wiring _ "cosmossdk.io/x/protocolpool" // import as blank for app wiring diff --git a/tests/integration/staking/keeper/common_test.go b/tests/integration/staking/keeper/common_test.go index d3fc1a18cd09..3d6736d0cde1 100644 --- a/tests/integration/staking/keeper/common_test.go +++ b/tests/integration/staking/keeper/common_test.go @@ -20,7 +20,7 @@ import ( "cosmossdk.io/x/bank" bankkeeper "cosmossdk.io/x/bank/keeper" banktypes "cosmossdk.io/x/bank/types" - consensustypes "cosmossdk.io/x/consensus/types" + consensustypes "cosmossdk.io/x/comet/types" minttypes "cosmossdk.io/x/mint/types" pooltypes "cosmossdk.io/x/protocolpool/types" "cosmossdk.io/x/staking" diff --git a/tests/integration/staking/keeper/slash_test.go b/tests/integration/staking/keeper/slash_test.go index 447cd8003b14..a4c5b91b4f2f 100644 --- a/tests/integration/staking/keeper/slash_test.go +++ b/tests/integration/staking/keeper/slash_test.go @@ -17,7 +17,7 @@ import ( authkeeper "cosmossdk.io/x/auth/keeper" bankkeeper "cosmossdk.io/x/bank/keeper" banktestutil "cosmossdk.io/x/bank/testutil" - _ "cosmossdk.io/x/consensus" + _ "cosmossdk.io/x/comet" _ "cosmossdk.io/x/distribution" distributionkeeper "cosmossdk.io/x/distribution/keeper" _ "cosmossdk.io/x/protocolpool" diff --git a/tests/integration/tx/aminojson/aminojson_test.go b/tests/integration/tx/aminojson/aminojson_test.go index 3fbbc33a8eb7..1d599afce019 100644 --- a/tests/integration/tx/aminojson/aminojson_test.go +++ b/tests/integration/tx/aminojson/aminojson_test.go @@ -44,7 +44,7 @@ import ( authzmodule "cosmossdk.io/x/authz/module" "cosmossdk.io/x/bank" banktypes "cosmossdk.io/x/bank/types" - "cosmossdk.io/x/consensus" + consensus "cosmossdk.io/x/comet" "cosmossdk.io/x/distribution" disttypes "cosmossdk.io/x/distribution/types" "cosmossdk.io/x/evidence" diff --git a/tests/integration/tx/decode_test.go b/tests/integration/tx/decode_test.go index e7c6b14e66c3..a87dbb1c726e 100644 --- a/tests/integration/tx/decode_test.go +++ b/tests/integration/tx/decode_test.go @@ -17,7 +17,7 @@ import ( "cosmossdk.io/x/auth/vesting" authzmodule "cosmossdk.io/x/authz/module" "cosmossdk.io/x/bank" - "cosmossdk.io/x/consensus" + consensus "cosmossdk.io/x/comet" "cosmossdk.io/x/distribution" "cosmossdk.io/x/evidence" feegrantmodule "cosmossdk.io/x/feegrant/module" diff --git a/tests/integration/types/pagination_test.go b/tests/integration/types/pagination_test.go index 7e7c53b3dfa1..9e1429e69e52 100644 --- a/tests/integration/types/pagination_test.go +++ b/tests/integration/types/pagination_test.go @@ -19,7 +19,7 @@ import ( bankkeeper "cosmossdk.io/x/bank/keeper" "cosmossdk.io/x/bank/testutil" "cosmossdk.io/x/bank/types" - _ "cosmossdk.io/x/consensus" + _ "cosmossdk.io/x/comet" "github.com/cosmos/cosmos-sdk/baseapp" "github.com/cosmos/cosmos-sdk/codec" diff --git a/tests/sims/authz/operations_test.go b/tests/sims/authz/operations_test.go index 7e59d00a827f..05c37f159d6b 100644 --- a/tests/sims/authz/operations_test.go +++ b/tests/sims/authz/operations_test.go @@ -23,10 +23,10 @@ import ( bankkeeper "cosmossdk.io/x/bank/keeper" banktestutil "cosmossdk.io/x/bank/testutil" banktypes "cosmossdk.io/x/bank/types" - _ "cosmossdk.io/x/consensus" // import as blank for app wiring - _ "cosmossdk.io/x/gov" // import as blank for app wiring - _ "cosmossdk.io/x/mint" // import as blank for app wiring - _ "cosmossdk.io/x/staking" // import as blank for app wiring + _ "cosmossdk.io/x/comet" // import as blank for app wiring + _ "cosmossdk.io/x/gov" // import as blank for app wiring + _ "cosmossdk.io/x/mint" // import as blank for app wiring + _ "cosmossdk.io/x/staking" // import as blank for app wiring "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/codec" diff --git a/tests/sims/bank/operations_test.go b/tests/sims/bank/operations_test.go index 0243cf19dd40..f58c8edd1e39 100644 --- a/tests/sims/bank/operations_test.go +++ b/tests/sims/bank/operations_test.go @@ -17,7 +17,7 @@ import ( "cosmossdk.io/x/bank/simulation" "cosmossdk.io/x/bank/testutil" "cosmossdk.io/x/bank/types" - _ "cosmossdk.io/x/consensus" + _ "cosmossdk.io/x/comet" _ "cosmossdk.io/x/staking" "github.com/cosmos/cosmos-sdk/client" diff --git a/tests/sims/distribution/app_config.go b/tests/sims/distribution/app_config.go index 8c97052076ba..96118a522d0f 100644 --- a/tests/sims/distribution/app_config.go +++ b/tests/sims/distribution/app_config.go @@ -5,7 +5,7 @@ import ( _ "cosmossdk.io/x/auth" // import as blank for app wiring _ "cosmossdk.io/x/auth/tx/config" // import as blank for app wiring _ "cosmossdk.io/x/bank" // import as blank for app wiring - _ "cosmossdk.io/x/consensus" // import as blank for app wiring + _ "cosmossdk.io/x/comet" // import as blank for app wiring _ "cosmossdk.io/x/distribution" // import as blank for app wiring _ "cosmossdk.io/x/mint" // import as blank for app wiring _ "cosmossdk.io/x/protocolpool" // import as blank for app wiring diff --git a/tests/sims/feegrant/operations_test.go b/tests/sims/feegrant/operations_test.go index 5477287d1c96..e3eaaa2b993b 100644 --- a/tests/sims/feegrant/operations_test.go +++ b/tests/sims/feegrant/operations_test.go @@ -18,7 +18,7 @@ import ( _ "cosmossdk.io/x/bank" bankkeeper "cosmossdk.io/x/bank/keeper" banktestutil "cosmossdk.io/x/bank/testutil" - _ "cosmossdk.io/x/consensus" + _ "cosmossdk.io/x/comet" "cosmossdk.io/x/feegrant" "cosmossdk.io/x/feegrant/keeper" _ "cosmossdk.io/x/feegrant/module" diff --git a/tests/sims/gov/operations_test.go b/tests/sims/gov/operations_test.go index 93159e6f5206..398a6e69e6f7 100644 --- a/tests/sims/gov/operations_test.go +++ b/tests/sims/gov/operations_test.go @@ -21,7 +21,7 @@ import ( _ "cosmossdk.io/x/bank" bankkeeper "cosmossdk.io/x/bank/keeper" "cosmossdk.io/x/bank/testutil" - _ "cosmossdk.io/x/consensus" + _ "cosmossdk.io/x/comet" _ "cosmossdk.io/x/gov" "cosmossdk.io/x/gov/keeper" "cosmossdk.io/x/gov/simulation" diff --git a/tests/sims/nft/app_config.go b/tests/sims/nft/app_config.go index 83f60f874c0d..3ce1fc4cb5bb 100644 --- a/tests/sims/nft/app_config.go +++ b/tests/sims/nft/app_config.go @@ -5,7 +5,7 @@ import ( _ "cosmossdk.io/x/auth" // import as blank for app wiring _ "cosmossdk.io/x/auth/tx/config" // import as blank for app wiring _ "cosmossdk.io/x/bank" // import as blank for app wiring - _ "cosmossdk.io/x/consensus" // import as blank for app wiring + _ "cosmossdk.io/x/comet" // import as blank for app wiring _ "cosmossdk.io/x/mint" // import as blank for app wiring _ "cosmossdk.io/x/nft/module" // import as blank for app wiring _ "cosmossdk.io/x/staking" // import as blank for app wiring diff --git a/tests/sims/protocolpool/app_config.go b/tests/sims/protocolpool/app_config.go index e388d4102e24..a15d2e7859eb 100644 --- a/tests/sims/protocolpool/app_config.go +++ b/tests/sims/protocolpool/app_config.go @@ -5,7 +5,7 @@ import ( _ "cosmossdk.io/x/auth" // import as blank for app wiring _ "cosmossdk.io/x/auth/tx/config" // import as blank for app wiring _ "cosmossdk.io/x/bank" // import as blank for app wiring - _ "cosmossdk.io/x/consensus" // import as blank for app wiring + _ "cosmossdk.io/x/comet" // import as blank for app wiring _ "cosmossdk.io/x/distribution" // import as blank for app wiring _ "cosmossdk.io/x/mint" // import as blank for app wiring _ "cosmossdk.io/x/protocolpool" // import as blank for app wiring diff --git a/tests/sims/slashing/app_config.go b/tests/sims/slashing/app_config.go index 038672031f21..b8eaac2438fc 100644 --- a/tests/sims/slashing/app_config.go +++ b/tests/sims/slashing/app_config.go @@ -5,7 +5,7 @@ import ( _ "cosmossdk.io/x/auth" // import as blank for app wiring _ "cosmossdk.io/x/auth/tx/config" // import as blank for app wiring _ "cosmossdk.io/x/bank" // import as blank for app wiring - _ "cosmossdk.io/x/consensus" // import as blank for app wiring + _ "cosmossdk.io/x/comet" // import as blank for app wiring _ "cosmossdk.io/x/distribution" // import as blank for app wiring _ "cosmossdk.io/x/mint" // import as blank for app wiring _ "cosmossdk.io/x/protocolpool" // import as blank for app wiring diff --git a/testutil/integration/router.go b/testutil/integration/router.go index 952d371df191..8352b18e190b 100644 --- a/testutil/integration/router.go +++ b/testutil/integration/router.go @@ -17,8 +17,8 @@ import ( storetypes "cosmossdk.io/store/types" authtx "cosmossdk.io/x/auth/tx" authtypes "cosmossdk.io/x/auth/types" - consensusparamkeeper "cosmossdk.io/x/consensus/keeper" - consensusparamtypes "cosmossdk.io/x/consensus/types" + consensusparamkeeper "cosmossdk.io/x/comet/keeper" + consensusparamtypes "cosmossdk.io/x/comet/types" "github.com/cosmos/cosmos-sdk/baseapp" "github.com/cosmos/cosmos-sdk/codec" diff --git a/testutil/x/counter/types/keys.go b/testutil/x/counter/types/keys.go index a1a1cbc2fbf9..d0ca3b9b2154 100644 --- a/testutil/x/counter/types/keys.go +++ b/testutil/x/counter/types/keys.go @@ -1,7 +1,7 @@ package types const ( - // ModuleName defines the name of the x/consensus module. + // ModuleName defines the name of the counter module. ModuleName = "counter" // StoreKey defines the module's store key. diff --git a/x/README.md b/x/README.md index 8aadbbf776f2..238082c3727e 100644 --- a/x/README.md +++ b/x/README.md @@ -10,7 +10,7 @@ Here are some production-grade modules that can be used in Cosmos SDK applicatio * [Authz](./authz/README.md) - Authorization for accounts to perform actions on behalf of other accounts. * [Bank](./bank/README.md) - Token transfer functionalities. * [Circuit](./circuit/README.md) - Circuit breaker module for pausing messages. -* [Consensus](./consensus/README.md) - Consensus module for modifying CometBFT's ABCI consensus params. +* [Comet](./comet/README.md) - Comet module for modifying CometBFT's ABCI consensus params. * [Distribution](./distribution/README.md) - Fee distribution, and staking token provision distribution. * [Epochs](./epochs/README.md) - Allow other modules to set that they would like to be signaled once every period * [Evidence](./evidence/README.md) - Evidence handling for double signing, misbehaviour, etc. diff --git a/x/accounts/defaults/lockup/go.mod b/x/accounts/defaults/lockup/go.mod index 832696ea5ad7..9221eae09246 100644 --- a/x/accounts/defaults/lockup/go.mod +++ b/x/accounts/defaults/lockup/go.mod @@ -29,7 +29,7 @@ require ( cosmossdk.io/math v1.3.0 cosmossdk.io/store v1.1.1-0.20240418092142-896cdf1971bc // indirect cosmossdk.io/x/auth v0.0.0-00010101000000-000000000000 // indirect - cosmossdk.io/x/consensus v0.0.0-00010101000000-000000000000 // indirect + cosmossdk.io/x/comet v0.0.0-00010101000000-000000000000 // indirect cosmossdk.io/x/tx v0.13.3 // indirect filippo.io/edwards25519 v1.1.0 // indirect github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 // indirect @@ -164,7 +164,7 @@ replace ( cosmossdk.io/x/accounts => ../../. cosmossdk.io/x/auth => ../../../auth cosmossdk.io/x/bank => ../../../bank - cosmossdk.io/x/consensus => ../../../consensus + cosmossdk.io/x/comet => ../../../comet cosmossdk.io/x/distribution => ../../../distribution cosmossdk.io/x/gov => ../../../gov cosmossdk.io/x/mint => ../../../mint diff --git a/x/accounts/defaults/multisig/go.mod b/x/accounts/defaults/multisig/go.mod index a2a76b9448a4..2b0338b95396 100644 --- a/x/accounts/defaults/multisig/go.mod +++ b/x/accounts/defaults/multisig/go.mod @@ -26,7 +26,7 @@ require ( cosmossdk.io/schema v0.2.0 // indirect cosmossdk.io/store v1.1.1-0.20240418092142-896cdf1971bc // indirect cosmossdk.io/x/auth v0.0.0-00010101000000-000000000000 // indirect - cosmossdk.io/x/consensus v0.0.0-00010101000000-000000000000 // indirect + cosmossdk.io/x/comet v0.0.0-00010101000000-000000000000 // indirect cosmossdk.io/x/staking v0.0.0-00010101000000-000000000000 // indirect cosmossdk.io/x/tx v0.13.3 // indirect filippo.io/edwards25519 v1.1.0 // indirect @@ -183,7 +183,7 @@ replace ( cosmossdk.io/x/accounts => ../../. cosmossdk.io/x/auth => ../../../auth cosmossdk.io/x/bank => ../../../bank - cosmossdk.io/x/consensus => ../../../consensus + cosmossdk.io/x/comet => ../../../comet cosmossdk.io/x/gov => ../../../gov cosmossdk.io/x/mint => ../../../mint cosmossdk.io/x/protocolpool => ../../../protocolpool diff --git a/x/accounts/go.mod b/x/accounts/go.mod index fda9fdcba631..9fe84f113707 100644 --- a/x/accounts/go.mod +++ b/x/accounts/go.mod @@ -30,7 +30,7 @@ require ( cosmossdk.io/store v1.1.1-0.20240418092142-896cdf1971bc // indirect cosmossdk.io/x/accounts/defaults/lockup v0.0.0-20240417181816-5e7aae0db1f5 cosmossdk.io/x/auth v0.0.0-00010101000000-000000000000 // indirect - cosmossdk.io/x/consensus v0.0.0-00010101000000-000000000000 // indirect + cosmossdk.io/x/comet v0.0.0-00010101000000-000000000000 // indirect cosmossdk.io/x/distribution v0.0.0-00010101000000-000000000000 // indirect cosmossdk.io/x/staking v0.0.0-00010101000000-000000000000 // indirect filippo.io/edwards25519 v1.1.0 // indirect @@ -188,7 +188,7 @@ replace ( cosmossdk.io/x/accounts/defaults/multisig => ./defaults/multisig cosmossdk.io/x/auth => ../auth cosmossdk.io/x/bank => ../bank - cosmossdk.io/x/consensus => ../consensus + cosmossdk.io/x/comet => ../comet cosmossdk.io/x/distribution => ../distribution cosmossdk.io/x/mint => ../mint cosmossdk.io/x/slashing => ../slashing diff --git a/x/auth/ante/expected_keepers.go b/x/auth/ante/expected_keepers.go index 82fc9846a3af..84142230d11b 100644 --- a/x/auth/ante/expected_keepers.go +++ b/x/auth/ante/expected_keepers.go @@ -6,7 +6,7 @@ import ( "cosmossdk.io/core/address" "cosmossdk.io/core/appmodule" "cosmossdk.io/x/auth/types" - consensustypes "cosmossdk.io/x/consensus/types" + consensustypes "cosmossdk.io/x/comet/types" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/auth/ante/setup.go b/x/auth/ante/setup.go index e81a7cba5051..03d2e01a37e7 100644 --- a/x/auth/ante/setup.go +++ b/x/auth/ante/setup.go @@ -6,7 +6,7 @@ import ( "cosmossdk.io/core/appmodule" errorsmod "cosmossdk.io/errors" storetypes "cosmossdk.io/store/types" - consensusv1 "cosmossdk.io/x/consensus/types" + consensusv1 "cosmossdk.io/x/comet/types" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" diff --git a/x/auth/ante/testutil/expected_keepers_mocks.go b/x/auth/ante/testutil/expected_keepers_mocks.go index e848a52342cf..62eb1fe0a7db 100644 --- a/x/auth/ante/testutil/expected_keepers_mocks.go +++ b/x/auth/ante/testutil/expected_keepers_mocks.go @@ -11,7 +11,7 @@ import ( address "cosmossdk.io/core/address" appmodule "cosmossdk.io/core/appmodule" types "cosmossdk.io/x/auth/types" - types0 "cosmossdk.io/x/consensus/types" + types0 "cosmossdk.io/x/comet/types" types1 "github.com/cosmos/cosmos-sdk/types" gomock "github.com/golang/mock/gomock" ) diff --git a/x/auth/ante/testutil_test.go b/x/auth/ante/testutil_test.go index 04b8f63f8555..88366252a8cf 100644 --- a/x/auth/ante/testutil_test.go +++ b/x/auth/ante/testutil_test.go @@ -25,7 +25,7 @@ import ( authtestutil "cosmossdk.io/x/auth/testutil" txtestutil "cosmossdk.io/x/auth/tx/testutil" "cosmossdk.io/x/auth/types" - consensustypes "cosmossdk.io/x/consensus/types" + consensustypes "cosmossdk.io/x/comet/types" "github.com/cosmos/cosmos-sdk/baseapp" "github.com/cosmos/cosmos-sdk/client" diff --git a/x/auth/go.mod b/x/auth/go.mod index f500a80b5859..c21795d68415 100644 --- a/x/auth/go.mod +++ b/x/auth/go.mod @@ -11,7 +11,7 @@ require ( cosmossdk.io/errors v1.0.1 cosmossdk.io/math v1.3.0 cosmossdk.io/store v1.1.1-0.20240418092142-896cdf1971bc - cosmossdk.io/x/consensus v0.0.0-00010101000000-000000000000 + cosmossdk.io/x/comet v0.0.0-00010101000000-000000000000 cosmossdk.io/x/tx v0.13.3 github.com/cometbft/cometbft v1.0.0-rc1 github.com/cometbft/cometbft/api v1.0.0-rc.1 @@ -182,7 +182,7 @@ replace ( cosmossdk.io/store => ../../store cosmossdk.io/x/accounts => ../accounts cosmossdk.io/x/bank => ../bank - cosmossdk.io/x/consensus => ../consensus + cosmossdk.io/x/comet => ../comet cosmossdk.io/x/staking => ../staking cosmossdk.io/x/tx => ../tx ) diff --git a/x/authz/go.mod b/x/authz/go.mod index 907dcb7be672..6776a5a59cd4 100644 --- a/x/authz/go.mod +++ b/x/authz/go.mod @@ -32,7 +32,7 @@ require ( cosmossdk.io/collections v0.4.0 // indirect cosmossdk.io/core/testing v0.0.0-00010101000000-000000000000 cosmossdk.io/x/auth v0.0.0-00010101000000-000000000000 - cosmossdk.io/x/consensus v0.0.0-00010101000000-000000000000 // indirect + cosmossdk.io/x/comet v0.0.0-00010101000000-000000000000 // indirect filippo.io/edwards25519 v1.1.0 // indirect github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 // indirect github.com/99designs/keyring v1.2.2 // indirect @@ -188,7 +188,7 @@ replace ( cosmossdk.io/x/accounts => ../accounts cosmossdk.io/x/auth => ../auth cosmossdk.io/x/bank => ../bank - cosmossdk.io/x/consensus => ../consensus + cosmossdk.io/x/comet => ../comet cosmossdk.io/x/staking => ../staking cosmossdk.io/x/tx => ../tx ) diff --git a/x/bank/go.mod b/x/bank/go.mod index 93c1f634266e..fb74e38b323d 100644 --- a/x/bank/go.mod +++ b/x/bank/go.mod @@ -31,7 +31,7 @@ require ( buf.build/gen/go/cometbft/cometbft/protocolbuffers/go v1.34.2-20240701160653-fedbb9acfd2f.2 // indirect buf.build/gen/go/cosmos/gogo-proto/protocolbuffers/go v1.34.2-20240130113600-88ef6483f90f.2 // indirect cosmossdk.io/x/auth v0.0.0-00010101000000-000000000000 - cosmossdk.io/x/consensus v0.0.0-00010101000000-000000000000 // indirect + cosmossdk.io/x/comet v0.0.0-00010101000000-000000000000 // indirect cosmossdk.io/x/staking v0.0.0-00010101000000-000000000000 // indirect cosmossdk.io/x/tx v0.13.3 // indirect filippo.io/edwards25519 v1.1.0 // indirect @@ -186,7 +186,7 @@ replace ( cosmossdk.io/store => ../../store cosmossdk.io/x/accounts => ../accounts cosmossdk.io/x/auth => ../auth - cosmossdk.io/x/consensus => ../consensus + cosmossdk.io/x/comet => ../comet cosmossdk.io/x/staking => ../staking cosmossdk.io/x/tx => ../tx ) diff --git a/x/circuit/go.mod b/x/circuit/go.mod index 826b3f90d88f..0dc792f3d3b5 100644 --- a/x/circuit/go.mod +++ b/x/circuit/go.mod @@ -27,7 +27,7 @@ require ( cosmossdk.io/math v1.3.0 // indirect cosmossdk.io/schema v0.2.0 // indirect cosmossdk.io/x/bank v0.0.0-20240226161501-23359a0b6d91 // indirect - cosmossdk.io/x/consensus v0.0.0-00010101000000-000000000000 // indirect + cosmossdk.io/x/comet v0.0.0-00010101000000-000000000000 // indirect cosmossdk.io/x/staking v0.0.0-00010101000000-000000000000 // indirect cosmossdk.io/x/tx v0.13.3 // indirect filippo.io/edwards25519 v1.1.0 // indirect @@ -183,7 +183,7 @@ replace ( cosmossdk.io/x/accounts => ../accounts cosmossdk.io/x/auth => ../auth cosmossdk.io/x/bank => ../bank - cosmossdk.io/x/consensus => ../consensus + cosmossdk.io/x/comet => ../comet cosmossdk.io/x/staking => ../staking cosmossdk.io/x/tx => ../tx ) diff --git a/x/consensus/CHANGELOG.md b/x/comet/CHANGELOG.md similarity index 72% rename from x/consensus/CHANGELOG.md rename to x/comet/CHANGELOG.md index 74694f4a7b0d..8fd7dfbb401a 100644 --- a/x/consensus/CHANGELOG.md +++ b/x/comet/CHANGELOG.md @@ -33,11 +33,11 @@ Ref: https://keepachangelog.com/en/1.0.0/ ### Features -* (x/consensus) [#19483](https://github.com/cosmos/cosmos-sdk/pull/19483) Add consensus messages registration to consensus module. +* [#19483](https://github.com/cosmos/cosmos-sdk/pull/19483) Add consensus messages registration to consensus module. * [#20615](https://github.com/cosmos/cosmos-sdk/pull/20615) Add consensus messages to add cometinfo to consensus modules ### API Breaking Changes -* (x/consensus) [#19488](https://github.com/cosmos/cosmos-sdk/pull/19488) Consensus module creation takes `appmodule.Environment` instead of individual services. -* (x/consensus) [#18041](https://github.com/cosmos/cosmos-sdk/pull/18041) `ToProtoConsensusParams()` returns an error +* [#19488](https://github.com/cosmos/cosmos-sdk/pull/19488) Consensus module creation takes `appmodule.Environment` instead of individual services. +* [#18041](https://github.com/cosmos/cosmos-sdk/pull/18041) `ToProtoConsensusParams()` returns an error diff --git a/x/consensus/README.md b/x/comet/README.md similarity index 71% rename from x/consensus/README.md rename to x/comet/README.md index 2af97a6a32db..6bc32ccd3afc 100644 --- a/x/consensus/README.md +++ b/x/comet/README.md @@ -2,7 +2,7 @@ sidebar_position: 1 --- -# `x/consensus` +# `x/comet` ## Abstract @@ -21,7 +21,7 @@ Functionality to modify CometBFT's ABCI consensus params. ## State -The `x/consensus` module keeps state of the consensus params from cometbft.: +The `x/comet` module keeps state of the consensus params from cometbft.: ## Params @@ -31,12 +31,12 @@ it can be updated with governance or the address with authority. * Params: `0x05 | ProtocolBuffer(cometbft.ConsensusParams)` ```protobuf reference -https://github.com/cosmos/cosmos-sdk/blob/release/v0.52.x/x/consensus/proto/cosmos/consensus/v1/consensus.proto#L9-L15 +https://github.com/cosmos/cosmos-sdk/blob/release/v0.52.x/x/comet/proto/cosmos/consensus/v1/consensus.proto#L9-L15 ``` ## Keepers -The consensus module provides methods to Set and Get consensus params. It is recommended to use the `x/consensus` module keeper to get consensus params instead of accessing them through the context. +The consensus module provides methods to Set and Get consensus params. It is recommended to use the `x/comet` module keeper to get consensus params instead of accessing them through the context. ## Messages @@ -45,7 +45,7 @@ The consensus module provides methods to Set and Get consensus params. It is rec Update consensus params. ```protobuf reference -https://github.com/cosmos/cosmos-sdk/blob/release/v0.52.x/x/consensus/proto/cosmos/consensus/v1/tx.proto#L23-L44 +https://github.com/cosmos/cosmos-sdk/blob/release/v0.52.x/x/comet/proto/cosmos/consensus/v1/tx.proto#L23-L44 ``` The message will fail under the following conditions: diff --git a/x/consensus/autocli.go b/x/comet/autocli.go similarity index 100% rename from x/consensus/autocli.go rename to x/comet/autocli.go diff --git a/x/consensus/depinject.go b/x/comet/depinject.go similarity index 97% rename from x/consensus/depinject.go rename to x/comet/depinject.go index 127144d91a51..d54228764fd5 100644 --- a/x/consensus/depinject.go +++ b/x/comet/depinject.go @@ -6,7 +6,7 @@ import ( "cosmossdk.io/core/appmodule" "cosmossdk.io/depinject" "cosmossdk.io/depinject/appconfig" - "cosmossdk.io/x/consensus/keeper" + "cosmossdk.io/x/comet/keeper" "github.com/cosmos/cosmos-sdk/baseapp" "github.com/cosmos/cosmos-sdk/codec" diff --git a/x/consensus/exported/exported.go b/x/comet/exported/exported.go similarity index 100% rename from x/consensus/exported/exported.go rename to x/comet/exported/exported.go diff --git a/x/consensus/go.mod b/x/comet/go.mod similarity index 99% rename from x/consensus/go.mod rename to x/comet/go.mod index f76154c5c2f2..b4d8ad36deb0 100644 --- a/x/consensus/go.mod +++ b/x/comet/go.mod @@ -1,4 +1,4 @@ -module cosmossdk.io/x/consensus +module cosmossdk.io/x/comet go 1.23 diff --git a/x/consensus/go.sum b/x/comet/go.sum similarity index 100% rename from x/consensus/go.sum rename to x/comet/go.sum diff --git a/x/consensus/keeper/keeper.go b/x/comet/keeper/keeper.go similarity index 98% rename from x/consensus/keeper/keeper.go rename to x/comet/keeper/keeper.go index 77de268293d7..dea9eb6db002 100644 --- a/x/consensus/keeper/keeper.go +++ b/x/comet/keeper/keeper.go @@ -14,8 +14,8 @@ import ( "cosmossdk.io/core/appmodule" corecontext "cosmossdk.io/core/context" "cosmossdk.io/core/event" - "cosmossdk.io/x/consensus/exported" - "cosmossdk.io/x/consensus/types" + "cosmossdk.io/x/comet/exported" + "cosmossdk.io/x/comet/types" "github.com/cosmos/cosmos-sdk/codec" ) diff --git a/x/consensus/keeper/keeper_test.go b/x/comet/keeper/keeper_test.go similarity index 99% rename from x/consensus/keeper/keeper_test.go rename to x/comet/keeper/keeper_test.go index 1fb534674ba4..59752cd3421a 100644 --- a/x/consensus/keeper/keeper_test.go +++ b/x/comet/keeper/keeper_test.go @@ -12,8 +12,8 @@ import ( "cosmossdk.io/core/header" coretesting "cosmossdk.io/core/testing" storetypes "cosmossdk.io/store/types" - consensusparamkeeper "cosmossdk.io/x/consensus/keeper" - "cosmossdk.io/x/consensus/types" + consensusparamkeeper "cosmossdk.io/x/comet/keeper" + "cosmossdk.io/x/comet/types" "github.com/cosmos/cosmos-sdk/baseapp" codectestutil "github.com/cosmos/cosmos-sdk/codec/testutil" diff --git a/x/consensus/module.go b/x/comet/module.go similarity index 95% rename from x/consensus/module.go rename to x/comet/module.go index 72c04496addc..340fd096b195 100644 --- a/x/consensus/module.go +++ b/x/comet/module.go @@ -10,15 +10,15 @@ import ( "cosmossdk.io/core/appmodule" "cosmossdk.io/core/legacy" "cosmossdk.io/core/registry" - "cosmossdk.io/x/consensus/keeper" - "cosmossdk.io/x/consensus/types" + "cosmossdk.io/x/comet/keeper" + "cosmossdk.io/x/comet/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/codec" "github.com/cosmos/cosmos-sdk/types/module" ) -// ConsensusVersion defines the current x/consensus module consensus version. +// ConsensusVersion defines the current x/comet module consensus version. const ConsensusVersion = 1 var ( diff --git a/x/consensus/proto/buf.gen.gogo.yaml b/x/comet/proto/buf.gen.gogo.yaml similarity index 100% rename from x/consensus/proto/buf.gen.gogo.yaml rename to x/comet/proto/buf.gen.gogo.yaml diff --git a/x/consensus/proto/buf.gen.pulsar.yaml b/x/comet/proto/buf.gen.pulsar.yaml similarity index 100% rename from x/consensus/proto/buf.gen.pulsar.yaml rename to x/comet/proto/buf.gen.pulsar.yaml diff --git a/x/consensus/proto/buf.lock b/x/comet/proto/buf.lock similarity index 100% rename from x/consensus/proto/buf.lock rename to x/comet/proto/buf.lock diff --git a/x/consensus/proto/buf.yaml b/x/comet/proto/buf.yaml similarity index 100% rename from x/consensus/proto/buf.yaml rename to x/comet/proto/buf.yaml diff --git a/x/consensus/proto/cosmos/consensus/module/v1/module.proto b/x/comet/proto/cosmos/consensus/module/v1/module.proto similarity index 89% rename from x/consensus/proto/cosmos/consensus/module/v1/module.proto rename to x/comet/proto/cosmos/consensus/module/v1/module.proto index c525c6f4fa26..1a6f8fa9fa52 100644 --- a/x/consensus/proto/cosmos/consensus/module/v1/module.proto +++ b/x/comet/proto/cosmos/consensus/module/v1/module.proto @@ -7,7 +7,7 @@ import "cosmos/app/v1alpha1/module.proto"; // Module is the config object of the consensus module. message Module { option (cosmos.app.v1alpha1.module) = { - go_import: "cosmossdk.io/x/consensus" + go_import: "cosmossdk.io/x/comet" }; // authority defines the custom module authority. If not set, defaults to the governance module. diff --git a/x/consensus/proto/cosmos/consensus/v1/consensus.proto b/x/comet/proto/cosmos/consensus/v1/consensus.proto similarity index 74% rename from x/consensus/proto/cosmos/consensus/v1/consensus.proto rename to x/comet/proto/cosmos/consensus/v1/consensus.proto index b45f0c1d4eee..bf559c7d0bbc 100644 --- a/x/consensus/proto/cosmos/consensus/v1/consensus.proto +++ b/x/comet/proto/cosmos/consensus/v1/consensus.proto @@ -4,9 +4,9 @@ package cosmos.consensus.v1; import "cometbft/abci/v1/types.proto"; -option go_package = "cosmossdk.io/x/consensus/types"; +option go_package = "cosmossdk.io/x/comet/types"; -// CometInfo defines the structure of the x/consensus module's comet info. +// CometInfo defines the structure of the x/comet module's comet info. message CometInfo { repeated cometbft.abci.v1.Misbehavior evidence = 1; bytes validators_hash = 2; diff --git a/x/consensus/proto/cosmos/consensus/v1/query.proto b/x/comet/proto/cosmos/consensus/v1/query.proto similarity index 72% rename from x/consensus/proto/cosmos/consensus/v1/query.proto rename to x/comet/proto/cosmos/consensus/v1/query.proto index 9a84c1909766..eb5b9fe052a6 100644 --- a/x/consensus/proto/cosmos/consensus/v1/query.proto +++ b/x/comet/proto/cosmos/consensus/v1/query.proto @@ -5,20 +5,23 @@ package cosmos.consensus.v1; import "google/api/annotations.proto"; import "cometbft/types/v1/params.proto"; -option go_package = "cosmossdk.io/x/consensus/types"; +option go_package = "cosmossdk.io/x/comet/types"; // Query defines the gRPC querier service. service Query { - // Params queries the parameters of x/consensus module. + // Params queries the parameters of x/comet module. rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { - option (google.api.http).get = "/cosmos/consensus/v1/params"; + option (google.api.http) = { + get: "/cosmos/consensus/v1/params" + additional_bindings {get: "/cosmos/comet/v1/params"} + }; } } -// QueryParamsRequest defines the request type for querying x/consensus parameters. +// QueryParamsRequest defines the request type for querying x/comet parameters. message QueryParamsRequest {} -// QueryParamsResponse defines the response type for querying x/consensus parameters. +// QueryParamsResponse defines the response type for querying x/comet parameters. message QueryParamsResponse { // params are the tendermint consensus params stored in the consensus module. // Please note that `params.version` is not populated in this response, it is diff --git a/x/consensus/proto/cosmos/consensus/v1/tx.proto b/x/comet/proto/cosmos/consensus/v1/tx.proto similarity index 92% rename from x/consensus/proto/cosmos/consensus/v1/tx.proto rename to x/comet/proto/cosmos/consensus/v1/tx.proto index d0cdde493a9c..b0c8719d7bac 100644 --- a/x/consensus/proto/cosmos/consensus/v1/tx.proto +++ b/x/comet/proto/cosmos/consensus/v1/tx.proto @@ -7,13 +7,13 @@ import "cosmos_proto/cosmos.proto"; import "cosmos/msg/v1/msg.proto"; import "cometbft/types/v1/params.proto"; -option go_package = "cosmossdk.io/x/consensus/types"; +option go_package = "cosmossdk.io/x/comet/types"; // Msg defines the consensus Msg service. service Msg { option (cosmos.msg.v1.service) = true; - // UpdateParams defines a governance operation for updating the x/consensus module parameters. + // UpdateParams defines a governance operation for updating the x/comet module parameters. // The authority is defined in the keeper. rpc UpdateParams(MsgUpdateParams) returns (MsgUpdateParamsResponse) { option (cosmos_proto.method_added_in) = "cosmos-sdk 0.47"; @@ -28,7 +28,7 @@ message MsgUpdateParams { // authority is the address that controls the module (defaults to x/gov unless overwritten). string authority = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - // params defines the x/consensus parameters to update. + // params defines the x/comet parameters to update. // VersionsParams is not included in this Msg because it is tracked // separarately in x/upgrade. // diff --git a/x/consensus/sonar-project.properties b/x/comet/sonar-project.properties similarity index 91% rename from x/consensus/sonar-project.properties rename to x/comet/sonar-project.properties index b8d483967e9a..1567fb8e1379 100644 --- a/x/consensus/sonar-project.properties +++ b/x/comet/sonar-project.properties @@ -1,7 +1,7 @@ sonar.projectKey=cosmos-sdk-x-consensus sonar.organization=cosmos -sonar.projectName=Cosmos SDK - x/consensus +sonar.projectName=Cosmos SDK - x/comet sonar.project.monorepo.enabled=true sonar.sources=. diff --git a/x/consensus/types/codec.go b/x/comet/types/codec.go similarity index 89% rename from x/consensus/types/codec.go rename to x/comet/types/codec.go index e814aedef617..c5e28e1dec25 100644 --- a/x/consensus/types/codec.go +++ b/x/comet/types/codec.go @@ -19,7 +19,7 @@ func RegisterInterfaces(registrar registry.InterfaceRegistrar) { msgservice.RegisterMsgServiceDesc(registrar, &_Msg_serviceDesc) } -// RegisterLegacyAminoCodec registers the necessary x/consensus interfaces and concrete types +// RegisterLegacyAminoCodec registers the necessary x/comet interfaces and concrete types // on the provided LegacyAmino codec. These types are used for Amino JSON serialization. func RegisterLegacyAminoCodec(cdc corelegacy.Amino) { legacy.RegisterAminoMsg(cdc, &MsgUpdateParams{}, "cosmos-sdk/x/consensus/MsgUpdateParams") diff --git a/x/consensus/types/consensus.pb.go b/x/comet/types/consensus.pb.go similarity index 86% rename from x/consensus/types/consensus.pb.go rename to x/comet/types/consensus.pb.go index 0029ca982928..88e897979c46 100644 --- a/x/consensus/types/consensus.pb.go +++ b/x/comet/types/consensus.pb.go @@ -23,7 +23,7 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package -// CometInfo defines the structure of the x/consensus module's comet info. +// CometInfo defines the structure of the x/comet module's comet info. type CometInfo struct { Evidence []*v1.Misbehavior `protobuf:"bytes,1,rep,name=evidence,proto3" json:"evidence,omitempty"` ValidatorsHash []byte `protobuf:"bytes,2,opt,name=validators_hash,json=validatorsHash,proto3" json:"validators_hash,omitempty"` @@ -101,25 +101,25 @@ func init() { } var fileDescriptor_7ed86dd7d42fb61b = []byte{ - // 285 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x90, 0xb1, 0x4e, 0xf3, 0x30, - 0x14, 0x85, 0xeb, 0xbf, 0xbf, 0x10, 0xb8, 0x88, 0xa2, 0xb0, 0x44, 0xa8, 0x58, 0x15, 0x0c, 0x94, - 0xc5, 0x51, 0xca, 0x02, 0x03, 0x03, 0x74, 0x81, 0x81, 0x25, 0x23, 0x4b, 0xe4, 0x38, 0xae, 0x62, - 0xd1, 0xe4, 0x46, 0xbe, 0xc6, 0x82, 0xb7, 0xe0, 0xb1, 0x18, 0x3b, 0xc2, 0x86, 0x92, 0x17, 0x41, - 0x49, 0x28, 0x41, 0x62, 0x3c, 0xc7, 0xe7, 0x93, 0x7c, 0x3f, 0x7a, 0x22, 0x01, 0x73, 0xc0, 0x40, - 0x42, 0x81, 0xaa, 0xc0, 0x27, 0x0c, 0x5c, 0xd8, 0x07, 0x5e, 0x1a, 0xb0, 0xe0, 0x1d, 0x74, 0x23, - 0xde, 0xf7, 0x2e, 0x3c, 0x9c, 0x48, 0xc8, 0x95, 0x4d, 0x96, 0x36, 0x10, 0x89, 0xd4, 0x0d, 0x66, - 0x5f, 0x4a, 0xf5, 0x8d, 0x1c, 0x7f, 0x10, 0xba, 0xb3, 0x68, 0x06, 0x77, 0xc5, 0x12, 0xbc, 0x4b, - 0xba, 0xad, 0x9c, 0x4e, 0x55, 0x21, 0x95, 0x4f, 0xa6, 0xc3, 0xd9, 0x68, 0x7e, 0xc4, 0x37, 0x38, - 0x6f, 0x70, 0xee, 0x42, 0x7e, 0xaf, 0x31, 0x51, 0x99, 0x70, 0x1a, 0x4c, 0xf4, 0x33, 0xf7, 0x4e, - 0xe9, 0xd8, 0x89, 0x95, 0x4e, 0x85, 0x05, 0x83, 0x71, 0x26, 0x30, 0xf3, 0xff, 0x4d, 0xc9, 0x6c, - 0x37, 0xda, 0xeb, 0xeb, 0x5b, 0x81, 0x99, 0x77, 0x46, 0xf7, 0x4b, 0x03, 0x25, 0xa0, 0x32, 0xb1, - 0x48, 0x53, 0xa3, 0x10, 0xfd, 0x61, 0xbb, 0x1c, 0x6f, 0xfa, 0xeb, 0xae, 0xf6, 0xae, 0xe8, 0x68, - 0x25, 0xd0, 0xc6, 0x12, 0xf2, 0x5c, 0x5b, 0xff, 0xff, 0x94, 0xcc, 0x46, 0xf3, 0xc9, 0xdf, 0x1f, - 0x2d, 0xda, 0xf7, 0xe6, 0x82, 0x88, 0x36, 0x40, 0x97, 0x6f, 0x2e, 0xde, 0x2a, 0x46, 0xd6, 0x15, - 0x23, 0x9f, 0x15, 0x23, 0xaf, 0x35, 0x1b, 0xac, 0x6b, 0x36, 0x78, 0xaf, 0xd9, 0xe0, 0x81, 0x75, - 0xa2, 0x30, 0x7d, 0xe4, 0x1a, 0x82, 0xe7, 0x5f, 0x56, 0x5b, 0x37, 0xc9, 0x56, 0x2b, 0xe7, 0xfc, - 0x2b, 0x00, 0x00, 0xff, 0xff, 0x7c, 0x63, 0x02, 0x4f, 0x76, 0x01, 0x00, 0x00, + // 286 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x90, 0xb1, 0x4e, 0xeb, 0x30, + 0x18, 0x85, 0xeb, 0xdb, 0x2b, 0x04, 0x2e, 0xa2, 0x28, 0x2c, 0x51, 0x55, 0xac, 0x0a, 0x06, 0xca, + 0xe2, 0x28, 0x85, 0x85, 0x81, 0x01, 0xba, 0xc0, 0xc0, 0x92, 0x91, 0x25, 0x72, 0x1c, 0x57, 0xb1, + 0x68, 0xf2, 0x47, 0xfe, 0x8d, 0x05, 0x6f, 0xc1, 0x63, 0x31, 0x76, 0x84, 0x0d, 0x25, 0x2f, 0x82, + 0x92, 0x50, 0x32, 0x30, 0x9e, 0xe3, 0xef, 0xb3, 0xec, 0x43, 0x4f, 0x25, 0x60, 0x0e, 0x18, 0x48, + 0x28, 0x50, 0x15, 0xf8, 0x8c, 0x81, 0x0b, 0xfb, 0xc0, 0x4b, 0x03, 0x16, 0xbc, 0xa3, 0x0e, 0xe2, + 0x7d, 0xef, 0xc2, 0xc9, 0x54, 0x42, 0xae, 0x6c, 0xb2, 0xb2, 0x81, 0x48, 0xa4, 0x6e, 0x34, 0xfb, + 0x5a, 0xaa, 0x1f, 0xe5, 0xe4, 0x93, 0xd0, 0xbd, 0x65, 0x03, 0xdc, 0x17, 0x2b, 0xf0, 0xae, 0xe8, + 0xae, 0x72, 0x3a, 0x55, 0x85, 0x54, 0x3e, 0x99, 0x0d, 0xe7, 0xa3, 0xc5, 0x31, 0xdf, 0xea, 0xbc, + 0xd1, 0xb9, 0x0b, 0xf9, 0x83, 0xc6, 0x44, 0x65, 0xc2, 0x69, 0x30, 0xd1, 0x2f, 0xee, 0x9d, 0xd1, + 0xb1, 0x13, 0x6b, 0x9d, 0x0a, 0x0b, 0x06, 0xe3, 0x4c, 0x60, 0xe6, 0xff, 0x9b, 0x91, 0xf9, 0x7e, + 0x74, 0xd0, 0xd7, 0x77, 0x02, 0x33, 0xef, 0x9c, 0x1e, 0x96, 0x06, 0x4a, 0x40, 0x65, 0x62, 0x91, + 0xa6, 0x46, 0x21, 0xfa, 0xc3, 0x96, 0x1c, 0x6f, 0xfb, 0x9b, 0xae, 0xf6, 0xae, 0xe9, 0x68, 0x2d, + 0xd0, 0xc6, 0x12, 0xf2, 0x5c, 0x5b, 0xff, 0xff, 0x8c, 0xcc, 0x47, 0x8b, 0xe9, 0xdf, 0x17, 0x2d, + 0xdb, 0xf3, 0xe6, 0x07, 0x11, 0x6d, 0x84, 0x2e, 0xdf, 0x5e, 0xbe, 0x57, 0x8c, 0x6c, 0x2a, 0x46, + 0xbe, 0x2a, 0x46, 0xde, 0x6a, 0x36, 0xd8, 0xd4, 0x6c, 0xf0, 0x51, 0xb3, 0xc1, 0xe3, 0xa4, 0x1b, + 0x0a, 0xd3, 0x27, 0xae, 0x21, 0x78, 0x09, 0xda, 0x1b, 0xbb, 0x5d, 0x92, 0x9d, 0x76, 0x98, 0x8b, + 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0x01, 0x43, 0x65, 0x72, 0x72, 0x01, 0x00, 0x00, } func (m *CometInfo) Marshal() (dAtA []byte, err error) { diff --git a/x/consensus/types/keys.go b/x/comet/types/keys.go similarity index 67% rename from x/consensus/types/keys.go rename to x/comet/types/keys.go index 2bdad4c21dd4..05a273542d32 100644 --- a/x/consensus/types/keys.go +++ b/x/comet/types/keys.go @@ -1,7 +1,7 @@ package types const ( - // ModuleName defines the name of the x/consensus module. + // ModuleName defines the name of the x/comet module. ModuleName = "consensus" // StoreKey defines the module's store key. diff --git a/x/consensus/types/msgs.go b/x/comet/types/msgs.go similarity index 100% rename from x/consensus/types/msgs.go rename to x/comet/types/msgs.go diff --git a/x/consensus/types/query.pb.go b/x/comet/types/query.pb.go similarity index 93% rename from x/consensus/types/query.pb.go rename to x/comet/types/query.pb.go index 8c344063a082..c30bf6501ca1 100644 --- a/x/consensus/types/query.pb.go +++ b/x/comet/types/query.pb.go @@ -29,7 +29,7 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package -// QueryParamsRequest defines the request type for querying x/consensus parameters. +// QueryParamsRequest defines the request type for querying x/comet parameters. type QueryParamsRequest struct { } @@ -66,7 +66,7 @@ func (m *QueryParamsRequest) XXX_DiscardUnknown() { var xxx_messageInfo_QueryParamsRequest proto.InternalMessageInfo -// QueryParamsResponse defines the response type for querying x/consensus parameters. +// QueryParamsResponse defines the response type for querying x/comet parameters. type QueryParamsResponse struct { // params are the tendermint consensus params stored in the consensus module. // Please note that `params.version` is not populated in this response, it is @@ -122,7 +122,7 @@ func init() { func init() { proto.RegisterFile("cosmos/consensus/v1/query.proto", fileDescriptor_bf54d1e5df04cee9) } var fileDescriptor_bf54d1e5df04cee9 = []byte{ - // 271 bytes of a gzipped FileDescriptorProto + // 283 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4f, 0xce, 0x2f, 0xce, 0xcd, 0x2f, 0xd6, 0x4f, 0xce, 0xcf, 0x2b, 0x4e, 0xcd, 0x2b, 0x2e, 0x2d, 0xd6, 0x2f, 0x33, 0xd4, 0x2f, 0x2c, 0x4d, 0x2d, 0xaa, 0xd4, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x86, 0x28, 0xd0, @@ -133,13 +133,14 @@ var fileDescriptor_bf54d1e5df04cee9 = []byte{ 0x16, 0x0c, 0x4a, 0x2d, 0x2c, 0x4d, 0x2d, 0x2e, 0x51, 0x0a, 0xe4, 0x12, 0x46, 0x11, 0x2d, 0x2e, 0x00, 0xd9, 0x28, 0x64, 0xc5, 0xc5, 0x06, 0xd1, 0x2c, 0xc1, 0xa8, 0xc0, 0xa8, 0xc1, 0x6d, 0xa4, 0xa4, 0x07, 0x33, 0x5d, 0x0f, 0x6c, 0xba, 0x5e, 0x99, 0xa1, 0x9e, 0x33, 0xcc, 0x6d, 0x50, 0xbd, - 0x50, 0x1d, 0x46, 0x5d, 0x8c, 0x5c, 0xac, 0x60, 0x33, 0x85, 0x1a, 0x18, 0xb9, 0xd8, 0x20, 0x92, - 0x42, 0xea, 0x7a, 0x58, 0x7c, 0xa4, 0x87, 0xe9, 0x20, 0x29, 0x0d, 0xc2, 0x0a, 0x21, 0x6e, 0x54, - 0x52, 0x6e, 0xba, 0xfc, 0x64, 0x32, 0x93, 0xac, 0x90, 0xb4, 0x3e, 0xb6, 0xd0, 0x84, 0x38, 0xc6, - 0xc9, 0xe2, 0xc4, 0x23, 0x39, 0xc6, 0x0b, 0x8f, 0xe4, 0x18, 0x1f, 0x3c, 0x92, 0x63, 0x9c, 0xf0, - 0x58, 0x8e, 0xe1, 0xc2, 0x63, 0x39, 0x86, 0x1b, 0x8f, 0xe5, 0x18, 0xa2, 0xe4, 0x20, 0xba, 0x8a, - 0x53, 0xb2, 0xf5, 0x32, 0xf3, 0xf5, 0x2b, 0x90, 0x74, 0x83, 0x7d, 0x98, 0xc4, 0x06, 0x0e, 0x36, - 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x63, 0xcb, 0xf0, 0x2b, 0xac, 0x01, 0x00, 0x00, + 0x50, 0x1d, 0x46, 0x4b, 0x19, 0xb9, 0x58, 0xc1, 0x66, 0x0a, 0xcd, 0x66, 0xe4, 0x62, 0x83, 0x48, + 0x0a, 0xa9, 0xeb, 0x61, 0xf1, 0x91, 0x1e, 0xa6, 0x83, 0xa4, 0x34, 0x08, 0x2b, 0x84, 0xb8, 0x51, + 0xc9, 0xae, 0xe9, 0xf2, 0x93, 0xc9, 0x4c, 0x16, 0x51, 0x92, 0x42, 0xe2, 0xfa, 0xf0, 0xf0, 0xcc, + 0x4d, 0x2d, 0x41, 0xf8, 0x5c, 0x48, 0x5a, 0x1f, 0x5b, 0x40, 0x43, 0x24, 0x9d, 0x4c, 0x4e, 0x3c, + 0x92, 0x63, 0xbc, 0xf0, 0x48, 0x8e, 0xf1, 0xc1, 0x23, 0x39, 0xc6, 0x09, 0x8f, 0xe5, 0x18, 0x2e, + 0x3c, 0x96, 0x63, 0xb8, 0xf1, 0x58, 0x8e, 0x21, 0x4a, 0x0a, 0xa2, 0xab, 0x38, 0x25, 0x5b, 0x2f, + 0x33, 0x5f, 0xbf, 0x02, 0x6a, 0x2c, 0xd8, 0xe3, 0x49, 0x6c, 0xe0, 0xd0, 0x34, 0x06, 0x04, 0x00, + 0x00, 0xff, 0xff, 0xc1, 0xa6, 0x81, 0xb7, 0xc3, 0x01, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -154,7 +155,7 @@ const _ = grpc.SupportPackageIsVersion4 // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type QueryClient interface { - // Params queries the parameters of x/consensus module. + // Params queries the parameters of x/comet module. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) } @@ -177,7 +178,7 @@ func (c *queryClient) Params(ctx context.Context, in *QueryParamsRequest, opts . // QueryServer is the server API for Query service. type QueryServer interface { - // Params queries the parameters of x/consensus module. + // Params queries the parameters of x/comet module. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) } diff --git a/x/consensus/types/query.pb.gw.go b/x/comet/types/query.pb.gw.go similarity index 67% rename from x/consensus/types/query.pb.gw.go rename to x/comet/types/query.pb.gw.go index c2bd4deb378f..95e0070f6dcf 100644 --- a/x/consensus/types/query.pb.gw.go +++ b/x/comet/types/query.pb.gw.go @@ -51,6 +51,24 @@ func local_request_Query_Params_0(ctx context.Context, marshaler runtime.Marshal } +func request_Query_Params_1(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryParamsRequest + var metadata runtime.ServerMetadata + + msg, err := client.Params(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_Query_Params_1(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryParamsRequest + var metadata runtime.ServerMetadata + + msg, err := server.Params(ctx, &protoReq) + return msg, metadata, err + +} + // RegisterQueryHandlerServer registers the http handlers for service Query to "mux". // UnaryRPC :call QueryServer directly. // StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. @@ -80,6 +98,29 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv }) + mux.Handle("GET", pattern_Query_Params_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_Query_Params_1(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_Params_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + return nil } @@ -141,13 +182,37 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie }) + mux.Handle("GET", pattern_Query_Params_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Query_Params_1(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_Params_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + return nil } var ( pattern_Query_Params_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"cosmos", "consensus", "v1", "params"}, "", runtime.AssumeColonVerbOpt(false))) + + pattern_Query_Params_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"cosmos", "comet", "v1", "params"}, "", runtime.AssumeColonVerbOpt(false))) ) var ( forward_Query_Params_0 = runtime.ForwardResponseMessage + + forward_Query_Params_1 = runtime.ForwardResponseMessage ) diff --git a/x/consensus/types/tx.pb.go b/x/comet/types/tx.pb.go similarity index 87% rename from x/consensus/types/tx.pb.go rename to x/comet/types/tx.pb.go index ee6f9cab31a0..9be1d1acba47 100644 --- a/x/consensus/types/tx.pb.go +++ b/x/comet/types/tx.pb.go @@ -35,7 +35,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package type MsgUpdateParams struct { // authority is the address that controls the module (defaults to x/gov unless overwritten). Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` - // params defines the x/consensus parameters to update. + // params defines the x/comet parameters to update. // VersionsParams is not included in this Msg because it is tracked // separarately in x/upgrade. // @@ -177,38 +177,39 @@ func init() { func init() { proto.RegisterFile("cosmos/consensus/v1/tx.proto", fileDescriptor_2135c60575ab504d) } var fileDescriptor_2135c60575ab504d = []byte{ - // 496 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0x4f, 0x8b, 0xd3, 0x40, - 0x18, 0xc6, 0x1b, 0xb7, 0xdd, 0xb5, 0xa3, 0xb0, 0x98, 0x2a, 0x3b, 0x5b, 0x74, 0xa8, 0x45, 0x64, - 0x29, 0x76, 0xb2, 0xad, 0xeb, 0x5f, 0x10, 0xdc, 0x88, 0xa2, 0x87, 0x45, 0xc9, 0xb2, 0x1e, 0xbc, - 0xc8, 0x34, 0x99, 0xcd, 0x86, 0x6e, 0x32, 0x21, 0x33, 0x8d, 0xdb, 0x9b, 0x08, 0x5e, 0x3c, 0xf9, - 0x45, 0x84, 0x1e, 0xf6, 0x43, 0x88, 0xa7, 0xc5, 0x93, 0x78, 0x92, 0xf6, 0xd0, 0xaf, 0x21, 0x9d, - 0x99, 0x6c, 0x6c, 0x8d, 0xb2, 0x97, 0x40, 0xf2, 0x3c, 0xbf, 0xe7, 0xc9, 0xbc, 0x79, 0x03, 0xae, - 0xba, 0x8c, 0x87, 0x8c, 0x5b, 0x2e, 0x8b, 0x38, 0x8d, 0xf8, 0x80, 0x5b, 0x69, 0xc7, 0x12, 0x47, - 0x38, 0x4e, 0x98, 0x60, 0x66, 0x4d, 0xa9, 0xf8, 0x54, 0xc5, 0x69, 0xa7, 0x7e, 0x89, 0x84, 0x41, - 0xc4, 0x2c, 0x79, 0x55, 0xbe, 0xfa, 0xba, 0xf2, 0xbd, 0x95, 0x77, 0x96, 0x86, 0x94, 0xb4, 0xa6, - 0x0b, 0x42, 0xee, 0xcf, 0xa2, 0x43, 0xee, 0x6b, 0x01, 0xb9, 0x2c, 0xa4, 0xa2, 0xb7, 0x2f, 0x2c, - 0x31, 0x8c, 0xa9, 0xec, 0x8d, 0x49, 0x42, 0x42, 0x0d, 0x36, 0xbf, 0x94, 0xc1, 0xea, 0x0e, 0xf7, - 0xf7, 0x62, 0x8f, 0x08, 0xfa, 0x4a, 0x2a, 0xe6, 0x5d, 0x50, 0x25, 0x03, 0x71, 0xc0, 0x92, 0x40, - 0x0c, 0xa1, 0xd1, 0x30, 0x36, 0xaa, 0x36, 0xfc, 0x7e, 0xdc, 0xbe, 0xac, 0x1b, 0xb7, 0x3d, 0x2f, - 0xa1, 0x9c, 0xef, 0x8a, 0x24, 0x88, 0x7c, 0x27, 0xb7, 0x9a, 0x5b, 0xa0, 0xd2, 0x3b, 0x64, 0x6e, - 0x1f, 0x9e, 0x6b, 0x18, 0x1b, 0x17, 0xba, 0x08, 0x67, 0xdd, 0x58, 0x76, 0xe3, 0xb4, 0x83, 0xed, - 0x99, 0xae, 0x6a, 0x1c, 0x65, 0x36, 0x1f, 0x81, 0xf3, 0x34, 0x0d, 0x3c, 0x1a, 0xb9, 0x14, 0x2e, - 0x49, 0xf0, 0x7a, 0x01, 0xf8, 0x54, 0x5b, 0x34, 0x7b, 0x8a, 0x98, 0x8f, 0x41, 0x35, 0x25, 0x87, - 0x81, 0x47, 0x04, 0x4b, 0x60, 0x59, 0xf2, 0xcd, 0x02, 0xfe, 0x75, 0xe6, 0xd1, 0x01, 0x39, 0x64, - 0x3e, 0x07, 0x65, 0xd2, 0x73, 0x03, 0x58, 0x91, 0xf0, 0xb5, 0x02, 0x78, 0xdb, 0x7e, 0xf2, 0x42, - 0x71, 0xf6, 0x95, 0x9f, 0xc7, 0xed, 0x55, 0x35, 0x88, 0x36, 0xf7, 0xfa, 0x8d, 0x4d, 0x7c, 0x67, - 0x13, 0x1a, 0x8e, 0x4c, 0x30, 0xf7, 0x40, 0x95, 0x0f, 0x23, 0xf7, 0x20, 0x61, 0xd1, 0x10, 0x2e, - 0xff, 0xf3, 0x5d, 0x76, 0x33, 0x8f, 0xce, 0xac, 0xfd, 0x9d, 0xd9, 0x75, 0xf2, 0x24, 0xf3, 0x25, - 0x58, 0xd9, 0xa7, 0x44, 0x0c, 0x12, 0x0a, 0x57, 0x64, 0x68, 0xa3, 0x20, 0xf4, 0x99, 0x72, 0xfc, - 0x2f, 0x32, 0x4b, 0x79, 0xf8, 0xe0, 0xc3, 0x74, 0xd4, 0xca, 0x3f, 0xdc, 0xa7, 0xe9, 0xa8, 0x75, - 0x33, 0x37, 0x5b, 0x47, 0x7f, 0xec, 0xe9, 0xc2, 0x6e, 0x34, 0xd7, 0xc1, 0xda, 0xc2, 0x23, 0x87, - 0xf2, 0x78, 0x66, 0xef, 0x7e, 0x34, 0xc0, 0xd2, 0x0e, 0xf7, 0xcd, 0x77, 0xe0, 0xe2, 0xdc, 0x3a, - 0xdd, 0xc0, 0x05, 0xfb, 0x8d, 0x17, 0x52, 0xea, 0xb7, 0xce, 0xe2, 0xca, 0xba, 0x9a, 0xb5, 0x6f, - 0x8b, 0xe7, 0xdb, 0xba, 0x57, 0xaf, 0xbc, 0x9f, 0x8e, 0x5a, 0x86, 0x7d, 0xff, 0xeb, 0x18, 0x19, - 0x27, 0x63, 0x64, 0xfc, 0x1a, 0x23, 0xe3, 0xf3, 0x04, 0x95, 0x4e, 0x26, 0xa8, 0xf4, 0x63, 0x82, - 0x4a, 0x6f, 0x90, 0x22, 0xb8, 0xd7, 0xc7, 0x01, 0x9b, 0x3b, 0xa6, 0x1c, 0x63, 0x6f, 0x59, 0xfe, - 0x13, 0xb7, 0x7f, 0x07, 0x00, 0x00, 0xff, 0xff, 0x3b, 0x57, 0xe6, 0xfa, 0xaf, 0x03, 0x00, 0x00, + // 498 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0x41, 0x8b, 0xd3, 0x4c, + 0x1c, 0xc6, 0x9b, 0x77, 0xdb, 0xdd, 0xb7, 0xa3, 0xb0, 0x38, 0x55, 0x76, 0x36, 0x68, 0xa8, 0x45, + 0x64, 0x29, 0x76, 0xb2, 0xad, 0x55, 0x51, 0x10, 0xdc, 0x88, 0xa2, 0x87, 0x45, 0xc9, 0xb2, 0x1e, + 0xbc, 0xc8, 0x34, 0x99, 0xcd, 0x86, 0x6e, 0x32, 0x21, 0x33, 0x8d, 0xdb, 0x9b, 0x08, 0x5e, 0x3c, + 0xf9, 0x45, 0x84, 0x1e, 0xf6, 0x43, 0x88, 0xa7, 0xc5, 0x93, 0x78, 0x92, 0xf6, 0xd0, 0xaf, 0x21, + 0x9d, 0x99, 0x6c, 0xb4, 0x46, 0xf1, 0x12, 0x48, 0x9e, 0xe7, 0xf7, 0x3c, 0x99, 0xe4, 0xff, 0x07, + 0x97, 0x3d, 0xc6, 0x23, 0xc6, 0x6d, 0x8f, 0xc5, 0x9c, 0xc6, 0x7c, 0xc4, 0xed, 0xac, 0x6b, 0x8b, + 0x63, 0x9c, 0xa4, 0x4c, 0x30, 0xd8, 0x50, 0x2a, 0x3e, 0x53, 0x71, 0xd6, 0x35, 0x2f, 0x90, 0x28, + 0x8c, 0x99, 0x2d, 0xaf, 0xca, 0x67, 0x6e, 0x2a, 0xdf, 0x2b, 0x79, 0x67, 0x6b, 0x48, 0x49, 0x1b, + 0xba, 0x20, 0xe2, 0xc1, 0x22, 0x3a, 0xe2, 0x81, 0x16, 0x2c, 0x8f, 0x45, 0x54, 0x0c, 0x0e, 0x84, + 0x2d, 0xc6, 0x09, 0x95, 0xbd, 0x09, 0x49, 0x49, 0xa4, 0xc1, 0xd6, 0xc7, 0x2a, 0x58, 0xdf, 0xe5, + 0xc1, 0x7e, 0xe2, 0x13, 0x41, 0x9f, 0x4b, 0x05, 0xde, 0x06, 0x75, 0x32, 0x12, 0x87, 0x2c, 0x0d, + 0xc5, 0x18, 0x19, 0x4d, 0x63, 0xab, 0xee, 0xa0, 0x2f, 0x27, 0x9d, 0x8b, 0xba, 0x71, 0xc7, 0xf7, + 0x53, 0xca, 0xf9, 0x9e, 0x48, 0xc3, 0x38, 0x70, 0x0b, 0x2b, 0xec, 0x83, 0xda, 0xe0, 0x88, 0x79, + 0x43, 0xf4, 0x5f, 0xd3, 0xd8, 0x3a, 0xd7, 0xb3, 0x70, 0xde, 0x8d, 0x65, 0x37, 0xce, 0xba, 0xd8, + 0x59, 0xe8, 0xaa, 0xc6, 0x55, 0x66, 0x78, 0x1f, 0xfc, 0x4f, 0xb3, 0xd0, 0xa7, 0xb1, 0x47, 0xd1, + 0x8a, 0x04, 0xaf, 0x96, 0x80, 0x8f, 0xb4, 0x45, 0xb3, 0x67, 0x08, 0x7c, 0x00, 0xea, 0x19, 0x39, + 0x0a, 0x7d, 0x22, 0x58, 0x8a, 0xaa, 0x92, 0x6f, 0x95, 0xf0, 0x2f, 0x72, 0x8f, 0x0e, 0x28, 0x20, + 0xf8, 0x04, 0x54, 0xc9, 0xc0, 0x0b, 0x51, 0x4d, 0xc2, 0x57, 0x4a, 0xe0, 0x1d, 0xe7, 0xe1, 0x53, + 0xc5, 0x39, 0x97, 0xbe, 0x9d, 0x74, 0xd6, 0xd5, 0x87, 0xe8, 0x70, 0x7f, 0xd8, 0xdc, 0xc6, 0xb7, + 0xb6, 0x91, 0xe1, 0xca, 0x04, 0xb8, 0x0f, 0xea, 0x7c, 0x1c, 0x7b, 0x87, 0x29, 0x8b, 0xc7, 0x68, + 0xf5, 0x8f, 0xef, 0xb2, 0x97, 0x7b, 0x74, 0x66, 0xe3, 0xf7, 0xcc, 0x9e, 0x5b, 0x24, 0xc1, 0x67, + 0x60, 0xed, 0x80, 0x12, 0x31, 0x4a, 0x29, 0x5a, 0x93, 0xa1, 0xcd, 0x92, 0xd0, 0xc7, 0xca, 0xf1, + 0xb7, 0xc8, 0x3c, 0xe5, 0xde, 0xdd, 0xb7, 0xf3, 0x49, 0xbb, 0xf8, 0x71, 0xef, 0xe7, 0x93, 0xf6, + 0xf5, 0xc2, 0x6c, 0x1f, 0xff, 0x34, 0xa7, 0x4b, 0xb3, 0xd1, 0xda, 0x04, 0x1b, 0x4b, 0x8f, 0x5c, + 0xca, 0x93, 0x85, 0xbd, 0xf7, 0xce, 0x00, 0x2b, 0xbb, 0x3c, 0x80, 0xaf, 0xc1, 0xf9, 0x5f, 0xc6, + 0xe9, 0x1a, 0x2e, 0x99, 0x6f, 0xbc, 0x94, 0x62, 0xde, 0xf8, 0x17, 0x57, 0xde, 0xd5, 0x6a, 0x7c, + 0x5e, 0x3e, 0x5f, 0xff, 0x8e, 0x59, 0x7b, 0x33, 0x9f, 0xb4, 0x0d, 0xa7, 0xff, 0x69, 0x6a, 0x19, + 0xa7, 0x53, 0xcb, 0xf8, 0x3e, 0xb5, 0x8c, 0x0f, 0x33, 0xab, 0x72, 0x3a, 0xb3, 0x2a, 0x5f, 0x67, + 0x56, 0xe5, 0xa5, 0xa9, 0x08, 0xee, 0x0f, 0x71, 0xc8, 0xe4, 0x31, 0x23, 0xaa, 0x17, 0x63, 0xb0, + 0x2a, 0xf7, 0xe1, 0xe6, 0x8f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x9b, 0xd1, 0xf4, 0xa3, 0xab, 0x03, + 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -223,7 +224,7 @@ const _ = grpc.SupportPackageIsVersion4 // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type MsgClient interface { - // UpdateParams defines a governance operation for updating the x/consensus module parameters. + // UpdateParams defines a governance operation for updating the x/comet module parameters. // The authority is defined in the keeper. UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) } @@ -247,7 +248,7 @@ func (c *msgClient) UpdateParams(ctx context.Context, in *MsgUpdateParams, opts // MsgServer is the server API for Msg service. type MsgServer interface { - // UpdateParams defines a governance operation for updating the x/consensus module parameters. + // UpdateParams defines a governance operation for updating the x/comet module parameters. // The authority is defined in the keeper. UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) } diff --git a/x/distribution/go.mod b/x/distribution/go.mod index 556412972325..25803c31f41a 100644 --- a/x/distribution/go.mod +++ b/x/distribution/go.mod @@ -41,7 +41,7 @@ require ( buf.build/gen/go/cometbft/cometbft/protocolbuffers/go v1.34.2-20240701160653-fedbb9acfd2f.2 // indirect buf.build/gen/go/cosmos/gogo-proto/protocolbuffers/go v1.34.2-20240130113600-88ef6483f90f.2 // indirect cosmossdk.io/x/auth v0.0.0-00010101000000-000000000000 - cosmossdk.io/x/consensus v0.0.0-00010101000000-000000000000 // indirect + cosmossdk.io/x/comet v0.0.0-00010101000000-000000000000 // indirect cosmossdk.io/x/tx v0.13.3 // indirect filippo.io/edwards25519 v1.1.0 // indirect github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 // indirect @@ -188,7 +188,7 @@ replace ( cosmossdk.io/x/accounts => ../accounts cosmossdk.io/x/auth => ../auth cosmossdk.io/x/bank => ../bank - cosmossdk.io/x/consensus => ../consensus + cosmossdk.io/x/comet => ../comet cosmossdk.io/x/protocolpool => ../protocolpool cosmossdk.io/x/staking => ../staking cosmossdk.io/x/tx => ../tx diff --git a/x/epochs/go.mod b/x/epochs/go.mod index 95d78268a742..c98ad4548b31 100644 --- a/x/epochs/go.mod +++ b/x/epochs/go.mod @@ -167,7 +167,7 @@ require ( require ( cosmossdk.io/log v1.4.1 // indirect cosmossdk.io/schema v0.2.0 // indirect - cosmossdk.io/x/consensus v0.0.0-00010101000000-000000000000 // indirect + cosmossdk.io/x/comet v0.0.0-00010101000000-000000000000 // indirect github.com/hashicorp/golang-lru/v2 v2.0.7 // indirect github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect ) @@ -185,7 +185,7 @@ replace ( cosmossdk.io/x/accounts => ../accounts cosmossdk.io/x/auth => ../auth cosmossdk.io/x/bank => ../bank - cosmossdk.io/x/consensus => ../consensus + cosmossdk.io/x/comet => ../comet cosmossdk.io/x/staking => ../staking cosmossdk.io/x/tx => ../tx ) diff --git a/x/evidence/go.mod b/x/evidence/go.mod index 108fd9153fde..51c724fc5f7c 100644 --- a/x/evidence/go.mod +++ b/x/evidence/go.mod @@ -11,7 +11,7 @@ require ( cosmossdk.io/errors v1.0.1 cosmossdk.io/math v1.3.0 cosmossdk.io/store v1.1.1-0.20240418092142-896cdf1971bc - cosmossdk.io/x/consensus v0.0.0-00010101000000-000000000000 + cosmossdk.io/x/comet v0.0.0-00010101000000-000000000000 github.com/cosmos/cosmos-proto v1.0.0-beta.5 github.com/cosmos/cosmos-sdk v0.53.0 github.com/cosmos/gogoproto v1.7.0 @@ -183,7 +183,7 @@ replace ( cosmossdk.io/x/accounts => ../accounts cosmossdk.io/x/auth => ../auth cosmossdk.io/x/bank => ../bank - cosmossdk.io/x/consensus => ../consensus + cosmossdk.io/x/comet => ../comet cosmossdk.io/x/staking => ../staking cosmossdk.io/x/tx => ../tx ) diff --git a/x/evidence/keeper/infraction.go b/x/evidence/keeper/infraction.go index ac417aa6c664..6b54d7fb6714 100644 --- a/x/evidence/keeper/infraction.go +++ b/x/evidence/keeper/infraction.go @@ -5,7 +5,7 @@ import ( "fmt" st "cosmossdk.io/api/cosmos/staking/v1beta1" - consensusv1 "cosmossdk.io/x/consensus/types" + consensusv1 "cosmossdk.io/x/comet/types" "cosmossdk.io/x/evidence/types" sdk "github.com/cosmos/cosmos-sdk/types" diff --git a/x/feegrant/go.mod b/x/feegrant/go.mod index 9dd3c9cd6865..8fb1dda380a9 100644 --- a/x/feegrant/go.mod +++ b/x/feegrant/go.mod @@ -34,7 +34,7 @@ require ( cosmossdk.io/log v1.4.1 // indirect cosmossdk.io/schema v0.2.0 // indirect cosmossdk.io/x/auth v0.0.0-00010101000000-000000000000 - cosmossdk.io/x/consensus v0.0.0-00010101000000-000000000000 // indirect + cosmossdk.io/x/comet v0.0.0-00010101000000-000000000000 // indirect cosmossdk.io/x/protocolpool v0.0.0-20230925135524-a1bc045b3190 // indirect cosmossdk.io/x/staking v0.0.0-00010101000000-000000000000 // indirect cosmossdk.io/x/tx v0.13.3 // indirect @@ -188,7 +188,7 @@ replace ( cosmossdk.io/x/accounts => ../accounts cosmossdk.io/x/auth => ../auth cosmossdk.io/x/bank => ../bank - cosmossdk.io/x/consensus => ../consensus + cosmossdk.io/x/comet => ../comet cosmossdk.io/x/gov => ../gov cosmossdk.io/x/staking => ../staking cosmossdk.io/x/tx => ../tx diff --git a/x/gov/go.mod b/x/gov/go.mod index 32f1f07c8c49..d9099b5c32bf 100644 --- a/x/gov/go.mod +++ b/x/gov/go.mod @@ -38,7 +38,7 @@ require ( buf.build/gen/go/cometbft/cometbft/protocolbuffers/go v1.34.2-20240701160653-fedbb9acfd2f.2 // indirect buf.build/gen/go/cosmos/gogo-proto/protocolbuffers/go v1.34.2-20240130113600-88ef6483f90f.2 // indirect cosmossdk.io/schema v0.2.0 // indirect - cosmossdk.io/x/consensus v0.0.0-00010101000000-000000000000 // indirect + cosmossdk.io/x/comet v0.0.0-00010101000000-000000000000 // indirect cosmossdk.io/x/tx v0.13.3 // indirect filippo.io/edwards25519 v1.1.0 // indirect github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 // indirect @@ -187,7 +187,7 @@ replace ( cosmossdk.io/x/accounts => ../accounts cosmossdk.io/x/auth => ../auth cosmossdk.io/x/bank => ../bank - cosmossdk.io/x/consensus => ../consensus + cosmossdk.io/x/comet => ../comet cosmossdk.io/x/protocolpool => ../protocolpool cosmossdk.io/x/staking => ../staking cosmossdk.io/x/tx => ../tx diff --git a/x/group/go.mod b/x/group/go.mod index 937fe67b53d8..54c2277b085d 100644 --- a/x/group/go.mod +++ b/x/group/go.mod @@ -14,7 +14,7 @@ require ( cosmossdk.io/x/auth v0.0.0-00010101000000-000000000000 cosmossdk.io/x/authz v0.0.0-00010101000000-000000000000 cosmossdk.io/x/bank v0.0.0-20240226161501-23359a0b6d91 - cosmossdk.io/x/consensus v0.0.0-00010101000000-000000000000 + cosmossdk.io/x/comet v0.0.0-00010101000000-000000000000 cosmossdk.io/x/gov v0.0.0-20230925135524-a1bc045b3190 cosmossdk.io/x/mint v0.0.0-00010101000000-000000000000 cosmossdk.io/x/staking v0.0.0-00010101000000-000000000000 @@ -198,7 +198,7 @@ replace ( cosmossdk.io/x/auth => ../auth cosmossdk.io/x/authz => ../authz cosmossdk.io/x/bank => ../bank - cosmossdk.io/x/consensus => ../consensus + cosmossdk.io/x/comet => ../comet cosmossdk.io/x/distribution => ../distribution cosmossdk.io/x/gov => ../gov cosmossdk.io/x/mint => ../mint diff --git a/x/group/testutil/app_config.go b/x/group/testutil/app_config.go index 01f572dba239..a6c5e91cca8b 100644 --- a/x/group/testutil/app_config.go +++ b/x/group/testutil/app_config.go @@ -6,7 +6,7 @@ import ( _ "cosmossdk.io/x/auth/tx/config" // import as blank for app wiring _ "cosmossdk.io/x/authz" // import as blank for app wiring _ "cosmossdk.io/x/bank" // import as blank for app wiring - _ "cosmossdk.io/x/consensus" // import as blank for app wiring + _ "cosmossdk.io/x/comet" // import as blank for app wiring _ "cosmossdk.io/x/group/module" // import as blank for app wiring _ "cosmossdk.io/x/mint" // import as blank for app wiring _ "cosmossdk.io/x/staking" // import as blank for app wiring diff --git a/x/mint/go.mod b/x/mint/go.mod index 10b1eed2ed4e..492eb4ca99d3 100644 --- a/x/mint/go.mod +++ b/x/mint/go.mod @@ -161,7 +161,7 @@ require ( require ( buf.build/gen/go/cometbft/cometbft/protocolbuffers/go v1.34.2-20240701160653-fedbb9acfd2f.2 // indirect cosmossdk.io/schema v0.2.0 // indirect - cosmossdk.io/x/consensus v0.0.0-00010101000000-000000000000 // indirect + cosmossdk.io/x/comet v0.0.0-00010101000000-000000000000 // indirect github.com/cometbft/cometbft/api v1.0.0-rc.1 // indirect github.com/cosmos/crypto v0.1.2 // indirect github.com/dgraph-io/badger/v4 v4.2.0 // indirect @@ -187,7 +187,7 @@ replace ( cosmossdk.io/x/accounts => ../accounts cosmossdk.io/x/auth => ../auth cosmossdk.io/x/bank => ../bank - cosmossdk.io/x/consensus => ../consensus + cosmossdk.io/x/comet => ../comet cosmossdk.io/x/staking => ../staking cosmossdk.io/x/tx => ../tx ) diff --git a/x/nft/go.mod b/x/nft/go.mod index c40d056d7cbc..b8972053d72c 100644 --- a/x/nft/go.mod +++ b/x/nft/go.mod @@ -28,7 +28,7 @@ require ( cosmossdk.io/schema v0.2.0 // indirect cosmossdk.io/x/auth v0.0.0-00010101000000-000000000000 // indirect cosmossdk.io/x/bank v0.0.0-20240226161501-23359a0b6d91 // indirect - cosmossdk.io/x/consensus v0.0.0-00010101000000-000000000000 // indirect + cosmossdk.io/x/comet v0.0.0-00010101000000-000000000000 // indirect cosmossdk.io/x/staking v0.0.0-00010101000000-000000000000 // indirect cosmossdk.io/x/tx v0.13.3 // indirect filippo.io/edwards25519 v1.1.0 // indirect @@ -182,7 +182,7 @@ replace ( cosmossdk.io/x/accounts => ../accounts cosmossdk.io/x/auth => ../auth cosmossdk.io/x/bank => ../bank - cosmossdk.io/x/consensus => ../consensus + cosmossdk.io/x/comet => ../comet cosmossdk.io/x/staking => ../staking cosmossdk.io/x/tx => ../tx ) diff --git a/x/params/go.mod b/x/params/go.mod index 8ff0cdc7d96c..0c32ae331749 100644 --- a/x/params/go.mod +++ b/x/params/go.mod @@ -32,7 +32,7 @@ require ( cosmossdk.io/schema v0.2.0 // indirect cosmossdk.io/x/auth v0.0.0-00010101000000-000000000000 // indirect cosmossdk.io/x/bank v0.0.0-20240226161501-23359a0b6d91 // indirect - cosmossdk.io/x/consensus v0.0.0-00010101000000-000000000000 // indirect + cosmossdk.io/x/comet v0.0.0-00010101000000-000000000000 // indirect cosmossdk.io/x/staking v0.0.0-00010101000000-000000000000 // indirect cosmossdk.io/x/tx v0.13.3 // indirect filippo.io/edwards25519 v1.1.0 // indirect @@ -183,7 +183,7 @@ replace ( cosmossdk.io/x/accounts => ../accounts cosmossdk.io/x/auth => ../auth cosmossdk.io/x/bank => ../bank - cosmossdk.io/x/consensus => ../consensus + cosmossdk.io/x/comet => ../comet cosmossdk.io/x/distribution => ../distribution cosmossdk.io/x/gov => ../gov cosmossdk.io/x/mint => ../mint diff --git a/x/protocolpool/go.mod b/x/protocolpool/go.mod index 2402c65b7d3f..8c2cbcd0ecf4 100644 --- a/x/protocolpool/go.mod +++ b/x/protocolpool/go.mod @@ -31,7 +31,7 @@ require ( cosmossdk.io/log v1.4.1 // indirect cosmossdk.io/schema v0.2.0 // indirect cosmossdk.io/x/bank v0.0.0-20240226161501-23359a0b6d91 // indirect - cosmossdk.io/x/consensus v0.0.0-00010101000000-000000000000 // indirect + cosmossdk.io/x/comet v0.0.0-00010101000000-000000000000 // indirect cosmossdk.io/x/staking v0.0.0-00010101000000-000000000000 // indirect cosmossdk.io/x/tx v0.13.3 // indirect filippo.io/edwards25519 v1.1.0 // indirect @@ -183,7 +183,7 @@ replace ( cosmossdk.io/x/accounts => ../accounts cosmossdk.io/x/auth => ../auth cosmossdk.io/x/bank => ../bank - cosmossdk.io/x/consensus => ../consensus + cosmossdk.io/x/comet => ../comet cosmossdk.io/x/staking => ../staking cosmossdk.io/x/tx => ../tx ) diff --git a/x/slashing/go.mod b/x/slashing/go.mod index 920ddb11a02f..12cd0b3eaa1d 100644 --- a/x/slashing/go.mod +++ b/x/slashing/go.mod @@ -33,7 +33,7 @@ require ( cosmossdk.io/log v1.4.1 // indirect cosmossdk.io/schema v0.2.0 // indirect cosmossdk.io/x/bank v0.0.0-20240226161501-23359a0b6d91 // indirect - cosmossdk.io/x/consensus v0.0.0-00010101000000-000000000000 // indirect + cosmossdk.io/x/comet v0.0.0-00010101000000-000000000000 // indirect cosmossdk.io/x/tx v0.13.3 // indirect filippo.io/edwards25519 v1.1.0 // indirect github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 // indirect @@ -184,7 +184,7 @@ replace ( cosmossdk.io/x/accounts => ../accounts cosmossdk.io/x/auth => ../auth cosmossdk.io/x/bank => ../bank - cosmossdk.io/x/consensus => ../consensus + cosmossdk.io/x/comet => ../comet cosmossdk.io/x/staking => ../staking cosmossdk.io/x/tx => ../tx ) diff --git a/x/staking/go.mod b/x/staking/go.mod index 701dbeb6efbc..c3889982fc32 100644 --- a/x/staking/go.mod +++ b/x/staking/go.mod @@ -158,7 +158,7 @@ require ( require ( buf.build/gen/go/cometbft/cometbft/protocolbuffers/go v1.34.2-20240701160653-fedbb9acfd2f.2 // indirect cosmossdk.io/log v1.4.1 - cosmossdk.io/x/consensus v0.0.0-00010101000000-000000000000 + cosmossdk.io/x/comet v0.0.0-00010101000000-000000000000 github.com/cosmos/crypto v0.1.2 // indirect github.com/dgraph-io/badger/v4 v4.2.0 // indirect github.com/gofrs/uuid v4.4.0+incompatible // indirect @@ -189,6 +189,6 @@ replace ( cosmossdk.io/x/accounts => ../accounts cosmossdk.io/x/auth => ../auth cosmossdk.io/x/bank => ../bank - cosmossdk.io/x/consensus => ../consensus + cosmossdk.io/x/comet => ../comet cosmossdk.io/x/tx => ../tx ) diff --git a/x/staking/keeper/keeper_test.go b/x/staking/keeper/keeper_test.go index 0c4311a906ed..73e88e48daf7 100644 --- a/x/staking/keeper/keeper_test.go +++ b/x/staking/keeper/keeper_test.go @@ -15,7 +15,7 @@ import ( "cosmossdk.io/math" storetypes "cosmossdk.io/store/types" authtypes "cosmossdk.io/x/auth/types" - consensustypes "cosmossdk.io/x/consensus/types" + consensustypes "cosmossdk.io/x/comet/types" stakingkeeper "cosmossdk.io/x/staking/keeper" stakingtestutil "cosmossdk.io/x/staking/testutil" stakingtypes "cosmossdk.io/x/staking/types" diff --git a/x/staking/keeper/msg_server.go b/x/staking/keeper/msg_server.go index cd8fc499c012..924785e2b58c 100644 --- a/x/staking/keeper/msg_server.go +++ b/x/staking/keeper/msg_server.go @@ -17,7 +17,7 @@ import ( "cosmossdk.io/core/event" errorsmod "cosmossdk.io/errors" "cosmossdk.io/math" - consensusv1 "cosmossdk.io/x/consensus/types" + consensusv1 "cosmossdk.io/x/comet/types" "cosmossdk.io/x/staking/types" "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" diff --git a/x/staking/testutil/expected_keepers_mocks.go b/x/staking/testutil/expected_keepers_mocks.go index 152d25e217f3..d4abc8255a6d 100644 --- a/x/staking/testutil/expected_keepers_mocks.go +++ b/x/staking/testutil/expected_keepers_mocks.go @@ -11,7 +11,7 @@ import ( stakingv1beta1 "cosmossdk.io/api/cosmos/staking/v1beta1" address "cosmossdk.io/core/address" math "cosmossdk.io/math" - types "cosmossdk.io/x/consensus/types" + types "cosmossdk.io/x/comet/types" types0 "cosmossdk.io/x/staking/types" types1 "github.com/cosmos/cosmos-sdk/crypto/types" types2 "github.com/cosmos/cosmos-sdk/types" diff --git a/x/staking/types/expected_keepers.go b/x/staking/types/expected_keepers.go index bd246775a8b6..9bcd73e8ccfb 100644 --- a/x/staking/types/expected_keepers.go +++ b/x/staking/types/expected_keepers.go @@ -6,7 +6,7 @@ import ( st "cosmossdk.io/api/cosmos/staking/v1beta1" "cosmossdk.io/core/address" "cosmossdk.io/math" - consensustypes "cosmossdk.io/x/consensus/types" + consensustypes "cosmossdk.io/x/comet/types" cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" sdk "github.com/cosmos/cosmos-sdk/types" diff --git a/x/upgrade/go.mod b/x/upgrade/go.mod index e97bbb7144d6..50c654c743f0 100644 --- a/x/upgrade/go.mod +++ b/x/upgrade/go.mod @@ -11,7 +11,7 @@ require ( cosmossdk.io/log v1.4.1 cosmossdk.io/store v1.1.1-0.20240418092142-896cdf1971bc cosmossdk.io/x/auth v0.0.0-00010101000000-000000000000 - cosmossdk.io/x/consensus v0.0.0-00010101000000-000000000000 + cosmossdk.io/x/comet v0.0.0-00010101000000-000000000000 cosmossdk.io/x/gov v0.0.0-20230925135524-a1bc045b3190 github.com/cometbft/cometbft v1.0.0-rc1 github.com/cometbft/cometbft/api v1.0.0-rc.1 @@ -214,7 +214,7 @@ replace ( cosmossdk.io/x/accounts => ../accounts cosmossdk.io/x/auth => ../auth cosmossdk.io/x/bank => ../bank - cosmossdk.io/x/consensus => ../consensus + cosmossdk.io/x/comet => ../comet cosmossdk.io/x/gov => ../gov cosmossdk.io/x/staking => ../staking cosmossdk.io/x/tx => ../tx diff --git a/x/upgrade/keeper/abci.go b/x/upgrade/keeper/abci.go index 926dd4afec09..c327f206eb1f 100644 --- a/x/upgrade/keeper/abci.go +++ b/x/upgrade/keeper/abci.go @@ -5,7 +5,7 @@ import ( "errors" "fmt" - consensusv1 "cosmossdk.io/x/consensus/types" + consensusv1 "cosmossdk.io/x/comet/types" "cosmossdk.io/x/upgrade/types" "github.com/cosmos/cosmos-sdk/telemetry" From e2e84ea9e886785e1d4fa463ff8c85bae1e264c9 Mon Sep 17 00:00:00 2001 From: Julien Robert Date: Mon, 2 Sep 2024 10:58:00 +0200 Subject: [PATCH 2/7] update simapps --- docs/learn/advanced/00-baseapp.md | 8 +++--- simapp/app_config.go | 10 +++++--- simapp/app_di.go | 40 ++++++++++++++--------------- simapp/v2/app_config.go | 14 ++++++++--- simapp/v2/app_di.go | 42 +++++++++++++++---------------- x/comet/types/keys.go | 4 +-- 6 files changed, 65 insertions(+), 53 deletions(-) diff --git a/docs/learn/advanced/00-baseapp.md b/docs/learn/advanced/00-baseapp.md index cc0b7bb833cd..0662d5fb61c0 100644 --- a/docs/learn/advanced/00-baseapp.md +++ b/docs/learn/advanced/00-baseapp.md @@ -205,7 +205,7 @@ newly committed state and `finalizeBlockState` is set to `nil` to be reset on `F During `InitChain`, the `RequestInitChain` provides `ConsensusParams` which contains parameters related to block execution such as maximum gas and size in addition to evidence parameters. If these parameters are non-nil, they are set in the BaseApp's `ParamStore`. Behind the scenes, the `ParamStore` -is managed by an `x/comet_params` module. This allows the parameters to be tweaked via +is managed by an `x/comet` module. This allows the parameters to be tweaked via on-chain governance. ## Service Routers @@ -394,9 +394,9 @@ The `AnteHandler` operates on a copy of the cached context, allowing it to perfo Key operations performed by the `AnteHandler` include: -- **Signature Verification**: Ensures that the transaction's signatures are valid. -- **Sequence Checking**: Verifies and increments the sequence numbers to prevent replay attacks. -- **Fee Deduction**: Deducts the transaction fees from the accounts involved, typically starting with the first signer. +* **Signature Verification**: Ensures that the transaction's signatures are valid. +* **Sequence Checking**: Verifies and increments the sequence numbers to prevent replay attacks. +* **Fee Deduction**: Deducts the transaction fees from the accounts involved, typically starting with the first signer. These operations are crucial for maintaining the security and integrity of transactions on the blockchain. diff --git a/simapp/app_config.go b/simapp/app_config.go index 826dc6de89d2..5a46ceb4da43 100644 --- a/simapp/app_config.go +++ b/simapp/app_config.go @@ -42,7 +42,7 @@ import ( _ "cosmossdk.io/x/circuit" // import for side-effects circuittypes "cosmossdk.io/x/circuit/types" _ "cosmossdk.io/x/comet" // import for side-effects - consensustypes "cosmossdk.io/x/comet/types" + comettypes "cosmossdk.io/x/comet/types" _ "cosmossdk.io/x/distribution" // import for side-effects distrtypes "cosmossdk.io/x/distribution/types" _ "cosmossdk.io/x/epochs" // import for side-effects @@ -144,12 +144,16 @@ var ( ModuleName: accounts.ModuleName, KvStoreKey: accounts.StoreKey, }, + { + ModuleName: comettypes.ModuleName, + KvStoreKey: comettypes.StoreKey, + }, }, // NOTE: The genutils module must occur after staking so that pools are // properly initialized with tokens from genesis accounts. // NOTE: The genutils module must also occur after auth so that it can access the params from auth. InitGenesis: []string{ - consensustypes.ModuleName, + comettypes.ModuleName, accounts.ModuleName, authtypes.ModuleName, banktypes.ModuleName, @@ -265,7 +269,7 @@ var ( Config: appconfig.WrapAny(&govmodulev1.Module{}), }, { - Name: consensustypes.ModuleName, + Name: comettypes.ModuleName, Config: appconfig.WrapAny(&consensusmodulev1.Module{}), }, { diff --git a/simapp/app_di.go b/simapp/app_di.go index 62387301a7cb..5e601d6f728e 100644 --- a/simapp/app_di.go +++ b/simapp/app_di.go @@ -23,7 +23,7 @@ import ( authzkeeper "cosmossdk.io/x/authz/keeper" bankkeeper "cosmossdk.io/x/bank/keeper" circuitkeeper "cosmossdk.io/x/circuit/keeper" - consensuskeeper "cosmossdk.io/x/comet/keeper" + cometkeeper "cosmossdk.io/x/comet/keeper" distrkeeper "cosmossdk.io/x/distribution/keeper" epochskeeper "cosmossdk.io/x/epochs/keeper" evidencekeeper "cosmossdk.io/x/evidence/keeper" @@ -70,24 +70,24 @@ type SimApp struct { interfaceRegistry codectypes.InterfaceRegistry // keepers - AccountsKeeper accounts.Keeper - AuthKeeper authkeeper.AccountKeeper - BankKeeper bankkeeper.Keeper - StakingKeeper *stakingkeeper.Keeper - SlashingKeeper slashingkeeper.Keeper - MintKeeper mintkeeper.Keeper - DistrKeeper distrkeeper.Keeper - GovKeeper *govkeeper.Keeper - UpgradeKeeper *upgradekeeper.Keeper - AuthzKeeper authzkeeper.Keeper - EvidenceKeeper evidencekeeper.Keeper - FeeGrantKeeper feegrantkeeper.Keeper - GroupKeeper groupkeeper.Keeper - NFTKeeper nftkeeper.Keeper - ConsensusParamsKeeper consensuskeeper.Keeper - CircuitBreakerKeeper circuitkeeper.Keeper - PoolKeeper poolkeeper.Keeper - EpochsKeeper *epochskeeper.Keeper + AccountsKeeper accounts.Keeper + AuthKeeper authkeeper.AccountKeeper + BankKeeper bankkeeper.Keeper + StakingKeeper *stakingkeeper.Keeper + SlashingKeeper slashingkeeper.Keeper + MintKeeper mintkeeper.Keeper + DistrKeeper distrkeeper.Keeper + GovKeeper *govkeeper.Keeper + UpgradeKeeper *upgradekeeper.Keeper + AuthzKeeper authzkeeper.Keeper + EvidenceKeeper evidencekeeper.Keeper + FeeGrantKeeper feegrantkeeper.Keeper + GroupKeeper groupkeeper.Keeper + NFTKeeper nftkeeper.Keeper + CometParamsKeeper cometkeeper.Keeper + CircuitBreakerKeeper circuitkeeper.Keeper + PoolKeeper poolkeeper.Keeper + EpochsKeeper *epochskeeper.Keeper // simulation manager sm *module.SimulationManager @@ -194,7 +194,7 @@ func NewSimApp( &app.FeeGrantKeeper, &app.GroupKeeper, &app.NFTKeeper, - &app.ConsensusParamsKeeper, + &app.CometParamsKeeper, &app.CircuitBreakerKeeper, &app.PoolKeeper, &app.EpochsKeeper, diff --git a/simapp/v2/app_config.go b/simapp/v2/app_config.go index 27aef03b97b2..5372aa42b5a9 100644 --- a/simapp/v2/app_config.go +++ b/simapp/v2/app_config.go @@ -43,7 +43,7 @@ import ( _ "cosmossdk.io/x/circuit" // import for side-effects circuittypes "cosmossdk.io/x/circuit/types" _ "cosmossdk.io/x/comet" // import for side-effects - consensustypes "cosmossdk.io/x/comet/types" + comettypes "cosmossdk.io/x/comet/types" _ "cosmossdk.io/x/distribution" // import for side-effects distrtypes "cosmossdk.io/x/distribution/types" _ "cosmossdk.io/x/epochs" // import for side-effects @@ -138,12 +138,20 @@ var ( ModuleName: authtypes.ModuleName, KvStoreKey: "acc", }, + { + ModuleName: accounts.ModuleName, + KvStoreKey: accounts.StoreKey, + }, + { + ModuleName: comettypes.ModuleName, + KvStoreKey: comettypes.StoreKey, + }, }, // NOTE: The genutils module must occur after staking so that pools are // properly initialized with tokens from genesis accounts. // NOTE: The genutils module must also occur after auth so that it can access the params from auth. InitGenesis: []string{ - consensustypes.ModuleName, + comettypes.ModuleName, accounts.ModuleName, authtypes.ModuleName, banktypes.ModuleName, @@ -258,7 +266,7 @@ var ( Config: appconfig.WrapAny(&govmodulev1.Module{}), }, { - Name: consensustypes.ModuleName, + Name: comettypes.ModuleName, Config: appconfig.WrapAny(&consensusmodulev1.Module{ Authority: "consensus", }), diff --git a/simapp/v2/app_di.go b/simapp/v2/app_di.go index 10b5e3f248d2..16b3866b2908 100644 --- a/simapp/v2/app_di.go +++ b/simapp/v2/app_di.go @@ -17,7 +17,7 @@ import ( authzkeeper "cosmossdk.io/x/authz/keeper" bankkeeper "cosmossdk.io/x/bank/keeper" circuitkeeper "cosmossdk.io/x/circuit/keeper" - consensuskeeper "cosmossdk.io/x/comet/keeper" + cometkeeper "cosmossdk.io/x/comet/keeper" distrkeeper "cosmossdk.io/x/distribution/keeper" epochskeeper "cosmossdk.io/x/epochs/keeper" evidencekeeper "cosmossdk.io/x/evidence/keeper" @@ -53,24 +53,24 @@ type SimApp[T transaction.Tx] struct { interfaceRegistry codectypes.InterfaceRegistry // keepers - AccountsKeeper accounts.Keeper - AuthKeeper authkeeper.AccountKeeper - BankKeeper bankkeeper.Keeper - StakingKeeper *stakingkeeper.Keeper - SlashingKeeper slashingkeeper.Keeper - MintKeeper mintkeeper.Keeper - DistrKeeper distrkeeper.Keeper - GovKeeper *govkeeper.Keeper - UpgradeKeeper *upgradekeeper.Keeper - AuthzKeeper authzkeeper.Keeper - EvidenceKeeper evidencekeeper.Keeper - FeeGrantKeeper feegrantkeeper.Keeper - GroupKeeper groupkeeper.Keeper - NFTKeeper nftkeeper.Keeper - ConsensusParamsKeeper consensuskeeper.Keeper - CircuitBreakerKeeper circuitkeeper.Keeper - PoolKeeper poolkeeper.Keeper - EpochsKeeper *epochskeeper.Keeper + AccountsKeeper accounts.Keeper + AuthKeeper authkeeper.AccountKeeper + BankKeeper bankkeeper.Keeper + StakingKeeper *stakingkeeper.Keeper + SlashingKeeper slashingkeeper.Keeper + MintKeeper mintkeeper.Keeper + DistrKeeper distrkeeper.Keeper + GovKeeper *govkeeper.Keeper + UpgradeKeeper *upgradekeeper.Keeper + AuthzKeeper authzkeeper.Keeper + EvidenceKeeper evidencekeeper.Keeper + FeeGrantKeeper feegrantkeeper.Keeper + GroupKeeper groupkeeper.Keeper + NFTKeeper nftkeeper.Keeper + CometParamsKeeper cometkeeper.Keeper + CircuitBreakerKeeper circuitkeeper.Keeper + PoolKeeper poolkeeper.Keeper + EpochsKeeper *epochskeeper.Keeper } func init() { @@ -176,7 +176,7 @@ func NewSimApp[T transaction.Tx]( &app.FeeGrantKeeper, &app.GroupKeeper, &app.NFTKeeper, - &app.ConsensusParamsKeeper, + &app.CometParamsKeeper, &app.CircuitBreakerKeeper, &app.PoolKeeper, &app.EpochsKeeper, @@ -225,7 +225,7 @@ func (app *SimApp[T]) TxConfig() client.TxConfig { // GetConsensusAuthority gets the consensus authority. func (app *SimApp[T]) GetConsensusAuthority() string { - return app.ConsensusParamsKeeper.GetAuthority() + return app.CometParamsKeeper.GetAuthority() } // GetStore gets the app store. diff --git a/x/comet/types/keys.go b/x/comet/types/keys.go index 05a273542d32..b4e1c760d681 100644 --- a/x/comet/types/keys.go +++ b/x/comet/types/keys.go @@ -2,8 +2,8 @@ package types const ( // ModuleName defines the name of the x/comet module. - ModuleName = "consensus" + ModuleName = "comet" // StoreKey defines the module's store key. - StoreKey = ModuleName + StoreKey = "consensus" ) From 3006a7026dd6f6f70bca864072c7cc6bc7b7b9e6 Mon Sep 17 00:00:00 2001 From: Julien Robert Date: Mon, 2 Sep 2024 11:26:46 +0200 Subject: [PATCH 3/7] docs --- CHANGELOG.md | 2 ++ UPGRADING.md | 66 +++++++++++++++++++------------------------ simapp/v2/app_test.go | 4 +-- 3 files changed, 33 insertions(+), 39 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 136f78edeace..f718a6196056 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -54,6 +54,8 @@ Every module contains its own CHANGELOG.md. Please refer to the module you are i ### API Breaking Changes +* []() Rename `x/consensus` to `x/comet`. Only the module/package name has changed, endpoints, proto package, and other references remain the same. + ### Deprecated * (types) [#21435](https://github.com/cosmos/cosmos-sdk/pull/21435) The `String()` method on `AccAddress`, `ValAddress` and `ConsAddress` have been deprecated. This is done because those are still using the deprecated global `sdk.Config`. Use an `address.Codec` instead. diff --git a/UPGRADING.md b/UPGRADING.md index e8693d50141a..9670a0432387 100644 --- a/UPGRADING.md +++ b/UPGRADING.md @@ -106,7 +106,7 @@ For non depinject users, simply call `RegisterLegacyAminoCodec` and `RegisterInt Additionally, thanks to the genesis simplification, as explained in [the genesis interface update](#genesis-interface), the module manager `InitGenesis` and `ExportGenesis` methods do not require the codec anymore. -##### GRPC-WEB +##### GRPC WEB Grpc-web embedded client has been removed from the server. If you would like to use grpc-web, you can use the [envoy proxy](https://www.envoyproxy.io/docs/envoy/latest/start/start). Here's how to set it up: @@ -347,6 +347,8 @@ Also, any usages of the interfaces `AnyUnpacker` and `UnpackInterfacesMessage` m #### `**all**` +All modules were spun out into their own `go.mod`. Replace imports by `cosmossdk.io/x/{moduleName}`. + ##### Core API Core API has been introduced for modules since v0.47. With the deprecation of `sdk.Context`, we strongly recommend to use the `cosmossdk.io/core/appmodule` interfaces for the modules. This will allow the modules to work out of the box with server/v2 and baseapp, as well as limit their dependencies on the SDK. @@ -399,7 +401,7 @@ All modules using dependency injection must update their imports. ##### Params -Previous module migrations have been removed. It is required to migrate to v0.50 prior to upgrading to v0.51 for not missing any module migrations. +Previous module migrations have been removed. It is required to migrate to v0.50 prior to upgrading to v0.52 for not missing any module migrations. ##### Genesis Interface @@ -436,60 +438,50 @@ if err != nil { } ``` -#### `x/auth` - -Auth was spun out into its own `go.mod`. To import it use `cosmossdk.io/x/auth` +### `x/comet` -#### `x/authz` +The `x/consensus` module has been renamed to `x/comet`. More consensus engines are supported in the Cosmos SDK for server/v2. +The renaming was done to signify that. -Authz was spun out into its own `go.mod`. To import it use `cosmossdk.io/x/authz` +For backward compatibility the store key has been kept as `consensus`, a genesis migration have been added as well. -#### `x/bank` +Due to add add the following in your `app_config.go` / `app.yaml` when using `runtime`: -Bank was spun out into its own `go.mod`. To import it use `cosmossdk.io/x/bank` +```diff +OverrideStoreKeys: []*runtimev2.StoreKeyConfig{ + { + ModuleName: authtypes.ModuleName, + KvStoreKey: "acc", + }, + { + ModuleName: accounts.ModuleName, + KvStoreKey: accounts.StoreKey, + }, ++ { ++ ModuleName: comettypes.ModuleName, ++ KvStoreKey: comettypes.StoreKey, ++ }, +}, +``` ### `x/crsis` -The Crisis module was removed due to it not being supported or functional any longer. +The `x/crisis` module was removed due to it not being supported or functional any longer. #### `x/distribution` -Distribution was spun out into its own `go.mod`. To import it use `cosmossdk.io/x/distribution` - -The existing chains using x/distribution module needs to add the new x/protocolpool module. - -#### `x/group` - -Group was spun out into its own `go.mod`. To import it use `cosmossdk.io/x/group` +Existing chains using `x/distribution` module must add the new `x/protocolpool` module. #### `x/gov` -Gov was spun out into its own `go.mod`. To import it use `cosmossdk.io/x/gov` - Gov v1beta1 proposal handler has been changed to take in a `context.Context` instead of `sdk.Context`. This change was made to allow legacy proposals to be compatible with server/v2. If you wish to migrate to server/v2, you should update your proposal handler to take in a `context.Context` and use services. On the other hand, if you wish to keep using baseapp, simply unwrap the sdk context in your proposal handler. -#### `x/mint` - -Mint was spun out into its own `go.mod`. To import it use `cosmossdk.io/x/mint` - -#### `x/slashing` - -Slashing was spun out into its own `go.mod`. To import it use `cosmossdk.io/x/slashing` - -#### `x/staking` - -Staking was spun out into its own `go.mod`. To import it use `cosmossdk.io/x/staking` - -#### `x/params` - -A standalone Go module was created and it is accessible at "cosmossdk.io/x/params". - #### `x/protocolpool` -Introducing a new `x/protocolpool` module to handle community pool funds. Its store must be added while upgrading to v0.51.x. +Introducing a new `x/protocolpool` module to handle community pool funds. Its store must be added while upgrading to v0.52.x. Example: @@ -506,7 +498,7 @@ func (app SimApp) RegisterUpgradeHandlers() { } ``` -Add `x/protocolpool` store while upgrading to v0.51.x: +Add `x/protocolpool` store while upgrading to v0.52.x: ```go storetypes.StoreUpgrades{ diff --git a/simapp/v2/app_test.go b/simapp/v2/app_test.go index d99164d8f11e..e1b6f80e739a 100644 --- a/simapp/v2/app_test.go +++ b/simapp/v2/app_test.go @@ -12,7 +12,7 @@ import ( "github.com/stretchr/testify/require" "cosmossdk.io/core/comet" - context2 "cosmossdk.io/core/context" + corecontext "cosmossdk.io/core/context" "cosmossdk.io/core/server" "cosmossdk.io/core/store" "cosmossdk.io/core/transaction" @@ -114,7 +114,7 @@ func MoveNextBlock(t *testing.T, app *SimApp[transaction.Tx], ctx context.Contex require.NoError(t, err) // TODO: this is a hack to set the comet info in the context for distribution module dependency. - ctx = context.WithValue(ctx, context2.CometInfoKey, comet.Info{ + ctx = context.WithValue(ctx, corecontext.CometInfoKey, comet.Info{ Evidence: nil, ValidatorsHash: nil, ProposerAddress: nil, From e65bb5086096e8825e6090e0ead402a247bdedc6 Mon Sep 17 00:00:00 2001 From: Julien Robert Date: Mon, 2 Sep 2024 11:29:46 +0200 Subject: [PATCH 4/7] cl --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f718a6196056..1ccf4d1b5f39 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -54,7 +54,7 @@ Every module contains its own CHANGELOG.md. Please refer to the module you are i ### API Breaking Changes -* []() Rename `x/consensus` to `x/comet`. Only the module/package name has changed, endpoints, proto package, and other references remain the same. +* [#21497](https://github.com/cosmos/cosmos-sdk/pull/21497) Rename `x/consensus` to `x/comet`. Only the module/package name has changed, endpoints, proto package, and other references remain the same. ### Deprecated From d18e7dcbc0995e781333a385fe9ab70f1ca5d547 Mon Sep 17 00:00:00 2001 From: Julien Robert Date: Mon, 2 Sep 2024 11:36:06 +0200 Subject: [PATCH 5/7] renaming --- docs/build/building-modules/17-preblock.md | 2 +- server/v2/cometbft/abci.go | 4 +- simapp/app.go | 52 +++++++++---------- .../distribution/keeper/msg_server_test.go | 4 +- tests/integration/rapidgen/rapidgen.go | 6 +-- .../slashing/keeper/keeper_test.go | 4 +- .../integration/staking/keeper/common_test.go | 4 +- types/context.go | 2 +- x/auth/ante/expected_keepers.go | 4 +- x/auth/ante/testutil_test.go | 6 +-- x/comet/autocli.go | 2 +- x/comet/keeper/keeper.go | 4 +- x/staking/keeper/keeper_test.go | 6 +-- x/staking/types/expected_keepers.go | 4 +- 14 files changed, 52 insertions(+), 52 deletions(-) diff --git a/docs/build/building-modules/17-preblock.md b/docs/build/building-modules/17-preblock.md index 81c81bd94b63..312ad0f56918 100644 --- a/docs/build/building-modules/17-preblock.md +++ b/docs/build/building-modules/17-preblock.md @@ -21,4 +21,4 @@ There are two semantics around the new lifecycle method: * It runs before the `BeginBlocker` of all modules * It can modify consensus parameters in storage, and signal the caller through the return value. -Modules are required to get the consensus params from the consensus module. Consensus params located in `sdk.Context` were deprecated and should be treated as unsafe. `sdk.Context` is deprecated due to it being a global state within the entire state machine, it has been replaced with `appmodule.Environment`. +Modules are required to get the consensus params from the comet module. Consensus params located in `sdk.Context` were deprecated and should be treated as unsafe. `sdk.Context` is deprecated due to it being a global state within the entire state machine, it has been replaced with `appmodule.Environment`. diff --git a/server/v2/cometbft/abci.go b/server/v2/cometbft/abci.go index 96823be9b0f2..f3f577a8d31e 100644 --- a/server/v2/cometbft/abci.go +++ b/server/v2/cometbft/abci.go @@ -27,7 +27,7 @@ import ( cometerrors "cosmossdk.io/server/v2/cometbft/types/errors" "cosmossdk.io/server/v2/streaming" "cosmossdk.io/store/v2/snapshots" - consensustypes "cosmossdk.io/x/comet/types" + comettypes "cosmossdk.io/x/comet/types" ) var _ abci.Application = (*Consensus[transaction.Tx])(nil) @@ -245,7 +245,7 @@ func (c *Consensus[T]) InitChain(ctx context.Context, req *abciproto.InitChainRe } if req.ConsensusParams != nil { - ctx = context.WithValue(ctx, corecontext.InitInfoKey, &consensustypes.MsgUpdateParams{ + ctx = context.WithValue(ctx, corecontext.InitInfoKey, &comettypes.MsgUpdateParams{ Authority: c.consensusAuthority, Block: req.ConsensusParams.Block, Evidence: req.ConsensusParams.Evidence, diff --git a/simapp/app.go b/simapp/app.go index 1bc61f1856c4..da1964131340 100644 --- a/simapp/app.go +++ b/simapp/app.go @@ -48,9 +48,9 @@ import ( "cosmossdk.io/x/circuit" circuitkeeper "cosmossdk.io/x/circuit/keeper" circuittypes "cosmossdk.io/x/circuit/types" - consensus "cosmossdk.io/x/comet" - consensusparamkeeper "cosmossdk.io/x/comet/keeper" - consensustypes "cosmossdk.io/x/comet/types" + cometmodule "cosmossdk.io/x/comet" + cometkeeper "cosmossdk.io/x/comet/types" + comettypes "cosmossdk.io/x/comet/types" distr "cosmossdk.io/x/distribution" distrkeeper "cosmossdk.io/x/distribution/keeper" distrtypes "cosmossdk.io/x/distribution/types" @@ -157,24 +157,24 @@ type SimApp struct { keys map[string]*storetypes.KVStoreKey // keepers - AccountsKeeper accounts.Keeper - AuthKeeper authkeeper.AccountKeeper - BankKeeper bankkeeper.BaseKeeper - StakingKeeper *stakingkeeper.Keeper - SlashingKeeper slashingkeeper.Keeper - MintKeeper mintkeeper.Keeper - DistrKeeper distrkeeper.Keeper - GovKeeper govkeeper.Keeper - UpgradeKeeper *upgradekeeper.Keeper - AuthzKeeper authzkeeper.Keeper - EvidenceKeeper evidencekeeper.Keeper - FeeGrantKeeper feegrantkeeper.Keeper - GroupKeeper groupkeeper.Keeper - NFTKeeper nftkeeper.Keeper - ConsensusParamsKeeper consensusparamkeeper.Keeper - CircuitKeeper circuitkeeper.Keeper - PoolKeeper poolkeeper.Keeper - EpochsKeeper *epochskeeper.Keeper + AccountsKeeper accounts.Keeper + AuthKeeper authkeeper.AccountKeeper + BankKeeper bankkeeper.BaseKeeper + StakingKeeper *stakingkeeper.Keeper + SlashingKeeper slashingkeeper.Keeper + MintKeeper mintkeeper.Keeper + DistrKeeper distrkeeper.Keeper + GovKeeper govkeeper.Keeper + UpgradeKeeper *upgradekeeper.Keeper + AuthzKeeper authzkeeper.Keeper + EvidenceKeeper evidencekeeper.Keeper + FeeGrantKeeper feegrantkeeper.Keeper + GroupKeeper groupkeeper.Keeper + NFTKeeper nftkeeper.Keeper + CometParamsKeeper cometkeeper.Keeper + CircuitKeeper circuitkeeper.Keeper + PoolKeeper poolkeeper.Keeper + EpochsKeeper *epochskeeper.Keeper // managers ModuleManager *module.Manager @@ -264,7 +264,7 @@ func NewSimApp( keys := storetypes.NewKVStoreKeys( authtypes.StoreKey, banktypes.StoreKey, stakingtypes.StoreKey, minttypes.StoreKey, distrtypes.StoreKey, slashingtypes.StoreKey, - govtypes.StoreKey, consensustypes.StoreKey, upgradetypes.StoreKey, feegrant.StoreKey, + govtypes.StoreKey, comettypes.StoreKey, upgradetypes.StoreKey, feegrant.StoreKey, evidencetypes.StoreKey, circuittypes.StoreKey, authzkeeper.StoreKey, nftkeeper.StoreKey, group.StoreKey, pooltypes.StoreKey, accounts.StoreKey, epochstypes.StoreKey, @@ -287,8 +287,8 @@ func NewSimApp( cometService := runtime.NewContextAwareCometInfoService() // set the BaseApp's parameter store - app.ConsensusParamsKeeper = consensusparamkeeper.NewKeeper(appCodec, runtime.NewEnvironment(runtime.NewKVStoreService(keys[consensustypes.StoreKey]), logger.With(log.ModuleKey, "x/comet")), authtypes.NewModuleAddress(govtypes.ModuleName).String()) - bApp.SetParamStore(app.ConsensusParamsKeeper.ParamsStore) + app.CometParamsKeeper = cometkeeper.NewKeeper(appCodec, runtime.NewEnvironment(runtime.NewKVStoreService(keys[comettypes.StoreKey]), logger.With(log.ModuleKey, "x/comet")), authtypes.NewModuleAddress(govtypes.ModuleName).String()) + bApp.SetParamStore(app.CometParamsKeeper.ParamsStore) // add keepers accountsKeeper, err := accounts.NewKeeper( @@ -460,7 +460,7 @@ func NewSimApp( authzmodule.NewAppModule(appCodec, app.AuthzKeeper, app.AuthKeeper, app.BankKeeper, app.interfaceRegistry), groupmodule.NewAppModule(appCodec, app.GroupKeeper, app.AuthKeeper, app.BankKeeper, app.interfaceRegistry), nftmodule.NewAppModule(appCodec, app.NFTKeeper, app.AuthKeeper, app.BankKeeper, app.interfaceRegistry), - consensus.NewAppModule(appCodec, app.ConsensusParamsKeeper), + cometmodule.NewAppModule(appCodec, app.CometParamsKeeper), circuit.NewAppModule(appCodec, app.CircuitKeeper), protocolpool.NewAppModule(appCodec, app.PoolKeeper, app.AuthKeeper, app.BankKeeper), epochs.NewAppModule(appCodec, app.EpochsKeeper), @@ -501,7 +501,7 @@ func NewSimApp( // properly initialized with tokens from genesis accounts. // NOTE: The genutils module must also occur after auth so that it can access the params from auth. genesisModuleOrder := []string{ - consensustypes.ModuleName, + comettypes.ModuleName, accounts.ModuleName, authtypes.ModuleName, banktypes.ModuleName, diff --git a/tests/integration/distribution/keeper/msg_server_test.go b/tests/integration/distribution/keeper/msg_server_test.go index 02b732df67aa..92bc7977a7ea 100644 --- a/tests/integration/distribution/keeper/msg_server_test.go +++ b/tests/integration/distribution/keeper/msg_server_test.go @@ -23,7 +23,7 @@ import ( "cosmossdk.io/x/bank" bankkeeper "cosmossdk.io/x/bank/keeper" banktypes "cosmossdk.io/x/bank/types" - consensustypes "cosmossdk.io/x/comet/types" + comettypes "cosmossdk.io/x/comet/types" "cosmossdk.io/x/distribution" distrkeeper "cosmossdk.io/x/distribution/keeper" distrtypes "cosmossdk.io/x/distribution/types" @@ -73,7 +73,7 @@ func initFixture(t *testing.T) *fixture { t.Helper() keys := storetypes.NewKVStoreKeys( authtypes.StoreKey, banktypes.StoreKey, distrtypes.StoreKey, pooltypes.StoreKey, stakingtypes.StoreKey, - consensustypes.StoreKey, + comettypes.StoreKey, ) encodingCfg := moduletestutil.MakeTestEncodingConfig(codectestutil.CodecOptions{}, auth.AppModule{}, bank.AppModule{}) cdc := encodingCfg.Codec diff --git a/tests/integration/rapidgen/rapidgen.go b/tests/integration/rapidgen/rapidgen.go index 31f069c8fc0c..ce64706bc95f 100644 --- a/tests/integration/rapidgen/rapidgen.go +++ b/tests/integration/rapidgen/rapidgen.go @@ -33,7 +33,7 @@ import ( vestingtypes "cosmossdk.io/x/auth/vesting/types" authztypes "cosmossdk.io/x/authz" banktypes "cosmossdk.io/x/bank/types" - consensustypes "cosmossdk.io/x/comet/types" + comettypes "cosmossdk.io/x/comet/types" disttypes "cosmossdk.io/x/distribution/types" evidencetypes "cosmossdk.io/x/evidence/types" feegranttypes "cosmossdk.io/x/feegrant" @@ -120,8 +120,8 @@ var ( GenType(&banktypes.MsgUpdateParams{}, &bankapi.MsgUpdateParams{}, GenOpts.WithDisallowNil()), GenType(&banktypes.MsgSetSendEnabled{}, &bankapi.MsgSetSendEnabled{}, GenOpts), - // consensus - GenType(&consensustypes.MsgUpdateParams{}, &consensusapi.MsgUpdateParams{}, GenOpts.WithDisallowNil()), + // x/comet + GenType(&comettypes.MsgUpdateParams{}, &consensusapi.MsgUpdateParams{}, GenOpts.WithDisallowNil()), // distribution GenType(&disttypes.MsgWithdrawDelegatorReward{}, &distapi.MsgWithdrawDelegatorReward{}, GenOpts), diff --git a/tests/integration/slashing/keeper/keeper_test.go b/tests/integration/slashing/keeper/keeper_test.go index 91985fa02ba9..82d259418d0f 100644 --- a/tests/integration/slashing/keeper/keeper_test.go +++ b/tests/integration/slashing/keeper/keeper_test.go @@ -21,7 +21,7 @@ import ( "cosmossdk.io/x/bank" bankkeeper "cosmossdk.io/x/bank/keeper" banktypes "cosmossdk.io/x/bank/types" - consensustypes "cosmossdk.io/x/comet/types" + comettypes "cosmossdk.io/x/comet/types" minttypes "cosmossdk.io/x/mint/types" "cosmossdk.io/x/slashing" slashingkeeper "cosmossdk.io/x/slashing/keeper" @@ -60,7 +60,7 @@ type fixture struct { func initFixture(tb testing.TB) *fixture { tb.Helper() keys := storetypes.NewKVStoreKeys( - authtypes.StoreKey, banktypes.StoreKey, slashingtypes.StoreKey, stakingtypes.StoreKey, consensustypes.StoreKey, + authtypes.StoreKey, banktypes.StoreKey, slashingtypes.StoreKey, stakingtypes.StoreKey, comettypes.StoreKey, ) encodingCfg := moduletestutil.MakeTestEncodingConfig(codectestutil.CodecOptions{}, auth.AppModule{}) cdc := encodingCfg.Codec diff --git a/tests/integration/staking/keeper/common_test.go b/tests/integration/staking/keeper/common_test.go index 3d6736d0cde1..6fcdb909486a 100644 --- a/tests/integration/staking/keeper/common_test.go +++ b/tests/integration/staking/keeper/common_test.go @@ -20,7 +20,7 @@ import ( "cosmossdk.io/x/bank" bankkeeper "cosmossdk.io/x/bank/keeper" banktypes "cosmossdk.io/x/bank/types" - consensustypes "cosmossdk.io/x/comet/types" + comettypes "cosmossdk.io/x/comet/types" minttypes "cosmossdk.io/x/mint/types" pooltypes "cosmossdk.io/x/protocolpool/types" "cosmossdk.io/x/staking" @@ -111,7 +111,7 @@ func createValidators( func initFixture(tb testing.TB) *fixture { tb.Helper() keys := storetypes.NewKVStoreKeys( - authtypes.StoreKey, banktypes.StoreKey, types.StoreKey, consensustypes.StoreKey, + authtypes.StoreKey, banktypes.StoreKey, types.StoreKey, comettypes.StoreKey, ) encodingCfg := moduletestutil.MakeTestEncodingConfig(codectestutil.CodecOptions{}, auth.AppModule{}, staking.AppModule{}) cdc := encodingCfg.Codec diff --git a/types/context.go b/types/context.go index 3f5778c638f1..83292844f174 100644 --- a/types/context.go +++ b/types/context.go @@ -103,7 +103,7 @@ func (c Context) HeaderHash() []byte { } // Deprecated: getting consensus params from the context is deprecated and will be removed after 0.52 -// Querying the consensus module for the parameters is required in server/v2 +// Querying the comet module for the parameters is required in server/v2 func (c Context) ConsensusParams() cmtproto.ConsensusParams { return c.consParams } diff --git a/x/auth/ante/expected_keepers.go b/x/auth/ante/expected_keepers.go index 84142230d11b..7071129f6a32 100644 --- a/x/auth/ante/expected_keepers.go +++ b/x/auth/ante/expected_keepers.go @@ -6,7 +6,7 @@ import ( "cosmossdk.io/core/address" "cosmossdk.io/core/appmodule" "cosmossdk.io/x/auth/types" - consensustypes "cosmossdk.io/x/comet/types" + comettypes "cosmossdk.io/x/comet/types" sdk "github.com/cosmos/cosmos-sdk/types" ) @@ -29,5 +29,5 @@ type FeegrantKeeper interface { } type ConsensusKeeper interface { - Params(context.Context, *consensustypes.QueryParamsRequest) (*consensustypes.QueryParamsResponse, error) + Params(context.Context, *comettypes.QueryParamsRequest) (*comettypes.QueryParamsResponse, error) } diff --git a/x/auth/ante/testutil_test.go b/x/auth/ante/testutil_test.go index 88366252a8cf..b12c3228138c 100644 --- a/x/auth/ante/testutil_test.go +++ b/x/auth/ante/testutil_test.go @@ -25,7 +25,7 @@ import ( authtestutil "cosmossdk.io/x/auth/testutil" txtestutil "cosmossdk.io/x/auth/tx/testutil" "cosmossdk.io/x/auth/types" - consensustypes "cosmossdk.io/x/comet/types" + comettypes "cosmossdk.io/x/comet/types" "github.com/cosmos/cosmos-sdk/baseapp" "github.com/cosmos/cosmos-sdk/client" @@ -101,10 +101,10 @@ func SetupTestSuite(t *testing.T, isCheckTx bool) *AnteTestSuite { grpcQueryRouter.SetInterfaceRegistry(suite.encCfg.InterfaceRegistry) suite.consensusKeeper = antetestutil.NewMockConsensusKeeper(ctrl) - suite.consensusKeeper.EXPECT().Params(gomock.Any(), gomock.Any()).Return(&consensustypes.QueryParamsResponse{ + suite.consensusKeeper.EXPECT().Params(gomock.Any(), gomock.Any()).Return(&comettypes.QueryParamsResponse{ Params: simtestutil.DefaultConsensusParams, }, nil).AnyTimes() - consensustypes.RegisterQueryServer(grpcQueryRouter, suite.consensusKeeper) + comettypes.RegisterQueryServer(grpcQueryRouter, suite.consensusKeeper) suite.env = runtime.NewEnvironment(runtime.NewKVStoreService(key), coretesting.NewNopLogger(), runtime.EnvWithQueryRouterService(grpcQueryRouter), runtime.EnvWithMsgRouterService(msgRouter)) suite.accountKeeper = keeper.NewAccountKeeper( diff --git a/x/comet/autocli.go b/x/comet/autocli.go index e9c89ca63f4c..1eb62826bead 100644 --- a/x/comet/autocli.go +++ b/x/comet/autocli.go @@ -32,7 +32,7 @@ func (am AppModule) AutoCLIOptions() *autocliv1.ModuleOptions { { RpcMethod: "UpdateParams", Use: "update-params-proposal ", - Short: "Submit a proposal to update consensus module params. Note: the entire params must be provided.", + Short: "Submit a proposal to update comet module params. Note: the entire params must be provided.", Example: fmt.Sprintf(`%s tx consensus update-params-proposal '{ params }'`, version.AppName), PositionalArgs: []*autocliv1.PositionalArgDescriptor{ {ProtoField: "block"}, diff --git a/x/comet/keeper/keeper.go b/x/comet/keeper/keeper.go index dea9eb6db002..23cbde23c2a0 100644 --- a/x/comet/keeper/keeper.go +++ b/x/comet/keeper/keeper.go @@ -39,8 +39,8 @@ func NewKeeper(cdc codec.BinaryCodec, env appmodule.Environment, authority strin } } -// GetAuthority returns the authority address for the consensus module. -// This address has the permission to update consensus parameters. +// GetAuthority returns the authority address for the comet module. +// This address has the permission to update comet parameters. func (k *Keeper) GetAuthority() string { return k.authority } diff --git a/x/staking/keeper/keeper_test.go b/x/staking/keeper/keeper_test.go index 73e88e48daf7..72253dc20b32 100644 --- a/x/staking/keeper/keeper_test.go +++ b/x/staking/keeper/keeper_test.go @@ -15,7 +15,7 @@ import ( "cosmossdk.io/math" storetypes "cosmossdk.io/store/types" authtypes "cosmossdk.io/x/auth/types" - consensustypes "cosmossdk.io/x/comet/types" + comettypes "cosmossdk.io/x/comet/types" stakingkeeper "cosmossdk.io/x/staking/keeper" stakingtestutil "cosmossdk.io/x/staking/testutil" stakingtypes "cosmossdk.io/x/staking/types" @@ -81,11 +81,11 @@ func (s *KeeperTestSuite) SetupTest() { // create consensus keeper ck := stakingtestutil.NewMockConsensusKeeper(ctrl) - ck.EXPECT().Params(gomock.Any(), gomock.Any()).Return(&consensustypes.QueryParamsResponse{ + ck.EXPECT().Params(gomock.Any(), gomock.Any()).Return(&comettypes.QueryParamsResponse{ Params: simtestutil.DefaultConsensusParams, }, nil).AnyTimes() queryHelper := baseapp.NewQueryServerTestHelper(ctx, encCfg.InterfaceRegistry) - consensustypes.RegisterQueryServer(queryHelper, ck) + comettypes.RegisterQueryServer(queryHelper, ck) bankKeeper := stakingtestutil.NewMockBankKeeper(ctrl) env := runtime.NewEnvironment(storeService, coretesting.NewNopLogger(), runtime.EnvWithQueryRouterService(queryHelper.GRPCQueryRouter), runtime.EnvWithMsgRouterService(s.baseApp.MsgServiceRouter())) diff --git a/x/staking/types/expected_keepers.go b/x/staking/types/expected_keepers.go index 9bcd73e8ccfb..900db1e83614 100644 --- a/x/staking/types/expected_keepers.go +++ b/x/staking/types/expected_keepers.go @@ -6,7 +6,7 @@ import ( st "cosmossdk.io/api/cosmos/staking/v1beta1" "cosmossdk.io/core/address" "cosmossdk.io/math" - consensustypes "cosmossdk.io/x/comet/types" + comettypes "cosmossdk.io/x/comet/types" cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" sdk "github.com/cosmos/cosmos-sdk/types" @@ -117,5 +117,5 @@ type StakingHooksWrapper struct{ StakingHooks } func (StakingHooksWrapper) IsOnePerModuleType() {} type ConsensusKeeper interface { - Params(context.Context, *consensustypes.QueryParamsRequest) (*consensustypes.QueryParamsResponse, error) + Params(context.Context, *comettypes.QueryParamsRequest) (*comettypes.QueryParamsResponse, error) } From 2636680ada49194816dae9317be701adb4ab88db Mon Sep 17 00:00:00 2001 From: Julien Robert Date: Mon, 2 Sep 2024 11:38:54 +0200 Subject: [PATCH 6/7] fix import --- simapp/app.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simapp/app.go b/simapp/app.go index da1964131340..88fcac997699 100644 --- a/simapp/app.go +++ b/simapp/app.go @@ -49,7 +49,7 @@ import ( circuitkeeper "cosmossdk.io/x/circuit/keeper" circuittypes "cosmossdk.io/x/circuit/types" cometmodule "cosmossdk.io/x/comet" - cometkeeper "cosmossdk.io/x/comet/types" + cometkeeper "cosmossdk.io/x/comet/keeper" comettypes "cosmossdk.io/x/comet/types" distr "cosmossdk.io/x/distribution" distrkeeper "cosmossdk.io/x/distribution/keeper" From 282ab5d1a34fcfcf5c85a2742b40a42854fa8550 Mon Sep 17 00:00:00 2001 From: Julien Robert Date: Mon, 2 Sep 2024 11:45:42 +0200 Subject: [PATCH 7/7] don't rename appmodule --- CHANGELOG.md | 2 +- UPGRADING.md | 21 +-------------------- simapp/app_config.go | 4 ---- simapp/v2/app_config.go | 4 ---- x/comet/types/keys.go | 4 ++-- 5 files changed, 4 insertions(+), 31 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1ccf4d1b5f39..6dce0edde56d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -54,7 +54,7 @@ Every module contains its own CHANGELOG.md. Please refer to the module you are i ### API Breaking Changes -* [#21497](https://github.com/cosmos/cosmos-sdk/pull/21497) Rename `x/consensus` to `x/comet`. Only the module/package name has changed, endpoints, proto package, and other references remain the same. +* [#21497](https://github.com/cosmos/cosmos-sdk/pull/21497) Rename `x/consensus` to `x/comet`. Only the go module name has changed, appmodule, endpoints, proto package, and other references remain the same. ### Deprecated diff --git a/UPGRADING.md b/UPGRADING.md index 9670a0432387..e7f936e0810a 100644 --- a/UPGRADING.md +++ b/UPGRADING.md @@ -443,26 +443,7 @@ if err != nil { The `x/consensus` module has been renamed to `x/comet`. More consensus engines are supported in the Cosmos SDK for server/v2. The renaming was done to signify that. -For backward compatibility the store key has been kept as `consensus`, a genesis migration have been added as well. - -Due to add add the following in your `app_config.go` / `app.yaml` when using `runtime`: - -```diff -OverrideStoreKeys: []*runtimev2.StoreKeyConfig{ - { - ModuleName: authtypes.ModuleName, - KvStoreKey: "acc", - }, - { - ModuleName: accounts.ModuleName, - KvStoreKey: accounts.StoreKey, - }, -+ { -+ ModuleName: comettypes.ModuleName, -+ KvStoreKey: comettypes.StoreKey, -+ }, -}, -``` +For backward compatibility the module name and its store key has been kept as `consensus`. ### `x/crsis` diff --git a/simapp/app_config.go b/simapp/app_config.go index 5a46ceb4da43..9ad052d41f21 100644 --- a/simapp/app_config.go +++ b/simapp/app_config.go @@ -144,10 +144,6 @@ var ( ModuleName: accounts.ModuleName, KvStoreKey: accounts.StoreKey, }, - { - ModuleName: comettypes.ModuleName, - KvStoreKey: comettypes.StoreKey, - }, }, // NOTE: The genutils module must occur after staking so that pools are // properly initialized with tokens from genesis accounts. diff --git a/simapp/v2/app_config.go b/simapp/v2/app_config.go index 5372aa42b5a9..d74ad3da9608 100644 --- a/simapp/v2/app_config.go +++ b/simapp/v2/app_config.go @@ -142,10 +142,6 @@ var ( ModuleName: accounts.ModuleName, KvStoreKey: accounts.StoreKey, }, - { - ModuleName: comettypes.ModuleName, - KvStoreKey: comettypes.StoreKey, - }, }, // NOTE: The genutils module must occur after staking so that pools are // properly initialized with tokens from genesis accounts. diff --git a/x/comet/types/keys.go b/x/comet/types/keys.go index b4e1c760d681..2393dc213460 100644 --- a/x/comet/types/keys.go +++ b/x/comet/types/keys.go @@ -2,8 +2,8 @@ package types const ( // ModuleName defines the name of the x/comet module. - ModuleName = "comet" + ModuleName = "consensus" // The module name is still `consensus` here to keep the same module address. // StoreKey defines the module's store key. - StoreKey = "consensus" + StoreKey = ModuleName )