From 5d473f091af157e267df4aaff885db9e06f89349 Mon Sep 17 00:00:00 2001 From: Daniel Olshansky Date: Tue, 4 Feb 2025 09:54:50 -0800 Subject: [PATCH 1/9] Add a couple TODO_UPNEXT --- x/migration/module/autocli.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/x/migration/module/autocli.go b/x/migration/module/autocli.go index 96169a21d..80b4d488c 100644 --- a/x/migration/module/autocli.go +++ b/x/migration/module/autocli.go @@ -6,6 +6,10 @@ import ( modulev1 "github.com/pokt-network/poktroll/api/poktroll/migration" ) +// TODO_UPNEXT(@bryanchriswhite, #1046): Add `MsgClaimMorsePOKT` to the autocli. +// TODO_UPNEXT(@bryanchriswhite, #1047): Make sure to document why the autocli is +// not used for transactions requiring auth signatures. + // AutoCLIOptions implements the autocli.HasAutoCLIConfig interface. func (am AppModule) AutoCLIOptions() *autocliv1.ModuleOptions { return &autocliv1.ModuleOptions{ From 1617784bcfa525877d49a82b71657573d4106677 Mon Sep 17 00:00:00 2001 From: "Dima K." Date: Tue, 4 Feb 2025 15:48:33 -0800 Subject: [PATCH 2/9] [Upgrades] v0.0.12 upgrade (#1043) ## Summary Adding an upgrade handler for `v0.0.12` ## Type of change Select one or more from the following: - [ ] New feature, functionality or library - [ ] Consensus breaking; add the `consensus-breaking` label if so. See #791 for details - [ ] Bug fix - [ ] Code health or cleanup - [ ] Documentation - [x] Other (specify) ## Sanity Checklist - [ ] I have updated the GitHub Issue `assignees`, `reviewers`, `labels`, `project`, `iteration` and `milestone` - [ ] For docs, I have run `make docusaurus_start` - [ ] For code, I have run `make go_develop_and_test` and `make test_e2e` - [ ] For code, I have added the `devnet-test-e2e` label to run E2E tests in CI - [ ] For configurations, I have update the documentation - [ ] I added TODOs where applicable --------- Co-authored-by: Daniel Olshansky --- app/upgrades.go | 14 +- app/upgrades/historical.go | 3 + app/upgrades/types.go | 9 +- app/upgrades/v0.0.12.go | 197 ++++++++++++++++++ .../docs/protocol/upgrades/upgrade_list.md | 15 +- .../relayminer_config_localnet_vscode.yaml | 2 +- 6 files changed, 229 insertions(+), 11 deletions(-) create mode 100644 app/upgrades/v0.0.12.go diff --git a/app/upgrades.go b/app/upgrades.go index df4543c99..a10b2f726 100644 --- a/app/upgrades.go +++ b/app/upgrades.go @@ -11,9 +11,17 @@ import ( // The chain upgrade can be scheduled AFTER the new version (with upgrade strategy implemented) is released, // so `cosmovisor` can automatically pull the binary from GitHub. var allUpgrades = []upgrades.Upgrade{ - upgrades.Upgrade_0_0_4, - upgrades.Upgrade_0_0_10, - upgrades.Upgrade_0_0_11, + // v0.0.4 was the first upgrade we implemented and tested on network that is no longer used. + // upgrades.Upgrade_0_0_4, + + // v0.0.10 was the first upgrade we implemented on Alpha TestNet. + // upgrades.Upgrade_0_0_10, + + // v0.0.11 was the Alpha TestNet exclusive upgrade to bring it on par with Beta TestNet. + // upgrades.Upgrade_0_0_11, + + // v0.0.12 - the first upgrade going live on both Alpha and Beta TestNets. + upgrades.Upgrade_0_0_12, } // setUpgrades sets upgrade handlers for all upgrades and executes KVStore migration if an upgrade plan file exists. diff --git a/app/upgrades/historical.go b/app/upgrades/historical.go index 35393ad02..9b6baba88 100644 --- a/app/upgrades/historical.go +++ b/app/upgrades/historical.go @@ -40,6 +40,9 @@ func defaultUpgradeHandler( // For example, even if `ConsensusVersion` is not modified for any modules, it still might be beneficial to create // an upgrade so node runners are signaled to start utilizing `Cosmovisor` for new binaries. var UpgradeExample = Upgrade{ + // PlanName can be any string. + // This code is executed when the upgrade with this plan name is submitted to the network. + // This does not necessarily need to be a version, but it's usually the case with consensus-breaking changes. PlanName: "v0.0.0-Example", CreateUpgradeHandler: defaultUpgradeHandler, diff --git a/app/upgrades/types.go b/app/upgrades/types.go index 3bba73629..f4c9793cd 100644 --- a/app/upgrades/types.go +++ b/app/upgrades/types.go @@ -16,8 +16,15 @@ import ( const ( // The default PNF/DAO address in the genesis file for Alpha TestNet. Used to create new authz authorizations. AlphaTestNetPnfAddress = "pokt1r6ja6rz6rpae58njfrsgs5n5sp3r36r2q9j04h" - // Authority address. Defaults to gov module address. Used to create new authz authorizations. + + // TECHDEBT: DO NOT use AlphaTestNetAuthorityAddress. + // This is the authority address used to create new authz authorizations. Defaults to x/gov module account address. + // Use `keepers.UpgradeKeeper.Authority(ctx, &upgradetypes.QueryAuthorityRequest{})` to query the authority address of the current Alpha Network. + // NOTE: This hard-coded address is kept for record-keeping historical purposes. AlphaTestNetAuthorityAddress = "pokt10d07y265gmmuvt4z0w9aw880jnsr700j8yv32t" + + // The default PNF/DAO address in the genesis file for Beta TestNet. Used to create new authz authorizations. + BetaTestNetPnfAddress = "pokt1f0c9y7mahf2ya8tymy8g4rr75ezh3pkklu4c3e" ) // Upgrade represents a protocol upgrade in code. diff --git a/app/upgrades/v0.0.12.go b/app/upgrades/v0.0.12.go new file mode 100644 index 000000000..213f42c08 --- /dev/null +++ b/app/upgrades/v0.0.12.go @@ -0,0 +1,197 @@ +package upgrades + +import ( + "context" + "strings" + + "cosmossdk.io/math" + storetypes "cosmossdk.io/store/types" + upgradetypes "cosmossdk.io/x/upgrade/types" + cosmosTypes "github.com/cosmos/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/types/module" + "github.com/pokt-network/poktroll/app/keepers" + sharedtypes "github.com/pokt-network/poktroll/x/shared/types" +) + +const Upgrade_0_0_12_PlanName = "v0.0.12" + +// Upgrade_0_0_12 handles the upgrade to release `v0.0.12`. +// This is planned to be issued on both Pocket Network's Shannon Alpha & Beta TestNets. +var Upgrade_0_0_12 = Upgrade{ + PlanName: Upgrade_0_0_12_PlanName, + CreateUpgradeHandler: func(mm *module.Manager, + keepers *keepers.Keepers, + configurator module.Configurator, + ) upgradetypes.UpgradeHandler { + // Parameter configurations aligned with repository config.yml specifications. + // These values reflect the delta between v0.0.11 and the main branch as of #1043. + // Reference: + // - Comparison: https://github.com/pokt-network/poktroll/compare/v0.0.11..7541afd6d89a12d61e2c32637b535f24fae20b58 + // - Direct diff: `git diff v0.0.11..7541afd6d89a12d61e2c32637b535f24fae20b58 -- config.yml` + // + // DEV_NOTE: These parameter updates are derived from config.yml in the root directory + // of this repository, which serves as the source of truth for all parameter changes. + const ( + supplierStakingFee = 1000000 // uPOKT + serviceTargetNumRelays = 100 // num relays + tokenomicsGlobalInflationPerClaim = 0.1 // % of the claim amount + ) + + applyNewParameters := func(ctx context.Context) (err error) { + logger := cosmosTypes.UnwrapSDKContext(ctx).Logger() + logger.Info("Starting parameter updates", "upgrade_plan_name", Upgrade_0_0_12_PlanName) + + // Set supplier module staking_fee to 1000000upokt, in line with the config.yml in the repo. + // Verify via: + // $ poktrolld q supplier params --node=... + supplierParams := keepers.SupplierKeeper.GetParams(ctx) + supplierParams.MinStake = &cosmosTypes.Coin{ + Denom: "upokt", + Amount: math.NewInt(supplierStakingFee), + } + err = keepers.SupplierKeeper.SetParams(ctx, supplierParams) + if err != nil { + logger.Error("Failed to set supplier params", "error", err) + return err + } + logger.Info("Successfully updated supplier params", "new_params", supplierParams) + + // Add service module `target_num_relays` parameter, in line with the config.yml in the repo. + // Verify via: + // $ poktrolld q service params --node=... + serviceParams := keepers.ServiceKeeper.GetParams(ctx) + serviceParams.TargetNumRelays = serviceTargetNumRelays + err = keepers.ServiceKeeper.SetParams(ctx, serviceParams) + if err != nil { + logger.Error("Failed to set service params", "error", err) + return err + } + logger.Info("Successfully updated service params", "new_params", serviceParams) + + // Add tokenomics module `global_inflation_per_claim` parameter, in line with the config.yml in the repo. + // Verify via: + // $ poktrolld q tokenomics params --node=... + tokenomicsParams := keepers.TokenomicsKeeper.GetParams(ctx) + tokenomicsParams.GlobalInflationPerClaim = tokenomicsGlobalInflationPerClaim + err = keepers.TokenomicsKeeper.SetParams(ctx, tokenomicsParams) + if err != nil { + logger.Error("Failed to set tokenomics params", "error", err) + return err + } + logger.Info("Successfully updated tokenomics params", "new_params", tokenomicsParams) + return nil + } + + // Helper function to update all suppliers' RevShare to 100%. + // This is necessary to ensure that we have that value populated before suppliers are connected. + // + updateSuppliersRevShare := func(ctx context.Context) error { + logger := cosmosTypes.UnwrapSDKContext(ctx).Logger() + suppliers := keepers.SupplierKeeper.GetAllSuppliers(ctx) + logger.Info("Updating (overriding) all suppliers to delegate 100% revenue share to the supplier's operator address", + "num_suppliers", len(suppliers)) + + for _, supplier := range suppliers { + for _, service := range supplier.Services { + if len(service.RevShare) > 1 { + // WARNING: Overwriting existing revshare settings without preserving history. + // NOTE: While the canonical approach would be using Module Upgrade (docs.cosmos.network/v0.46/building-modules/upgrade) + // to handle protobuf type changes (see: github.com/cosmos/cosmos-sdk/blob/v0.46.0-rc1/x/bank/migrations/v043/store.go#L50-L71), + // we've opted for direct overwrite because: + // 1. No active revenue shares are impacted at time of writing + // 2. Additional protobuf and repo structure changes would be required for proper (though unnecessary) migration + + // Create a string representation of just the revenue share addresses + addresses := make([]string, len(service.RevShare)) + for i, rs := range service.RevShare { + addresses[i] = rs.Address + } + revShareAddressesStr := "[" + strings.Join(addresses, ",") + "]" + logger.Warn( + "Overwriting existing revenue share configuration", + "supplier_operator", supplier.OperatorAddress, + "supplier_owner", supplier.OwnerAddress, + "service", service.ServiceId, + "previous_revshare_count", len(service.RevShare), + "previous_revshare_addresses", revShareAddressesStr, + ) + service.RevShare = []*sharedtypes.ServiceRevenueShare{ + { + Address: supplier.OperatorAddress, + RevSharePercentage: uint64(100), + }, + } + } else if len(service.RevShare) == 1 { + // If there is only one revshare setting, we can safely overwrite it (because it has 100% + // revenue share), keeping the existing address. + logger.Info("Updating supplier's revenue share configuration", + "supplier_operator", supplier.OperatorAddress, + "supplier_owner", supplier.OwnerAddress, + "service", service.ServiceId, + "previous_revshare_address", service.RevShare[0].Address, + ) + currentRevShare := service.RevShare[0] + service.RevShare = []*sharedtypes.ServiceRevenueShare{ + { + Address: currentRevShare.Address, + RevSharePercentage: uint64(100), + }, + } + } else { + logger.Warn("That shouldn't happen: no revenue share configuration found for supplier", + "supplier_operator", supplier.OperatorAddress, + "supplier_owner", supplier.OwnerAddress, + "service", service.ServiceId, + ) + } + } + keepers.SupplierKeeper.SetSupplier(ctx, supplier) + logger.Info("Updated supplier", + "supplier_operator", supplier.OperatorAddress, + "supplier_owner", supplier.OwnerAddress) + } + return nil + } + + // Returns the upgrade handler for v0.0.12 + return func(ctx context.Context, plan upgradetypes.Plan, vm module.VersionMap) (module.VersionMap, error) { + logger := cosmosTypes.UnwrapSDKContext(ctx).Logger() + logger.Info("Starting upgrade handler", "upgrade_plan_name", Upgrade_0_0_12_PlanName) + + logger.Info("Starting parameter updates section", "upgrade_plan_name", Upgrade_0_0_12_PlanName) + // Update all governance parameter changes. + // This includes adding params, removing params and changing values of existing params. + err := applyNewParameters(ctx) + if err != nil { + logger.Error("Failed to apply new parameters", + "upgrade_plan_name", Upgrade_0_0_12_PlanName, + "error", err) + return vm, err + } + + logger.Info("Starting supplier RevShare updates section", "upgrade_plan_name", Upgrade_0_0_12_PlanName) + // Override all suppliers' RevShare to be 100% delegate to the supplier's operator address + err = updateSuppliersRevShare(ctx) + if err != nil { + logger.Error("Failed to update suppliers RevShare", + "upgrade_plan_name", Upgrade_0_0_12_PlanName, + "error", err) + return vm, err + } + + logger.Info("Starting module migrations section", "upgrade_plan_name", Upgrade_0_0_12_PlanName) + vm, err = mm.RunMigrations(ctx, configurator, vm) + if err != nil { + logger.Error("Failed to run migrations", + "upgrade_plan_name", Upgrade_0_0_12_PlanName, + "error", err) + return vm, err + } + + logger.Info("Successfully completed upgrade handler", "upgrade_plan_name", Upgrade_0_0_12_PlanName) + return vm, nil + } + }, + // No changes to the KVStore in this upgrade. + StoreUpgrades: storetypes.StoreUpgrades{}, +} diff --git a/docusaurus/docs/protocol/upgrades/upgrade_list.md b/docusaurus/docs/protocol/upgrades/upgrade_list.md index 6480086c3..bd2d816b0 100644 --- a/docusaurus/docs/protocol/upgrades/upgrade_list.md +++ b/docusaurus/docs/protocol/upgrades/upgrade_list.md @@ -27,6 +27,7 @@ Coming... | Version | Planned | Breaking | Requires Manual Intervention | Upgrade Height | | -------------------------------------------------------------------------------- | :-----: | :------: | :--------------------------: | -------------- | +| [`v0.0.12`](https://github.com/pokt-network/poktroll/releases/tag/v0.0.12) | ✅ | ✅ | ❌ | TBA | | [`v0.0.11-rc`](https://github.com/pokt-network/poktroll/releases/tag/v0.0.11-rc) | N/A | N/A | ❌ genesis version | N/A | ## Alpha TestNet @@ -36,12 +37,14 @@ Some manual steps are currently required to sync to the latest block. Please fol -| Version | Planned | Breaking | Requires Manual Intervention | Upgrade Height | -| ---------------------------------------------------------------------------- | :-----: | :------: | :--------------------------------------------------------------------------------------------------------------------------------------------: | -------------------------------------------------------------------------------------------------------------------------------- | -| [`v0.0.10`](https://github.com/pokt-network/poktroll/releases/tag/v0.0.10) | ✅ | ✅ | ❌ (automatic upgrade) | [56860](https://shannon.alpha.testnet.pokt.network/poktroll/tx/4E201E5C397AB881F417266154C907D38404BE00BE9A443DE28E44A2B09C5CFB) | -| [`v0.0.9-4`](https://github.com/pokt-network/poktroll/releases/tag/v0.0.9-4) | ❌ | ✅ | ⚠️ [follow manual upgrade instructions](https://github.com/pokt-network/poktroll/releases/tag/v0.0.9-4) ⚠️ | `46329` | -| [`v0.0.9-3`](https://github.com/pokt-network/poktroll/releases/tag/v0.0.9-3) | ❌ | ✅ | ❌ Active Alpha TestNet Participants Only: [follow manual upgrade instructions](https://github.com/pokt-network/poktroll/releases/tag/v0.0.9-3) | `17102` | -| [`v0.0.9`](https://github.com/pokt-network/poktroll/releases/tag/v0.0.9) | N/A | N/A | ❌ genesis version | N/A | +| Version | Planned | Breaking | Requires Manual Intervention | Upgrade Height | +| ---------------------------------------------------------------------------- | :-----: | :------: | :--------------------------------------------------------------------------------------------------------------------------------------------: | --------------------------------------------------------------------------------------------------------------------------------- | +| [`v0.0.12`](https://github.com/pokt-network/poktroll/releases/tag/v0.0.12) | ✅ | ✅ | ❌ | TBA | +| [`v0.0.11`](https://github.com/pokt-network/poktroll/releases/tag/v0.0.11) | ✅ | ✅ | ❌ (automatic upgrade) | [156245](https://shannon.alpha.testnet.pokt.network/poktroll/tx/EE72B1D0744872CFFF4AC34DA9573B0BC2E32FFF998A8F25BF817FBE44F53543) | +| [`v0.0.10`](https://github.com/pokt-network/poktroll/releases/tag/v0.0.10) | ✅ | ✅ | ❌ (automatic upgrade) | [56860](https://shannon.alpha.testnet.pokt.network/poktroll/tx/4E201E5C397AB881F417266154C907D38404BE00BE9A443DE28E44A2B09C5CFB) | +| [`v0.0.9-4`](https://github.com/pokt-network/poktroll/releases/tag/v0.0.9-4) | ❌ | ✅ | ⚠️ [follow manual upgrade instructions](https://github.com/pokt-network/poktroll/releases/tag/v0.0.9-4) ⚠️ | `46329` | +| [`v0.0.9-3`](https://github.com/pokt-network/poktroll/releases/tag/v0.0.9-3) | ❌ | ✅ | ❌ Active Alpha TestNet Participants Only: [follow manual upgrade instructions](https://github.com/pokt-network/poktroll/releases/tag/v0.0.9-3) | `17102` | +| [`v0.0.9`](https://github.com/pokt-network/poktroll/releases/tag/v0.0.9) | N/A | N/A | ❌ genesis version | N/A | ### Syncing from genesis - manual steps diff --git a/localnet/poktrolld/config/relayminer_config_localnet_vscode.yaml b/localnet/poktrolld/config/relayminer_config_localnet_vscode.yaml index 451914f9f..de20c4d13 100644 --- a/localnet/poktrolld/config/relayminer_config_localnet_vscode.yaml +++ b/localnet/poktrolld/config/relayminer_config_localnet_vscode.yaml @@ -23,7 +23,7 @@ metrics: addr: :9070 pocket_node: query_node_rpc_url: tcp://localhost:26657 - query_node_grpc_url: tcp://localhost:36658 + query_node_grpc_url: tcp://localhost:9090 tx_node_rpc_url: tcp://localhost:26657 suppliers: - service_id: anvil From 6e1cea12acc899b5ed4fe17f3913a62a50abda68 Mon Sep 17 00:00:00 2001 From: "Dima K." Date: Tue, 4 Feb 2025 16:19:00 -0800 Subject: [PATCH 3/9] [CI][Quick change] downgrade docker/login-action version (#1056) We accidentally bumped the action version in #1041. Need to reverse to build artifacts for the release. --- .github/workflows/release-artifacts.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release-artifacts.yml b/.github/workflows/release-artifacts.yml index 5fb703abc..1be854f76 100644 --- a/.github/workflows/release-artifacts.yml +++ b/.github/workflows/release-artifacts.yml @@ -17,15 +17,15 @@ jobs: with: fetch-depth: "0" # Per https://github.com/ignite/cli/issues/1674#issuecomment-1144619147 - - name: install ignite - run: | - make ignite_install - - name: Set up Go uses: actions/setup-go@v4 with: go-version: "1.23.0" + - name: install ignite + run: | + make ignite_install + - name: Install CI dependencies run: make install_ci_deps @@ -62,7 +62,7 @@ jobs: type=sha,format=long,suffix=-prod - name: Login to GitHub Container Registry - uses: docker/login-action@v4 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.actor }} From c5d200bb3619a3f12ac605782ab16913684baff8 Mon Sep 17 00:00:00 2001 From: Bryan White Date: Wed, 5 Feb 2025 16:38:00 +0100 Subject: [PATCH 4/9] [Migration] scaffold: module migration (#1032) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary `ignite scaffold module migration` _NOTE: The `--dep` flag consistently failed to work for me, resulting in the following error (for any dep module); e.g.:_ ``` ✘ The module cannot have Account as a dependency: app doesn't contain AccountKeeper ``` ## Issue - https://www.notion.so/buildwithgrove/Technical-Migration-from-Morse-Shannon-173a36edfff6800689fad43fd15287cd ## Type of change Select one or more from the following: - [x] New feature, functionality or library - [ ] Consensus breaking; add the `consensus-breaking` label if so. See #791 for details - [ ] Bug fix - [ ] Code health or cleanup - [ ] Documentation - [ ] Other (specify) ## Testing - [ ] **Documentation**: `make docusaurus_start`; only needed if you make doc changes - [x] **Unit Tests**: `make go_develop_and_test` - [ ] **LocalNet E2E Tests**: `make test_e2e` - [ ] **DevNet E2E Tests**: Add the `devnet-test-e2e` label to the PR. ## Sanity Checklist - [x] I have tested my changes using the available tooling - [ ] I have commented my code - [x] I have performed a self-review of my own code; both comments & source code - [ ] I create and reference any new tickets, if applicable - [ ] I have left TODOs throughout the codebase, if applicable --------- Co-authored-by: Daniel Olshansky --- api/poktroll/migration/genesis.pulsar.go | 597 +++++++++ .../migration/module/module.pulsar.go | 582 +++++++++ api/poktroll/migration/params.pulsar.go | 500 ++++++++ api/poktroll/migration/query.pulsar.go | 1012 +++++++++++++++ api/poktroll/migration/query_grpc.pb.go | 116 ++ api/poktroll/migration/tx.pulsar.go | 1091 +++++++++++++++++ api/poktroll/migration/tx_grpc.pb.go | 118 ++ app/app.go | 7 +- app/app_config.go | 11 + app/keepers/types.go | 2 + proto/poktroll/migration/genesis.proto | 18 + proto/poktroll/migration/module/module.proto | 17 + proto/poktroll/migration/params.proto | 14 + proto/poktroll/migration/query.proto | 31 + proto/poktroll/migration/tx.proto | 41 + testutil/keeper/migration.go | 51 + x/migration/keeper/keeper.go | 53 + x/migration/keeper/msg_server.go | 17 + x/migration/keeper/msg_server_test.go | 24 + x/migration/keeper/msg_update_params.go | 23 + x/migration/keeper/msg_update_params_test.go | 64 + x/migration/keeper/params.go | 33 + x/migration/keeper/params_test.go | 18 + x/migration/keeper/query.go | 7 + x/migration/keeper/query_params.go | 20 + x/migration/keeper/query_params_test.go | 20 + x/migration/module/autocli.go | 39 + x/migration/module/genesis.go | 26 + x/migration/module/genesis_test.go | 29 + x/migration/module/module.go | 214 ++++ x/migration/module/simulation.go | 59 + x/migration/simulation/helpers.go | 15 + x/migration/types/codec.go | 17 + x/migration/types/errors.go | 13 + x/migration/types/expected_keepers.go | 25 + x/migration/types/genesis.go | 24 + x/migration/types/genesis.pb.go | 320 +++++ x/migration/types/genesis_test.go | 41 + x/migration/types/keys.go | 20 + x/migration/types/msg_update_params.go | 21 + x/migration/types/params.go | 32 + x/migration/types/params.pb.go | 285 +++++ x/migration/types/query.pb.go | 532 ++++++++ x/migration/types/query.pb.gw.go | 153 +++ x/migration/types/tx.pb.go | 590 +++++++++ x/migration/types/types.go | 1 + 46 files changed, 6941 insertions(+), 2 deletions(-) create mode 100644 api/poktroll/migration/genesis.pulsar.go create mode 100644 api/poktroll/migration/module/module.pulsar.go create mode 100644 api/poktroll/migration/params.pulsar.go create mode 100644 api/poktroll/migration/query.pulsar.go create mode 100644 api/poktroll/migration/query_grpc.pb.go create mode 100644 api/poktroll/migration/tx.pulsar.go create mode 100644 api/poktroll/migration/tx_grpc.pb.go create mode 100644 proto/poktroll/migration/genesis.proto create mode 100644 proto/poktroll/migration/module/module.proto create mode 100644 proto/poktroll/migration/params.proto create mode 100644 proto/poktroll/migration/query.proto create mode 100644 proto/poktroll/migration/tx.proto create mode 100644 testutil/keeper/migration.go create mode 100644 x/migration/keeper/keeper.go create mode 100644 x/migration/keeper/msg_server.go create mode 100644 x/migration/keeper/msg_server_test.go create mode 100644 x/migration/keeper/msg_update_params.go create mode 100644 x/migration/keeper/msg_update_params_test.go create mode 100644 x/migration/keeper/params.go create mode 100644 x/migration/keeper/params_test.go create mode 100644 x/migration/keeper/query.go create mode 100644 x/migration/keeper/query_params.go create mode 100644 x/migration/keeper/query_params_test.go create mode 100644 x/migration/module/autocli.go create mode 100644 x/migration/module/genesis.go create mode 100644 x/migration/module/genesis_test.go create mode 100644 x/migration/module/module.go create mode 100644 x/migration/module/simulation.go create mode 100644 x/migration/simulation/helpers.go create mode 100644 x/migration/types/codec.go create mode 100644 x/migration/types/errors.go create mode 100644 x/migration/types/expected_keepers.go create mode 100644 x/migration/types/genesis.go create mode 100644 x/migration/types/genesis.pb.go create mode 100644 x/migration/types/genesis_test.go create mode 100644 x/migration/types/keys.go create mode 100644 x/migration/types/msg_update_params.go create mode 100644 x/migration/types/params.go create mode 100644 x/migration/types/params.pb.go create mode 100644 x/migration/types/query.pb.go create mode 100644 x/migration/types/query.pb.gw.go create mode 100644 x/migration/types/tx.pb.go create mode 100644 x/migration/types/types.go diff --git a/api/poktroll/migration/genesis.pulsar.go b/api/poktroll/migration/genesis.pulsar.go new file mode 100644 index 000000000..7a7ad4714 --- /dev/null +++ b/api/poktroll/migration/genesis.pulsar.go @@ -0,0 +1,597 @@ +// Code generated by protoc-gen-go-pulsar. DO NOT EDIT. +package migration + +import ( + _ "cosmossdk.io/api/amino" + fmt "fmt" + runtime "github.com/cosmos/cosmos-proto/runtime" + _ "github.com/cosmos/gogoproto/gogoproto" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoiface "google.golang.org/protobuf/runtime/protoiface" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + io "io" + reflect "reflect" + sync "sync" +) + +var ( + md_GenesisState protoreflect.MessageDescriptor + fd_GenesisState_params protoreflect.FieldDescriptor +) + +func init() { + file_poktroll_migration_genesis_proto_init() + md_GenesisState = File_poktroll_migration_genesis_proto.Messages().ByName("GenesisState") + fd_GenesisState_params = md_GenesisState.Fields().ByName("params") +} + +var _ protoreflect.Message = (*fastReflection_GenesisState)(nil) + +type fastReflection_GenesisState GenesisState + +func (x *GenesisState) ProtoReflect() protoreflect.Message { + return (*fastReflection_GenesisState)(x) +} + +func (x *GenesisState) slowProtoReflect() protoreflect.Message { + mi := &file_poktroll_migration_genesis_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +var _fastReflection_GenesisState_messageType fastReflection_GenesisState_messageType +var _ protoreflect.MessageType = fastReflection_GenesisState_messageType{} + +type fastReflection_GenesisState_messageType struct{} + +func (x fastReflection_GenesisState_messageType) Zero() protoreflect.Message { + return (*fastReflection_GenesisState)(nil) +} +func (x fastReflection_GenesisState_messageType) New() protoreflect.Message { + return new(fastReflection_GenesisState) +} +func (x fastReflection_GenesisState_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GenesisState +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GenesisState) Descriptor() protoreflect.MessageDescriptor { + return md_GenesisState +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GenesisState) Type() protoreflect.MessageType { + return _fastReflection_GenesisState_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GenesisState) New() protoreflect.Message { + return new(fastReflection_GenesisState) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GenesisState) Interface() protoreflect.ProtoMessage { + return (*GenesisState)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GenesisState) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Params != nil { + value := protoreflect.ValueOfMessage(x.Params.ProtoReflect()) + if !f(fd_GenesisState_params, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GenesisState) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "poktroll.migration.GenesisState.params": + return x.Params != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.migration.GenesisState")) + } + panic(fmt.Errorf("message poktroll.migration.GenesisState does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GenesisState) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "poktroll.migration.GenesisState.params": + x.Params = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.migration.GenesisState")) + } + panic(fmt.Errorf("message poktroll.migration.GenesisState does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GenesisState) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "poktroll.migration.GenesisState.params": + value := x.Params + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.migration.GenesisState")) + } + panic(fmt.Errorf("message poktroll.migration.GenesisState does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GenesisState) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "poktroll.migration.GenesisState.params": + x.Params = value.Message().Interface().(*Params) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.migration.GenesisState")) + } + panic(fmt.Errorf("message poktroll.migration.GenesisState does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GenesisState) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "poktroll.migration.GenesisState.params": + if x.Params == nil { + x.Params = new(Params) + } + return protoreflect.ValueOfMessage(x.Params.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.migration.GenesisState")) + } + panic(fmt.Errorf("message poktroll.migration.GenesisState does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GenesisState) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "poktroll.migration.GenesisState.params": + m := new(Params) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.migration.GenesisState")) + } + panic(fmt.Errorf("message poktroll.migration.GenesisState does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GenesisState) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in poktroll.migration.GenesisState", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GenesisState) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GenesisState) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GenesisState) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GenesisState) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GenesisState) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.Params != nil { + l = options.Size(x.Params) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GenesisState) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.Params != nil { + encoded, err := options.Marshal(x.Params) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GenesisState) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GenesisState: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GenesisState: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Params", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.Params == nil { + x.Params = &Params{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Params); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.27.0 +// protoc (unknown) +// source: poktroll/migration/genesis.proto + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// GenesisState defines the migration module's genesis state. +type GenesisState struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // params defines all the parameters of the module. + Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` +} + +func (x *GenesisState) Reset() { + *x = GenesisState{} + if protoimpl.UnsafeEnabled { + mi := &file_poktroll_migration_genesis_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GenesisState) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GenesisState) ProtoMessage() {} + +// Deprecated: Use GenesisState.ProtoReflect.Descriptor instead. +func (*GenesisState) Descriptor() ([]byte, []int) { + return file_poktroll_migration_genesis_proto_rawDescGZIP(), []int{0} +} + +func (x *GenesisState) GetParams() *Params { + if x != nil { + return x.Params + } + return nil +} + +var File_poktroll_migration_genesis_proto protoreflect.FileDescriptor + +var file_poktroll_migration_genesis_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x12, 0x12, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x6d, 0x69, 0x67, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x11, 0x61, 0x6d, 0x69, 0x6e, 0x6f, 0x2f, 0x61, 0x6d, + 0x69, 0x6e, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x67, 0x6f, 0x67, 0x6f, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x67, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x1f, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x4d, 0x0a, 0x0c, 0x47, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x12, 0x3d, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1a, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x6d, 0x69, 0x67, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0x09, 0xc8, 0xde, + 0x1f, 0x00, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, + 0xb8, 0x01, 0xd8, 0xe2, 0x1e, 0x01, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x6f, 0x6b, 0x74, + 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x0c, + 0x47, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x23, + 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0xa2, 0x02, 0x03, 0x50, 0x4d, 0x58, 0xaa, 0x02, 0x12, 0x50, 0x6f, 0x6b, 0x74, + 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0xca, 0x02, + 0x12, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x5c, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0xe2, 0x02, 0x1e, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x5c, 0x4d, + 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x13, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x3a, + 0x3a, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_poktroll_migration_genesis_proto_rawDescOnce sync.Once + file_poktroll_migration_genesis_proto_rawDescData = file_poktroll_migration_genesis_proto_rawDesc +) + +func file_poktroll_migration_genesis_proto_rawDescGZIP() []byte { + file_poktroll_migration_genesis_proto_rawDescOnce.Do(func() { + file_poktroll_migration_genesis_proto_rawDescData = protoimpl.X.CompressGZIP(file_poktroll_migration_genesis_proto_rawDescData) + }) + return file_poktroll_migration_genesis_proto_rawDescData +} + +var file_poktroll_migration_genesis_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_poktroll_migration_genesis_proto_goTypes = []interface{}{ + (*GenesisState)(nil), // 0: poktroll.migration.GenesisState + (*Params)(nil), // 1: poktroll.migration.Params +} +var file_poktroll_migration_genesis_proto_depIdxs = []int32{ + 1, // 0: poktroll.migration.GenesisState.params:type_name -> poktroll.migration.Params + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_poktroll_migration_genesis_proto_init() } +func file_poktroll_migration_genesis_proto_init() { + if File_poktroll_migration_genesis_proto != nil { + return + } + file_poktroll_migration_params_proto_init() + if !protoimpl.UnsafeEnabled { + file_poktroll_migration_genesis_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GenesisState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_poktroll_migration_genesis_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_poktroll_migration_genesis_proto_goTypes, + DependencyIndexes: file_poktroll_migration_genesis_proto_depIdxs, + MessageInfos: file_poktroll_migration_genesis_proto_msgTypes, + }.Build() + File_poktroll_migration_genesis_proto = out.File + file_poktroll_migration_genesis_proto_rawDesc = nil + file_poktroll_migration_genesis_proto_goTypes = nil + file_poktroll_migration_genesis_proto_depIdxs = nil +} diff --git a/api/poktroll/migration/module/module.pulsar.go b/api/poktroll/migration/module/module.pulsar.go new file mode 100644 index 000000000..092dd13aa --- /dev/null +++ b/api/poktroll/migration/module/module.pulsar.go @@ -0,0 +1,582 @@ +// Code generated by protoc-gen-go-pulsar. DO NOT EDIT. +package module + +import ( + _ "cosmossdk.io/api/cosmos/app/v1alpha1" + fmt "fmt" + runtime "github.com/cosmos/cosmos-proto/runtime" + _ "github.com/cosmos/gogoproto/gogoproto" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoiface "google.golang.org/protobuf/runtime/protoiface" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + io "io" + reflect "reflect" + sync "sync" +) + +var ( + md_Module protoreflect.MessageDescriptor + fd_Module_authority protoreflect.FieldDescriptor +) + +func init() { + file_poktroll_migration_module_module_proto_init() + md_Module = File_poktroll_migration_module_module_proto.Messages().ByName("Module") + fd_Module_authority = md_Module.Fields().ByName("authority") +} + +var _ protoreflect.Message = (*fastReflection_Module)(nil) + +type fastReflection_Module Module + +func (x *Module) ProtoReflect() protoreflect.Message { + return (*fastReflection_Module)(x) +} + +func (x *Module) slowProtoReflect() protoreflect.Message { + mi := &file_poktroll_migration_module_module_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +var _fastReflection_Module_messageType fastReflection_Module_messageType +var _ protoreflect.MessageType = fastReflection_Module_messageType{} + +type fastReflection_Module_messageType struct{} + +func (x fastReflection_Module_messageType) Zero() protoreflect.Message { + return (*fastReflection_Module)(nil) +} +func (x fastReflection_Module_messageType) New() protoreflect.Message { + return new(fastReflection_Module) +} +func (x fastReflection_Module_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_Module +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_Module) Descriptor() protoreflect.MessageDescriptor { + return md_Module +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_Module) Type() protoreflect.MessageType { + return _fastReflection_Module_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_Module) New() protoreflect.Message { + return new(fastReflection_Module) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_Module) Interface() protoreflect.ProtoMessage { + return (*Module)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_Module) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Authority != "" { + value := protoreflect.ValueOfString(x.Authority) + if !f(fd_Module_authority, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_Module) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "poktroll.migration.module.Module.authority": + return x.Authority != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.migration.module.Module")) + } + panic(fmt.Errorf("message poktroll.migration.module.Module does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_Module) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "poktroll.migration.module.Module.authority": + x.Authority = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.migration.module.Module")) + } + panic(fmt.Errorf("message poktroll.migration.module.Module does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_Module) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "poktroll.migration.module.Module.authority": + value := x.Authority + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.migration.module.Module")) + } + panic(fmt.Errorf("message poktroll.migration.module.Module does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_Module) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "poktroll.migration.module.Module.authority": + x.Authority = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.migration.module.Module")) + } + panic(fmt.Errorf("message poktroll.migration.module.Module does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_Module) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "poktroll.migration.module.Module.authority": + panic(fmt.Errorf("field authority of message poktroll.migration.module.Module is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.migration.module.Module")) + } + panic(fmt.Errorf("message poktroll.migration.module.Module does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_Module) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "poktroll.migration.module.Module.authority": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.migration.module.Module")) + } + panic(fmt.Errorf("message poktroll.migration.module.Module does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_Module) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in poktroll.migration.module.Module", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_Module) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_Module) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_Module) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_Module) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*Module) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Authority) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*Module) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Authority) > 0 { + i -= len(x.Authority) + copy(dAtA[i:], x.Authority) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Authority))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*Module) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: Module: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: Module: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Authority", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Authority = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.27.0 +// protoc (unknown) +// source: poktroll/migration/module/module.proto + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// Module is the config object for the module. +type Module struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // authority defines the custom module authority. If not set, defaults to the governance module. + Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` +} + +func (x *Module) Reset() { + *x = Module{} + if protoimpl.UnsafeEnabled { + mi := &file_poktroll_migration_module_module_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Module) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Module) ProtoMessage() {} + +// Deprecated: Use Module.ProtoReflect.Descriptor instead. +func (*Module) Descriptor() ([]byte, []int) { + return file_poktroll_migration_module_module_proto_rawDescGZIP(), []int{0} +} + +func (x *Module) GetAuthority() string { + if x != nil { + return x.Authority + } + return "" +} + +var File_poktroll_migration_module_module_proto protoreflect.FileDescriptor + +var file_poktroll_migration_module_module_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2f, 0x6d, 0x6f, 0x64, 0x75, + 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x19, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, + 0x6c, 0x6c, 0x2e, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x6d, 0x6f, 0x64, + 0x75, 0x6c, 0x65, 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, 0x1a, 0x14, 0x67, 0x6f, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x2f, 0x67, 0x6f, 0x67, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5c, 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, 0x34, 0xba, 0xc0, 0x96, 0xda, 0x01, 0x2e, 0x0a, 0x2c, 0x67, 0x69, 0x74, + 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x2d, 0x6e, 0x65, 0x74, + 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x78, 0x2f, + 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0xe2, 0x01, 0xd8, 0xe2, 0x1e, 0x01, + 0x0a, 0x1d, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x6d, + 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x42, + 0x0b, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2a, + 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x2f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0xa2, 0x02, 0x03, 0x50, 0x4d, 0x4d, + 0xaa, 0x02, 0x19, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x4d, 0x69, 0x67, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0xca, 0x02, 0x19, 0x50, + 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x5c, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x5c, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0xe2, 0x02, 0x25, 0x50, 0x6f, 0x6b, 0x74, 0x72, + 0x6f, 0x6c, 0x6c, 0x5c, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5c, 0x4d, 0x6f, + 0x64, 0x75, 0x6c, 0x65, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0xea, 0x02, 0x1b, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x3a, 0x3a, 0x4d, 0x69, 0x67, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x3a, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_poktroll_migration_module_module_proto_rawDescOnce sync.Once + file_poktroll_migration_module_module_proto_rawDescData = file_poktroll_migration_module_module_proto_rawDesc +) + +func file_poktroll_migration_module_module_proto_rawDescGZIP() []byte { + file_poktroll_migration_module_module_proto_rawDescOnce.Do(func() { + file_poktroll_migration_module_module_proto_rawDescData = protoimpl.X.CompressGZIP(file_poktroll_migration_module_module_proto_rawDescData) + }) + return file_poktroll_migration_module_module_proto_rawDescData +} + +var file_poktroll_migration_module_module_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_poktroll_migration_module_module_proto_goTypes = []interface{}{ + (*Module)(nil), // 0: poktroll.migration.module.Module +} +var file_poktroll_migration_module_module_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_poktroll_migration_module_module_proto_init() } +func file_poktroll_migration_module_module_proto_init() { + if File_poktroll_migration_module_module_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_poktroll_migration_module_module_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Module); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_poktroll_migration_module_module_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_poktroll_migration_module_module_proto_goTypes, + DependencyIndexes: file_poktroll_migration_module_module_proto_depIdxs, + MessageInfos: file_poktroll_migration_module_module_proto_msgTypes, + }.Build() + File_poktroll_migration_module_module_proto = out.File + file_poktroll_migration_module_module_proto_rawDesc = nil + file_poktroll_migration_module_module_proto_goTypes = nil + file_poktroll_migration_module_module_proto_depIdxs = nil +} diff --git a/api/poktroll/migration/params.pulsar.go b/api/poktroll/migration/params.pulsar.go new file mode 100644 index 000000000..59e393ca3 --- /dev/null +++ b/api/poktroll/migration/params.pulsar.go @@ -0,0 +1,500 @@ +// Code generated by protoc-gen-go-pulsar. DO NOT EDIT. +package migration + +import ( + _ "cosmossdk.io/api/amino" + fmt "fmt" + runtime "github.com/cosmos/cosmos-proto/runtime" + _ "github.com/cosmos/gogoproto/gogoproto" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoiface "google.golang.org/protobuf/runtime/protoiface" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + io "io" + reflect "reflect" + sync "sync" +) + +var ( + md_Params protoreflect.MessageDescriptor +) + +func init() { + file_poktroll_migration_params_proto_init() + md_Params = File_poktroll_migration_params_proto.Messages().ByName("Params") +} + +var _ protoreflect.Message = (*fastReflection_Params)(nil) + +type fastReflection_Params Params + +func (x *Params) ProtoReflect() protoreflect.Message { + return (*fastReflection_Params)(x) +} + +func (x *Params) slowProtoReflect() protoreflect.Message { + mi := &file_poktroll_migration_params_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +var _fastReflection_Params_messageType fastReflection_Params_messageType +var _ protoreflect.MessageType = fastReflection_Params_messageType{} + +type fastReflection_Params_messageType struct{} + +func (x fastReflection_Params_messageType) Zero() protoreflect.Message { + return (*fastReflection_Params)(nil) +} +func (x fastReflection_Params_messageType) New() protoreflect.Message { + return new(fastReflection_Params) +} +func (x fastReflection_Params_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_Params +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_Params) Descriptor() protoreflect.MessageDescriptor { + return md_Params +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_Params) Type() protoreflect.MessageType { + return _fastReflection_Params_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_Params) New() protoreflect.Message { + return new(fastReflection_Params) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_Params) Interface() protoreflect.ProtoMessage { + return (*Params)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_Params) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_Params) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.migration.Params")) + } + panic(fmt.Errorf("message poktroll.migration.Params does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_Params) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.migration.Params")) + } + panic(fmt.Errorf("message poktroll.migration.Params does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_Params) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.migration.Params")) + } + panic(fmt.Errorf("message poktroll.migration.Params does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_Params) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.migration.Params")) + } + panic(fmt.Errorf("message poktroll.migration.Params does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_Params) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.migration.Params")) + } + panic(fmt.Errorf("message poktroll.migration.Params does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_Params) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.migration.Params")) + } + panic(fmt.Errorf("message poktroll.migration.Params does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_Params) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in poktroll.migration.Params", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_Params) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_Params) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_Params) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_Params) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*Params) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*Params) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*Params) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: Params: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: Params: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.27.0 +// protoc (unknown) +// source: poktroll/migration/params.proto + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// Params defines the parameters for the module. +type Params struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *Params) Reset() { + *x = Params{} + if protoimpl.UnsafeEnabled { + mi := &file_poktroll_migration_params_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Params) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Params) ProtoMessage() {} + +// Deprecated: Use Params.ProtoReflect.Descriptor instead. +func (*Params) Descriptor() ([]byte, []int) { + return file_poktroll_migration_params_proto_rawDescGZIP(), []int{0} +} + +var File_poktroll_migration_params_proto protoreflect.FileDescriptor + +var file_poktroll_migration_params_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x12, 0x12, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x6d, 0x69, 0x67, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x11, 0x61, 0x6d, 0x69, 0x6e, 0x6f, 0x2f, 0x61, 0x6d, 0x69, + 0x6e, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x67, 0x6f, 0x67, 0x6f, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x67, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2e, + 0x0a, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x3a, 0x24, 0xe8, 0xa0, 0x1f, 0x01, 0x8a, 0xe7, + 0xb0, 0x2a, 0x1b, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x78, 0x2f, 0x6d, 0x69, + 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0xb7, + 0x01, 0xd8, 0xe2, 0x1e, 0x01, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, + 0x6f, 0x6c, 0x6c, 0x2e, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x0b, 0x50, + 0x61, 0x72, 0x61, 0x6d, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x23, 0x63, 0x6f, + 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x70, + 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0xa2, 0x02, 0x03, 0x50, 0x4d, 0x58, 0xaa, 0x02, 0x12, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, + 0x6c, 0x6c, 0x2e, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0xca, 0x02, 0x12, 0x50, + 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x5c, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0xe2, 0x02, 0x1e, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x5c, 0x4d, 0x69, 0x67, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0xea, 0x02, 0x13, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x3a, 0x3a, 0x4d, + 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_poktroll_migration_params_proto_rawDescOnce sync.Once + file_poktroll_migration_params_proto_rawDescData = file_poktroll_migration_params_proto_rawDesc +) + +func file_poktroll_migration_params_proto_rawDescGZIP() []byte { + file_poktroll_migration_params_proto_rawDescOnce.Do(func() { + file_poktroll_migration_params_proto_rawDescData = protoimpl.X.CompressGZIP(file_poktroll_migration_params_proto_rawDescData) + }) + return file_poktroll_migration_params_proto_rawDescData +} + +var file_poktroll_migration_params_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_poktroll_migration_params_proto_goTypes = []interface{}{ + (*Params)(nil), // 0: poktroll.migration.Params +} +var file_poktroll_migration_params_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_poktroll_migration_params_proto_init() } +func file_poktroll_migration_params_proto_init() { + if File_poktroll_migration_params_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_poktroll_migration_params_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Params); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_poktroll_migration_params_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_poktroll_migration_params_proto_goTypes, + DependencyIndexes: file_poktroll_migration_params_proto_depIdxs, + MessageInfos: file_poktroll_migration_params_proto_msgTypes, + }.Build() + File_poktroll_migration_params_proto = out.File + file_poktroll_migration_params_proto_rawDesc = nil + file_poktroll_migration_params_proto_goTypes = nil + file_poktroll_migration_params_proto_depIdxs = nil +} diff --git a/api/poktroll/migration/query.pulsar.go b/api/poktroll/migration/query.pulsar.go new file mode 100644 index 000000000..cb890aa65 --- /dev/null +++ b/api/poktroll/migration/query.pulsar.go @@ -0,0 +1,1012 @@ +// Code generated by protoc-gen-go-pulsar. DO NOT EDIT. +package migration + +import ( + _ "cosmossdk.io/api/amino" + _ "cosmossdk.io/api/cosmos/base/query/v1beta1" + fmt "fmt" + runtime "github.com/cosmos/cosmos-proto/runtime" + _ "github.com/cosmos/gogoproto/gogoproto" + _ "google.golang.org/genproto/googleapis/api/annotations" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoiface "google.golang.org/protobuf/runtime/protoiface" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + io "io" + reflect "reflect" + sync "sync" +) + +var ( + md_QueryParamsRequest protoreflect.MessageDescriptor +) + +func init() { + file_poktroll_migration_query_proto_init() + md_QueryParamsRequest = File_poktroll_migration_query_proto.Messages().ByName("QueryParamsRequest") +} + +var _ protoreflect.Message = (*fastReflection_QueryParamsRequest)(nil) + +type fastReflection_QueryParamsRequest QueryParamsRequest + +func (x *QueryParamsRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryParamsRequest)(x) +} + +func (x *QueryParamsRequest) slowProtoReflect() protoreflect.Message { + mi := &file_poktroll_migration_query_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +var _fastReflection_QueryParamsRequest_messageType fastReflection_QueryParamsRequest_messageType +var _ protoreflect.MessageType = fastReflection_QueryParamsRequest_messageType{} + +type fastReflection_QueryParamsRequest_messageType struct{} + +func (x fastReflection_QueryParamsRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryParamsRequest)(nil) +} +func (x fastReflection_QueryParamsRequest_messageType) New() protoreflect.Message { + return new(fastReflection_QueryParamsRequest) +} +func (x fastReflection_QueryParamsRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryParamsRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_QueryParamsRequest) Descriptor() protoreflect.MessageDescriptor { + return md_QueryParamsRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_QueryParamsRequest) Type() protoreflect.MessageType { + return _fastReflection_QueryParamsRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_QueryParamsRequest) New() protoreflect.Message { + return new(fastReflection_QueryParamsRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_QueryParamsRequest) Interface() protoreflect.ProtoMessage { + return (*QueryParamsRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_QueryParamsRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_QueryParamsRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.migration.QueryParamsRequest")) + } + panic(fmt.Errorf("message poktroll.migration.QueryParamsRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_QueryParamsRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.migration.QueryParamsRequest")) + } + panic(fmt.Errorf("message poktroll.migration.QueryParamsRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_QueryParamsRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.migration.QueryParamsRequest")) + } + panic(fmt.Errorf("message poktroll.migration.QueryParamsRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_QueryParamsRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.migration.QueryParamsRequest")) + } + panic(fmt.Errorf("message poktroll.migration.QueryParamsRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_QueryParamsRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.migration.QueryParamsRequest")) + } + panic(fmt.Errorf("message poktroll.migration.QueryParamsRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_QueryParamsRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.migration.QueryParamsRequest")) + } + panic(fmt.Errorf("message poktroll.migration.QueryParamsRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_QueryParamsRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in poktroll.migration.QueryParamsRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_QueryParamsRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_QueryParamsRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_QueryParamsRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_QueryParamsRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*QueryParamsRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*QueryParamsRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*QueryParamsRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryParamsRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryParamsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_QueryParamsResponse protoreflect.MessageDescriptor + fd_QueryParamsResponse_params protoreflect.FieldDescriptor +) + +func init() { + file_poktroll_migration_query_proto_init() + md_QueryParamsResponse = File_poktroll_migration_query_proto.Messages().ByName("QueryParamsResponse") + fd_QueryParamsResponse_params = md_QueryParamsResponse.Fields().ByName("params") +} + +var _ protoreflect.Message = (*fastReflection_QueryParamsResponse)(nil) + +type fastReflection_QueryParamsResponse QueryParamsResponse + +func (x *QueryParamsResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryParamsResponse)(x) +} + +func (x *QueryParamsResponse) slowProtoReflect() protoreflect.Message { + mi := &file_poktroll_migration_query_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +var _fastReflection_QueryParamsResponse_messageType fastReflection_QueryParamsResponse_messageType +var _ protoreflect.MessageType = fastReflection_QueryParamsResponse_messageType{} + +type fastReflection_QueryParamsResponse_messageType struct{} + +func (x fastReflection_QueryParamsResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryParamsResponse)(nil) +} +func (x fastReflection_QueryParamsResponse_messageType) New() protoreflect.Message { + return new(fastReflection_QueryParamsResponse) +} +func (x fastReflection_QueryParamsResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryParamsResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_QueryParamsResponse) Descriptor() protoreflect.MessageDescriptor { + return md_QueryParamsResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_QueryParamsResponse) Type() protoreflect.MessageType { + return _fastReflection_QueryParamsResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_QueryParamsResponse) New() protoreflect.Message { + return new(fastReflection_QueryParamsResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_QueryParamsResponse) Interface() protoreflect.ProtoMessage { + return (*QueryParamsResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_QueryParamsResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Params != nil { + value := protoreflect.ValueOfMessage(x.Params.ProtoReflect()) + if !f(fd_QueryParamsResponse_params, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_QueryParamsResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "poktroll.migration.QueryParamsResponse.params": + return x.Params != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.migration.QueryParamsResponse")) + } + panic(fmt.Errorf("message poktroll.migration.QueryParamsResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_QueryParamsResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "poktroll.migration.QueryParamsResponse.params": + x.Params = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.migration.QueryParamsResponse")) + } + panic(fmt.Errorf("message poktroll.migration.QueryParamsResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_QueryParamsResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "poktroll.migration.QueryParamsResponse.params": + value := x.Params + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.migration.QueryParamsResponse")) + } + panic(fmt.Errorf("message poktroll.migration.QueryParamsResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_QueryParamsResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "poktroll.migration.QueryParamsResponse.params": + x.Params = value.Message().Interface().(*Params) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.migration.QueryParamsResponse")) + } + panic(fmt.Errorf("message poktroll.migration.QueryParamsResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_QueryParamsResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "poktroll.migration.QueryParamsResponse.params": + if x.Params == nil { + x.Params = new(Params) + } + return protoreflect.ValueOfMessage(x.Params.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.migration.QueryParamsResponse")) + } + panic(fmt.Errorf("message poktroll.migration.QueryParamsResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_QueryParamsResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "poktroll.migration.QueryParamsResponse.params": + m := new(Params) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.migration.QueryParamsResponse")) + } + panic(fmt.Errorf("message poktroll.migration.QueryParamsResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_QueryParamsResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in poktroll.migration.QueryParamsResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_QueryParamsResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_QueryParamsResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_QueryParamsResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_QueryParamsResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*QueryParamsResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.Params != nil { + l = options.Size(x.Params) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*QueryParamsResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.Params != nil { + encoded, err := options.Marshal(x.Params) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*QueryParamsResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryParamsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryParamsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Params", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.Params == nil { + x.Params = &Params{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Params); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.27.0 +// protoc (unknown) +// source: poktroll/migration/query.proto + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// QueryParamsRequest is request type for the Query/Params RPC method. +type QueryParamsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *QueryParamsRequest) Reset() { + *x = QueryParamsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_poktroll_migration_query_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QueryParamsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QueryParamsRequest) ProtoMessage() {} + +// Deprecated: Use QueryParamsRequest.ProtoReflect.Descriptor instead. +func (*QueryParamsRequest) Descriptor() ([]byte, []int) { + return file_poktroll_migration_query_proto_rawDescGZIP(), []int{0} +} + +// QueryParamsResponse is response type for the Query/Params RPC method. +type QueryParamsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // params holds all the parameters of this module. + Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` +} + +func (x *QueryParamsResponse) Reset() { + *x = QueryParamsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_poktroll_migration_query_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QueryParamsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QueryParamsResponse) ProtoMessage() {} + +// Deprecated: Use QueryParamsResponse.ProtoReflect.Descriptor instead. +func (*QueryParamsResponse) Descriptor() ([]byte, []int) { + return file_poktroll_migration_query_proto_rawDescGZIP(), []int{1} +} + +func (x *QueryParamsResponse) GetParams() *Params { + if x != nil { + return x.Params + } + return nil +} + +var File_poktroll_migration_query_proto protoreflect.FileDescriptor + +var file_poktroll_migration_query_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x12, 0x12, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x6d, 0x69, 0x67, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x11, 0x61, 0x6d, 0x69, 0x6e, 0x6f, 0x2f, 0x61, 0x6d, 0x69, 0x6e, + 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x67, 0x6f, 0x67, 0x6f, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x67, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2a, 0x63, 0x6f, 0x73, + 0x6d, 0x6f, 0x73, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x2f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, + 0x6c, 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x70, 0x61, 0x72, 0x61, + 0x6d, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x14, 0x0a, 0x12, 0x51, 0x75, 0x65, 0x72, + 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x54, + 0x0a, 0x13, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3d, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, + 0x2e, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, + 0x73, 0x42, 0x09, 0xc8, 0xde, 0x1f, 0x00, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x06, 0x70, 0x61, + 0x72, 0x61, 0x6d, 0x73, 0x32, 0x94, 0x01, 0x0a, 0x05, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x8a, + 0x01, 0x0a, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x26, 0x2e, 0x70, 0x6f, 0x6b, 0x74, + 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x51, + 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x27, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x6d, 0x69, 0x67, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, + 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2f, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x29, 0x12, 0x27, 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, + 0x6b, 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0xb6, 0x01, 0xd8, 0xe2, + 0x1e, 0x01, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, + 0x2e, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x0a, 0x51, 0x75, 0x65, 0x72, + 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x23, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, + 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x72, + 0x6f, 0x6c, 0x6c, 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0xa2, 0x02, 0x03, + 0x50, 0x4d, 0x58, 0xaa, 0x02, 0x12, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x4d, + 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0xca, 0x02, 0x12, 0x50, 0x6f, 0x6b, 0x74, 0x72, + 0x6f, 0x6c, 0x6c, 0x5c, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0xe2, 0x02, 0x1e, + 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x5c, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, + 0x13, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x3a, 0x3a, 0x4d, 0x69, 0x67, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_poktroll_migration_query_proto_rawDescOnce sync.Once + file_poktroll_migration_query_proto_rawDescData = file_poktroll_migration_query_proto_rawDesc +) + +func file_poktroll_migration_query_proto_rawDescGZIP() []byte { + file_poktroll_migration_query_proto_rawDescOnce.Do(func() { + file_poktroll_migration_query_proto_rawDescData = protoimpl.X.CompressGZIP(file_poktroll_migration_query_proto_rawDescData) + }) + return file_poktroll_migration_query_proto_rawDescData +} + +var file_poktroll_migration_query_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_poktroll_migration_query_proto_goTypes = []interface{}{ + (*QueryParamsRequest)(nil), // 0: poktroll.migration.QueryParamsRequest + (*QueryParamsResponse)(nil), // 1: poktroll.migration.QueryParamsResponse + (*Params)(nil), // 2: poktroll.migration.Params +} +var file_poktroll_migration_query_proto_depIdxs = []int32{ + 2, // 0: poktroll.migration.QueryParamsResponse.params:type_name -> poktroll.migration.Params + 0, // 1: poktroll.migration.Query.Params:input_type -> poktroll.migration.QueryParamsRequest + 1, // 2: poktroll.migration.Query.Params:output_type -> poktroll.migration.QueryParamsResponse + 2, // [2:3] is the sub-list for method output_type + 1, // [1:2] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_poktroll_migration_query_proto_init() } +func file_poktroll_migration_query_proto_init() { + if File_poktroll_migration_query_proto != nil { + return + } + file_poktroll_migration_params_proto_init() + if !protoimpl.UnsafeEnabled { + file_poktroll_migration_query_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QueryParamsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_poktroll_migration_query_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QueryParamsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_poktroll_migration_query_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_poktroll_migration_query_proto_goTypes, + DependencyIndexes: file_poktroll_migration_query_proto_depIdxs, + MessageInfos: file_poktroll_migration_query_proto_msgTypes, + }.Build() + File_poktroll_migration_query_proto = out.File + file_poktroll_migration_query_proto_rawDesc = nil + file_poktroll_migration_query_proto_goTypes = nil + file_poktroll_migration_query_proto_depIdxs = nil +} diff --git a/api/poktroll/migration/query_grpc.pb.go b/api/poktroll/migration/query_grpc.pb.go new file mode 100644 index 000000000..1fc079a50 --- /dev/null +++ b/api/poktroll/migration/query_grpc.pb.go @@ -0,0 +1,116 @@ +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. +// versions: +// - protoc-gen-go-grpc v1.4.0 +// - protoc (unknown) +// source: poktroll/migration/query.proto + +package migration + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.62.0 or later. +const _ = grpc.SupportPackageIsVersion8 + +const ( + Query_Params_FullMethodName = "/poktroll.migration.Query/Params" +) + +// QueryClient is the client API for Query service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +// +// Query defines the gRPC querier service. +type QueryClient interface { + // Parameters queries the parameters of the module. + Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) +} + +type queryClient struct { + cc grpc.ClientConnInterface +} + +func NewQueryClient(cc grpc.ClientConnInterface) QueryClient { + return &queryClient{cc} +} + +func (c *queryClient) Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(QueryParamsResponse) + err := c.cc.Invoke(ctx, Query_Params_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +// QueryServer is the server API for Query service. +// All implementations must embed UnimplementedQueryServer +// for forward compatibility +// +// Query defines the gRPC querier service. +type QueryServer interface { + // Parameters queries the parameters of the module. + Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) + mustEmbedUnimplementedQueryServer() +} + +// UnimplementedQueryServer must be embedded to have forward compatible implementations. +type UnimplementedQueryServer struct { +} + +func (UnimplementedQueryServer) Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Params not implemented") +} +func (UnimplementedQueryServer) mustEmbedUnimplementedQueryServer() {} + +// UnsafeQueryServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to QueryServer will +// result in compilation errors. +type UnsafeQueryServer interface { + mustEmbedUnimplementedQueryServer() +} + +func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer) { + s.RegisterService(&Query_ServiceDesc, srv) +} + +func _Query_Params_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryParamsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServer).Params(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: Query_Params_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).Params(ctx, req.(*QueryParamsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +// Query_ServiceDesc is the grpc.ServiceDesc for Query service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var Query_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "poktroll.migration.Query", + HandlerType: (*QueryServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "Params", + Handler: _Query_Params_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "poktroll/migration/query.proto", +} diff --git a/api/poktroll/migration/tx.pulsar.go b/api/poktroll/migration/tx.pulsar.go new file mode 100644 index 000000000..f7af6fa34 --- /dev/null +++ b/api/poktroll/migration/tx.pulsar.go @@ -0,0 +1,1091 @@ +// Code generated by protoc-gen-go-pulsar. DO NOT EDIT. +package migration + +import ( + _ "cosmossdk.io/api/amino" + _ "cosmossdk.io/api/cosmos/msg/v1" + fmt "fmt" + _ "github.com/cosmos/cosmos-proto" + runtime "github.com/cosmos/cosmos-proto/runtime" + _ "github.com/cosmos/gogoproto/gogoproto" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoiface "google.golang.org/protobuf/runtime/protoiface" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + io "io" + reflect "reflect" + sync "sync" +) + +var ( + md_MsgUpdateParams protoreflect.MessageDescriptor + fd_MsgUpdateParams_authority protoreflect.FieldDescriptor + fd_MsgUpdateParams_params protoreflect.FieldDescriptor +) + +func init() { + file_poktroll_migration_tx_proto_init() + md_MsgUpdateParams = File_poktroll_migration_tx_proto.Messages().ByName("MsgUpdateParams") + fd_MsgUpdateParams_authority = md_MsgUpdateParams.Fields().ByName("authority") + fd_MsgUpdateParams_params = md_MsgUpdateParams.Fields().ByName("params") +} + +var _ protoreflect.Message = (*fastReflection_MsgUpdateParams)(nil) + +type fastReflection_MsgUpdateParams MsgUpdateParams + +func (x *MsgUpdateParams) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgUpdateParams)(x) +} + +func (x *MsgUpdateParams) slowProtoReflect() protoreflect.Message { + mi := &file_poktroll_migration_tx_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +var _fastReflection_MsgUpdateParams_messageType fastReflection_MsgUpdateParams_messageType +var _ protoreflect.MessageType = fastReflection_MsgUpdateParams_messageType{} + +type fastReflection_MsgUpdateParams_messageType struct{} + +func (x fastReflection_MsgUpdateParams_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgUpdateParams)(nil) +} +func (x fastReflection_MsgUpdateParams_messageType) New() protoreflect.Message { + return new(fastReflection_MsgUpdateParams) +} +func (x fastReflection_MsgUpdateParams_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgUpdateParams +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgUpdateParams) Descriptor() protoreflect.MessageDescriptor { + return md_MsgUpdateParams +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_MsgUpdateParams) Type() protoreflect.MessageType { + return _fastReflection_MsgUpdateParams_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgUpdateParams) New() protoreflect.Message { + return new(fastReflection_MsgUpdateParams) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgUpdateParams) Interface() protoreflect.ProtoMessage { + return (*MsgUpdateParams)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_MsgUpdateParams) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Authority != "" { + value := protoreflect.ValueOfString(x.Authority) + if !f(fd_MsgUpdateParams_authority, value) { + return + } + } + if x.Params != nil { + value := protoreflect.ValueOfMessage(x.Params.ProtoReflect()) + if !f(fd_MsgUpdateParams_params, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_MsgUpdateParams) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "poktroll.migration.MsgUpdateParams.authority": + return x.Authority != "" + case "poktroll.migration.MsgUpdateParams.params": + return x.Params != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.migration.MsgUpdateParams")) + } + panic(fmt.Errorf("message poktroll.migration.MsgUpdateParams does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgUpdateParams) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "poktroll.migration.MsgUpdateParams.authority": + x.Authority = "" + case "poktroll.migration.MsgUpdateParams.params": + x.Params = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.migration.MsgUpdateParams")) + } + panic(fmt.Errorf("message poktroll.migration.MsgUpdateParams does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_MsgUpdateParams) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "poktroll.migration.MsgUpdateParams.authority": + value := x.Authority + return protoreflect.ValueOfString(value) + case "poktroll.migration.MsgUpdateParams.params": + value := x.Params + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.migration.MsgUpdateParams")) + } + panic(fmt.Errorf("message poktroll.migration.MsgUpdateParams does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgUpdateParams) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "poktroll.migration.MsgUpdateParams.authority": + x.Authority = value.Interface().(string) + case "poktroll.migration.MsgUpdateParams.params": + x.Params = value.Message().Interface().(*Params) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.migration.MsgUpdateParams")) + } + panic(fmt.Errorf("message poktroll.migration.MsgUpdateParams does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgUpdateParams) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "poktroll.migration.MsgUpdateParams.params": + if x.Params == nil { + x.Params = new(Params) + } + return protoreflect.ValueOfMessage(x.Params.ProtoReflect()) + case "poktroll.migration.MsgUpdateParams.authority": + panic(fmt.Errorf("field authority of message poktroll.migration.MsgUpdateParams is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.migration.MsgUpdateParams")) + } + panic(fmt.Errorf("message poktroll.migration.MsgUpdateParams does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_MsgUpdateParams) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "poktroll.migration.MsgUpdateParams.authority": + return protoreflect.ValueOfString("") + case "poktroll.migration.MsgUpdateParams.params": + m := new(Params) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.migration.MsgUpdateParams")) + } + panic(fmt.Errorf("message poktroll.migration.MsgUpdateParams does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_MsgUpdateParams) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in poktroll.migration.MsgUpdateParams", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_MsgUpdateParams) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgUpdateParams) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_MsgUpdateParams) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_MsgUpdateParams) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgUpdateParams) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Authority) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.Params != nil { + l = options.Size(x.Params) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*MsgUpdateParams) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.Params != nil { + encoded, err := options.Marshal(x.Params) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x12 + } + if len(x.Authority) > 0 { + i -= len(x.Authority) + copy(dAtA[i:], x.Authority) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Authority))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*MsgUpdateParams) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgUpdateParams: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgUpdateParams: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Authority", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Authority = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Params", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.Params == nil { + x.Params = &Params{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Params); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_MsgUpdateParamsResponse protoreflect.MessageDescriptor +) + +func init() { + file_poktroll_migration_tx_proto_init() + md_MsgUpdateParamsResponse = File_poktroll_migration_tx_proto.Messages().ByName("MsgUpdateParamsResponse") +} + +var _ protoreflect.Message = (*fastReflection_MsgUpdateParamsResponse)(nil) + +type fastReflection_MsgUpdateParamsResponse MsgUpdateParamsResponse + +func (x *MsgUpdateParamsResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgUpdateParamsResponse)(x) +} + +func (x *MsgUpdateParamsResponse) slowProtoReflect() protoreflect.Message { + mi := &file_poktroll_migration_tx_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +var _fastReflection_MsgUpdateParamsResponse_messageType fastReflection_MsgUpdateParamsResponse_messageType +var _ protoreflect.MessageType = fastReflection_MsgUpdateParamsResponse_messageType{} + +type fastReflection_MsgUpdateParamsResponse_messageType struct{} + +func (x fastReflection_MsgUpdateParamsResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgUpdateParamsResponse)(nil) +} +func (x fastReflection_MsgUpdateParamsResponse_messageType) New() protoreflect.Message { + return new(fastReflection_MsgUpdateParamsResponse) +} +func (x fastReflection_MsgUpdateParamsResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgUpdateParamsResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgUpdateParamsResponse) Descriptor() protoreflect.MessageDescriptor { + return md_MsgUpdateParamsResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_MsgUpdateParamsResponse) Type() protoreflect.MessageType { + return _fastReflection_MsgUpdateParamsResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgUpdateParamsResponse) New() protoreflect.Message { + return new(fastReflection_MsgUpdateParamsResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgUpdateParamsResponse) Interface() protoreflect.ProtoMessage { + return (*MsgUpdateParamsResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_MsgUpdateParamsResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_MsgUpdateParamsResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.migration.MsgUpdateParamsResponse")) + } + panic(fmt.Errorf("message poktroll.migration.MsgUpdateParamsResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgUpdateParamsResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.migration.MsgUpdateParamsResponse")) + } + panic(fmt.Errorf("message poktroll.migration.MsgUpdateParamsResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_MsgUpdateParamsResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.migration.MsgUpdateParamsResponse")) + } + panic(fmt.Errorf("message poktroll.migration.MsgUpdateParamsResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgUpdateParamsResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.migration.MsgUpdateParamsResponse")) + } + panic(fmt.Errorf("message poktroll.migration.MsgUpdateParamsResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgUpdateParamsResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.migration.MsgUpdateParamsResponse")) + } + panic(fmt.Errorf("message poktroll.migration.MsgUpdateParamsResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_MsgUpdateParamsResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.migration.MsgUpdateParamsResponse")) + } + panic(fmt.Errorf("message poktroll.migration.MsgUpdateParamsResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_MsgUpdateParamsResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in poktroll.migration.MsgUpdateParamsResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_MsgUpdateParamsResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgUpdateParamsResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_MsgUpdateParamsResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_MsgUpdateParamsResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgUpdateParamsResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*MsgUpdateParamsResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*MsgUpdateParamsResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgUpdateParamsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgUpdateParamsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.27.0 +// protoc (unknown) +// source: poktroll/migration/tx.proto + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// MsgUpdateParams is the Msg/UpdateParams request type. +type MsgUpdateParams struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // 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 module parameters to update. + // + // NOTE: All parameters must be supplied. + Params *Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"` +} + +func (x *MsgUpdateParams) Reset() { + *x = MsgUpdateParams{} + if protoimpl.UnsafeEnabled { + mi := &file_poktroll_migration_tx_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgUpdateParams) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgUpdateParams) ProtoMessage() {} + +// Deprecated: Use MsgUpdateParams.ProtoReflect.Descriptor instead. +func (*MsgUpdateParams) Descriptor() ([]byte, []int) { + return file_poktroll_migration_tx_proto_rawDescGZIP(), []int{0} +} + +func (x *MsgUpdateParams) GetAuthority() string { + if x != nil { + return x.Authority + } + return "" +} + +func (x *MsgUpdateParams) GetParams() *Params { + if x != nil { + return x.Params + } + return nil +} + +// MsgUpdateParamsResponse defines the response structure for executing a +// MsgUpdateParams message. +type MsgUpdateParamsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *MsgUpdateParamsResponse) Reset() { + *x = MsgUpdateParamsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_poktroll_migration_tx_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgUpdateParamsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgUpdateParamsResponse) ProtoMessage() {} + +// Deprecated: Use MsgUpdateParamsResponse.ProtoReflect.Descriptor instead. +func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int) { + return file_poktroll_migration_tx_proto_rawDescGZIP(), []int{1} +} + +var File_poktroll_migration_tx_proto protoreflect.FileDescriptor + +var file_poktroll_migration_tx_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x74, 0x78, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x70, + 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x1a, 0x11, 0x61, 0x6d, 0x69, 0x6e, 0x6f, 0x2f, 0x61, 0x6d, 0x69, 0x6e, 0x6f, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x6d, 0x73, 0x67, + 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x73, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x63, + 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x73, 0x6d, + 0x6f, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x67, 0x6f, 0x67, 0x6f, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x67, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, + 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0xc1, 0x01, 0x0a, 0x0f, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, + 0x61, 0x6d, 0x73, 0x12, 0x36, 0x0a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, + 0x6f, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, + 0x52, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x3d, 0x0a, 0x06, 0x70, + 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x70, 0x6f, + 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0x09, 0xc8, 0xde, 0x1f, 0x00, 0xa8, 0xe7, 0xb0, + 0x2a, 0x01, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x3a, 0x37, 0x82, 0xe7, 0xb0, 0x2a, + 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x8a, 0xe7, 0xb0, 0x2a, 0x24, 0x70, + 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x78, 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x2f, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, + 0x61, 0x6d, 0x73, 0x22, 0x19, 0x0a, 0x17, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0x6e, + 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x12, 0x60, 0x0a, 0x0c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, + 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x23, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, + 0x2e, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, 0x2b, 0x2e, 0x70, 0x6f, 0x6b, + 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, + 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x1a, 0x05, 0x80, 0xe7, 0xb0, 0x2a, 0x01, 0x42, 0xb3, + 0x01, 0xd8, 0xe2, 0x1e, 0x01, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, + 0x6f, 0x6c, 0x6c, 0x2e, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x07, 0x54, + 0x78, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x23, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, + 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x72, + 0x6f, 0x6c, 0x6c, 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0xa2, 0x02, 0x03, + 0x50, 0x4d, 0x58, 0xaa, 0x02, 0x12, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x4d, + 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0xca, 0x02, 0x12, 0x50, 0x6f, 0x6b, 0x74, 0x72, + 0x6f, 0x6c, 0x6c, 0x5c, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0xe2, 0x02, 0x1e, + 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x5c, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, + 0x13, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x3a, 0x3a, 0x4d, 0x69, 0x67, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_poktroll_migration_tx_proto_rawDescOnce sync.Once + file_poktroll_migration_tx_proto_rawDescData = file_poktroll_migration_tx_proto_rawDesc +) + +func file_poktroll_migration_tx_proto_rawDescGZIP() []byte { + file_poktroll_migration_tx_proto_rawDescOnce.Do(func() { + file_poktroll_migration_tx_proto_rawDescData = protoimpl.X.CompressGZIP(file_poktroll_migration_tx_proto_rawDescData) + }) + return file_poktroll_migration_tx_proto_rawDescData +} + +var file_poktroll_migration_tx_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_poktroll_migration_tx_proto_goTypes = []interface{}{ + (*MsgUpdateParams)(nil), // 0: poktroll.migration.MsgUpdateParams + (*MsgUpdateParamsResponse)(nil), // 1: poktroll.migration.MsgUpdateParamsResponse + (*Params)(nil), // 2: poktroll.migration.Params +} +var file_poktroll_migration_tx_proto_depIdxs = []int32{ + 2, // 0: poktroll.migration.MsgUpdateParams.params:type_name -> poktroll.migration.Params + 0, // 1: poktroll.migration.Msg.UpdateParams:input_type -> poktroll.migration.MsgUpdateParams + 1, // 2: poktroll.migration.Msg.UpdateParams:output_type -> poktroll.migration.MsgUpdateParamsResponse + 2, // [2:3] is the sub-list for method output_type + 1, // [1:2] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_poktroll_migration_tx_proto_init() } +func file_poktroll_migration_tx_proto_init() { + if File_poktroll_migration_tx_proto != nil { + return + } + file_poktroll_migration_params_proto_init() + if !protoimpl.UnsafeEnabled { + file_poktroll_migration_tx_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgUpdateParams); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_poktroll_migration_tx_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgUpdateParamsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_poktroll_migration_tx_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_poktroll_migration_tx_proto_goTypes, + DependencyIndexes: file_poktroll_migration_tx_proto_depIdxs, + MessageInfos: file_poktroll_migration_tx_proto_msgTypes, + }.Build() + File_poktroll_migration_tx_proto = out.File + file_poktroll_migration_tx_proto_rawDesc = nil + file_poktroll_migration_tx_proto_goTypes = nil + file_poktroll_migration_tx_proto_depIdxs = nil +} diff --git a/api/poktroll/migration/tx_grpc.pb.go b/api/poktroll/migration/tx_grpc.pb.go new file mode 100644 index 000000000..79681fb48 --- /dev/null +++ b/api/poktroll/migration/tx_grpc.pb.go @@ -0,0 +1,118 @@ +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. +// versions: +// - protoc-gen-go-grpc v1.4.0 +// - protoc (unknown) +// source: poktroll/migration/tx.proto + +package migration + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.62.0 or later. +const _ = grpc.SupportPackageIsVersion8 + +const ( + Msg_UpdateParams_FullMethodName = "/poktroll.migration.Msg/UpdateParams" +) + +// MsgClient is the client API for Msg service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +// +// Msg defines the Msg service. +type MsgClient interface { + // UpdateParams defines a (governance) operation for updating the module + // parameters. The authority defaults to the x/gov module account. + UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) +} + +type msgClient struct { + cc grpc.ClientConnInterface +} + +func NewMsgClient(cc grpc.ClientConnInterface) MsgClient { + return &msgClient{cc} +} + +func (c *msgClient) UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(MsgUpdateParamsResponse) + err := c.cc.Invoke(ctx, Msg_UpdateParams_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +// MsgServer is the server API for Msg service. +// All implementations must embed UnimplementedMsgServer +// for forward compatibility +// +// Msg defines the Msg service. +type MsgServer interface { + // UpdateParams defines a (governance) operation for updating the module + // parameters. The authority defaults to the x/gov module account. + UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) + mustEmbedUnimplementedMsgServer() +} + +// UnimplementedMsgServer must be embedded to have forward compatible implementations. +type UnimplementedMsgServer struct { +} + +func (UnimplementedMsgServer) UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateParams not implemented") +} +func (UnimplementedMsgServer) mustEmbedUnimplementedMsgServer() {} + +// UnsafeMsgServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to MsgServer will +// result in compilation errors. +type UnsafeMsgServer interface { + mustEmbedUnimplementedMsgServer() +} + +func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer) { + s.RegisterService(&Msg_ServiceDesc, srv) +} + +func _Msg_UpdateParams_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgUpdateParams) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).UpdateParams(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: Msg_UpdateParams_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).UpdateParams(ctx, req.(*MsgUpdateParams)) + } + return interceptor(ctx, in, info, handler) +} + +// Msg_ServiceDesc is the grpc.ServiceDesc for Msg service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var Msg_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "poktroll.migration.Msg", + HandlerType: (*MsgServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "UpdateParams", + Handler: _Msg_UpdateParams_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "poktroll/migration/tx.proto", +} diff --git a/app/app.go b/app/app.go index 614a04b78..7a9100f29 100644 --- a/app/app.go +++ b/app/app.go @@ -70,7 +70,8 @@ type App struct { sm *module.SimulationManager // this line is used by starport scaffolding # stargate/app/keeperDeclaration - // Ignite CLI adds keepers here when scaffolding new modules. Please move the created keeper to the `keepers` package. + // MUST_READ_DEV_NOTE: Ignite CLI adds keepers here when scaffolding new modules. + // MUST_READ_DEV_ACTION_ITEM: Please move the created keeper to the `keepers` package. } func init() { @@ -214,8 +215,10 @@ func New( &app.Keepers.ProofKeeper, &app.Keepers.TokenomicsKeeper, &app.Keepers.SharedKeeper, + &app.Keepers.MigrationKeeper, // this line is used by starport scaffolding # stargate/app/keeperDefinition - // Ignite CLI adds keepers here when scaffolding new modules. Please move the created keeper to the `keepers` package. + // MUST_READ_DEV_NOTE: Ignite CLI adds keepers here when scaffolding new modules. + // MUST_READ_DEV_ACTION_ITEM: Please move the created keeper to the `keepers` package. ); err != nil { panic(err) } diff --git a/app/app_config.go b/app/app_config.go index 76cc7b5b2..0c91af588 100644 --- a/app/app_config.go +++ b/app/app_config.go @@ -1,6 +1,10 @@ package app import ( + migrationmodulev1 "github.com/pokt-network/poktroll/api/poktroll/migration/module" + _ "github.com/pokt-network/poktroll/x/migration/module" // import for side-effects + migrationmoduletypes "github.com/pokt-network/poktroll/x/migration/types" + // this line is used by starport scaffolding # stargate/app/moduleImport "time" @@ -140,6 +144,7 @@ var ( proofmoduletypes.ModuleName, tokenomicsmoduletypes.ModuleName, sharedmoduletypes.ModuleName, + migrationmoduletypes.ModuleName, // this line is used by starport scaffolding # stargate/app/initGenesis } @@ -172,6 +177,7 @@ var ( proofmoduletypes.ModuleName, tokenomicsmoduletypes.ModuleName, sharedmoduletypes.ModuleName, + migrationmoduletypes.ModuleName, // this line is used by starport scaffolding # stargate/app/beginBlockers } @@ -203,6 +209,7 @@ var ( applicationmoduletypes.ModuleName, suppliermoduletypes.ModuleName, sharedmoduletypes.ModuleName, + migrationmoduletypes.ModuleName, // this line is used by starport scaffolding # stargate/app/endBlockers } @@ -391,6 +398,10 @@ var ( Name: sharedmoduletypes.ModuleName, Config: appconfig.WrapAny(&sharedmodulev1.Module{}), }, + { + Name: migrationmoduletypes.ModuleName, + Config: appconfig.WrapAny(&migrationmodulev1.Module{}), + }, // this line is used by starport scaffolding # stargate/app/moduleConfig }, }) diff --git a/app/keepers/types.go b/app/keepers/types.go index 2125523c5..f169bc7ff 100644 --- a/app/keepers/types.go +++ b/app/keepers/types.go @@ -32,6 +32,7 @@ import ( applicationmodulekeeper "github.com/pokt-network/poktroll/x/application/keeper" gatewaymodulekeeper "github.com/pokt-network/poktroll/x/gateway/keeper" + migrationmodulekeeper "github.com/pokt-network/poktroll/x/migration/keeper" proofmodulekeeper "github.com/pokt-network/poktroll/x/proof/keeper" servicemodulekeeper "github.com/pokt-network/poktroll/x/service/keeper" sessionmodulekeeper "github.com/pokt-network/poktroll/x/session/keeper" @@ -82,4 +83,5 @@ type Keepers struct { ProofKeeper proofmodulekeeper.Keeper TokenomicsKeeper tokenomicsmodulekeeper.Keeper SharedKeeper sharedmodulekeeper.Keeper + MigrationKeeper migrationmodulekeeper.Keeper } diff --git a/proto/poktroll/migration/genesis.proto b/proto/poktroll/migration/genesis.proto new file mode 100644 index 000000000..f176aaacc --- /dev/null +++ b/proto/poktroll/migration/genesis.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; +package poktroll.migration; + +import "amino/amino.proto"; +import "gogoproto/gogo.proto"; +import "poktroll/migration/params.proto"; + +option go_package = "github.com/pokt-network/poktroll/x/migration/types"; +option (gogoproto.stable_marshaler_all) = true; + +// GenesisState defines the migration module's genesis state. +message GenesisState { + // params defines all the parameters of the module. + Params params = 1 [ + (gogoproto.nullable) = false, + (amino.dont_omitempty) = true + ]; +} diff --git a/proto/poktroll/migration/module/module.proto b/proto/poktroll/migration/module/module.proto new file mode 100644 index 000000000..26ce1692d --- /dev/null +++ b/proto/poktroll/migration/module/module.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; +package poktroll.migration.module; + +option (gogoproto.stable_marshaler_all) = true; + +import "cosmos/app/v1alpha1/module.proto"; +import "gogoproto/gogo.proto"; + +// Module is the config object for the module. +message Module { + option (cosmos.app.v1alpha1.module) = { + go_import: "github.com/pokt-network/poktroll/x/migration" + }; + + // authority defines the custom module authority. If not set, defaults to the governance module. + string authority = 1; +} diff --git a/proto/poktroll/migration/params.proto b/proto/poktroll/migration/params.proto new file mode 100644 index 000000000..9b7b71a61 --- /dev/null +++ b/proto/poktroll/migration/params.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; +package poktroll.migration; + +import "amino/amino.proto"; +import "gogoproto/gogo.proto"; + +option go_package = "github.com/pokt-network/poktroll/x/migration/types"; +option (gogoproto.stable_marshaler_all) = true; + +// Params defines the parameters for the module. +message Params { + option (amino.name) = "poktroll/x/migration/Params"; + option (gogoproto.equal) = true; +} \ No newline at end of file diff --git a/proto/poktroll/migration/query.proto b/proto/poktroll/migration/query.proto new file mode 100644 index 000000000..c3c04bc0c --- /dev/null +++ b/proto/poktroll/migration/query.proto @@ -0,0 +1,31 @@ +syntax = "proto3"; +package poktroll.migration; + +import "amino/amino.proto"; +import "gogoproto/gogo.proto"; +import "google/api/annotations.proto"; +import "cosmos/base/query/v1beta1/pagination.proto"; +import "poktroll/migration/params.proto"; + +option go_package = "github.com/pokt-network/poktroll/x/migration/types"; +option (gogoproto.stable_marshaler_all) = true; + +// Query defines the gRPC querier service. +service Query { + // Parameters queries the parameters of the module. + rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { + option (google.api.http).get = "/pokt-network/poktroll/migration/params"; + } +} + +// QueryParamsRequest is request type for the Query/Params RPC method. +message QueryParamsRequest {} + +// QueryParamsResponse is response type for the Query/Params RPC method. +message QueryParamsResponse { + // params holds all the parameters of this module. + Params params = 1 [ + (gogoproto.nullable) = false, + (amino.dont_omitempty) = true + ]; +} \ No newline at end of file diff --git a/proto/poktroll/migration/tx.proto b/proto/poktroll/migration/tx.proto new file mode 100644 index 000000000..9e9957de3 --- /dev/null +++ b/proto/poktroll/migration/tx.proto @@ -0,0 +1,41 @@ +syntax = "proto3"; +package poktroll.migration; + +import "amino/amino.proto"; +import "cosmos/msg/v1/msg.proto"; +import "cosmos_proto/cosmos.proto"; +import "gogoproto/gogo.proto"; +import "poktroll/migration/params.proto"; + +option go_package = "github.com/pokt-network/poktroll/x/migration/types"; +option (gogoproto.stable_marshaler_all) = true; + +// Msg defines the Msg service. +service Msg { + option (cosmos.msg.v1.service) = true; + + // UpdateParams defines a (governance) operation for updating the module + // parameters. The authority defaults to the x/gov module account. + rpc UpdateParams(MsgUpdateParams) returns (MsgUpdateParamsResponse); +} + +// MsgUpdateParams is the Msg/UpdateParams request type. +message MsgUpdateParams { + option (cosmos.msg.v1.signer) = "authority"; + option (amino.name) = "poktroll/x/migration/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 module parameters to update. + // + // NOTE: All parameters must be supplied. + Params params = 2 [ + (gogoproto.nullable) = false, + (amino.dont_omitempty) = true + ]; +} + +// MsgUpdateParamsResponse defines the response structure for executing a +// MsgUpdateParams message. +message MsgUpdateParamsResponse {} \ No newline at end of file diff --git a/testutil/keeper/migration.go b/testutil/keeper/migration.go new file mode 100644 index 000000000..fd85baf9f --- /dev/null +++ b/testutil/keeper/migration.go @@ -0,0 +1,51 @@ +package keeper + +import ( + "testing" + + "cosmossdk.io/log" + "cosmossdk.io/store" + "cosmossdk.io/store/metrics" + storetypes "cosmossdk.io/store/types" + cmtproto "github.com/cometbft/cometbft/proto/tendermint/types" + dbm "github.com/cosmos/cosmos-db" + "github.com/cosmos/cosmos-sdk/codec" + codectypes "github.com/cosmos/cosmos-sdk/codec/types" + "github.com/cosmos/cosmos-sdk/runtime" + sdk "github.com/cosmos/cosmos-sdk/types" + authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" + govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" + "github.com/stretchr/testify/require" + + "github.com/pokt-network/poktroll/x/migration/keeper" + "github.com/pokt-network/poktroll/x/migration/types" +) + +func MigrationKeeper(t testing.TB) (keeper.Keeper, sdk.Context) { + storeKey := storetypes.NewKVStoreKey(types.StoreKey) + + db := dbm.NewMemDB() + stateStore := store.NewCommitMultiStore(db, log.NewNopLogger(), metrics.NewNoOpMetrics()) + stateStore.MountStoreWithDB(storeKey, storetypes.StoreTypeIAVL, db) + require.NoError(t, stateStore.LoadLatestVersion()) + + registry := codectypes.NewInterfaceRegistry() + cdc := codec.NewProtoCodec(registry) + authority := authtypes.NewModuleAddress(govtypes.ModuleName) + + k := keeper.NewKeeper( + cdc, + runtime.NewKVStoreService(storeKey), + log.NewNopLogger(), + authority.String(), + ) + + ctx := sdk.NewContext(stateStore, cmtproto.Header{}, false, log.NewNopLogger()) + + // Initialize params + if err := k.SetParams(ctx, types.DefaultParams()); err != nil { + panic(err) + } + + return k, ctx +} diff --git a/x/migration/keeper/keeper.go b/x/migration/keeper/keeper.go new file mode 100644 index 000000000..af25b6e3d --- /dev/null +++ b/x/migration/keeper/keeper.go @@ -0,0 +1,53 @@ +package keeper + +import ( + "fmt" + + "cosmossdk.io/core/store" + "cosmossdk.io/log" + "github.com/cosmos/cosmos-sdk/codec" + sdk "github.com/cosmos/cosmos-sdk/types" + + "github.com/pokt-network/poktroll/x/migration/types" +) + +type ( + Keeper struct { + cdc codec.BinaryCodec + storeService store.KVStoreService + logger log.Logger + + // the address capable of executing a MsgUpdateParams message. Typically, this + // should be the x/gov module account. + authority string + } +) + +func NewKeeper( + cdc codec.BinaryCodec, + storeService store.KVStoreService, + logger log.Logger, + authority string, + +) Keeper { + if _, err := sdk.AccAddressFromBech32(authority); err != nil { + panic(fmt.Sprintf("invalid authority address: %s", authority)) + } + + return Keeper{ + cdc: cdc, + storeService: storeService, + authority: authority, + logger: logger, + } +} + +// GetAuthority returns the module's authority. +func (k Keeper) GetAuthority() string { + return k.authority +} + +// Logger returns a module-specific logger. +func (k Keeper) Logger() log.Logger { + return k.logger.With("module", fmt.Sprintf("x/%s", types.ModuleName)) +} diff --git a/x/migration/keeper/msg_server.go b/x/migration/keeper/msg_server.go new file mode 100644 index 000000000..450034866 --- /dev/null +++ b/x/migration/keeper/msg_server.go @@ -0,0 +1,17 @@ +package keeper + +import ( + "github.com/pokt-network/poktroll/x/migration/types" +) + +type msgServer struct { + Keeper +} + +// NewMsgServerImpl returns an implementation of the MsgServer interface +// for the provided Keeper. +func NewMsgServerImpl(keeper Keeper) types.MsgServer { + return &msgServer{Keeper: keeper} +} + +var _ types.MsgServer = msgServer{} diff --git a/x/migration/keeper/msg_server_test.go b/x/migration/keeper/msg_server_test.go new file mode 100644 index 000000000..3a35e11d5 --- /dev/null +++ b/x/migration/keeper/msg_server_test.go @@ -0,0 +1,24 @@ +package keeper_test + +import ( + "context" + "testing" + + "github.com/stretchr/testify/require" + + keepertest "github.com/pokt-network/poktroll/testutil/keeper" + "github.com/pokt-network/poktroll/x/migration/keeper" + "github.com/pokt-network/poktroll/x/migration/types" +) + +func setupMsgServer(t testing.TB) (keeper.Keeper, types.MsgServer, context.Context) { + k, ctx := keepertest.MigrationKeeper(t) + return k, keeper.NewMsgServerImpl(k), ctx +} + +func TestMsgServer(t *testing.T) { + k, ms, ctx := setupMsgServer(t) + require.NotNil(t, ms) + require.NotNil(t, ctx) + require.NotEmpty(t, k) +} diff --git a/x/migration/keeper/msg_update_params.go b/x/migration/keeper/msg_update_params.go new file mode 100644 index 000000000..0759f393a --- /dev/null +++ b/x/migration/keeper/msg_update_params.go @@ -0,0 +1,23 @@ +package keeper + +import ( + "context" + + errorsmod "cosmossdk.io/errors" + sdk "github.com/cosmos/cosmos-sdk/types" + + "github.com/pokt-network/poktroll/x/migration/types" +) + +func (k msgServer) UpdateParams(goCtx context.Context, req *types.MsgUpdateParams) (*types.MsgUpdateParamsResponse, error) { + if k.GetAuthority() != req.Authority { + return nil, errorsmod.Wrapf(types.ErrInvalidSigner, "invalid authority; expected %s, got %s", k.GetAuthority(), req.Authority) + } + + ctx := sdk.UnwrapSDKContext(goCtx) + if err := k.SetParams(ctx, req.Params); err != nil { + return nil, err + } + + return &types.MsgUpdateParamsResponse{}, nil +} diff --git a/x/migration/keeper/msg_update_params_test.go b/x/migration/keeper/msg_update_params_test.go new file mode 100644 index 000000000..b286026b7 --- /dev/null +++ b/x/migration/keeper/msg_update_params_test.go @@ -0,0 +1,64 @@ +package keeper_test + +import ( + "testing" + + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/stretchr/testify/require" + + "github.com/pokt-network/poktroll/x/migration/types" +) + +func TestMsgUpdateParams(t *testing.T) { + k, ms, ctx := setupMsgServer(t) + params := types.DefaultParams() + require.NoError(t, k.SetParams(ctx, params)) + wctx := sdk.UnwrapSDKContext(ctx) + + // default params + testCases := []struct { + name string + input *types.MsgUpdateParams + expErr bool + expErrMsg string + }{ + { + name: "invalid authority", + input: &types.MsgUpdateParams{ + Authority: "invalid", + Params: params, + }, + expErr: true, + expErrMsg: "invalid authority", + }, + { + name: "send enabled param", + input: &types.MsgUpdateParams{ + Authority: k.GetAuthority(), + Params: types.Params{}, + }, + expErr: false, + }, + { + name: "all good", + input: &types.MsgUpdateParams{ + Authority: k.GetAuthority(), + Params: params, + }, + expErr: false, + }, + } + + for _, tc := range testCases { + t.Run(tc.name, func(t *testing.T) { + _, err := ms.UpdateParams(wctx, tc.input) + + if tc.expErr { + require.Error(t, err) + require.Contains(t, err.Error(), tc.expErrMsg) + } else { + require.NoError(t, err) + } + }) + } +} diff --git a/x/migration/keeper/params.go b/x/migration/keeper/params.go new file mode 100644 index 000000000..aeac86948 --- /dev/null +++ b/x/migration/keeper/params.go @@ -0,0 +1,33 @@ +package keeper + +import ( + "context" + + "github.com/cosmos/cosmos-sdk/runtime" + + "github.com/pokt-network/poktroll/x/migration/types" +) + +// GetParams get all parameters as types.Params +func (k Keeper) GetParams(ctx context.Context) (params types.Params) { + store := runtime.KVStoreAdapter(k.storeService.OpenKVStore(ctx)) + bz := store.Get(types.ParamsKey) + if bz == nil { + return params + } + + k.cdc.MustUnmarshal(bz, ¶ms) + return params +} + +// SetParams set the params +func (k Keeper) SetParams(ctx context.Context, params types.Params) error { + store := runtime.KVStoreAdapter(k.storeService.OpenKVStore(ctx)) + bz, err := k.cdc.Marshal(¶ms) + if err != nil { + return err + } + store.Set(types.ParamsKey, bz) + + return nil +} diff --git a/x/migration/keeper/params_test.go b/x/migration/keeper/params_test.go new file mode 100644 index 000000000..c628ac0cb --- /dev/null +++ b/x/migration/keeper/params_test.go @@ -0,0 +1,18 @@ +package keeper_test + +import ( + "testing" + + "github.com/stretchr/testify/require" + + keepertest "github.com/pokt-network/poktroll/testutil/keeper" + "github.com/pokt-network/poktroll/x/migration/types" +) + +func TestGetParams(t *testing.T) { + k, ctx := keepertest.MigrationKeeper(t) + params := types.DefaultParams() + + require.NoError(t, k.SetParams(ctx, params)) + require.EqualValues(t, params, k.GetParams(ctx)) +} diff --git a/x/migration/keeper/query.go b/x/migration/keeper/query.go new file mode 100644 index 000000000..28b91e3fb --- /dev/null +++ b/x/migration/keeper/query.go @@ -0,0 +1,7 @@ +package keeper + +import ( + "github.com/pokt-network/poktroll/x/migration/types" +) + +var _ types.QueryServer = Keeper{} diff --git a/x/migration/keeper/query_params.go b/x/migration/keeper/query_params.go new file mode 100644 index 000000000..db63079c6 --- /dev/null +++ b/x/migration/keeper/query_params.go @@ -0,0 +1,20 @@ +package keeper + +import ( + "context" + + sdk "github.com/cosmos/cosmos-sdk/types" + "google.golang.org/grpc/codes" + "google.golang.org/grpc/status" + + "github.com/pokt-network/poktroll/x/migration/types" +) + +func (k Keeper) Params(goCtx context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error) { + if req == nil { + return nil, status.Error(codes.InvalidArgument, "invalid request") + } + ctx := sdk.UnwrapSDKContext(goCtx) + + return &types.QueryParamsResponse{Params: k.GetParams(ctx)}, nil +} diff --git a/x/migration/keeper/query_params_test.go b/x/migration/keeper/query_params_test.go new file mode 100644 index 000000000..46deda203 --- /dev/null +++ b/x/migration/keeper/query_params_test.go @@ -0,0 +1,20 @@ +package keeper_test + +import ( + "testing" + + "github.com/stretchr/testify/require" + + keepertest "github.com/pokt-network/poktroll/testutil/keeper" + "github.com/pokt-network/poktroll/x/migration/types" +) + +func TestParamsQuery(t *testing.T) { + keeper, ctx := keepertest.MigrationKeeper(t) + params := types.DefaultParams() + require.NoError(t, keeper.SetParams(ctx, params)) + + response, err := keeper.Params(ctx, &types.QueryParamsRequest{}) + require.NoError(t, err) + require.Equal(t, &types.QueryParamsResponse{Params: params}, response) +} diff --git a/x/migration/module/autocli.go b/x/migration/module/autocli.go new file mode 100644 index 000000000..80b4d488c --- /dev/null +++ b/x/migration/module/autocli.go @@ -0,0 +1,39 @@ +package migration + +import ( + autocliv1 "cosmossdk.io/api/cosmos/autocli/v1" + + modulev1 "github.com/pokt-network/poktroll/api/poktroll/migration" +) + +// TODO_UPNEXT(@bryanchriswhite, #1046): Add `MsgClaimMorsePOKT` to the autocli. +// TODO_UPNEXT(@bryanchriswhite, #1047): Make sure to document why the autocli is +// not used for transactions requiring auth signatures. + +// AutoCLIOptions implements the autocli.HasAutoCLIConfig interface. +func (am AppModule) AutoCLIOptions() *autocliv1.ModuleOptions { + return &autocliv1.ModuleOptions{ + Query: &autocliv1.ServiceCommandDescriptor{ + Service: modulev1.Query_ServiceDesc.ServiceName, + RpcCommandOptions: []*autocliv1.RpcCommandOptions{ + { + RpcMethod: "Params", + Use: "params", + Short: "Shows the parameters of the module", + }, + // this line is used by ignite scaffolding # autocli/query + }, + }, + Tx: &autocliv1.ServiceCommandDescriptor{ + Service: modulev1.Msg_ServiceDesc.ServiceName, + EnhanceCustomCommand: true, // only required if you want to use the custom command + RpcCommandOptions: []*autocliv1.RpcCommandOptions{ + { + RpcMethod: "UpdateParams", + Skip: true, // skipped because authority gated + }, + // this line is used by ignite scaffolding # autocli/tx + }, + }, + } +} diff --git a/x/migration/module/genesis.go b/x/migration/module/genesis.go new file mode 100644 index 000000000..88000e771 --- /dev/null +++ b/x/migration/module/genesis.go @@ -0,0 +1,26 @@ +package migration + +import ( + sdk "github.com/cosmos/cosmos-sdk/types" + + "github.com/pokt-network/poktroll/x/migration/keeper" + "github.com/pokt-network/poktroll/x/migration/types" +) + +// InitGenesis initializes the module's state from a provided genesis state. +func InitGenesis(ctx sdk.Context, k keeper.Keeper, genState types.GenesisState) { + // this line is used by starport scaffolding # genesis/module/init + if err := k.SetParams(ctx, genState.Params); err != nil { + panic(err) + } +} + +// ExportGenesis returns the module's exported genesis. +func ExportGenesis(ctx sdk.Context, k keeper.Keeper) *types.GenesisState { + genesis := types.DefaultGenesis() + genesis.Params = k.GetParams(ctx) + + // this line is used by starport scaffolding # genesis/module/export + + return genesis +} diff --git a/x/migration/module/genesis_test.go b/x/migration/module/genesis_test.go new file mode 100644 index 000000000..3e7fb2ba9 --- /dev/null +++ b/x/migration/module/genesis_test.go @@ -0,0 +1,29 @@ +package migration_test + +import ( + "testing" + + keepertest "github.com/pokt-network/poktroll/testutil/keeper" + "github.com/pokt-network/poktroll/testutil/nullify" + migration "github.com/pokt-network/poktroll/x/migration/module" + "github.com/pokt-network/poktroll/x/migration/types" + "github.com/stretchr/testify/require" +) + +func TestGenesis(t *testing.T) { + genesisState := types.GenesisState{ + Params: types.DefaultParams(), + + // this line is used by starport scaffolding # genesis/test/state + } + + k, ctx := keepertest.MigrationKeeper(t) + migration.InitGenesis(ctx, k, genesisState) + got := migration.ExportGenesis(ctx, k) + require.NotNil(t, got) + + nullify.Fill(&genesisState) + nullify.Fill(got) + + // this line is used by starport scaffolding # genesis/test/assert +} diff --git a/x/migration/module/module.go b/x/migration/module/module.go new file mode 100644 index 000000000..9632fab53 --- /dev/null +++ b/x/migration/module/module.go @@ -0,0 +1,214 @@ +package migration + +import ( + "context" + "encoding/json" + "fmt" + + "cosmossdk.io/core/appmodule" + "cosmossdk.io/core/store" + "cosmossdk.io/depinject" + "cosmossdk.io/log" + "github.com/cosmos/cosmos-sdk/client" + "github.com/cosmos/cosmos-sdk/codec" + cdctypes "github.com/cosmos/cosmos-sdk/codec/types" + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/types/module" + authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" + govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" + "github.com/grpc-ecosystem/grpc-gateway/runtime" + + // this line is used by starport scaffolding # 1 + + modulev1 "github.com/pokt-network/poktroll/api/poktroll/migration/module" + "github.com/pokt-network/poktroll/x/migration/keeper" + "github.com/pokt-network/poktroll/x/migration/types" +) + +var ( + _ module.AppModuleBasic = (*AppModule)(nil) + _ module.AppModuleSimulation = (*AppModule)(nil) + _ module.HasGenesis = (*AppModule)(nil) + _ module.HasInvariants = (*AppModule)(nil) + _ module.HasConsensusVersion = (*AppModule)(nil) + + _ appmodule.AppModule = (*AppModule)(nil) + _ appmodule.HasBeginBlocker = (*AppModule)(nil) + _ appmodule.HasEndBlocker = (*AppModule)(nil) +) + +// ---------------------------------------------------------------------------- +// AppModuleBasic +// ---------------------------------------------------------------------------- + +// AppModuleBasic implements the AppModuleBasic interface that defines the +// independent methods a Cosmos SDK module needs to implement. +type AppModuleBasic struct { + cdc codec.BinaryCodec +} + +func NewAppModuleBasic(cdc codec.BinaryCodec) AppModuleBasic { + return AppModuleBasic{cdc: cdc} +} + +// Name returns the name of the module as a string. +func (AppModuleBasic) Name() string { + return types.ModuleName +} + +// RegisterLegacyAminoCodec registers the amino codec for the module, which is used +// to marshal and unmarshal structs to/from []byte in order to persist them in the module's KVStore. +func (AppModuleBasic) RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) {} + +// RegisterInterfaces registers a module's interface types and their concrete implementations as proto.Message. +func (a AppModuleBasic) RegisterInterfaces(reg cdctypes.InterfaceRegistry) { + types.RegisterInterfaces(reg) +} + +// DefaultGenesis returns a default GenesisState for the module, marshalled to json.RawMessage. +// The default GenesisState need to be defined by the module developer and is primarily used for testing. +func (AppModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage { + return cdc.MustMarshalJSON(types.DefaultGenesis()) +} + +// ValidateGenesis used to validate the GenesisState, given in its json.RawMessage form. +func (AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, config client.TxEncodingConfig, bz json.RawMessage) error { + var genState types.GenesisState + if err := cdc.UnmarshalJSON(bz, &genState); err != nil { + return fmt.Errorf("failed to unmarshal %s genesis state: %w", types.ModuleName, err) + } + return genState.Validate() +} + +// RegisterGRPCGatewayRoutes registers the gRPC Gateway routes for the module. +func (AppModuleBasic) RegisterGRPCGatewayRoutes(clientCtx client.Context, mux *runtime.ServeMux) { + if err := types.RegisterQueryHandlerClient(context.Background(), mux, types.NewQueryClient(clientCtx)); err != nil { + panic(err) + } +} + +// ---------------------------------------------------------------------------- +// AppModule +// ---------------------------------------------------------------------------- + +// AppModule implements the AppModule interface that defines the inter-dependent methods that modules need to implement +type AppModule struct { + AppModuleBasic + + keeper keeper.Keeper + accountKeeper types.AccountKeeper + bankKeeper types.BankKeeper +} + +func NewAppModule( + cdc codec.Codec, + keeper keeper.Keeper, + accountKeeper types.AccountKeeper, + bankKeeper types.BankKeeper, +) AppModule { + return AppModule{ + AppModuleBasic: NewAppModuleBasic(cdc), + keeper: keeper, + accountKeeper: accountKeeper, + bankKeeper: bankKeeper, + } +} + +// RegisterServices registers a gRPC query service to respond to the module-specific gRPC queries +func (am AppModule) RegisterServices(cfg module.Configurator) { + types.RegisterMsgServer(cfg.MsgServer(), keeper.NewMsgServerImpl(am.keeper)) + types.RegisterQueryServer(cfg.QueryServer(), am.keeper) +} + +// RegisterInvariants registers the invariants of the module. If an invariant deviates from its predicted value, the InvariantRegistry triggers appropriate logic (most often the chain will be halted) +func (am AppModule) RegisterInvariants(_ sdk.InvariantRegistry) {} + +// InitGenesis performs the module's genesis initialization. It returns no validator updates. +func (am AppModule) InitGenesis(ctx sdk.Context, cdc codec.JSONCodec, gs json.RawMessage) { + var genState types.GenesisState + // Initialize global index to index in genesis state + cdc.MustUnmarshalJSON(gs, &genState) + + InitGenesis(ctx, am.keeper, genState) +} + +// ExportGenesis returns the module's exported genesis state as raw JSON bytes. +func (am AppModule) ExportGenesis(ctx sdk.Context, cdc codec.JSONCodec) json.RawMessage { + genState := ExportGenesis(ctx, am.keeper) + return cdc.MustMarshalJSON(genState) +} + +// ConsensusVersion is a sequence number for state-breaking change of the module. +// It should be incremented on each consensus-breaking change introduced by the module. +// To avoid wrong/empty versions, the initial version should be set to 1. +func (AppModule) ConsensusVersion() uint64 { return 1 } + +// BeginBlock contains the logic that is automatically triggered at the beginning of each block. +// The begin block implementation is optional. +func (am AppModule) BeginBlock(_ context.Context) error { + return nil +} + +// EndBlock contains the logic that is automatically triggered at the end of each block. +// The end block implementation is optional. +func (am AppModule) EndBlock(_ context.Context) error { + return nil +} + +// IsOnePerModuleType implements the depinject.OnePerModuleType interface. +func (am AppModule) IsOnePerModuleType() {} + +// IsAppModule implements the appmodule.AppModule interface. +func (am AppModule) IsAppModule() {} + +// ---------------------------------------------------------------------------- +// App Wiring Setup +// ---------------------------------------------------------------------------- + +func init() { + appmodule.Register( + &modulev1.Module{}, + appmodule.Provide(ProvideModule), + ) +} + +type ModuleInputs struct { + depinject.In + + StoreService store.KVStoreService + Cdc codec.Codec + Config *modulev1.Module + Logger log.Logger + + AccountKeeper types.AccountKeeper + BankKeeper types.BankKeeper +} + +type ModuleOutputs struct { + depinject.Out + + MigrationKeeper keeper.Keeper + Module appmodule.AppModule +} + +func ProvideModule(in ModuleInputs) ModuleOutputs { + // default to governance authority if not provided + authority := authtypes.NewModuleAddress(govtypes.ModuleName) + if in.Config.Authority != "" { + authority = authtypes.NewModuleAddressOrBech32Address(in.Config.Authority) + } + k := keeper.NewKeeper( + in.Cdc, + in.StoreService, + in.Logger, + authority.String(), + ) + m := NewAppModule( + in.Cdc, + k, + in.AccountKeeper, + in.BankKeeper, + ) + + return ModuleOutputs{MigrationKeeper: k, Module: m} +} diff --git a/x/migration/module/simulation.go b/x/migration/module/simulation.go new file mode 100644 index 000000000..2c4ef40a8 --- /dev/null +++ b/x/migration/module/simulation.go @@ -0,0 +1,59 @@ +package migration + +import ( + "math/rand" + + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/types/module" + simtypes "github.com/cosmos/cosmos-sdk/types/simulation" + "github.com/cosmos/cosmos-sdk/x/simulation" + + "github.com/pokt-network/poktroll/testutil/sample" + migrationsimulation "github.com/pokt-network/poktroll/x/migration/simulation" + "github.com/pokt-network/poktroll/x/migration/types" +) + +// avoid unused import issue +var ( + _ = migrationsimulation.FindAccount + _ = rand.Rand{} + _ = sample.AccAddress + _ = sdk.AccAddress{} + _ = simulation.MsgEntryKind +) + +const ( +// this line is used by starport scaffolding # simapp/module/const +) + +// GenerateGenesisState creates a randomized GenState of the module. +func (AppModule) GenerateGenesisState(simState *module.SimulationState) { + accs := make([]string, len(simState.Accounts)) + for i, acc := range simState.Accounts { + accs[i] = acc.Address.String() + } + migrationGenesis := types.GenesisState{ + Params: types.DefaultParams(), + // this line is used by starport scaffolding # simapp/module/genesisState + } + simState.GenState[types.ModuleName] = simState.Cdc.MustMarshalJSON(&migrationGenesis) +} + +// RegisterStoreDecoder registers a decoder. +func (am AppModule) RegisterStoreDecoder(_ simtypes.StoreDecoderRegistry) {} + +// WeightedOperations returns the all the gov module operations with their respective weights. +func (am AppModule) WeightedOperations(simState module.SimulationState) []simtypes.WeightedOperation { + operations := make([]simtypes.WeightedOperation, 0) + + // this line is used by starport scaffolding # simapp/module/operation + + return operations +} + +// ProposalMsgs returns msgs used for governance proposals for simulations. +func (am AppModule) ProposalMsgs(simState module.SimulationState) []simtypes.WeightedProposalMsg { + return []simtypes.WeightedProposalMsg{ + // this line is used by starport scaffolding # simapp/module/OpMsg + } +} diff --git a/x/migration/simulation/helpers.go b/x/migration/simulation/helpers.go new file mode 100644 index 000000000..92c437c0d --- /dev/null +++ b/x/migration/simulation/helpers.go @@ -0,0 +1,15 @@ +package simulation + +import ( + sdk "github.com/cosmos/cosmos-sdk/types" + simtypes "github.com/cosmos/cosmos-sdk/types/simulation" +) + +// FindAccount find a specific address from an account list +func FindAccount(accs []simtypes.Account, address string) (simtypes.Account, bool) { + creator, err := sdk.AccAddressFromBech32(address) + if err != nil { + panic(err) + } + return simtypes.FindAccount(accs, creator) +} diff --git a/x/migration/types/codec.go b/x/migration/types/codec.go new file mode 100644 index 000000000..ac5526374 --- /dev/null +++ b/x/migration/types/codec.go @@ -0,0 +1,17 @@ +package types + +import ( + cdctypes "github.com/cosmos/cosmos-sdk/codec/types" + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/types/msgservice" + // this line is used by starport scaffolding # 1 +) + +func RegisterInterfaces(registry cdctypes.InterfaceRegistry) { + // this line is used by starport scaffolding # 3 + + registry.RegisterImplementations((*sdk.Msg)(nil), + &MsgUpdateParams{}, + ) + msgservice.RegisterMsgServiceDesc(registry, &_Msg_serviceDesc) +} diff --git a/x/migration/types/errors.go b/x/migration/types/errors.go new file mode 100644 index 000000000..ca50b521e --- /dev/null +++ b/x/migration/types/errors.go @@ -0,0 +1,13 @@ +package types + +// DONTCOVER + +import ( + sdkerrors "cosmossdk.io/errors" +) + +// x/migration module sentinel errors +var ( + ErrInvalidSigner = sdkerrors.Register(ModuleName, 1100, "expected gov account as only signer for proposal message") + ErrSample = sdkerrors.Register(ModuleName, 1101, "sample error") +) diff --git a/x/migration/types/expected_keepers.go b/x/migration/types/expected_keepers.go new file mode 100644 index 000000000..4a50d01a9 --- /dev/null +++ b/x/migration/types/expected_keepers.go @@ -0,0 +1,25 @@ +package types + +import ( + "context" + + sdk "github.com/cosmos/cosmos-sdk/types" +) + +// AccountKeeper defines the expected interface for the Account module. +type AccountKeeper interface { + GetAccount(context.Context, sdk.AccAddress) sdk.AccountI // only used for simulation + // Methods imported from account should be defined here +} + +// BankKeeper defines the expected interface for the Bank module. +type BankKeeper interface { + SpendableCoins(context.Context, sdk.AccAddress) sdk.Coins + // Methods imported from bank should be defined here +} + +// ParamSubspace defines the expected Subspace interface for parameters. +type ParamSubspace interface { + Get(context.Context, []byte, interface{}) + Set(context.Context, []byte, interface{}) +} diff --git a/x/migration/types/genesis.go b/x/migration/types/genesis.go new file mode 100644 index 000000000..c41be0742 --- /dev/null +++ b/x/migration/types/genesis.go @@ -0,0 +1,24 @@ +package types + +import ( +// this line is used by starport scaffolding # genesis/types/import +) + +// DefaultIndex is the default global index +const DefaultIndex uint64 = 1 + +// DefaultGenesis returns the default genesis state +func DefaultGenesis() *GenesisState { + return &GenesisState{ + // this line is used by starport scaffolding # genesis/types/default + Params: DefaultParams(), + } +} + +// Validate performs basic genesis state validation returning an error upon any +// failure. +func (gs GenesisState) Validate() error { + // this line is used by starport scaffolding # genesis/types/validate + + return gs.Params.Validate() +} diff --git a/x/migration/types/genesis.pb.go b/x/migration/types/genesis.pb.go new file mode 100644 index 000000000..334ae0fd2 --- /dev/null +++ b/x/migration/types/genesis.pb.go @@ -0,0 +1,320 @@ +// Code generated by protoc-gen-gogo. DO NOT EDIT. +// source: poktroll/migration/genesis.proto + +package types + +import ( + fmt "fmt" + _ "github.com/cosmos/cosmos-sdk/types/tx/amino" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" + io "io" + math "math" + math_bits "math/bits" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package + +// GenesisState defines the migration module's genesis state. +type GenesisState struct { + // params defines all the parameters of the module. + Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` +} + +func (m *GenesisState) Reset() { *m = GenesisState{} } +func (m *GenesisState) String() string { return proto.CompactTextString(m) } +func (*GenesisState) ProtoMessage() {} +func (*GenesisState) Descriptor() ([]byte, []int) { + return fileDescriptor_c544bf46e8dacb64, []int{0} +} +func (m *GenesisState) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil +} +func (m *GenesisState) XXX_Merge(src proto.Message) { + xxx_messageInfo_GenesisState.Merge(m, src) +} +func (m *GenesisState) XXX_Size() int { + return m.Size() +} +func (m *GenesisState) XXX_DiscardUnknown() { + xxx_messageInfo_GenesisState.DiscardUnknown(m) +} + +var xxx_messageInfo_GenesisState proto.InternalMessageInfo + +func (m *GenesisState) GetParams() Params { + if m != nil { + return m.Params + } + return Params{} +} + +func init() { + proto.RegisterType((*GenesisState)(nil), "poktroll.migration.GenesisState") +} + +func init() { proto.RegisterFile("poktroll/migration/genesis.proto", fileDescriptor_c544bf46e8dacb64) } + +var fileDescriptor_c544bf46e8dacb64 = []byte{ + // 219 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x28, 0xc8, 0xcf, 0x2e, + 0x29, 0xca, 0xcf, 0xc9, 0xd1, 0xcf, 0xcd, 0x4c, 0x2f, 0x4a, 0x2c, 0xc9, 0xcc, 0xcf, 0xd3, 0x4f, + 0x4f, 0xcd, 0x4b, 0x2d, 0xce, 0x2c, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x82, 0xa9, + 0xd0, 0x83, 0xab, 0x90, 0x12, 0x4c, 0xcc, 0xcd, 0xcc, 0xcb, 0xd7, 0x07, 0x93, 0x10, 0x65, 0x52, + 0x22, 0xe9, 0xf9, 0xe9, 0xf9, 0x60, 0xa6, 0x3e, 0x88, 0x05, 0x15, 0x95, 0xc7, 0x62, 0x7c, 0x41, + 0x62, 0x51, 0x62, 0x2e, 0xd4, 0x74, 0x25, 0x5f, 0x2e, 0x1e, 0x77, 0x88, 0x75, 0xc1, 0x25, 0x89, + 0x25, 0xa9, 0x42, 0xb6, 0x5c, 0x6c, 0x10, 0x79, 0x09, 0x46, 0x05, 0x46, 0x0d, 0x6e, 0x23, 0x29, + 0x3d, 0x4c, 0xeb, 0xf5, 0x02, 0xc0, 0x2a, 0x9c, 0x38, 0x4f, 0xdc, 0x93, 0x67, 0x58, 0xf1, 0x7c, + 0x83, 0x16, 0x63, 0x10, 0x54, 0x93, 0x53, 0xc0, 0x89, 0x47, 0x72, 0x8c, 0x17, 0x1e, 0xc9, 0x31, + 0xde, 0x78, 0x24, 0xc7, 0xf8, 0xe0, 0x91, 0x1c, 0xe3, 0x84, 0xc7, 0x72, 0x0c, 0x17, 0x1e, 0xcb, + 0x31, 0xdc, 0x78, 0x2c, 0xc7, 0x10, 0x65, 0x94, 0x9e, 0x59, 0x92, 0x51, 0x9a, 0xa4, 0x97, 0x9c, + 0x9f, 0xab, 0x0f, 0x32, 0x56, 0x37, 0x2f, 0xb5, 0xa4, 0x3c, 0xbf, 0x28, 0x5b, 0x1f, 0xee, 0xca, + 0x0a, 0x24, 0x77, 0x96, 0x54, 0x16, 0xa4, 0x16, 0x27, 0xb1, 0x81, 0xdd, 0x69, 0x0c, 0x08, 0x00, + 0x00, 0xff, 0xff, 0xd2, 0xec, 0xd5, 0xe0, 0x29, 0x01, 0x00, 0x00, +} + +func (m *GenesisState) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GenesisState) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + { + size, err := m.Params.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGenesis(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + return len(dAtA) - i, nil +} + +func encodeVarintGenesis(dAtA []byte, offset int, v uint64) int { + offset -= sovGenesis(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *GenesisState) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = m.Params.Size() + n += 1 + l + sovGenesis(uint64(l)) + return n +} + +func sovGenesis(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozGenesis(x uint64) (n int) { + return sovGenesis(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *GenesisState) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenesis + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GenesisState: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GenesisState: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Params", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenesis + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenesis + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthGenesis + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.Params.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipGenesis(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthGenesis + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func skipGenesis(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + depth := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowGenesis + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowGenesis + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + case 1: + iNdEx += 8 + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowGenesis + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if length < 0 { + return 0, ErrInvalidLengthGenesis + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroupGenesis + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLengthGenesis + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") +) diff --git a/x/migration/types/genesis_test.go b/x/migration/types/genesis_test.go new file mode 100644 index 000000000..61cd184b4 --- /dev/null +++ b/x/migration/types/genesis_test.go @@ -0,0 +1,41 @@ +package types_test + +import ( + "testing" + + "github.com/pokt-network/poktroll/x/migration/types" + "github.com/stretchr/testify/require" +) + +func TestGenesisState_Validate(t *testing.T) { + tests := []struct { + desc string + genState *types.GenesisState + valid bool + }{ + { + desc: "default is valid", + genState: types.DefaultGenesis(), + valid: true, + }, + { + desc: "valid genesis state", + genState: &types.GenesisState{ + + // this line is used by starport scaffolding # types/genesis/validField + }, + valid: true, + }, + // this line is used by starport scaffolding # types/genesis/testcase + } + for _, tc := range tests { + t.Run(tc.desc, func(t *testing.T) { + err := tc.genState.Validate() + if tc.valid { + require.NoError(t, err) + } else { + require.Error(t, err) + } + }) + } +} diff --git a/x/migration/types/keys.go b/x/migration/types/keys.go new file mode 100644 index 000000000..be31adac9 --- /dev/null +++ b/x/migration/types/keys.go @@ -0,0 +1,20 @@ +package types + +const ( + // ModuleName defines the module name + ModuleName = "migration" + + // StoreKey defines the primary module store key + StoreKey = ModuleName + + // MemStoreKey defines the in-memory store key + MemStoreKey = "mem_migration" +) + +var ( + ParamsKey = []byte("p_migration") +) + +func KeyPrefix(p string) []byte { + return []byte(p) +} diff --git a/x/migration/types/msg_update_params.go b/x/migration/types/msg_update_params.go new file mode 100644 index 000000000..c228cb30f --- /dev/null +++ b/x/migration/types/msg_update_params.go @@ -0,0 +1,21 @@ +package types + +import ( + errorsmod "cosmossdk.io/errors" + sdk "github.com/cosmos/cosmos-sdk/types" +) + +var _ sdk.Msg = new(MsgUpdateParams) + +// ValidateBasic does a sanity check on the provided data. +func (m *MsgUpdateParams) ValidateBasic() error { + if _, err := sdk.AccAddressFromBech32(m.Authority); err != nil { + return errorsmod.Wrap(err, "invalid authority address") + } + + if err := m.Params.Validate(); err != nil { + return err + } + + return nil +} diff --git a/x/migration/types/params.go b/x/migration/types/params.go new file mode 100644 index 000000000..4f3215e35 --- /dev/null +++ b/x/migration/types/params.go @@ -0,0 +1,32 @@ +package types + +import ( + paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" +) + +var _ paramtypes.ParamSet = (*Params)(nil) + +// ParamKeyTable the param key table for launch module +func ParamKeyTable() paramtypes.KeyTable { + return paramtypes.NewKeyTable().RegisterParamSet(&Params{}) +} + +// NewParams creates a new Params instance +func NewParams() Params { + return Params{} +} + +// DefaultParams returns a default set of parameters +func DefaultParams() Params { + return NewParams() +} + +// ParamSetPairs get the params.ParamSet +func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs { + return paramtypes.ParamSetPairs{} +} + +// Validate validates the set of params +func (p Params) Validate() error { + return nil +} diff --git a/x/migration/types/params.pb.go b/x/migration/types/params.pb.go new file mode 100644 index 000000000..549b399e5 --- /dev/null +++ b/x/migration/types/params.pb.go @@ -0,0 +1,285 @@ +// Code generated by protoc-gen-gogo. DO NOT EDIT. +// source: poktroll/migration/params.proto + +package types + +import ( + fmt "fmt" + _ "github.com/cosmos/cosmos-sdk/types/tx/amino" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" + io "io" + math "math" + math_bits "math/bits" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package + +// Params defines the parameters for the module. +type Params struct { +} + +func (m *Params) Reset() { *m = Params{} } +func (m *Params) String() string { return proto.CompactTextString(m) } +func (*Params) ProtoMessage() {} +func (*Params) Descriptor() ([]byte, []int) { + return fileDescriptor_c43627a1a6fcee1f, []int{0} +} +func (m *Params) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil +} +func (m *Params) XXX_Merge(src proto.Message) { + xxx_messageInfo_Params.Merge(m, src) +} +func (m *Params) XXX_Size() int { + return m.Size() +} +func (m *Params) XXX_DiscardUnknown() { + xxx_messageInfo_Params.DiscardUnknown(m) +} + +var xxx_messageInfo_Params proto.InternalMessageInfo + +func init() { + proto.RegisterType((*Params)(nil), "poktroll.migration.Params") +} + +func init() { proto.RegisterFile("poktroll/migration/params.proto", fileDescriptor_c43627a1a6fcee1f) } + +var fileDescriptor_c43627a1a6fcee1f = []byte{ + // 183 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x2f, 0xc8, 0xcf, 0x2e, + 0x29, 0xca, 0xcf, 0xc9, 0xd1, 0xcf, 0xcd, 0x4c, 0x2f, 0x4a, 0x2c, 0xc9, 0xcc, 0xcf, 0xd3, 0x2f, + 0x48, 0x2c, 0x4a, 0xcc, 0x2d, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x82, 0x29, 0xd0, + 0x83, 0x2b, 0x90, 0x12, 0x4c, 0xcc, 0xcd, 0xcc, 0xcb, 0xd7, 0x07, 0x93, 0x10, 0x65, 0x52, 0x22, + 0xe9, 0xf9, 0xe9, 0xf9, 0x60, 0xa6, 0x3e, 0x88, 0x05, 0x11, 0x55, 0xd2, 0xe3, 0x62, 0x0b, 0x00, + 0x1b, 0x66, 0xa5, 0xf2, 0x62, 0x81, 0x3c, 0x63, 0xd7, 0xf3, 0x0d, 0x5a, 0xd2, 0x70, 0x0b, 0x2b, + 0x90, 0xac, 0x84, 0xa8, 0x72, 0x0a, 0x38, 0xf1, 0x48, 0x8e, 0xf1, 0xc2, 0x23, 0x39, 0xc6, 0x1b, + 0x8f, 0xe4, 0x18, 0x1f, 0x3c, 0x92, 0x63, 0x9c, 0xf0, 0x58, 0x8e, 0xe1, 0xc2, 0x63, 0x39, 0x86, + 0x1b, 0x8f, 0xe5, 0x18, 0xa2, 0x8c, 0xd2, 0x33, 0x4b, 0x32, 0x4a, 0x93, 0xf4, 0x92, 0xf3, 0x73, + 0xf5, 0x41, 0xa6, 0xe8, 0xe6, 0xa5, 0x96, 0x94, 0xe7, 0x17, 0x65, 0xeb, 0x63, 0x35, 0xb2, 0xa4, + 0xb2, 0x20, 0xb5, 0x38, 0x89, 0x0d, 0xec, 0x10, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x62, + 0x7c, 0x65, 0x65, 0xe8, 0x00, 0x00, 0x00, +} + +func (this *Params) Equal(that interface{}) bool { + if that == nil { + return this == nil + } + + that1, ok := that.(*Params) + if !ok { + that2, ok := that.(Params) + if ok { + that1 = &that2 + } else { + return false + } + } + if that1 == nil { + return this == nil + } else if this == nil { + return false + } + return true +} +func (m *Params) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Params) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func encodeVarintParams(dAtA []byte, offset int, v uint64) int { + offset -= sovParams(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *Params) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func sovParams(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozParams(x uint64) (n int) { + return sovParams(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *Params) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Params: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Params: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipParams(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthParams + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func skipParams(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + depth := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowParams + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowParams + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + case 1: + iNdEx += 8 + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowParams + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if length < 0 { + return 0, ErrInvalidLengthParams + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroupParams + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLengthParams + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLengthParams = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflowParams = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group") +) diff --git a/x/migration/types/query.pb.go b/x/migration/types/query.pb.go new file mode 100644 index 000000000..d82a26af1 --- /dev/null +++ b/x/migration/types/query.pb.go @@ -0,0 +1,532 @@ +// Code generated by protoc-gen-gogo. DO NOT EDIT. +// source: poktroll/migration/query.proto + +package types + +import ( + context "context" + fmt "fmt" + _ "github.com/cosmos/cosmos-sdk/types/query" + _ "github.com/cosmos/cosmos-sdk/types/tx/amino" + _ "github.com/cosmos/gogoproto/gogoproto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" + _ "google.golang.org/genproto/googleapis/api/annotations" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + io "io" + math "math" + math_bits "math/bits" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package + +// QueryParamsRequest is request type for the Query/Params RPC method. +type QueryParamsRequest struct { +} + +func (m *QueryParamsRequest) Reset() { *m = QueryParamsRequest{} } +func (m *QueryParamsRequest) String() string { return proto.CompactTextString(m) } +func (*QueryParamsRequest) ProtoMessage() {} +func (*QueryParamsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_524460f9291c42e8, []int{0} +} +func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil +} +func (m *QueryParamsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryParamsRequest.Merge(m, src) +} +func (m *QueryParamsRequest) XXX_Size() int { + return m.Size() +} +func (m *QueryParamsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_QueryParamsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryParamsRequest proto.InternalMessageInfo + +// QueryParamsResponse is response type for the Query/Params RPC method. +type QueryParamsResponse struct { + // params holds all the parameters of this module. + Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` +} + +func (m *QueryParamsResponse) Reset() { *m = QueryParamsResponse{} } +func (m *QueryParamsResponse) String() string { return proto.CompactTextString(m) } +func (*QueryParamsResponse) ProtoMessage() {} +func (*QueryParamsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_524460f9291c42e8, []int{1} +} +func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil +} +func (m *QueryParamsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryParamsResponse.Merge(m, src) +} +func (m *QueryParamsResponse) XXX_Size() int { + return m.Size() +} +func (m *QueryParamsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_QueryParamsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryParamsResponse proto.InternalMessageInfo + +func (m *QueryParamsResponse) GetParams() Params { + if m != nil { + return m.Params + } + return Params{} +} + +func init() { + proto.RegisterType((*QueryParamsRequest)(nil), "poktroll.migration.QueryParamsRequest") + proto.RegisterType((*QueryParamsResponse)(nil), "poktroll.migration.QueryParamsResponse") +} + +func init() { proto.RegisterFile("poktroll/migration/query.proto", fileDescriptor_524460f9291c42e8) } + +var fileDescriptor_524460f9291c42e8 = []byte{ + // 325 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x90, 0x31, 0x4b, 0xc3, 0x40, + 0x14, 0xc7, 0x73, 0x82, 0x05, 0xe3, 0xe4, 0xd9, 0x41, 0x82, 0x5c, 0xa5, 0x83, 0xd5, 0x82, 0x79, + 0xb4, 0xce, 0x2e, 0xfd, 0x04, 0xb5, 0x38, 0xb9, 0x5d, 0xca, 0x71, 0x86, 0x36, 0xf7, 0xae, 0xb9, + 0xab, 0xda, 0xd5, 0xd1, 0x49, 0xd0, 0x0f, 0xe1, 0xe8, 0xc7, 0xe8, 0x58, 0x70, 0xe9, 0x24, 0x92, + 0x0a, 0x7e, 0x0d, 0xc9, 0x25, 0x8a, 0xd2, 0x16, 0x97, 0xf0, 0x78, 0xff, 0xff, 0xff, 0x97, 0xff, + 0x3d, 0x9f, 0x69, 0x1c, 0xd8, 0x14, 0x87, 0x43, 0x48, 0x62, 0x99, 0x72, 0x1b, 0xa3, 0x82, 0xd1, + 0x58, 0xa4, 0x93, 0x50, 0xa7, 0x68, 0x91, 0xd2, 0x6f, 0x3d, 0xfc, 0xd1, 0x83, 0x1d, 0x9e, 0xc4, + 0x0a, 0xc1, 0x7d, 0x0b, 0x5b, 0x50, 0x95, 0x28, 0xd1, 0x8d, 0x90, 0x4f, 0xe5, 0x76, 0x5f, 0x22, + 0xca, 0xa1, 0x00, 0xae, 0x63, 0xe0, 0x4a, 0xa1, 0x75, 0x79, 0x53, 0xaa, 0xcd, 0x3e, 0x9a, 0x04, + 0x0d, 0x44, 0xdc, 0x88, 0xe2, 0x9f, 0x70, 0xdd, 0x8a, 0x84, 0xe5, 0x2d, 0xd0, 0x5c, 0xc6, 0xca, + 0x99, 0x4b, 0x6f, 0x6d, 0x45, 0x4d, 0xcd, 0x53, 0x9e, 0x94, 0xb0, 0x7a, 0xd5, 0xa7, 0xe7, 0x39, + 0xa2, 0xeb, 0x96, 0x3d, 0x31, 0x1a, 0x0b, 0x63, 0xeb, 0x17, 0xfe, 0xee, 0x9f, 0xad, 0xd1, 0xa8, + 0x8c, 0xa0, 0x67, 0x7e, 0xa5, 0x08, 0xef, 0x91, 0x03, 0x72, 0xb4, 0xdd, 0x0e, 0xc2, 0xe5, 0x57, + 0x86, 0x45, 0xa6, 0xb3, 0x35, 0x7d, 0xab, 0x79, 0xcf, 0x9f, 0x2f, 0x4d, 0xd2, 0x2b, 0x43, 0xed, + 0x27, 0xe2, 0x6f, 0x3a, 0x2c, 0xbd, 0x27, 0x7e, 0xa5, 0xf0, 0xd1, 0xc3, 0x55, 0x8c, 0xe5, 0x4a, + 0x41, 0xe3, 0x5f, 0x5f, 0x51, 0xb2, 0x0e, 0x77, 0xaf, 0x1f, 0x8f, 0x1b, 0xc7, 0xb4, 0x01, 0x79, + 0xe0, 0x44, 0x09, 0x7b, 0x83, 0xe9, 0x00, 0xd6, 0x1e, 0xa2, 0xd3, 0x9d, 0x66, 0x8c, 0xcc, 0x32, + 0x46, 0xe6, 0x19, 0x23, 0xef, 0x19, 0x23, 0x0f, 0x0b, 0xe6, 0xcd, 0x16, 0xcc, 0x9b, 0x2f, 0x98, + 0x77, 0xd9, 0x96, 0xb1, 0xbd, 0x1a, 0x47, 0x61, 0x1f, 0x93, 0x35, 0xc0, 0xdb, 0x5f, 0x48, 0x3b, + 0xd1, 0xc2, 0x44, 0x15, 0x77, 0xdb, 0xd3, 0xaf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x97, 0x9a, 0x4e, + 0xc3, 0x25, 0x02, 0x00, 0x00, +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// QueryClient is the client API for Query service. +// +// 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 { + // Parameters queries the parameters of the module. + Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) +} + +type queryClient struct { + cc grpc1.ClientConn +} + +func NewQueryClient(cc grpc1.ClientConn) QueryClient { + return &queryClient{cc} +} + +func (c *queryClient) Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) { + out := new(QueryParamsResponse) + err := c.cc.Invoke(ctx, "/poktroll.migration.Query/Params", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// QueryServer is the server API for Query service. +type QueryServer interface { + // Parameters queries the parameters of the module. + Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) +} + +// UnimplementedQueryServer can be embedded to have forward compatible implementations. +type UnimplementedQueryServer struct { +} + +func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Params not implemented") +} + +func RegisterQueryServer(s grpc1.Server, srv QueryServer) { + s.RegisterService(&_Query_serviceDesc, srv) +} + +func _Query_Params_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryParamsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServer).Params(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/poktroll.migration.Query/Params", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).Params(ctx, req.(*QueryParamsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _Query_serviceDesc = grpc.ServiceDesc{ + ServiceName: "poktroll.migration.Query", + HandlerType: (*QueryServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "Params", + Handler: _Query_Params_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "poktroll/migration/query.proto", +} + +func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + { + size, err := m.Params.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + return len(dAtA) - i, nil +} + +func encodeVarintQuery(dAtA []byte, offset int, v uint64) int { + offset -= sovQuery(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *QueryParamsRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *QueryParamsResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = m.Params.Size() + n += 1 + l + sovQuery(uint64(l)) + return n +} + +func sovQuery(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozQuery(x uint64) (n int) { + return sovQuery(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: QueryParamsRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryParamsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: QueryParamsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryParamsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Params", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.Params.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func skipQuery(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + depth := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowQuery + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowQuery + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + case 1: + iNdEx += 8 + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowQuery + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if length < 0 { + return 0, ErrInvalidLengthQuery + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroupQuery + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLengthQuery + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") +) diff --git a/x/migration/types/query.pb.gw.go b/x/migration/types/query.pb.gw.go new file mode 100644 index 000000000..5ab60bb65 --- /dev/null +++ b/x/migration/types/query.pb.gw.go @@ -0,0 +1,153 @@ +// Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. +// source: poktroll/migration/query.proto + +/* +Package types is a reverse proxy. + +It translates gRPC into RESTful JSON APIs. +*/ +package types + +import ( + "context" + "io" + "net/http" + + "github.com/golang/protobuf/descriptor" + "github.com/golang/protobuf/proto" + "github.com/grpc-ecosystem/grpc-gateway/runtime" + "github.com/grpc-ecosystem/grpc-gateway/utilities" + "google.golang.org/grpc" + "google.golang.org/grpc/codes" + "google.golang.org/grpc/grpclog" + "google.golang.org/grpc/metadata" + "google.golang.org/grpc/status" +) + +// Suppress "imported and not used" errors +var _ codes.Code +var _ io.Reader +var _ status.Status +var _ = runtime.String +var _ = utilities.NewDoubleArray +var _ = descriptor.ForMessage +var _ = metadata.Join + +func request_Query_Params_0(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_0(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. +// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead. +func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error { + + mux.Handle("GET", pattern_Query_Params_0, 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_0(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_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + return nil +} + +// RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but +// automatically dials to "endpoint" and closes the connection when "ctx" gets done. +func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { + conn, err := grpc.Dial(endpoint, opts...) + if err != nil { + return err + } + defer func() { + if err != nil { + if cerr := conn.Close(); cerr != nil { + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + } + return + } + go func() { + <-ctx.Done() + if cerr := conn.Close(); cerr != nil { + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + } + }() + }() + + return RegisterQueryHandler(ctx, mux, conn) +} + +// RegisterQueryHandler registers the http handlers for service Query to "mux". +// The handlers forward requests to the grpc endpoint over "conn". +func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { + return RegisterQueryHandlerClient(ctx, mux, NewQueryClient(conn)) +} + +// RegisterQueryHandlerClient registers the http handlers for service Query +// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". +// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" +// doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in +// "QueryClient" to call the correct interceptors. +func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error { + + mux.Handle("GET", pattern_Query_Params_0, 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_0(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_0(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{"pokt-network", "poktroll", "migration", "params"}, "", runtime.AssumeColonVerbOpt(false))) +) + +var ( + forward_Query_Params_0 = runtime.ForwardResponseMessage +) diff --git a/x/migration/types/tx.pb.go b/x/migration/types/tx.pb.go new file mode 100644 index 000000000..6299c5f97 --- /dev/null +++ b/x/migration/types/tx.pb.go @@ -0,0 +1,590 @@ +// Code generated by protoc-gen-gogo. DO NOT EDIT. +// source: poktroll/migration/tx.proto + +package types + +import ( + context "context" + fmt "fmt" + _ "github.com/cosmos/cosmos-proto" + _ "github.com/cosmos/cosmos-sdk/types/msgservice" + _ "github.com/cosmos/cosmos-sdk/types/tx/amino" + _ "github.com/cosmos/gogoproto/gogoproto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + io "io" + math "math" + math_bits "math/bits" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package + +// MsgUpdateParams is the Msg/UpdateParams request type. +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 module parameters to update. + // + // NOTE: All parameters must be supplied. + Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"` +} + +func (m *MsgUpdateParams) Reset() { *m = MsgUpdateParams{} } +func (m *MsgUpdateParams) String() string { return proto.CompactTextString(m) } +func (*MsgUpdateParams) ProtoMessage() {} +func (*MsgUpdateParams) Descriptor() ([]byte, []int) { + return fileDescriptor_21658240592266b6, []int{0} +} +func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil +} +func (m *MsgUpdateParams) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgUpdateParams.Merge(m, src) +} +func (m *MsgUpdateParams) XXX_Size() int { + return m.Size() +} +func (m *MsgUpdateParams) XXX_DiscardUnknown() { + xxx_messageInfo_MsgUpdateParams.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgUpdateParams proto.InternalMessageInfo + +func (m *MsgUpdateParams) GetAuthority() string { + if m != nil { + return m.Authority + } + return "" +} + +func (m *MsgUpdateParams) GetParams() Params { + if m != nil { + return m.Params + } + return Params{} +} + +// MsgUpdateParamsResponse defines the response structure for executing a +// MsgUpdateParams message. +type MsgUpdateParamsResponse struct { +} + +func (m *MsgUpdateParamsResponse) Reset() { *m = MsgUpdateParamsResponse{} } +func (m *MsgUpdateParamsResponse) String() string { return proto.CompactTextString(m) } +func (*MsgUpdateParamsResponse) ProtoMessage() {} +func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_21658240592266b6, []int{1} +} +func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil +} +func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgUpdateParamsResponse.Merge(m, src) +} +func (m *MsgUpdateParamsResponse) XXX_Size() int { + return m.Size() +} +func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgUpdateParamsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgUpdateParamsResponse proto.InternalMessageInfo + +func init() { + proto.RegisterType((*MsgUpdateParams)(nil), "poktroll.migration.MsgUpdateParams") + proto.RegisterType((*MsgUpdateParamsResponse)(nil), "poktroll.migration.MsgUpdateParamsResponse") +} + +func init() { proto.RegisterFile("poktroll/migration/tx.proto", fileDescriptor_21658240592266b6) } + +var fileDescriptor_21658240592266b6 = []byte{ + // 352 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x2e, 0xc8, 0xcf, 0x2e, + 0x29, 0xca, 0xcf, 0xc9, 0xd1, 0xcf, 0xcd, 0x4c, 0x2f, 0x4a, 0x2c, 0xc9, 0xcc, 0xcf, 0xd3, 0x2f, + 0xa9, 0xd0, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x82, 0x49, 0xea, 0xc1, 0x25, 0xa5, 0x04, + 0x13, 0x73, 0x33, 0xf3, 0xf2, 0xf5, 0xc1, 0x24, 0x44, 0x99, 0x94, 0x78, 0x72, 0x7e, 0x71, 0x6e, + 0x7e, 0xb1, 0x7e, 0x6e, 0x71, 0xba, 0x7e, 0x99, 0x21, 0x88, 0x82, 0x4a, 0x48, 0x42, 0x24, 0xe2, + 0xc1, 0x3c, 0x7d, 0x08, 0x07, 0x2a, 0x25, 0x92, 0x9e, 0x9f, 0x9e, 0x0f, 0x11, 0x07, 0xb1, 0xa0, + 0xa2, 0xf2, 0x58, 0x5c, 0x53, 0x90, 0x58, 0x94, 0x98, 0x0b, 0xd5, 0xa6, 0x74, 0x90, 0x91, 0x8b, + 0xdf, 0xb7, 0x38, 0x3d, 0xb4, 0x20, 0x25, 0xb1, 0x24, 0x35, 0x00, 0x2c, 0x23, 0x64, 0xc6, 0xc5, + 0x99, 0x58, 0x5a, 0x92, 0x91, 0x5f, 0x94, 0x59, 0x52, 0x29, 0xc1, 0xa8, 0xc0, 0xa8, 0xc1, 0xe9, + 0x24, 0x71, 0x69, 0x8b, 0xae, 0x08, 0xd4, 0x3e, 0xc7, 0x94, 0x94, 0xa2, 0xd4, 0xe2, 0xe2, 0xe0, + 0x92, 0xa2, 0xcc, 0xbc, 0xf4, 0x20, 0x84, 0x52, 0x21, 0x5b, 0x2e, 0x36, 0x88, 0xd9, 0x12, 0x4c, + 0x0a, 0x8c, 0x1a, 0xdc, 0x46, 0x52, 0x7a, 0x98, 0xde, 0xd5, 0x83, 0xd8, 0xe1, 0xc4, 0x79, 0xe2, + 0x9e, 0x3c, 0xc3, 0x8a, 0xe7, 0x1b, 0xb4, 0x18, 0x83, 0xa0, 0x9a, 0xac, 0xcc, 0x9b, 0x9e, 0x6f, + 0xd0, 0x42, 0x18, 0xd7, 0xf5, 0x7c, 0x83, 0x96, 0x0a, 0xdc, 0xf9, 0x15, 0x48, 0x1e, 0x40, 0x73, + 0xaf, 0x92, 0x24, 0x97, 0x38, 0x9a, 0x50, 0x50, 0x6a, 0x71, 0x41, 0x7e, 0x5e, 0x71, 0xaa, 0x51, + 0x1e, 0x17, 0xb3, 0x6f, 0x71, 0xba, 0x50, 0x02, 0x17, 0x0f, 0x8a, 0x0f, 0x95, 0xb1, 0xb9, 0x0c, + 0xcd, 0x0c, 0x29, 0x6d, 0x22, 0x14, 0xc1, 0x2c, 0x92, 0x62, 0x6d, 0x00, 0xf9, 0xc5, 0x29, 0xe0, + 0xc4, 0x23, 0x39, 0xc6, 0x0b, 0x8f, 0xe4, 0x18, 0x6f, 0x3c, 0x92, 0x63, 0x7c, 0xf0, 0x48, 0x8e, + 0x71, 0xc2, 0x63, 0x39, 0x86, 0x0b, 0x8f, 0xe5, 0x18, 0x6e, 0x3c, 0x96, 0x63, 0x88, 0x32, 0x4a, + 0xcf, 0x2c, 0xc9, 0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, 0xd5, 0x07, 0x99, 0xad, 0x9b, 0x97, 0x5a, + 0x52, 0x9e, 0x5f, 0x94, 0xad, 0x8f, 0xd5, 0x9b, 0x25, 0x95, 0x05, 0xa9, 0xc5, 0x49, 0x6c, 0xe0, + 0x78, 0x32, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0x58, 0x1b, 0x5f, 0x75, 0x58, 0x02, 0x00, 0x00, +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// MsgClient is the client API for Msg service. +// +// 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 module + // parameters. The authority defaults to the x/gov module account. + UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) +} + +type msgClient struct { + cc grpc1.ClientConn +} + +func NewMsgClient(cc grpc1.ClientConn) MsgClient { + return &msgClient{cc} +} + +func (c *msgClient) UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) { + out := new(MsgUpdateParamsResponse) + err := c.cc.Invoke(ctx, "/poktroll.migration.Msg/UpdateParams", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// MsgServer is the server API for Msg service. +type MsgServer interface { + // UpdateParams defines a (governance) operation for updating the module + // parameters. The authority defaults to the x/gov module account. + UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) +} + +// UnimplementedMsgServer can be embedded to have forward compatible implementations. +type UnimplementedMsgServer struct { +} + +func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateParams not implemented") +} + +func RegisterMsgServer(s grpc1.Server, srv MsgServer) { + s.RegisterService(&_Msg_serviceDesc, srv) +} + +func _Msg_UpdateParams_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgUpdateParams) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).UpdateParams(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/poktroll.migration.Msg/UpdateParams", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).UpdateParams(ctx, req.(*MsgUpdateParams)) + } + return interceptor(ctx, in, info, handler) +} + +var _Msg_serviceDesc = grpc.ServiceDesc{ + ServiceName: "poktroll.migration.Msg", + HandlerType: (*MsgServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "UpdateParams", + Handler: _Msg_UpdateParams_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "poktroll/migration/tx.proto", +} + +func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + { + size, err := m.Params.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + if len(m.Authority) > 0 { + i -= len(m.Authority) + copy(dAtA[i:], m.Authority) + i = encodeVarintTx(dAtA, i, uint64(len(m.Authority))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func encodeVarintTx(dAtA []byte, offset int, v uint64) int { + offset -= sovTx(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *MsgUpdateParams) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Authority) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = m.Params.Size() + n += 1 + l + sovTx(uint64(l)) + return n +} + +func (m *MsgUpdateParamsResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func sovTx(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozTx(x uint64) (n int) { + return sovTx(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgUpdateParams: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgUpdateParams: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Authority", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Authority = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Params", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.Params.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgUpdateParamsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgUpdateParamsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func skipTx(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + depth := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowTx + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowTx + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + case 1: + iNdEx += 8 + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowTx + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if length < 0 { + return 0, ErrInvalidLengthTx + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroupTx + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLengthTx + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") +) diff --git a/x/migration/types/types.go b/x/migration/types/types.go new file mode 100644 index 000000000..ab1254f4c --- /dev/null +++ b/x/migration/types/types.go @@ -0,0 +1 @@ +package types From 9f19047379f2f2165cdd1db50d69c3cb6d799e37 Mon Sep 17 00:00:00 2001 From: commoddity <47662958+commoddity@users.noreply.github.com> Date: Wed, 5 Feb 2025 21:42:58 +0000 Subject: [PATCH 5/9] [OpenAPI] Add `Dockerfile` to reliability generate the OpenAPI spec using `ignite` (#1055) ## Summary Adds a Dockerfile to build the outputted OpenAPI spec in a way that will work on all dev environments. ## Issue - https://discord.com/channels/824324475256438814/997192534168182905/1336447458128957523 - #1054 - #988 - https://github.com/ignite/cli/issues/4495 ## Type of change Select one or more from the following: - [x] New feature, functionality or library - [ ] Consensus breaking; add the `consensus-breaking` label if so. See #791 for details - [ ] Bug fix - [x] Code health or cleanup - [ ] Documentation - [ ] Other (specify) ## Sanity Checklist - [ ] I have updated the GitHub Issue `assignees`, `reviewers`, `labels`, `project`, `iteration` and `milestone` - [ ] For docs, I have run `make docusaurus_start` - [ ] For code, I have run `make go_develop_and_test` and `make test_e2e` - [ ] For code, I have added the `devnet-test-e2e` label to run E2E tests in CI - [ ] For configurations, I have update the documentation - [ ] I added TODOs where applicable --------- Co-authored-by: Daniel Olshansky --- Makefile | 17 +- docs/static/openapi.json | 26656 +++++++++++++++++++++++++++++++++++++ docs/static/openapi.yml | 21347 ++++++++++++++++++++++++++++- proto/Dockerfile.ignite | 13 + 4 files changed, 48031 insertions(+), 2 deletions(-) create mode 100644 docs/static/openapi.json create mode 100644 proto/Dockerfile.ignite diff --git a/Makefile b/Makefile index 6930de829..147a86b2b 100644 --- a/Makefile +++ b/Makefile @@ -283,8 +283,23 @@ ignite_poktrolld_build: check_go_version check_ignite_version ## Build the poktr ignite chain build --skip-proto --debug -v -o $(shell go env GOPATH)/bin .PHONY: ignite_openapi_gen -ignite_openapi_gen: ## Generate the OpenAPI spec for the Ignite API +ignite_openapi_gen: ## Generate the OpenAPI spec natively and process the output ignite generate openapi --yes + $(MAKE) process_openapi + +.PHONY: ignite_openapi_gen_docker +ignite_openapi_gen_docker: ## Generate the OpenAPI spec using Docker and process the output; workaround due to https://github.com/ignite/cli/issues/4495 + docker build -f ./proto/Dockerfile.ignite -t ignite-openapi . + docker run --rm -v "$(PWD):/workspace" ignite-openapi + $(MAKE) process_openapi + +.PHONY: process_openapi +process_openapi: ## Ensure OpenAPI JSON and YAML files are properly formatted + # The original command incorrectly outputs a JSON-formatted file with a .yml extension. + # This fixes the issue by properly converting the JSON to a valid YAML format. + mv docs/static/openapi.yml docs/static/openapi.json + yq -o=json '.' docs/static/openapi.json -I=4 > docs/static/openapi.json.tmp && mv docs/static/openapi.json.tmp docs/static/openapi.json + yq -P -o=yaml '.' docs/static/openapi.json > docs/static/openapi.yml ################## ### CI Helpers ### diff --git a/docs/static/openapi.json b/docs/static/openapi.json new file mode 100644 index 000000000..7d00e4ba2 --- /dev/null +++ b/docs/static/openapi.json @@ -0,0 +1,26656 @@ +{ + "id": "github.com/pokt-network/poktroll", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "swagger": "2.0", + "info": { + "description": "Chain github.com/pokt-network/poktroll REST API", + "title": "HTTP API Console", + "contact": { + "name": "github.com/pokt-network/poktroll" + }, + "version": "version not set" + }, + "paths": { + "/cosmos.auth.v1beta1.Msg/UpdateParams": { + "post": { + "description": "Since: cosmos-sdk 0.47", + "tags": [ + "Msg" + ], + "summary": "UpdateParams defines a (governance) operation for updating the x/auth module\nparameters. The authority defaults to the x/gov module account.", + "operationId": "CircuitMsg_UpdateParams", + "parameters": [ + { + "description": "MsgUpdateParams is the Msg/UpdateParams request type.\n\nSince: cosmos-sdk 0.47", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.auth.v1beta1.MsgUpdateParams" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.auth.v1beta1.MsgUpdateParamsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos.authz.v1beta1.Msg/Exec": { + "post": { + "tags": [ + "Msg" + ], + "summary": "Exec attempts to execute the provided messages using\nauthorizations granted to the grantee. Each message should have only\none signer corresponding to the granter of the authorization.", + "operationId": "CircuitMsg_Exec", + "parameters": [ + { + "description": "MsgExec attempts to execute the provided messages using\nauthorizations granted to the grantee. Each message should have only\none signer corresponding to the granter of the authorization.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.authz.v1beta1.MsgExec" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.authz.v1beta1.MsgExecResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos.authz.v1beta1.Msg/Grant": { + "post": { + "tags": [ + "Msg" + ], + "summary": "Grant grants the provided authorization to the grantee on the granter's\naccount with the provided expiration time. If there is already a grant\nfor the given (granter, grantee, Authorization) triple, then the grant\nwill be overwritten.", + "operationId": "CircuitMsg_Grant", + "parameters": [ + { + "description": "MsgGrant is a request type for Grant method. It declares authorization to the grantee\non behalf of the granter with the provided expiration time.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.authz.v1beta1.MsgGrant" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.authz.v1beta1.MsgGrantResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos.authz.v1beta1.Msg/Revoke": { + "post": { + "tags": [ + "Msg" + ], + "summary": "Revoke revokes any authorization corresponding to the provided method name on the\ngranter's account that has been granted to the grantee.", + "operationId": "CircuitMsg_Revoke", + "parameters": [ + { + "description": "MsgRevoke revokes any authorization with the provided sdk.Msg type on the\ngranter's account with that has been granted to the grantee.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.authz.v1beta1.MsgRevoke" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.authz.v1beta1.MsgRevokeResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos.autocli.v1.Query/AppOptions": { + "post": { + "tags": [ + "Query" + ], + "summary": "AppOptions returns the autocli options for all of the modules in an app.", + "operationId": "CircuitQuery_AppOptions", + "parameters": [ + { + "description": "AppOptionsRequest is the RemoteInfoService/AppOptions request type.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.autocli.v1.AppOptionsRequest" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.autocli.v1.AppOptionsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos.bank.v1beta1.Msg/MultiSend": { + "post": { + "tags": [ + "Msg" + ], + "summary": "MultiSend defines a method for sending coins from some accounts to other accounts.", + "operationId": "CircuitMsg_MultiSend", + "parameters": [ + { + "description": "MsgMultiSend represents an arbitrary multi-in, multi-out send message.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.bank.v1beta1.MsgMultiSend" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.bank.v1beta1.MsgMultiSendResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos.bank.v1beta1.Msg/Send": { + "post": { + "tags": [ + "Msg" + ], + "summary": "Send defines a method for sending coins from one account to another account.", + "operationId": "CircuitMsg_Send", + "parameters": [ + { + "description": "MsgSend represents a message to send coins from one account to another.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.bank.v1beta1.MsgSend" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.bank.v1beta1.MsgSendResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos.bank.v1beta1.Msg/SetSendEnabled": { + "post": { + "description": "Since: cosmos-sdk 0.47", + "tags": [ + "Msg" + ], + "summary": "SetSendEnabled is a governance operation for setting the SendEnabled flag\non any number of Denoms. Only the entries to add or update should be\nincluded. Entries that already exist in the store, but that aren't\nincluded in this message, will be left unchanged.", + "operationId": "CircuitMsg_SetSendEnabled", + "parameters": [ + { + "description": "MsgSetSendEnabled is the Msg/SetSendEnabled request type.\n\nOnly entries to add/update/delete need to be included.\nExisting SendEnabled entries that are not included in this\nmessage are left unchanged.\n\nSince: cosmos-sdk 0.47", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.bank.v1beta1.MsgSetSendEnabled" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.bank.v1beta1.MsgSetSendEnabledResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos.bank.v1beta1.Msg/UpdateParams": { + "post": { + "description": "Since: cosmos-sdk 0.47", + "tags": [ + "Msg" + ], + "summary": "UpdateParams defines a governance operation for updating the x/bank module parameters.\nThe authority is defined in the keeper.", + "operationId": "CircuitMsg_UpdateParamsMixin63", + "parameters": [ + { + "description": "MsgUpdateParams is the Msg/UpdateParams request type.\n\nSince: cosmos-sdk 0.47", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.bank.v1beta1.MsgUpdateParams" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.bank.v1beta1.MsgUpdateParamsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos.circuit.v1.Msg/AuthorizeCircuitBreaker": { + "post": { + "tags": [ + "Msg" + ], + "summary": "AuthorizeCircuitBreaker allows a super-admin to grant (or revoke) another\naccount's circuit breaker permissions.", + "operationId": "CircuitMsg_AuthorizeCircuitBreaker", + "parameters": [ + { + "description": "MsgAuthorizeCircuitBreaker defines the Msg/AuthorizeCircuitBreaker request type.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.circuit.v1.MsgAuthorizeCircuitBreaker" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.circuit.v1.MsgAuthorizeCircuitBreakerResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos.circuit.v1.Msg/ResetCircuitBreaker": { + "post": { + "tags": [ + "Msg" + ], + "summary": "ResetCircuitBreaker resumes processing of Msg's in the state machine that\nhave been been paused using TripCircuitBreaker.", + "operationId": "CircuitMsg_ResetCircuitBreaker", + "parameters": [ + { + "description": "MsgResetCircuitBreaker defines the Msg/ResetCircuitBreaker request type.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.circuit.v1.MsgResetCircuitBreaker" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.circuit.v1.MsgResetCircuitBreakerResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos.circuit.v1.Msg/TripCircuitBreaker": { + "post": { + "tags": [ + "Msg" + ], + "summary": "TripCircuitBreaker pauses processing of Msg's in the state machine.", + "operationId": "CircuitMsg_TripCircuitBreaker", + "parameters": [ + { + "description": "MsgTripCircuitBreaker defines the Msg/TripCircuitBreaker request type.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.circuit.v1.MsgTripCircuitBreaker" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.circuit.v1.MsgTripCircuitBreakerResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos.consensus.v1.Msg/UpdateParams": { + "post": { + "description": "Since: cosmos-sdk 0.47", + "tags": [ + "Msg" + ], + "summary": "UpdateParams defines a governance operation for updating the x/consensus module parameters.\nThe authority is defined in the keeper.", + "operationId": "CircuitMsg_UpdateParamsMixin76", + "parameters": [ + { + "description": "MsgUpdateParams is the Msg/UpdateParams request type.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.consensus.v1.MsgUpdateParams" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.consensus.v1.MsgUpdateParamsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos.crisis.v1beta1.Msg/UpdateParams": { + "post": { + "description": "Since: cosmos-sdk 0.47", + "tags": [ + "Msg" + ], + "summary": "UpdateParams defines a governance operation for updating the x/crisis module\nparameters. The authority is defined in the keeper.", + "operationId": "CircuitMsg_UpdateParamsMixin78", + "parameters": [ + { + "description": "MsgUpdateParams is the Msg/UpdateParams request type.\n\nSince: cosmos-sdk 0.47", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.crisis.v1beta1.MsgUpdateParams" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.crisis.v1beta1.MsgUpdateParamsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos.crisis.v1beta1.Msg/VerifyInvariant": { + "post": { + "tags": [ + "Msg" + ], + "summary": "VerifyInvariant defines a method to verify a particular invariant.", + "operationId": "CircuitMsg_VerifyInvariant", + "parameters": [ + { + "description": "MsgVerifyInvariant represents a message to verify a particular invariance.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.crisis.v1beta1.MsgVerifyInvariant" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.crisis.v1beta1.MsgVerifyInvariantResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos.distribution.v1beta1.Msg/CommunityPoolSpend": { + "post": { + "description": "Since: cosmos-sdk 0.47", + "tags": [ + "Msg" + ], + "summary": "CommunityPoolSpend defines a governance operation for sending tokens from\nthe community pool in the x/distribution module to another account, which\ncould be the governance module itself. The authority is defined in the\nkeeper.", + "operationId": "CircuitMsg_CommunityPoolSpend", + "parameters": [ + { + "description": "MsgCommunityPoolSpend defines a message for sending tokens from the community\npool to another account. This message is typically executed via a governance\nproposal with the governance module being the executing authority.\n\nSince: cosmos-sdk 0.47", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.distribution.v1beta1.MsgCommunityPoolSpend" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.distribution.v1beta1.MsgCommunityPoolSpendResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos.distribution.v1beta1.Msg/DepositValidatorRewardsPool": { + "post": { + "description": "Since: cosmos-sdk 0.50", + "tags": [ + "Msg" + ], + "summary": "DepositValidatorRewardsPool defines a method to provide additional rewards\nto delegators to a specific validator.", + "operationId": "CircuitMsg_DepositValidatorRewardsPool", + "parameters": [ + { + "description": "DepositValidatorRewardsPool defines the request structure to provide\nadditional rewards to delegators from a specific validator.\n\nSince: cosmos-sdk 0.50", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.distribution.v1beta1.MsgDepositValidatorRewardsPool" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.distribution.v1beta1.MsgDepositValidatorRewardsPoolResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos.distribution.v1beta1.Msg/FundCommunityPool": { + "post": { + "tags": [ + "Msg" + ], + "summary": "FundCommunityPool defines a method to allow an account to directly\nfund the community pool.", + "operationId": "CircuitMsg_FundCommunityPool", + "parameters": [ + { + "description": "MsgFundCommunityPool allows an account to directly\nfund the community pool.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.distribution.v1beta1.MsgFundCommunityPool" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.distribution.v1beta1.MsgFundCommunityPoolResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos.distribution.v1beta1.Msg/SetWithdrawAddress": { + "post": { + "tags": [ + "Msg" + ], + "summary": "SetWithdrawAddress defines a method to change the withdraw address\nfor a delegator (or validator self-delegation).", + "operationId": "CircuitMsg_SetWithdrawAddress", + "parameters": [ + { + "description": "MsgSetWithdrawAddress sets the withdraw address for\na delegator (or validator self-delegation).", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.distribution.v1beta1.MsgSetWithdrawAddress" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.distribution.v1beta1.MsgSetWithdrawAddressResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos.distribution.v1beta1.Msg/UpdateParams": { + "post": { + "description": "Since: cosmos-sdk 0.47", + "tags": [ + "Msg" + ], + "summary": "UpdateParams defines a governance operation for updating the x/distribution\nmodule parameters. The authority is defined in the keeper.", + "operationId": "CircuitMsg_UpdateParamsMixin89", + "parameters": [ + { + "description": "MsgUpdateParams is the Msg/UpdateParams request type.\n\nSince: cosmos-sdk 0.47", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.distribution.v1beta1.MsgUpdateParams" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.distribution.v1beta1.MsgUpdateParamsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos.distribution.v1beta1.Msg/WithdrawDelegatorReward": { + "post": { + "tags": [ + "Msg" + ], + "summary": "WithdrawDelegatorReward defines a method to withdraw rewards of delegator\nfrom a single validator.", + "operationId": "CircuitMsg_WithdrawDelegatorReward", + "parameters": [ + { + "description": "MsgWithdrawDelegatorReward represents delegation withdrawal to a delegator\nfrom a single validator.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.distribution.v1beta1.MsgWithdrawDelegatorRewardResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos.distribution.v1beta1.Msg/WithdrawValidatorCommission": { + "post": { + "tags": [ + "Msg" + ], + "summary": "WithdrawValidatorCommission defines a method to withdraw the\nfull commission to the validator address.", + "operationId": "CircuitMsg_WithdrawValidatorCommission", + "parameters": [ + { + "description": "MsgWithdrawValidatorCommission withdraws the full commission to the validator\naddress.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommissionResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos.evidence.v1beta1.Msg/SubmitEvidence": { + "post": { + "tags": [ + "Msg" + ], + "summary": "SubmitEvidence submits an arbitrary Evidence of misbehavior such as equivocation or\ncounterfactual signing.", + "operationId": "CircuitMsg_SubmitEvidence", + "parameters": [ + { + "description": "MsgSubmitEvidence represents a message that supports submitting arbitrary\nEvidence of misbehavior such as equivocation or counterfactual signing.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.evidence.v1beta1.MsgSubmitEvidence" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.evidence.v1beta1.MsgSubmitEvidenceResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos.feegrant.v1beta1.Msg/GrantAllowance": { + "post": { + "tags": [ + "Msg" + ], + "summary": "GrantAllowance grants fee allowance to the grantee on the granter's\naccount with the provided expiration time.", + "operationId": "CircuitMsg_GrantAllowance", + "parameters": [ + { + "description": "MsgGrantAllowance adds permission for Grantee to spend up to Allowance\nof fees from the account of Granter.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.feegrant.v1beta1.MsgGrantAllowance" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.feegrant.v1beta1.MsgGrantAllowanceResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos.feegrant.v1beta1.Msg/PruneAllowances": { + "post": { + "description": "Since cosmos-sdk 0.50", + "tags": [ + "Msg" + ], + "summary": "PruneAllowances prunes expired fee allowances, currently up to 75 at a time.", + "operationId": "CircuitMsg_PruneAllowances", + "parameters": [ + { + "description": "MsgPruneAllowances prunes expired fee allowances.\n\nSince cosmos-sdk 0.50", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.feegrant.v1beta1.MsgPruneAllowances" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.feegrant.v1beta1.MsgPruneAllowancesResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos.feegrant.v1beta1.Msg/RevokeAllowance": { + "post": { + "tags": [ + "Msg" + ], + "summary": "RevokeAllowance revokes any fee allowance of granter's account that\nhas been granted to the grantee.", + "operationId": "CircuitMsg_RevokeAllowance", + "parameters": [ + { + "description": "MsgRevokeAllowance removes any existing Allowance from Granter to Grantee.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.feegrant.v1beta1.MsgRevokeAllowance" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.feegrant.v1beta1.MsgRevokeAllowanceResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos.gov.v1.Msg/CancelProposal": { + "post": { + "description": "Since: cosmos-sdk 0.50", + "tags": [ + "Msg" + ], + "summary": "CancelProposal defines a method to cancel governance proposal", + "operationId": "CircuitMsg_CancelProposal", + "parameters": [ + { + "description": "MsgCancelProposal is the Msg/CancelProposal request type.\n\nSince: cosmos-sdk 0.50", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.gov.v1.MsgCancelProposal" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.gov.v1.MsgCancelProposalResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos.gov.v1.Msg/Deposit": { + "post": { + "tags": [ + "Msg" + ], + "summary": "Deposit defines a method to add deposit on a specific proposal.", + "operationId": "CircuitMsg_Deposit", + "parameters": [ + { + "description": "MsgDeposit defines a message to submit a deposit to an existing proposal.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.gov.v1.MsgDeposit" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.gov.v1.MsgDepositResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos.gov.v1.Msg/ExecLegacyContent": { + "post": { + "tags": [ + "Msg" + ], + "summary": "ExecLegacyContent defines a Msg to be in included in a MsgSubmitProposal\nto execute a legacy content-based proposal.", + "operationId": "CircuitMsg_ExecLegacyContent", + "parameters": [ + { + "description": "MsgExecLegacyContent is used to wrap the legacy content field into a message.\nThis ensures backwards compatibility with v1beta1.MsgSubmitProposal.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.gov.v1.MsgExecLegacyContent" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.gov.v1.MsgExecLegacyContentResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos.gov.v1.Msg/SubmitProposal": { + "post": { + "tags": [ + "Msg" + ], + "summary": "SubmitProposal defines a method to create new proposal given the messages.", + "operationId": "CircuitMsg_SubmitProposal", + "parameters": [ + { + "description": "MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary\nproposal Content.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.gov.v1.MsgSubmitProposal" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.gov.v1.MsgSubmitProposalResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos.gov.v1.Msg/UpdateParams": { + "post": { + "description": "Since: cosmos-sdk 0.47", + "tags": [ + "Msg" + ], + "summary": "UpdateParams defines a governance operation for updating the x/gov module\nparameters. The authority is defined in the keeper.", + "operationId": "CircuitMsg_UpdateParamsMixin102", + "parameters": [ + { + "description": "MsgUpdateParams is the Msg/UpdateParams request type.\n\nSince: cosmos-sdk 0.47", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.gov.v1.MsgUpdateParams" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.gov.v1.MsgUpdateParamsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos.gov.v1.Msg/Vote": { + "post": { + "tags": [ + "Msg" + ], + "summary": "Vote defines a method to add a vote on a specific proposal.", + "operationId": "CircuitMsg_Vote", + "parameters": [ + { + "description": "MsgVote defines a message to cast a vote.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.gov.v1.MsgVote" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.gov.v1.MsgVoteResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos.gov.v1.Msg/VoteWeighted": { + "post": { + "tags": [ + "Msg" + ], + "summary": "VoteWeighted defines a method to add a weighted vote on a specific proposal.", + "operationId": "CircuitMsg_VoteWeighted", + "parameters": [ + { + "description": "MsgVoteWeighted defines a message to cast a vote.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.gov.v1.MsgVoteWeighted" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.gov.v1.MsgVoteWeightedResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos.gov.v1beta1.Msg/Deposit": { + "post": { + "tags": [ + "Msg" + ], + "summary": "Deposit defines a method to add deposit on a specific proposal.", + "operationId": "CircuitMsg_DepositMixin106", + "parameters": [ + { + "description": "MsgDeposit defines a message to submit a deposit to an existing proposal.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.gov.v1beta1.MsgDeposit" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.gov.v1beta1.MsgDepositResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos.gov.v1beta1.Msg/SubmitProposal": { + "post": { + "tags": [ + "Msg" + ], + "summary": "SubmitProposal defines a method to create new proposal given a content.", + "operationId": "CircuitMsg_SubmitProposalMixin106", + "parameters": [ + { + "description": "MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary\nproposal Content.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.gov.v1beta1.MsgSubmitProposal" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.gov.v1beta1.MsgSubmitProposalResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos.gov.v1beta1.Msg/Vote": { + "post": { + "tags": [ + "Msg" + ], + "summary": "Vote defines a method to add a vote on a specific proposal.", + "operationId": "CircuitMsg_VoteMixin106", + "parameters": [ + { + "description": "MsgVote defines a message to cast a vote.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.gov.v1beta1.MsgVote" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.gov.v1beta1.MsgVoteResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos.gov.v1beta1.Msg/VoteWeighted": { + "post": { + "description": "Since: cosmos-sdk 0.43", + "tags": [ + "Msg" + ], + "summary": "VoteWeighted defines a method to add a weighted vote on a specific proposal.", + "operationId": "CircuitMsg_VoteWeightedMixin106", + "parameters": [ + { + "description": "MsgVoteWeighted defines a message to cast a vote.\n\nSince: cosmos-sdk 0.43", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.gov.v1beta1.MsgVoteWeighted" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.gov.v1beta1.MsgVoteWeightedResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos.group.v1.Msg/CreateGroup": { + "post": { + "tags": [ + "Msg" + ], + "summary": "CreateGroup creates a new group with an admin account address, a list of members and some optional metadata.", + "operationId": "CircuitMsg_CreateGroup", + "parameters": [ + { + "description": "MsgCreateGroup is the Msg/CreateGroup request type.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.group.v1.MsgCreateGroup" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.group.v1.MsgCreateGroupResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos.group.v1.Msg/CreateGroupPolicy": { + "post": { + "tags": [ + "Msg" + ], + "summary": "CreateGroupPolicy creates a new group policy using given DecisionPolicy.", + "operationId": "CircuitMsg_CreateGroupPolicy", + "parameters": [ + { + "description": "MsgCreateGroupPolicy is the Msg/CreateGroupPolicy request type.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.group.v1.MsgCreateGroupPolicy" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.group.v1.MsgCreateGroupPolicyResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos.group.v1.Msg/CreateGroupWithPolicy": { + "post": { + "tags": [ + "Msg" + ], + "summary": "CreateGroupWithPolicy creates a new group with policy.", + "operationId": "CircuitMsg_CreateGroupWithPolicy", + "parameters": [ + { + "description": "MsgCreateGroupWithPolicy is the Msg/CreateGroupWithPolicy request type.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.group.v1.MsgCreateGroupWithPolicy" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.group.v1.MsgCreateGroupWithPolicyResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos.group.v1.Msg/Exec": { + "post": { + "tags": [ + "Msg" + ], + "summary": "Exec executes a proposal.", + "operationId": "CircuitMsg_ExecMixin110", + "parameters": [ + { + "description": "MsgExec is the Msg/Exec request type.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.group.v1.MsgExec" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.group.v1.MsgExecResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos.group.v1.Msg/LeaveGroup": { + "post": { + "tags": [ + "Msg" + ], + "summary": "LeaveGroup allows a group member to leave the group.", + "operationId": "CircuitMsg_LeaveGroup", + "parameters": [ + { + "description": "MsgLeaveGroup is the Msg/LeaveGroup request type.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.group.v1.MsgLeaveGroup" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.group.v1.MsgLeaveGroupResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos.group.v1.Msg/SubmitProposal": { + "post": { + "tags": [ + "Msg" + ], + "summary": "SubmitProposal submits a new proposal.", + "operationId": "CircuitMsg_SubmitProposalMixin110", + "parameters": [ + { + "description": "MsgSubmitProposal is the Msg/SubmitProposal request type.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.group.v1.MsgSubmitProposal" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.group.v1.MsgSubmitProposalResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos.group.v1.Msg/UpdateGroupAdmin": { + "post": { + "tags": [ + "Msg" + ], + "summary": "UpdateGroupAdmin updates the group admin with given group id and previous admin address.", + "operationId": "CircuitMsg_UpdateGroupAdmin", + "parameters": [ + { + "description": "MsgUpdateGroupAdmin is the Msg/UpdateGroupAdmin request type.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.group.v1.MsgUpdateGroupAdmin" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.group.v1.MsgUpdateGroupAdminResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos.group.v1.Msg/UpdateGroupMembers": { + "post": { + "tags": [ + "Msg" + ], + "summary": "UpdateGroupMembers updates the group members with given group id and admin address.", + "operationId": "CircuitMsg_UpdateGroupMembers", + "parameters": [ + { + "description": "MsgUpdateGroupMembers is the Msg/UpdateGroupMembers request type.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.group.v1.MsgUpdateGroupMembers" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.group.v1.MsgUpdateGroupMembersResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos.group.v1.Msg/UpdateGroupMetadata": { + "post": { + "tags": [ + "Msg" + ], + "summary": "UpdateGroupMetadata updates the group metadata with given group id and admin address.", + "operationId": "CircuitMsg_UpdateGroupMetadata", + "parameters": [ + { + "description": "MsgUpdateGroupMetadata is the Msg/UpdateGroupMetadata request type.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.group.v1.MsgUpdateGroupMetadata" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.group.v1.MsgUpdateGroupMetadataResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos.group.v1.Msg/UpdateGroupPolicyAdmin": { + "post": { + "tags": [ + "Msg" + ], + "summary": "UpdateGroupPolicyAdmin updates a group policy admin.", + "operationId": "CircuitMsg_UpdateGroupPolicyAdmin", + "parameters": [ + { + "description": "MsgUpdateGroupPolicyAdmin is the Msg/UpdateGroupPolicyAdmin request type.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.group.v1.MsgUpdateGroupPolicyAdmin" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.group.v1.MsgUpdateGroupPolicyAdminResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos.group.v1.Msg/UpdateGroupPolicyDecisionPolicy": { + "post": { + "tags": [ + "Msg" + ], + "summary": "UpdateGroupPolicyDecisionPolicy allows a group policy's decision policy to be updated.", + "operationId": "CircuitMsg_UpdateGroupPolicyDecisionPolicy", + "parameters": [ + { + "description": "MsgUpdateGroupPolicyDecisionPolicy is the Msg/UpdateGroupPolicyDecisionPolicy request type.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicyResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos.group.v1.Msg/UpdateGroupPolicyMetadata": { + "post": { + "tags": [ + "Msg" + ], + "summary": "UpdateGroupPolicyMetadata updates a group policy metadata.", + "operationId": "CircuitMsg_UpdateGroupPolicyMetadata", + "parameters": [ + { + "description": "MsgUpdateGroupPolicyMetadata is the Msg/UpdateGroupPolicyMetadata request type.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.group.v1.MsgUpdateGroupPolicyMetadata" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.group.v1.MsgUpdateGroupPolicyMetadataResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos.group.v1.Msg/Vote": { + "post": { + "tags": [ + "Msg" + ], + "summary": "Vote allows a voter to vote on a proposal.", + "operationId": "CircuitMsg_VoteMixin110", + "parameters": [ + { + "description": "MsgVote is the Msg/Vote request type.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.group.v1.MsgVote" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.group.v1.MsgVoteResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos.group.v1.Msg/WithdrawProposal": { + "post": { + "tags": [ + "Msg" + ], + "summary": "WithdrawProposal withdraws a proposal.", + "operationId": "CircuitMsg_WithdrawProposal", + "parameters": [ + { + "description": "MsgWithdrawProposal is the Msg/WithdrawProposal request type.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.group.v1.MsgWithdrawProposal" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.group.v1.MsgWithdrawProposalResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos.mint.v1beta1.Msg/UpdateParams": { + "post": { + "description": "Since: cosmos-sdk 0.47", + "tags": [ + "Msg" + ], + "summary": "UpdateParams defines a governance operation for updating the x/mint module\nparameters. The authority is defaults to the x/gov module account.", + "operationId": "CircuitMsg_UpdateParamsMixin115", + "parameters": [ + { + "description": "MsgUpdateParams is the Msg/UpdateParams request type.\n\nSince: cosmos-sdk 0.47", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.mint.v1beta1.MsgUpdateParams" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.mint.v1beta1.MsgUpdateParamsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos.nft.v1beta1.Msg/Send": { + "post": { + "tags": [ + "Msg" + ], + "summary": "Send defines a method to send a nft from one account to another account.", + "operationId": "CircuitMsg_SendMixin121", + "parameters": [ + { + "description": "MsgSend represents a message to send a nft from one account to another account.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.nft.v1beta1.MsgSend" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.nft.v1beta1.MsgSendResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos.slashing.v1beta1.Msg/Unjail": { + "post": { + "tags": [ + "Msg" + ], + "summary": "Unjail defines a method for unjailing a jailed validator, thus returning\nthem into the bonded validator set, so they can begin receiving provisions\nand rewards again.", + "operationId": "CircuitMsg_Unjail", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.slashing.v1beta1.MsgUnjail" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.slashing.v1beta1.MsgUnjailResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos.slashing.v1beta1.Msg/UpdateParams": { + "post": { + "description": "Since: cosmos-sdk 0.47", + "tags": [ + "Msg" + ], + "summary": "UpdateParams defines a governance operation for updating the x/slashing module\nparameters. The authority defaults to the x/gov module account.", + "operationId": "CircuitMsg_UpdateParamsMixin128", + "parameters": [ + { + "description": "MsgUpdateParams is the Msg/UpdateParams request type.\n\nSince: cosmos-sdk 0.47", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.slashing.v1beta1.MsgUpdateParams" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.slashing.v1beta1.MsgUpdateParamsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos.staking.v1beta1.Msg/BeginRedelegate": { + "post": { + "tags": [ + "Msg" + ], + "summary": "BeginRedelegate defines a method for performing a redelegation\nof coins from a delegator and source validator to a destination validator.", + "operationId": "CircuitMsg_BeginRedelegate", + "parameters": [ + { + "description": "MsgBeginRedelegate defines a SDK message for performing a redelegation\nof coins from a delegator and source validator to a destination validator.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.staking.v1beta1.MsgBeginRedelegate" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.staking.v1beta1.MsgBeginRedelegateResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos.staking.v1beta1.Msg/CancelUnbondingDelegation": { + "post": { + "description": "Since: cosmos-sdk 0.46", + "tags": [ + "Msg" + ], + "summary": "CancelUnbondingDelegation defines a method for performing canceling the unbonding delegation\nand delegate back to previous validator.", + "operationId": "CircuitMsg_CancelUnbondingDelegation", + "parameters": [ + { + "description": "Since: cosmos-sdk 0.46", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.staking.v1beta1.MsgCancelUnbondingDelegation" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.staking.v1beta1.MsgCancelUnbondingDelegationResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos.staking.v1beta1.Msg/CreateValidator": { + "post": { + "tags": [ + "Msg" + ], + "summary": "CreateValidator defines a method for creating a new validator.", + "operationId": "CircuitMsg_CreateValidator", + "parameters": [ + { + "description": "MsgCreateValidator defines a SDK message for creating a new validator.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.staking.v1beta1.MsgCreateValidator" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.staking.v1beta1.MsgCreateValidatorResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos.staking.v1beta1.Msg/Delegate": { + "post": { + "tags": [ + "Msg" + ], + "summary": "Delegate defines a method for performing a delegation of coins\nfrom a delegator to a validator.", + "operationId": "CircuitMsg_Delegate", + "parameters": [ + { + "description": "MsgDelegate defines a SDK message for performing a delegation of coins\nfrom a delegator to a validator.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.staking.v1beta1.MsgDelegate" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.staking.v1beta1.MsgDelegateResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos.staking.v1beta1.Msg/EditValidator": { + "post": { + "tags": [ + "Msg" + ], + "summary": "EditValidator defines a method for editing an existing validator.", + "operationId": "CircuitMsg_EditValidator", + "parameters": [ + { + "description": "MsgEditValidator defines a SDK message for editing an existing validator.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.staking.v1beta1.MsgEditValidator" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.staking.v1beta1.MsgEditValidatorResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos.staking.v1beta1.Msg/Undelegate": { + "post": { + "tags": [ + "Msg" + ], + "summary": "Undelegate defines a method for performing an undelegation from a\ndelegate and a validator.", + "operationId": "CircuitMsg_Undelegate", + "parameters": [ + { + "description": "MsgUndelegate defines a SDK message for performing an undelegation from a\ndelegate and a validator.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.staking.v1beta1.MsgUndelegate" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.staking.v1beta1.MsgUndelegateResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos.staking.v1beta1.Msg/UpdateParams": { + "post": { + "tags": [ + "Msg" + ], + "summary": "UpdateParams defines an operation for updating the x/staking module\nparameters.\nSince: cosmos-sdk 0.47", + "operationId": "CircuitMsg_UpdateParamsMixin133", + "parameters": [ + { + "description": "MsgUpdateParams is the Msg/UpdateParams request type.\n\nSince: cosmos-sdk 0.47", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.staking.v1beta1.MsgUpdateParams" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.staking.v1beta1.MsgUpdateParamsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos.store.streaming.abci.ABCIListenerService/ListenCommit": { + "post": { + "tags": [ + "ABCIListenerService" + ], + "summary": "ListenCommit is the corresponding endpoint for ABCIListener.ListenCommit", + "operationId": "CircuitABCIListenerService_ListenCommit", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.store.streaming.abci.ListenCommitRequest" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.store.streaming.abci.ListenCommitResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos.store.streaming.abci.ABCIListenerService/ListenFinalizeBlock": { + "post": { + "tags": [ + "ABCIListenerService" + ], + "summary": "ListenFinalizeBlock is the corresponding endpoint for ABCIListener.ListenEndBlock", + "operationId": "CircuitABCIListenerService_ListenFinalizeBlock", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.store.streaming.abci.ListenFinalizeBlockRequest" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.store.streaming.abci.ListenFinalizeBlockResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos.upgrade.v1beta1.Msg/CancelUpgrade": { + "post": { + "description": "Since: cosmos-sdk 0.46", + "tags": [ + "Msg" + ], + "summary": "CancelUpgrade is a governance operation for cancelling a previously\napproved software upgrade.", + "operationId": "CircuitMsg_CancelUpgrade", + "parameters": [ + { + "description": "MsgCancelUpgrade is the Msg/CancelUpgrade request type.\n\nSince: cosmos-sdk 0.46", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.upgrade.v1beta1.MsgCancelUpgrade" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.upgrade.v1beta1.MsgCancelUpgradeResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos.upgrade.v1beta1.Msg/SoftwareUpgrade": { + "post": { + "description": "Since: cosmos-sdk 0.46", + "tags": [ + "Msg" + ], + "summary": "SoftwareUpgrade is a governance operation for initiating a software upgrade.", + "operationId": "CircuitMsg_SoftwareUpgrade", + "parameters": [ + { + "description": "MsgSoftwareUpgrade is the Msg/SoftwareUpgrade request type.\n\nSince: cosmos-sdk 0.46", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.upgrade.v1beta1.MsgSoftwareUpgrade" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.upgrade.v1beta1.MsgSoftwareUpgradeResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos.vesting.v1beta1.Msg/CreatePeriodicVestingAccount": { + "post": { + "description": "Since: cosmos-sdk 0.46", + "tags": [ + "Msg" + ], + "summary": "CreatePeriodicVestingAccount defines a method that enables creating a\nperiodic vesting account.", + "operationId": "CircuitMsg_CreatePeriodicVestingAccount", + "parameters": [ + { + "description": "MsgCreateVestingAccount defines a message that enables creating a vesting\naccount.\n\nSince: cosmos-sdk 0.46", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccount" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccountResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos.vesting.v1beta1.Msg/CreatePermanentLockedAccount": { + "post": { + "description": "Since: cosmos-sdk 0.46", + "tags": [ + "Msg" + ], + "summary": "CreatePermanentLockedAccount defines a method that enables creating a permanent\nlocked account.", + "operationId": "CircuitMsg_CreatePermanentLockedAccount", + "parameters": [ + { + "description": "MsgCreatePermanentLockedAccount defines a message that enables creating a permanent\nlocked account.\n\nSince: cosmos-sdk 0.46", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccount" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccountResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos.vesting.v1beta1.Msg/CreateVestingAccount": { + "post": { + "tags": [ + "Msg" + ], + "summary": "CreateVestingAccount defines a method that enables creating a vesting\naccount.", + "operationId": "CircuitMsg_CreateVestingAccount", + "parameters": [ + { + "description": "MsgCreateVestingAccount defines a message that enables creating a vesting\naccount.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.vesting.v1beta1.MsgCreateVestingAccount" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.vesting.v1beta1.MsgCreateVestingAccountResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/auth/v1beta1/account_info/{address}": { + "get": { + "description": "Since: cosmos-sdk 0.47", + "tags": [ + "Query" + ], + "summary": "AccountInfo queries account info which is common to all account types.", + "operationId": "CircuitQuery_AccountInfo", + "parameters": [ + { + "type": "string", + "description": "address is the account address string.", + "name": "address", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.auth.v1beta1.QueryAccountInfoResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/auth/v1beta1/accounts": { + "get": { + "description": "When called from another module, this query might consume a high amount of\ngas if the pagination field is incorrectly set.\n\nSince: cosmos-sdk 0.43", + "tags": [ + "Query" + ], + "summary": "Accounts returns all the existing accounts.", + "operationId": "CircuitQuery_Accounts", + "parameters": [ + { + "type": "string", + "format": "byte", + "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", + "name": "pagination.key", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", + "name": "pagination.offset", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", + "name": "pagination.limit", + "in": "query" + }, + { + "type": "boolean", + "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", + "name": "pagination.count_total", + "in": "query" + }, + { + "type": "boolean", + "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", + "name": "pagination.reverse", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.auth.v1beta1.QueryAccountsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/auth/v1beta1/accounts/{address}": { + "get": { + "tags": [ + "Query" + ], + "summary": "Account returns account details based on address.", + "operationId": "CircuitQuery_Account", + "parameters": [ + { + "type": "string", + "description": "address defines the address to query for.", + "name": "address", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.auth.v1beta1.QueryAccountResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/auth/v1beta1/address_by_id/{id}": { + "get": { + "description": "Since: cosmos-sdk 0.46.2", + "tags": [ + "Query" + ], + "summary": "AccountAddressByID returns account address based on account number.", + "operationId": "CircuitQuery_AccountAddressByID", + "parameters": [ + { + "type": "string", + "format": "int64", + "description": "Deprecated, use account_id instead\n\nid is the account number of the address to be queried. This field\nshould have been an uint64 (like all account numbers), and will be\nupdated to uint64 in a future version of the auth query.", + "name": "id", + "in": "path", + "required": true + }, + { + "type": "string", + "format": "uint64", + "description": "account_id is the account number of the address to be queried.\n\nSince: cosmos-sdk 0.47", + "name": "account_id", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.auth.v1beta1.QueryAccountAddressByIDResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/auth/v1beta1/bech32": { + "get": { + "description": "Since: cosmos-sdk 0.46", + "tags": [ + "Query" + ], + "summary": "Bech32Prefix queries bech32Prefix", + "operationId": "CircuitQuery_Bech32Prefix", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.auth.v1beta1.Bech32PrefixResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/auth/v1beta1/bech32/{address_bytes}": { + "get": { + "description": "Since: cosmos-sdk 0.46", + "tags": [ + "Query" + ], + "summary": "AddressBytesToString converts Account Address bytes to string", + "operationId": "CircuitQuery_AddressBytesToString", + "parameters": [ + { + "type": "string", + "format": "byte", + "name": "address_bytes", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.auth.v1beta1.AddressBytesToStringResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/auth/v1beta1/bech32/{address_string}": { + "get": { + "description": "Since: cosmos-sdk 0.46", + "tags": [ + "Query" + ], + "summary": "AddressStringToBytes converts Address string to bytes", + "operationId": "CircuitQuery_AddressStringToBytes", + "parameters": [ + { + "type": "string", + "name": "address_string", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.auth.v1beta1.AddressStringToBytesResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/auth/v1beta1/module_accounts": { + "get": { + "description": "Since: cosmos-sdk 0.46", + "tags": [ + "Query" + ], + "summary": "ModuleAccounts returns all the existing module accounts.", + "operationId": "CircuitQuery_ModuleAccounts", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.auth.v1beta1.QueryModuleAccountsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/auth/v1beta1/module_accounts/{name}": { + "get": { + "tags": [ + "Query" + ], + "summary": "ModuleAccountByName returns the module account info by module name", + "operationId": "CircuitQuery_ModuleAccountByName", + "parameters": [ + { + "type": "string", + "name": "name", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.auth.v1beta1.QueryModuleAccountByNameResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/auth/v1beta1/params": { + "get": { + "tags": [ + "Query" + ], + "summary": "Params queries all parameters.", + "operationId": "CircuitQuery_Params", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.auth.v1beta1.QueryParamsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/authz/v1beta1/grants": { + "get": { + "tags": [ + "Query" + ], + "summary": "Returns list of `Authorization`, granted to the grantee by the granter.", + "operationId": "CircuitQuery_Grants", + "parameters": [ + { + "type": "string", + "name": "granter", + "in": "query" + }, + { + "type": "string", + "name": "grantee", + "in": "query" + }, + { + "type": "string", + "description": "Optional, msg_type_url, when set, will query only grants matching given msg type.", + "name": "msg_type_url", + "in": "query" + }, + { + "type": "string", + "format": "byte", + "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", + "name": "pagination.key", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", + "name": "pagination.offset", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", + "name": "pagination.limit", + "in": "query" + }, + { + "type": "boolean", + "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", + "name": "pagination.count_total", + "in": "query" + }, + { + "type": "boolean", + "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", + "name": "pagination.reverse", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.authz.v1beta1.QueryGrantsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/authz/v1beta1/grants/grantee/{grantee}": { + "get": { + "description": "Since: cosmos-sdk 0.46", + "tags": [ + "Query" + ], + "summary": "GranteeGrants returns a list of `GrantAuthorization` by grantee.", + "operationId": "CircuitQuery_GranteeGrants", + "parameters": [ + { + "type": "string", + "name": "grantee", + "in": "path", + "required": true + }, + { + "type": "string", + "format": "byte", + "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", + "name": "pagination.key", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", + "name": "pagination.offset", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", + "name": "pagination.limit", + "in": "query" + }, + { + "type": "boolean", + "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", + "name": "pagination.count_total", + "in": "query" + }, + { + "type": "boolean", + "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", + "name": "pagination.reverse", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.authz.v1beta1.QueryGranteeGrantsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/authz/v1beta1/grants/granter/{granter}": { + "get": { + "description": "Since: cosmos-sdk 0.46", + "tags": [ + "Query" + ], + "summary": "GranterGrants returns list of `GrantAuthorization`, granted by granter.", + "operationId": "CircuitQuery_GranterGrants", + "parameters": [ + { + "type": "string", + "name": "granter", + "in": "path", + "required": true + }, + { + "type": "string", + "format": "byte", + "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", + "name": "pagination.key", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", + "name": "pagination.offset", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", + "name": "pagination.limit", + "in": "query" + }, + { + "type": "boolean", + "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", + "name": "pagination.count_total", + "in": "query" + }, + { + "type": "boolean", + "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", + "name": "pagination.reverse", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.authz.v1beta1.QueryGranterGrantsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/bank/v1beta1/balances/{address}": { + "get": { + "description": "When called from another module, this query might consume a high amount of\ngas if the pagination field is incorrectly set.", + "tags": [ + "Query" + ], + "summary": "AllBalances queries the balance of all coins for a single account.", + "operationId": "CircuitQuery_AllBalances", + "parameters": [ + { + "type": "string", + "description": "address is the address to query balances for.", + "name": "address", + "in": "path", + "required": true + }, + { + "type": "string", + "format": "byte", + "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", + "name": "pagination.key", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", + "name": "pagination.offset", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", + "name": "pagination.limit", + "in": "query" + }, + { + "type": "boolean", + "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", + "name": "pagination.count_total", + "in": "query" + }, + { + "type": "boolean", + "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", + "name": "pagination.reverse", + "in": "query" + }, + { + "type": "boolean", + "description": "resolve_denom is the flag to resolve the denom into a human-readable form from the metadata.\n\nSince: cosmos-sdk 0.50", + "name": "resolve_denom", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.bank.v1beta1.QueryAllBalancesResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/bank/v1beta1/balances/{address}/by_denom": { + "get": { + "tags": [ + "Query" + ], + "summary": "Balance queries the balance of a single coin for a single account.", + "operationId": "CircuitQuery_Balance", + "parameters": [ + { + "type": "string", + "description": "address is the address to query balances for.", + "name": "address", + "in": "path", + "required": true + }, + { + "type": "string", + "description": "denom is the coin denom to query balances for.", + "name": "denom", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.bank.v1beta1.QueryBalanceResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/bank/v1beta1/denom_owners/{denom}": { + "get": { + "description": "When called from another module, this query might consume a high amount of\ngas if the pagination field is incorrectly set.\n\nSince: cosmos-sdk 0.46", + "tags": [ + "Query" + ], + "summary": "DenomOwners queries for all account addresses that own a particular token\ndenomination.", + "operationId": "CircuitQuery_DenomOwners", + "parameters": [ + { + "type": "string", + "description": "denom defines the coin denomination to query all account holders for.", + "name": "denom", + "in": "path", + "required": true + }, + { + "type": "string", + "format": "byte", + "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", + "name": "pagination.key", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", + "name": "pagination.offset", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", + "name": "pagination.limit", + "in": "query" + }, + { + "type": "boolean", + "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", + "name": "pagination.count_total", + "in": "query" + }, + { + "type": "boolean", + "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", + "name": "pagination.reverse", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.bank.v1beta1.QueryDenomOwnersResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/bank/v1beta1/denom_owners_by_query": { + "get": { + "description": "Since: cosmos-sdk 0.50.3", + "tags": [ + "Query" + ], + "summary": "DenomOwnersByQuery queries for all account addresses that own a particular token\ndenomination.", + "operationId": "CircuitQuery_DenomOwnersByQuery", + "parameters": [ + { + "type": "string", + "description": "denom defines the coin denomination to query all account holders for.", + "name": "denom", + "in": "query" + }, + { + "type": "string", + "format": "byte", + "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", + "name": "pagination.key", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", + "name": "pagination.offset", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", + "name": "pagination.limit", + "in": "query" + }, + { + "type": "boolean", + "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", + "name": "pagination.count_total", + "in": "query" + }, + { + "type": "boolean", + "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", + "name": "pagination.reverse", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.bank.v1beta1.QueryDenomOwnersByQueryResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/bank/v1beta1/denoms_metadata": { + "get": { + "tags": [ + "Query" + ], + "summary": "DenomsMetadata queries the client metadata for all registered coin\ndenominations.", + "operationId": "CircuitQuery_DenomsMetadata", + "parameters": [ + { + "type": "string", + "format": "byte", + "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", + "name": "pagination.key", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", + "name": "pagination.offset", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", + "name": "pagination.limit", + "in": "query" + }, + { + "type": "boolean", + "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", + "name": "pagination.count_total", + "in": "query" + }, + { + "type": "boolean", + "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", + "name": "pagination.reverse", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.bank.v1beta1.QueryDenomsMetadataResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/bank/v1beta1/denoms_metadata/{denom}": { + "get": { + "tags": [ + "Query" + ], + "summary": "DenomMetadata queries the client metadata of a given coin denomination.", + "operationId": "CircuitQuery_DenomMetadata", + "parameters": [ + { + "type": "string", + "description": "denom is the coin denom to query the metadata for.", + "name": "denom", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.bank.v1beta1.QueryDenomMetadataResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/bank/v1beta1/denoms_metadata_by_query_string": { + "get": { + "tags": [ + "Query" + ], + "summary": "DenomMetadataByQueryString queries the client metadata of a given coin denomination.", + "operationId": "CircuitQuery_DenomMetadataByQueryString", + "parameters": [ + { + "type": "string", + "description": "denom is the coin denom to query the metadata for.", + "name": "denom", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.bank.v1beta1.QueryDenomMetadataByQueryStringResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/bank/v1beta1/params": { + "get": { + "tags": [ + "Query" + ], + "summary": "Params queries the parameters of x/bank module.", + "operationId": "CircuitQuery_ParamsMixin62", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.bank.v1beta1.QueryParamsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/bank/v1beta1/send_enabled": { + "get": { + "description": "This query only returns denominations that have specific SendEnabled settings.\nAny denomination that does not have a specific setting will use the default\nparams.default_send_enabled, and will not be returned by this query.\n\nSince: cosmos-sdk 0.47", + "tags": [ + "Query" + ], + "summary": "SendEnabled queries for SendEnabled entries.", + "operationId": "CircuitQuery_SendEnabled", + "parameters": [ + { + "type": "array", + "items": { + "type": "string" + }, + "collectionFormat": "multi", + "description": "denoms is the specific denoms you want look up. Leave empty to get all entries.", + "name": "denoms", + "in": "query" + }, + { + "type": "string", + "format": "byte", + "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", + "name": "pagination.key", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", + "name": "pagination.offset", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", + "name": "pagination.limit", + "in": "query" + }, + { + "type": "boolean", + "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", + "name": "pagination.count_total", + "in": "query" + }, + { + "type": "boolean", + "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", + "name": "pagination.reverse", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.bank.v1beta1.QuerySendEnabledResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/bank/v1beta1/spendable_balances/{address}": { + "get": { + "description": "When called from another module, this query might consume a high amount of\ngas if the pagination field is incorrectly set.\n\nSince: cosmos-sdk 0.46", + "tags": [ + "Query" + ], + "summary": "SpendableBalances queries the spendable balance of all coins for a single\naccount.", + "operationId": "CircuitQuery_SpendableBalances", + "parameters": [ + { + "type": "string", + "description": "address is the address to query spendable balances for.", + "name": "address", + "in": "path", + "required": true + }, + { + "type": "string", + "format": "byte", + "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", + "name": "pagination.key", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", + "name": "pagination.offset", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", + "name": "pagination.limit", + "in": "query" + }, + { + "type": "boolean", + "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", + "name": "pagination.count_total", + "in": "query" + }, + { + "type": "boolean", + "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", + "name": "pagination.reverse", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.bank.v1beta1.QuerySpendableBalancesResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/bank/v1beta1/spendable_balances/{address}/by_denom": { + "get": { + "description": "When called from another module, this query might consume a high amount of\ngas if the pagination field is incorrectly set.\n\nSince: cosmos-sdk 0.47", + "tags": [ + "Query" + ], + "summary": "SpendableBalanceByDenom queries the spendable balance of a single denom for\na single account.", + "operationId": "CircuitQuery_SpendableBalanceByDenom", + "parameters": [ + { + "type": "string", + "description": "address is the address to query balances for.", + "name": "address", + "in": "path", + "required": true + }, + { + "type": "string", + "description": "denom is the coin denom to query balances for.", + "name": "denom", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.bank.v1beta1.QuerySpendableBalanceByDenomResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/bank/v1beta1/supply": { + "get": { + "description": "When called from another module, this query might consume a high amount of\ngas if the pagination field is incorrectly set.", + "tags": [ + "Query" + ], + "summary": "TotalSupply queries the total supply of all coins.", + "operationId": "CircuitQuery_TotalSupply", + "parameters": [ + { + "type": "string", + "format": "byte", + "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", + "name": "pagination.key", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", + "name": "pagination.offset", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", + "name": "pagination.limit", + "in": "query" + }, + { + "type": "boolean", + "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", + "name": "pagination.count_total", + "in": "query" + }, + { + "type": "boolean", + "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", + "name": "pagination.reverse", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.bank.v1beta1.QueryTotalSupplyResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/bank/v1beta1/supply/by_denom": { + "get": { + "description": "When called from another module, this query might consume a high amount of\ngas if the pagination field is incorrectly set.", + "tags": [ + "Query" + ], + "summary": "SupplyOf queries the supply of a single coin.", + "operationId": "CircuitQuery_SupplyOf", + "parameters": [ + { + "type": "string", + "description": "denom is the coin denom to query balances for.", + "name": "denom", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.bank.v1beta1.QuerySupplyOfResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/base/node/v1beta1/config": { + "get": { + "tags": [ + "Service" + ], + "summary": "Config queries for the operator configuration.", + "operationId": "CircuitService_Config", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.base.node.v1beta1.ConfigResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/base/node/v1beta1/status": { + "get": { + "tags": [ + "Service" + ], + "summary": "Status queries for the node status.", + "operationId": "CircuitService_Status", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.base.node.v1beta1.StatusResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/base/reflection/v1beta1/app_descriptor/authn": { + "get": { + "tags": [ + "ReflectionService" + ], + "summary": "GetAuthnDescriptor returns information on how to authenticate transactions in the application\nNOTE: this RPC is still experimental and might be subject to breaking changes or removal in\nfuture releases of the cosmos-sdk.", + "operationId": "CircuitReflectionService_GetAuthnDescriptor", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/base/reflection/v1beta1/app_descriptor/chain": { + "get": { + "tags": [ + "ReflectionService" + ], + "summary": "GetChainDescriptor returns the description of the chain", + "operationId": "CircuitReflectionService_GetChainDescriptor", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/base/reflection/v1beta1/app_descriptor/codec": { + "get": { + "tags": [ + "ReflectionService" + ], + "summary": "GetCodecDescriptor returns the descriptor of the codec of the application", + "operationId": "CircuitReflectionService_GetCodecDescriptor", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/base/reflection/v1beta1/app_descriptor/configuration": { + "get": { + "tags": [ + "ReflectionService" + ], + "summary": "GetConfigurationDescriptor returns the descriptor for the sdk.Config of the application", + "operationId": "CircuitReflectionService_GetConfigurationDescriptor", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/base/reflection/v1beta1/app_descriptor/query_services": { + "get": { + "tags": [ + "ReflectionService" + ], + "summary": "GetQueryServicesDescriptor returns the available gRPC queryable services of the application", + "operationId": "CircuitReflectionService_GetQueryServicesDescriptor", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/base/reflection/v1beta1/app_descriptor/tx_descriptor": { + "get": { + "tags": [ + "ReflectionService" + ], + "summary": "GetTxDescriptor returns information on the used transaction object and available msgs that can be used", + "operationId": "CircuitReflectionService_GetTxDescriptor", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.base.reflection.v2alpha1.GetTxDescriptorResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/base/reflection/v1beta1/interfaces": { + "get": { + "tags": [ + "ReflectionService" + ], + "summary": "ListAllInterfaces lists all the interfaces registered in the interface\nregistry.", + "operationId": "CircuitReflectionService_ListAllInterfaces", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.base.reflection.v1beta1.ListAllInterfacesResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/base/reflection/v1beta1/interfaces/{interface_name}/implementations": { + "get": { + "tags": [ + "ReflectionService" + ], + "summary": "ListImplementations list all the concrete types that implement a given\ninterface.", + "operationId": "CircuitReflectionService_ListImplementations", + "parameters": [ + { + "type": "string", + "description": "interface_name defines the interface to query the implementations for.", + "name": "interface_name", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.base.reflection.v1beta1.ListImplementationsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/base/tendermint/v1beta1/abci_query": { + "get": { + "description": "Since: cosmos-sdk 0.46", + "tags": [ + "Service" + ], + "summary": "ABCIQuery defines a query handler that supports ABCI queries directly to the\napplication, bypassing Tendermint completely. The ABCI query must contain\na valid and supported path, including app, custom, p2p, and store.", + "operationId": "CircuitService_ABCIQuery", + "parameters": [ + { + "type": "string", + "format": "byte", + "name": "data", + "in": "query" + }, + { + "type": "string", + "name": "path", + "in": "query" + }, + { + "type": "string", + "format": "int64", + "name": "height", + "in": "query" + }, + { + "type": "boolean", + "name": "prove", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.base.tendermint.v1beta1.ABCIQueryResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/base/tendermint/v1beta1/blocks/latest": { + "get": { + "tags": [ + "Service" + ], + "summary": "GetLatestBlock returns the latest block.", + "operationId": "CircuitService_GetLatestBlock", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.base.tendermint.v1beta1.GetLatestBlockResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/base/tendermint/v1beta1/blocks/{height}": { + "get": { + "tags": [ + "Service" + ], + "summary": "GetBlockByHeight queries block for given height.", + "operationId": "CircuitService_GetBlockByHeight", + "parameters": [ + { + "type": "string", + "format": "int64", + "name": "height", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.base.tendermint.v1beta1.GetBlockByHeightResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/base/tendermint/v1beta1/node_info": { + "get": { + "tags": [ + "Service" + ], + "summary": "GetNodeInfo queries the current node info.", + "operationId": "CircuitService_GetNodeInfo", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.base.tendermint.v1beta1.GetNodeInfoResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/base/tendermint/v1beta1/syncing": { + "get": { + "tags": [ + "Service" + ], + "summary": "GetSyncing queries node syncing.", + "operationId": "CircuitService_GetSyncing", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.base.tendermint.v1beta1.GetSyncingResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/base/tendermint/v1beta1/validatorsets/latest": { + "get": { + "tags": [ + "Service" + ], + "summary": "GetLatestValidatorSet queries latest validator-set.", + "operationId": "CircuitService_GetLatestValidatorSet", + "parameters": [ + { + "type": "string", + "format": "byte", + "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", + "name": "pagination.key", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", + "name": "pagination.offset", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", + "name": "pagination.limit", + "in": "query" + }, + { + "type": "boolean", + "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", + "name": "pagination.count_total", + "in": "query" + }, + { + "type": "boolean", + "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", + "name": "pagination.reverse", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.base.tendermint.v1beta1.GetLatestValidatorSetResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/base/tendermint/v1beta1/validatorsets/{height}": { + "get": { + "tags": [ + "Service" + ], + "summary": "GetValidatorSetByHeight queries validator-set at a given height.", + "operationId": "CircuitService_GetValidatorSetByHeight", + "parameters": [ + { + "type": "string", + "format": "int64", + "name": "height", + "in": "path", + "required": true + }, + { + "type": "string", + "format": "byte", + "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", + "name": "pagination.key", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", + "name": "pagination.offset", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", + "name": "pagination.limit", + "in": "query" + }, + { + "type": "boolean", + "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", + "name": "pagination.count_total", + "in": "query" + }, + { + "type": "boolean", + "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", + "name": "pagination.reverse", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.base.tendermint.v1beta1.GetValidatorSetByHeightResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/circuit/v1/accounts": { + "get": { + "tags": [ + "Query" + ], + "summary": "Account returns account permissions.", + "operationId": "CircuitQuery_AccountsMixin72", + "parameters": [ + { + "type": "string", + "format": "byte", + "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", + "name": "pagination.key", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", + "name": "pagination.offset", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", + "name": "pagination.limit", + "in": "query" + }, + { + "type": "boolean", + "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", + "name": "pagination.count_total", + "in": "query" + }, + { + "type": "boolean", + "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", + "name": "pagination.reverse", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.circuit.v1.AccountsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/circuit/v1/accounts/{address}": { + "get": { + "tags": [ + "Query" + ], + "summary": "Account returns account permissions.", + "operationId": "CircuitQuery_AccountMixin72", + "parameters": [ + { + "type": "string", + "name": "address", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.circuit.v1.AccountResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/circuit/v1/disable_list": { + "get": { + "tags": [ + "Query" + ], + "summary": "DisabledList returns a list of disabled message urls", + "operationId": "CircuitQuery_DisabledList", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.circuit.v1.DisabledListResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/consensus/v1/params": { + "get": { + "tags": [ + "Query" + ], + "summary": "Params queries the parameters of x/consensus module.", + "operationId": "CircuitQuery_ParamsMixin75", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.consensus.v1.QueryParamsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/distribution/v1beta1/community_pool": { + "get": { + "tags": [ + "Query" + ], + "summary": "CommunityPool queries the community pool coins.", + "operationId": "CircuitQuery_CommunityPool", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.distribution.v1beta1.QueryCommunityPoolResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards": { + "get": { + "tags": [ + "Query" + ], + "summary": "DelegationTotalRewards queries the total rewards accrued by each\nvalidator.", + "operationId": "CircuitQuery_DelegationTotalRewards", + "parameters": [ + { + "type": "string", + "description": "delegator_address defines the delegator address to query for.", + "name": "delegator_address", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.distribution.v1beta1.QueryDelegationTotalRewardsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards/{validator_address}": { + "get": { + "tags": [ + "Query" + ], + "summary": "DelegationRewards queries the total rewards accrued by a delegation.", + "operationId": "CircuitQuery_DelegationRewards", + "parameters": [ + { + "type": "string", + "description": "delegator_address defines the delegator address to query for.", + "name": "delegator_address", + "in": "path", + "required": true + }, + { + "type": "string", + "description": "validator_address defines the validator address to query for.", + "name": "validator_address", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.distribution.v1beta1.QueryDelegationRewardsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/distribution/v1beta1/delegators/{delegator_address}/validators": { + "get": { + "tags": [ + "Query" + ], + "summary": "DelegatorValidators queries the validators of a delegator.", + "operationId": "CircuitQuery_DelegatorValidators", + "parameters": [ + { + "type": "string", + "description": "delegator_address defines the delegator address to query for.", + "name": "delegator_address", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.distribution.v1beta1.QueryDelegatorValidatorsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/distribution/v1beta1/delegators/{delegator_address}/withdraw_address": { + "get": { + "tags": [ + "Query" + ], + "summary": "DelegatorWithdrawAddress queries withdraw address of a delegator.", + "operationId": "CircuitQuery_DelegatorWithdrawAddress", + "parameters": [ + { + "type": "string", + "description": "delegator_address defines the delegator address to query for.", + "name": "delegator_address", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.distribution.v1beta1.QueryDelegatorWithdrawAddressResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/distribution/v1beta1/params": { + "get": { + "tags": [ + "Query" + ], + "summary": "Params queries params of the distribution module.", + "operationId": "CircuitQuery_ParamsMixin88", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.distribution.v1beta1.QueryParamsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/distribution/v1beta1/validators/{validator_address}": { + "get": { + "tags": [ + "Query" + ], + "summary": "ValidatorDistributionInfo queries validator commission and self-delegation rewards for validator", + "operationId": "CircuitQuery_ValidatorDistributionInfo", + "parameters": [ + { + "type": "string", + "description": "validator_address defines the validator address to query for.", + "name": "validator_address", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.distribution.v1beta1.QueryValidatorDistributionInfoResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/distribution/v1beta1/validators/{validator_address}/commission": { + "get": { + "tags": [ + "Query" + ], + "summary": "ValidatorCommission queries accumulated commission for a validator.", + "operationId": "CircuitQuery_ValidatorCommission", + "parameters": [ + { + "type": "string", + "description": "validator_address defines the validator address to query for.", + "name": "validator_address", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.distribution.v1beta1.QueryValidatorCommissionResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/distribution/v1beta1/validators/{validator_address}/outstanding_rewards": { + "get": { + "tags": [ + "Query" + ], + "summary": "ValidatorOutstandingRewards queries rewards of a validator address.", + "operationId": "CircuitQuery_ValidatorOutstandingRewards", + "parameters": [ + { + "type": "string", + "description": "validator_address defines the validator address to query for.", + "name": "validator_address", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.distribution.v1beta1.QueryValidatorOutstandingRewardsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/distribution/v1beta1/validators/{validator_address}/slashes": { + "get": { + "tags": [ + "Query" + ], + "summary": "ValidatorSlashes queries slash events of a validator.", + "operationId": "CircuitQuery_ValidatorSlashes", + "parameters": [ + { + "type": "string", + "description": "validator_address defines the validator address to query for.", + "name": "validator_address", + "in": "path", + "required": true + }, + { + "type": "string", + "format": "uint64", + "description": "starting_height defines the optional starting height to query the slashes.", + "name": "starting_height", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "starting_height defines the optional ending height to query the slashes.", + "name": "ending_height", + "in": "query" + }, + { + "type": "string", + "format": "byte", + "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", + "name": "pagination.key", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", + "name": "pagination.offset", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", + "name": "pagination.limit", + "in": "query" + }, + { + "type": "boolean", + "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", + "name": "pagination.count_total", + "in": "query" + }, + { + "type": "boolean", + "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", + "name": "pagination.reverse", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.distribution.v1beta1.QueryValidatorSlashesResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/evidence/v1beta1/evidence": { + "get": { + "tags": [ + "Query" + ], + "summary": "AllEvidence queries all evidence.", + "operationId": "CircuitQuery_AllEvidence", + "parameters": [ + { + "type": "string", + "format": "byte", + "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", + "name": "pagination.key", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", + "name": "pagination.offset", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", + "name": "pagination.limit", + "in": "query" + }, + { + "type": "boolean", + "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", + "name": "pagination.count_total", + "in": "query" + }, + { + "type": "boolean", + "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", + "name": "pagination.reverse", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.evidence.v1beta1.QueryAllEvidenceResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/evidence/v1beta1/evidence/{hash}": { + "get": { + "tags": [ + "Query" + ], + "summary": "Evidence queries evidence based on evidence hash.", + "operationId": "CircuitQuery_Evidence", + "parameters": [ + { + "type": "string", + "description": "hash defines the evidence hash of the requested evidence.\n\nSince: cosmos-sdk 0.47", + "name": "hash", + "in": "path", + "required": true + }, + { + "type": "string", + "format": "byte", + "description": "evidence_hash defines the hash of the requested evidence.\nDeprecated: Use hash, a HEX encoded string, instead.", + "name": "evidence_hash", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.evidence.v1beta1.QueryEvidenceResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/feegrant/v1beta1/allowance/{granter}/{grantee}": { + "get": { + "tags": [ + "Query" + ], + "summary": "Allowance returns granted allwance to the grantee by the granter.", + "operationId": "CircuitQuery_Allowance", + "parameters": [ + { + "type": "string", + "description": "granter is the address of the user granting an allowance of their funds.", + "name": "granter", + "in": "path", + "required": true + }, + { + "type": "string", + "description": "grantee is the address of the user being granted an allowance of another user's funds.", + "name": "grantee", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.feegrant.v1beta1.QueryAllowanceResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/feegrant/v1beta1/allowances/{grantee}": { + "get": { + "tags": [ + "Query" + ], + "summary": "Allowances returns all the grants for the given grantee address.", + "operationId": "CircuitQuery_Allowances", + "parameters": [ + { + "type": "string", + "name": "grantee", + "in": "path", + "required": true + }, + { + "type": "string", + "format": "byte", + "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", + "name": "pagination.key", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", + "name": "pagination.offset", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", + "name": "pagination.limit", + "in": "query" + }, + { + "type": "boolean", + "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", + "name": "pagination.count_total", + "in": "query" + }, + { + "type": "boolean", + "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", + "name": "pagination.reverse", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.feegrant.v1beta1.QueryAllowancesResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/feegrant/v1beta1/issued/{granter}": { + "get": { + "description": "Since: cosmos-sdk 0.46", + "tags": [ + "Query" + ], + "summary": "AllowancesByGranter returns all the grants given by an address", + "operationId": "CircuitQuery_AllowancesByGranter", + "parameters": [ + { + "type": "string", + "name": "granter", + "in": "path", + "required": true + }, + { + "type": "string", + "format": "byte", + "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", + "name": "pagination.key", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", + "name": "pagination.offset", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", + "name": "pagination.limit", + "in": "query" + }, + { + "type": "boolean", + "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", + "name": "pagination.count_total", + "in": "query" + }, + { + "type": "boolean", + "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", + "name": "pagination.reverse", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.feegrant.v1beta1.QueryAllowancesByGranterResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/gov/v1/constitution": { + "get": { + "tags": [ + "Query" + ], + "summary": "Constitution queries the chain's constitution.", + "operationId": "CircuitQuery_Constitution", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.gov.v1.QueryConstitutionResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/gov/v1/params/{params_type}": { + "get": { + "tags": [ + "Query" + ], + "summary": "Params queries all parameters of the gov module.", + "operationId": "CircuitQuery_ParamsMixin101", + "parameters": [ + { + "type": "string", + "description": "params_type defines which parameters to query for, can be one of \"voting\",\n\"tallying\" or \"deposit\".", + "name": "params_type", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.gov.v1.QueryParamsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/gov/v1/proposals": { + "get": { + "tags": [ + "Query" + ], + "summary": "Proposals queries all proposals based on given status.", + "operationId": "CircuitQuery_Proposals", + "parameters": [ + { + "enum": [ + "PROPOSAL_STATUS_UNSPECIFIED", + "PROPOSAL_STATUS_DEPOSIT_PERIOD", + "PROPOSAL_STATUS_VOTING_PERIOD", + "PROPOSAL_STATUS_PASSED", + "PROPOSAL_STATUS_REJECTED", + "PROPOSAL_STATUS_FAILED" + ], + "type": "string", + "default": "PROPOSAL_STATUS_UNSPECIFIED", + "description": "proposal_status defines the status of the proposals.\n\n - PROPOSAL_STATUS_UNSPECIFIED: PROPOSAL_STATUS_UNSPECIFIED defines the default proposal status.\n - PROPOSAL_STATUS_DEPOSIT_PERIOD: PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit\nperiod.\n - PROPOSAL_STATUS_VOTING_PERIOD: PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting\nperiod.\n - PROPOSAL_STATUS_PASSED: PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has\npassed.\n - PROPOSAL_STATUS_REJECTED: PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has\nbeen rejected.\n - PROPOSAL_STATUS_FAILED: PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has\nfailed.", + "name": "proposal_status", + "in": "query" + }, + { + "type": "string", + "description": "voter defines the voter address for the proposals.", + "name": "voter", + "in": "query" + }, + { + "type": "string", + "description": "depositor defines the deposit addresses from the proposals.", + "name": "depositor", + "in": "query" + }, + { + "type": "string", + "format": "byte", + "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", + "name": "pagination.key", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", + "name": "pagination.offset", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", + "name": "pagination.limit", + "in": "query" + }, + { + "type": "boolean", + "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", + "name": "pagination.count_total", + "in": "query" + }, + { + "type": "boolean", + "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", + "name": "pagination.reverse", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.gov.v1.QueryProposalsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/gov/v1/proposals/{proposal_id}": { + "get": { + "tags": [ + "Query" + ], + "summary": "Proposal queries proposal details based on ProposalID.", + "operationId": "CircuitQuery_Proposal", + "parameters": [ + { + "type": "string", + "format": "uint64", + "description": "proposal_id defines the unique id of the proposal.", + "name": "proposal_id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.gov.v1.QueryProposalResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/gov/v1/proposals/{proposal_id}/deposits": { + "get": { + "tags": [ + "Query" + ], + "summary": "Deposits queries all deposits of a single proposal.", + "operationId": "CircuitQuery_Deposits", + "parameters": [ + { + "type": "string", + "format": "uint64", + "description": "proposal_id defines the unique id of the proposal.", + "name": "proposal_id", + "in": "path", + "required": true + }, + { + "type": "string", + "format": "byte", + "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", + "name": "pagination.key", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", + "name": "pagination.offset", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", + "name": "pagination.limit", + "in": "query" + }, + { + "type": "boolean", + "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", + "name": "pagination.count_total", + "in": "query" + }, + { + "type": "boolean", + "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", + "name": "pagination.reverse", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.gov.v1.QueryDepositsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/gov/v1/proposals/{proposal_id}/deposits/{depositor}": { + "get": { + "tags": [ + "Query" + ], + "summary": "Deposit queries single deposit information based on proposalID, depositAddr.", + "operationId": "CircuitQuery_Deposit", + "parameters": [ + { + "type": "string", + "format": "uint64", + "description": "proposal_id defines the unique id of the proposal.", + "name": "proposal_id", + "in": "path", + "required": true + }, + { + "type": "string", + "description": "depositor defines the deposit addresses from the proposals.", + "name": "depositor", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.gov.v1.QueryDepositResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/gov/v1/proposals/{proposal_id}/tally": { + "get": { + "tags": [ + "Query" + ], + "summary": "TallyResult queries the tally of a proposal vote.", + "operationId": "CircuitQuery_TallyResult", + "parameters": [ + { + "type": "string", + "format": "uint64", + "description": "proposal_id defines the unique id of the proposal.", + "name": "proposal_id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.gov.v1.QueryTallyResultResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/gov/v1/proposals/{proposal_id}/votes": { + "get": { + "tags": [ + "Query" + ], + "summary": "Votes queries votes of a given proposal.", + "operationId": "CircuitQuery_Votes", + "parameters": [ + { + "type": "string", + "format": "uint64", + "description": "proposal_id defines the unique id of the proposal.", + "name": "proposal_id", + "in": "path", + "required": true + }, + { + "type": "string", + "format": "byte", + "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", + "name": "pagination.key", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", + "name": "pagination.offset", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", + "name": "pagination.limit", + "in": "query" + }, + { + "type": "boolean", + "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", + "name": "pagination.count_total", + "in": "query" + }, + { + "type": "boolean", + "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", + "name": "pagination.reverse", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.gov.v1.QueryVotesResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/gov/v1/proposals/{proposal_id}/votes/{voter}": { + "get": { + "tags": [ + "Query" + ], + "summary": "Vote queries voted information based on proposalID, voterAddr.", + "operationId": "CircuitQuery_Vote", + "parameters": [ + { + "type": "string", + "format": "uint64", + "description": "proposal_id defines the unique id of the proposal.", + "name": "proposal_id", + "in": "path", + "required": true + }, + { + "type": "string", + "description": "voter defines the voter address for the proposals.", + "name": "voter", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.gov.v1.QueryVoteResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/gov/v1beta1/params/{params_type}": { + "get": { + "tags": [ + "Query" + ], + "summary": "Params queries all parameters of the gov module.", + "operationId": "CircuitQuery_ParamsMixin105", + "parameters": [ + { + "type": "string", + "description": "params_type defines which parameters to query for, can be one of \"voting\",\n\"tallying\" or \"deposit\".", + "name": "params_type", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.gov.v1beta1.QueryParamsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/gov/v1beta1/proposals": { + "get": { + "tags": [ + "Query" + ], + "summary": "Proposals queries all proposals based on given status.", + "operationId": "CircuitQuery_ProposalsMixin105", + "parameters": [ + { + "enum": [ + "PROPOSAL_STATUS_UNSPECIFIED", + "PROPOSAL_STATUS_DEPOSIT_PERIOD", + "PROPOSAL_STATUS_VOTING_PERIOD", + "PROPOSAL_STATUS_PASSED", + "PROPOSAL_STATUS_REJECTED", + "PROPOSAL_STATUS_FAILED" + ], + "type": "string", + "default": "PROPOSAL_STATUS_UNSPECIFIED", + "description": "proposal_status defines the status of the proposals.\n\n - PROPOSAL_STATUS_UNSPECIFIED: PROPOSAL_STATUS_UNSPECIFIED defines the default proposal status.\n - PROPOSAL_STATUS_DEPOSIT_PERIOD: PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit\nperiod.\n - PROPOSAL_STATUS_VOTING_PERIOD: PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting\nperiod.\n - PROPOSAL_STATUS_PASSED: PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has\npassed.\n - PROPOSAL_STATUS_REJECTED: PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has\nbeen rejected.\n - PROPOSAL_STATUS_FAILED: PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has\nfailed.", + "name": "proposal_status", + "in": "query" + }, + { + "type": "string", + "description": "voter defines the voter address for the proposals.", + "name": "voter", + "in": "query" + }, + { + "type": "string", + "description": "depositor defines the deposit addresses from the proposals.", + "name": "depositor", + "in": "query" + }, + { + "type": "string", + "format": "byte", + "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", + "name": "pagination.key", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", + "name": "pagination.offset", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", + "name": "pagination.limit", + "in": "query" + }, + { + "type": "boolean", + "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", + "name": "pagination.count_total", + "in": "query" + }, + { + "type": "boolean", + "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", + "name": "pagination.reverse", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.gov.v1beta1.QueryProposalsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/gov/v1beta1/proposals/{proposal_id}": { + "get": { + "tags": [ + "Query" + ], + "summary": "Proposal queries proposal details based on ProposalID.", + "operationId": "CircuitQuery_ProposalMixin105", + "parameters": [ + { + "type": "string", + "format": "uint64", + "description": "proposal_id defines the unique id of the proposal.", + "name": "proposal_id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.gov.v1beta1.QueryProposalResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits": { + "get": { + "tags": [ + "Query" + ], + "summary": "Deposits queries all deposits of a single proposal.", + "operationId": "CircuitQuery_DepositsMixin105", + "parameters": [ + { + "type": "string", + "format": "uint64", + "description": "proposal_id defines the unique id of the proposal.", + "name": "proposal_id", + "in": "path", + "required": true + }, + { + "type": "string", + "format": "byte", + "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", + "name": "pagination.key", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", + "name": "pagination.offset", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", + "name": "pagination.limit", + "in": "query" + }, + { + "type": "boolean", + "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", + "name": "pagination.count_total", + "in": "query" + }, + { + "type": "boolean", + "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", + "name": "pagination.reverse", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.gov.v1beta1.QueryDepositsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits/{depositor}": { + "get": { + "tags": [ + "Query" + ], + "summary": "Deposit queries single deposit information based on proposalID, depositor address.", + "operationId": "CircuitQuery_DepositMixin105", + "parameters": [ + { + "type": "string", + "format": "uint64", + "description": "proposal_id defines the unique id of the proposal.", + "name": "proposal_id", + "in": "path", + "required": true + }, + { + "type": "string", + "description": "depositor defines the deposit addresses from the proposals.", + "name": "depositor", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.gov.v1beta1.QueryDepositResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/gov/v1beta1/proposals/{proposal_id}/tally": { + "get": { + "tags": [ + "Query" + ], + "summary": "TallyResult queries the tally of a proposal vote.", + "operationId": "CircuitQuery_TallyResultMixin105", + "parameters": [ + { + "type": "string", + "format": "uint64", + "description": "proposal_id defines the unique id of the proposal.", + "name": "proposal_id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.gov.v1beta1.QueryTallyResultResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/gov/v1beta1/proposals/{proposal_id}/votes": { + "get": { + "tags": [ + "Query" + ], + "summary": "Votes queries votes of a given proposal.", + "operationId": "CircuitQuery_VotesMixin105", + "parameters": [ + { + "type": "string", + "format": "uint64", + "description": "proposal_id defines the unique id of the proposal.", + "name": "proposal_id", + "in": "path", + "required": true + }, + { + "type": "string", + "format": "byte", + "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", + "name": "pagination.key", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", + "name": "pagination.offset", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", + "name": "pagination.limit", + "in": "query" + }, + { + "type": "boolean", + "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", + "name": "pagination.count_total", + "in": "query" + }, + { + "type": "boolean", + "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", + "name": "pagination.reverse", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.gov.v1beta1.QueryVotesResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/gov/v1beta1/proposals/{proposal_id}/votes/{voter}": { + "get": { + "tags": [ + "Query" + ], + "summary": "Vote queries voted information based on proposalID, voterAddr.", + "operationId": "CircuitQuery_VoteMixin105", + "parameters": [ + { + "type": "string", + "format": "uint64", + "description": "proposal_id defines the unique id of the proposal.", + "name": "proposal_id", + "in": "path", + "required": true + }, + { + "type": "string", + "description": "voter defines the voter address for the proposals.", + "name": "voter", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.gov.v1beta1.QueryVoteResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/group/v1/group_info/{group_id}": { + "get": { + "tags": [ + "Query" + ], + "summary": "GroupInfo queries group info based on group id.", + "operationId": "CircuitQuery_GroupInfo", + "parameters": [ + { + "type": "string", + "format": "uint64", + "description": "group_id is the unique ID of the group.", + "name": "group_id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.group.v1.QueryGroupInfoResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/group/v1/group_members/{group_id}": { + "get": { + "tags": [ + "Query" + ], + "summary": "GroupMembers queries members of a group by group id.", + "operationId": "CircuitQuery_GroupMembers", + "parameters": [ + { + "type": "string", + "format": "uint64", + "description": "group_id is the unique ID of the group.", + "name": "group_id", + "in": "path", + "required": true + }, + { + "type": "string", + "format": "byte", + "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", + "name": "pagination.key", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", + "name": "pagination.offset", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", + "name": "pagination.limit", + "in": "query" + }, + { + "type": "boolean", + "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", + "name": "pagination.count_total", + "in": "query" + }, + { + "type": "boolean", + "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", + "name": "pagination.reverse", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.group.v1.QueryGroupMembersResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/group/v1/group_policies_by_admin/{admin}": { + "get": { + "tags": [ + "Query" + ], + "summary": "GroupPoliciesByAdmin queries group policies by admin address.", + "operationId": "CircuitQuery_GroupPoliciesByAdmin", + "parameters": [ + { + "type": "string", + "description": "admin is the admin address of the group policy.", + "name": "admin", + "in": "path", + "required": true + }, + { + "type": "string", + "format": "byte", + "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", + "name": "pagination.key", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", + "name": "pagination.offset", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", + "name": "pagination.limit", + "in": "query" + }, + { + "type": "boolean", + "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", + "name": "pagination.count_total", + "in": "query" + }, + { + "type": "boolean", + "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", + "name": "pagination.reverse", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.group.v1.QueryGroupPoliciesByAdminResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/group/v1/group_policies_by_group/{group_id}": { + "get": { + "tags": [ + "Query" + ], + "summary": "GroupPoliciesByGroup queries group policies by group id.", + "operationId": "CircuitQuery_GroupPoliciesByGroup", + "parameters": [ + { + "type": "string", + "format": "uint64", + "description": "group_id is the unique ID of the group policy's group.", + "name": "group_id", + "in": "path", + "required": true + }, + { + "type": "string", + "format": "byte", + "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", + "name": "pagination.key", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", + "name": "pagination.offset", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", + "name": "pagination.limit", + "in": "query" + }, + { + "type": "boolean", + "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", + "name": "pagination.count_total", + "in": "query" + }, + { + "type": "boolean", + "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", + "name": "pagination.reverse", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.group.v1.QueryGroupPoliciesByGroupResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/group/v1/group_policy_info/{address}": { + "get": { + "tags": [ + "Query" + ], + "summary": "GroupPolicyInfo queries group policy info based on account address of group policy.", + "operationId": "CircuitQuery_GroupPolicyInfo", + "parameters": [ + { + "type": "string", + "description": "address is the account address of the group policy.", + "name": "address", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.group.v1.QueryGroupPolicyInfoResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/group/v1/groups": { + "get": { + "description": "Since: cosmos-sdk 0.47.1", + "tags": [ + "Query" + ], + "summary": "Groups queries all groups in state.", + "operationId": "CircuitQuery_Groups", + "parameters": [ + { + "type": "string", + "format": "byte", + "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", + "name": "pagination.key", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", + "name": "pagination.offset", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", + "name": "pagination.limit", + "in": "query" + }, + { + "type": "boolean", + "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", + "name": "pagination.count_total", + "in": "query" + }, + { + "type": "boolean", + "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", + "name": "pagination.reverse", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.group.v1.QueryGroupsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/group/v1/groups_by_admin/{admin}": { + "get": { + "tags": [ + "Query" + ], + "summary": "GroupsByAdmin queries groups by admin address.", + "operationId": "CircuitQuery_GroupsByAdmin", + "parameters": [ + { + "type": "string", + "description": "admin is the account address of a group's admin.", + "name": "admin", + "in": "path", + "required": true + }, + { + "type": "string", + "format": "byte", + "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", + "name": "pagination.key", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", + "name": "pagination.offset", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", + "name": "pagination.limit", + "in": "query" + }, + { + "type": "boolean", + "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", + "name": "pagination.count_total", + "in": "query" + }, + { + "type": "boolean", + "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", + "name": "pagination.reverse", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.group.v1.QueryGroupsByAdminResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/group/v1/groups_by_member/{address}": { + "get": { + "tags": [ + "Query" + ], + "summary": "GroupsByMember queries groups by member address.", + "operationId": "CircuitQuery_GroupsByMember", + "parameters": [ + { + "type": "string", + "description": "address is the group member address.", + "name": "address", + "in": "path", + "required": true + }, + { + "type": "string", + "format": "byte", + "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", + "name": "pagination.key", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", + "name": "pagination.offset", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", + "name": "pagination.limit", + "in": "query" + }, + { + "type": "boolean", + "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", + "name": "pagination.count_total", + "in": "query" + }, + { + "type": "boolean", + "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", + "name": "pagination.reverse", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.group.v1.QueryGroupsByMemberResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/group/v1/proposal/{proposal_id}": { + "get": { + "tags": [ + "Query" + ], + "summary": "Proposal queries a proposal based on proposal id.", + "operationId": "CircuitQuery_ProposalMixin109", + "parameters": [ + { + "type": "string", + "format": "uint64", + "description": "proposal_id is the unique ID of a proposal.", + "name": "proposal_id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.group.v1.QueryProposalResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/group/v1/proposals/{proposal_id}/tally": { + "get": { + "tags": [ + "Query" + ], + "summary": "TallyResult returns the tally result of a proposal. If the proposal is\nstill in voting period, then this query computes the current tally state,\nwhich might not be final. On the other hand, if the proposal is final,\nthen it simply returns the `final_tally_result` state stored in the\nproposal itself.", + "operationId": "CircuitQuery_TallyResultMixin109", + "parameters": [ + { + "type": "string", + "format": "uint64", + "description": "proposal_id is the unique id of a proposal.", + "name": "proposal_id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.group.v1.QueryTallyResultResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/group/v1/proposals_by_group_policy/{address}": { + "get": { + "tags": [ + "Query" + ], + "summary": "ProposalsByGroupPolicy queries proposals based on account address of group policy.", + "operationId": "CircuitQuery_ProposalsByGroupPolicy", + "parameters": [ + { + "type": "string", + "description": "address is the account address of the group policy related to proposals.", + "name": "address", + "in": "path", + "required": true + }, + { + "type": "string", + "format": "byte", + "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", + "name": "pagination.key", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", + "name": "pagination.offset", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", + "name": "pagination.limit", + "in": "query" + }, + { + "type": "boolean", + "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", + "name": "pagination.count_total", + "in": "query" + }, + { + "type": "boolean", + "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", + "name": "pagination.reverse", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.group.v1.QueryProposalsByGroupPolicyResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/group/v1/vote_by_proposal_voter/{proposal_id}/{voter}": { + "get": { + "tags": [ + "Query" + ], + "summary": "VoteByProposalVoter queries a vote by proposal id and voter.", + "operationId": "CircuitQuery_VoteByProposalVoter", + "parameters": [ + { + "type": "string", + "format": "uint64", + "description": "proposal_id is the unique ID of a proposal.", + "name": "proposal_id", + "in": "path", + "required": true + }, + { + "type": "string", + "description": "voter is a proposal voter account address.", + "name": "voter", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.group.v1.QueryVoteByProposalVoterResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/group/v1/votes_by_proposal/{proposal_id}": { + "get": { + "tags": [ + "Query" + ], + "summary": "VotesByProposal queries a vote by proposal id.", + "operationId": "CircuitQuery_VotesByProposal", + "parameters": [ + { + "type": "string", + "format": "uint64", + "description": "proposal_id is the unique ID of a proposal.", + "name": "proposal_id", + "in": "path", + "required": true + }, + { + "type": "string", + "format": "byte", + "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", + "name": "pagination.key", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", + "name": "pagination.offset", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", + "name": "pagination.limit", + "in": "query" + }, + { + "type": "boolean", + "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", + "name": "pagination.count_total", + "in": "query" + }, + { + "type": "boolean", + "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", + "name": "pagination.reverse", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.group.v1.QueryVotesByProposalResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/group/v1/votes_by_voter/{voter}": { + "get": { + "tags": [ + "Query" + ], + "summary": "VotesByVoter queries a vote by voter.", + "operationId": "CircuitQuery_VotesByVoter", + "parameters": [ + { + "type": "string", + "description": "voter is a proposal voter account address.", + "name": "voter", + "in": "path", + "required": true + }, + { + "type": "string", + "format": "byte", + "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", + "name": "pagination.key", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", + "name": "pagination.offset", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", + "name": "pagination.limit", + "in": "query" + }, + { + "type": "boolean", + "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", + "name": "pagination.count_total", + "in": "query" + }, + { + "type": "boolean", + "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", + "name": "pagination.reverse", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.group.v1.QueryVotesByVoterResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/mint/v1beta1/annual_provisions": { + "get": { + "tags": [ + "Query" + ], + "summary": "AnnualProvisions current minting annual provisions value.", + "operationId": "CircuitQuery_AnnualProvisions", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.mint.v1beta1.QueryAnnualProvisionsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/mint/v1beta1/inflation": { + "get": { + "tags": [ + "Query" + ], + "summary": "Inflation returns the current minting inflation value.", + "operationId": "CircuitQuery_Inflation", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.mint.v1beta1.QueryInflationResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/mint/v1beta1/params": { + "get": { + "tags": [ + "Query" + ], + "summary": "Params returns the total set of minting parameters.", + "operationId": "CircuitQuery_ParamsMixin114", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.mint.v1beta1.QueryParamsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/nft/v1beta1/balance/{owner}/{class_id}": { + "get": { + "tags": [ + "Query" + ], + "summary": "Balance queries the number of NFTs of a given class owned by the owner, same as balanceOf in ERC721", + "operationId": "CircuitQuery_BalanceMixin120", + "parameters": [ + { + "type": "string", + "description": "owner is the owner address of the nft", + "name": "owner", + "in": "path", + "required": true + }, + { + "type": "string", + "description": "class_id associated with the nft", + "name": "class_id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.nft.v1beta1.QueryBalanceResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/nft/v1beta1/classes": { + "get": { + "tags": [ + "Query" + ], + "summary": "Classes queries all NFT classes", + "operationId": "CircuitQuery_Classes", + "parameters": [ + { + "type": "string", + "format": "byte", + "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", + "name": "pagination.key", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", + "name": "pagination.offset", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", + "name": "pagination.limit", + "in": "query" + }, + { + "type": "boolean", + "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", + "name": "pagination.count_total", + "in": "query" + }, + { + "type": "boolean", + "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", + "name": "pagination.reverse", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.nft.v1beta1.QueryClassesResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/nft/v1beta1/classes/{class_id}": { + "get": { + "tags": [ + "Query" + ], + "summary": "Class queries an NFT class based on its id", + "operationId": "CircuitQuery_Class", + "parameters": [ + { + "type": "string", + "description": "class_id associated with the nft", + "name": "class_id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.nft.v1beta1.QueryClassResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/nft/v1beta1/nfts": { + "get": { + "tags": [ + "Query" + ], + "summary": "NFTs queries all NFTs of a given class or owner,choose at least one of the two, similar to tokenByIndex in\nERC721Enumerable", + "operationId": "CircuitQuery_NFTs", + "parameters": [ + { + "type": "string", + "description": "class_id associated with the nft", + "name": "class_id", + "in": "query" + }, + { + "type": "string", + "description": "owner is the owner address of the nft", + "name": "owner", + "in": "query" + }, + { + "type": "string", + "format": "byte", + "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", + "name": "pagination.key", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", + "name": "pagination.offset", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", + "name": "pagination.limit", + "in": "query" + }, + { + "type": "boolean", + "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", + "name": "pagination.count_total", + "in": "query" + }, + { + "type": "boolean", + "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", + "name": "pagination.reverse", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.nft.v1beta1.QueryNFTsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/nft/v1beta1/nfts/{class_id}/{id}": { + "get": { + "tags": [ + "Query" + ], + "summary": "NFT queries an NFT based on its class and id.", + "operationId": "CircuitQuery_NFT", + "parameters": [ + { + "type": "string", + "description": "class_id associated with the nft", + "name": "class_id", + "in": "path", + "required": true + }, + { + "type": "string", + "description": "id is a unique identifier of the NFT", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.nft.v1beta1.QueryNFTResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/nft/v1beta1/owner/{class_id}/{id}": { + "get": { + "tags": [ + "Query" + ], + "summary": "Owner queries the owner of the NFT based on its class and id, same as ownerOf in ERC721", + "operationId": "CircuitQuery_Owner", + "parameters": [ + { + "type": "string", + "description": "class_id associated with the nft", + "name": "class_id", + "in": "path", + "required": true + }, + { + "type": "string", + "description": "id is a unique identifier of the NFT", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.nft.v1beta1.QueryOwnerResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/nft/v1beta1/supply/{class_id}": { + "get": { + "tags": [ + "Query" + ], + "summary": "Supply queries the number of NFTs from the given class, same as totalSupply of ERC721.", + "operationId": "CircuitQuery_Supply", + "parameters": [ + { + "type": "string", + "description": "class_id associated with the nft", + "name": "class_id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.nft.v1beta1.QuerySupplyResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/params/v1beta1/params": { + "get": { + "tags": [ + "Query" + ], + "summary": "Params queries a specific parameter of a module, given its subspace and\nkey.", + "operationId": "CircuitQuery_ParamsMixin123", + "parameters": [ + { + "type": "string", + "description": "subspace defines the module to query the parameter for.", + "name": "subspace", + "in": "query" + }, + { + "type": "string", + "description": "key defines the key of the parameter in the subspace.", + "name": "key", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.params.v1beta1.QueryParamsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/params/v1beta1/subspaces": { + "get": { + "description": "Since: cosmos-sdk 0.46", + "tags": [ + "Query" + ], + "summary": "Subspaces queries for all registered subspaces and all keys for a subspace.", + "operationId": "CircuitQuery_Subspaces", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.params.v1beta1.QuerySubspacesResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/slashing/v1beta1/params": { + "get": { + "tags": [ + "Query" + ], + "summary": "Params queries the parameters of slashing module", + "operationId": "CircuitQuery_ParamsMixin126", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.slashing.v1beta1.QueryParamsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/slashing/v1beta1/signing_infos": { + "get": { + "tags": [ + "Query" + ], + "summary": "SigningInfos queries signing info of all validators", + "operationId": "CircuitQuery_SigningInfos", + "parameters": [ + { + "type": "string", + "format": "byte", + "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", + "name": "pagination.key", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", + "name": "pagination.offset", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", + "name": "pagination.limit", + "in": "query" + }, + { + "type": "boolean", + "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", + "name": "pagination.count_total", + "in": "query" + }, + { + "type": "boolean", + "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", + "name": "pagination.reverse", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.slashing.v1beta1.QuerySigningInfosResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/slashing/v1beta1/signing_infos/{cons_address}": { + "get": { + "tags": [ + "Query" + ], + "summary": "SigningInfo queries the signing info of given cons address", + "operationId": "CircuitQuery_SigningInfo", + "parameters": [ + { + "type": "string", + "description": "cons_address is the address to query signing info of", + "name": "cons_address", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.slashing.v1beta1.QuerySigningInfoResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/staking/v1beta1/delegations/{delegator_addr}": { + "get": { + "description": "When called from another module, this query might consume a high amount of\ngas if the pagination field is incorrectly set.", + "tags": [ + "Query" + ], + "summary": "DelegatorDelegations queries all delegations of a given delegator address.", + "operationId": "CircuitQuery_DelegatorDelegations", + "parameters": [ + { + "type": "string", + "description": "delegator_addr defines the delegator address to query for.", + "name": "delegator_addr", + "in": "path", + "required": true + }, + { + "type": "string", + "format": "byte", + "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", + "name": "pagination.key", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", + "name": "pagination.offset", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", + "name": "pagination.limit", + "in": "query" + }, + { + "type": "boolean", + "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", + "name": "pagination.count_total", + "in": "query" + }, + { + "type": "boolean", + "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", + "name": "pagination.reverse", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.staking.v1beta1.QueryDelegatorDelegationsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/staking/v1beta1/delegators/{delegator_addr}/redelegations": { + "get": { + "description": "When called from another module, this query might consume a high amount of\ngas if the pagination field is incorrectly set.", + "tags": [ + "Query" + ], + "summary": "Redelegations queries redelegations of given address.", + "operationId": "CircuitQuery_Redelegations", + "parameters": [ + { + "type": "string", + "description": "delegator_addr defines the delegator address to query for.", + "name": "delegator_addr", + "in": "path", + "required": true + }, + { + "type": "string", + "description": "src_validator_addr defines the validator address to redelegate from.", + "name": "src_validator_addr", + "in": "query" + }, + { + "type": "string", + "description": "dst_validator_addr defines the validator address to redelegate to.", + "name": "dst_validator_addr", + "in": "query" + }, + { + "type": "string", + "format": "byte", + "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", + "name": "pagination.key", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", + "name": "pagination.offset", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", + "name": "pagination.limit", + "in": "query" + }, + { + "type": "boolean", + "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", + "name": "pagination.count_total", + "in": "query" + }, + { + "type": "boolean", + "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", + "name": "pagination.reverse", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.staking.v1beta1.QueryRedelegationsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/staking/v1beta1/delegators/{delegator_addr}/unbonding_delegations": { + "get": { + "description": "When called from another module, this query might consume a high amount of\ngas if the pagination field is incorrectly set.", + "tags": [ + "Query" + ], + "summary": "DelegatorUnbondingDelegations queries all unbonding delegations of a given\ndelegator address.", + "operationId": "CircuitQuery_DelegatorUnbondingDelegations", + "parameters": [ + { + "type": "string", + "description": "delegator_addr defines the delegator address to query for.", + "name": "delegator_addr", + "in": "path", + "required": true + }, + { + "type": "string", + "format": "byte", + "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", + "name": "pagination.key", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", + "name": "pagination.offset", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", + "name": "pagination.limit", + "in": "query" + }, + { + "type": "boolean", + "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", + "name": "pagination.count_total", + "in": "query" + }, + { + "type": "boolean", + "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", + "name": "pagination.reverse", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.staking.v1beta1.QueryDelegatorUnbondingDelegationsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/staking/v1beta1/delegators/{delegator_addr}/validators": { + "get": { + "description": "When called from another module, this query might consume a high amount of\ngas if the pagination field is incorrectly set.", + "tags": [ + "Query" + ], + "summary": "DelegatorValidators queries all validators info for given delegator\naddress.", + "operationId": "CircuitQuery_DelegatorValidatorsMixin131", + "parameters": [ + { + "type": "string", + "description": "delegator_addr defines the delegator address to query for.", + "name": "delegator_addr", + "in": "path", + "required": true + }, + { + "type": "string", + "format": "byte", + "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", + "name": "pagination.key", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", + "name": "pagination.offset", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", + "name": "pagination.limit", + "in": "query" + }, + { + "type": "boolean", + "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", + "name": "pagination.count_total", + "in": "query" + }, + { + "type": "boolean", + "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", + "name": "pagination.reverse", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.staking.v1beta1.QueryDelegatorValidatorsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/staking/v1beta1/delegators/{delegator_addr}/validators/{validator_addr}": { + "get": { + "tags": [ + "Query" + ], + "summary": "DelegatorValidator queries validator info for given delegator validator\npair.", + "operationId": "CircuitQuery_DelegatorValidator", + "parameters": [ + { + "type": "string", + "description": "delegator_addr defines the delegator address to query for.", + "name": "delegator_addr", + "in": "path", + "required": true + }, + { + "type": "string", + "description": "validator_addr defines the validator address to query for.", + "name": "validator_addr", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.staking.v1beta1.QueryDelegatorValidatorResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/staking/v1beta1/historical_info/{height}": { + "get": { + "tags": [ + "Query" + ], + "summary": "HistoricalInfo queries the historical info for given height.", + "operationId": "CircuitQuery_HistoricalInfo", + "parameters": [ + { + "type": "string", + "format": "int64", + "description": "height defines at which height to query the historical info.", + "name": "height", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.staking.v1beta1.QueryHistoricalInfoResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/staking/v1beta1/params": { + "get": { + "tags": [ + "Query" + ], + "summary": "Parameters queries the staking parameters.", + "operationId": "CircuitQuery_ParamsMixin131", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.staking.v1beta1.QueryParamsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/staking/v1beta1/pool": { + "get": { + "tags": [ + "Query" + ], + "summary": "Pool queries the pool info.", + "operationId": "CircuitQuery_Pool", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.staking.v1beta1.QueryPoolResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/staking/v1beta1/validators": { + "get": { + "description": "When called from another module, this query might consume a high amount of\ngas if the pagination field is incorrectly set.", + "tags": [ + "Query" + ], + "summary": "Validators queries all validators that match the given status.", + "operationId": "CircuitQuery_Validators", + "parameters": [ + { + "type": "string", + "description": "status enables to query for validators matching a given status.", + "name": "status", + "in": "query" + }, + { + "type": "string", + "format": "byte", + "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", + "name": "pagination.key", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", + "name": "pagination.offset", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", + "name": "pagination.limit", + "in": "query" + }, + { + "type": "boolean", + "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", + "name": "pagination.count_total", + "in": "query" + }, + { + "type": "boolean", + "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", + "name": "pagination.reverse", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.staking.v1beta1.QueryValidatorsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/staking/v1beta1/validators/{validator_addr}": { + "get": { + "tags": [ + "Query" + ], + "summary": "Validator queries validator info for given validator address.", + "operationId": "CircuitQuery_Validator", + "parameters": [ + { + "type": "string", + "description": "validator_addr defines the validator address to query for.", + "name": "validator_addr", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.staking.v1beta1.QueryValidatorResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/staking/v1beta1/validators/{validator_addr}/delegations": { + "get": { + "description": "When called from another module, this query might consume a high amount of\ngas if the pagination field is incorrectly set.", + "tags": [ + "Query" + ], + "summary": "ValidatorDelegations queries delegate info for given validator.", + "operationId": "CircuitQuery_ValidatorDelegations", + "parameters": [ + { + "type": "string", + "description": "validator_addr defines the validator address to query for.", + "name": "validator_addr", + "in": "path", + "required": true + }, + { + "type": "string", + "format": "byte", + "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", + "name": "pagination.key", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", + "name": "pagination.offset", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", + "name": "pagination.limit", + "in": "query" + }, + { + "type": "boolean", + "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", + "name": "pagination.count_total", + "in": "query" + }, + { + "type": "boolean", + "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", + "name": "pagination.reverse", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.staking.v1beta1.QueryValidatorDelegationsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}": { + "get": { + "tags": [ + "Query" + ], + "summary": "Delegation queries delegate info for given validator delegator pair.", + "operationId": "CircuitQuery_Delegation", + "parameters": [ + { + "type": "string", + "description": "validator_addr defines the validator address to query for.", + "name": "validator_addr", + "in": "path", + "required": true + }, + { + "type": "string", + "description": "delegator_addr defines the delegator address to query for.", + "name": "delegator_addr", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.staking.v1beta1.QueryDelegationResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}/unbonding_delegation": { + "get": { + "tags": [ + "Query" + ], + "summary": "UnbondingDelegation queries unbonding info for given validator delegator\npair.", + "operationId": "CircuitQuery_UnbondingDelegation", + "parameters": [ + { + "type": "string", + "description": "validator_addr defines the validator address to query for.", + "name": "validator_addr", + "in": "path", + "required": true + }, + { + "type": "string", + "description": "delegator_addr defines the delegator address to query for.", + "name": "delegator_addr", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.staking.v1beta1.QueryUnbondingDelegationResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/staking/v1beta1/validators/{validator_addr}/unbonding_delegations": { + "get": { + "description": "When called from another module, this query might consume a high amount of\ngas if the pagination field is incorrectly set.", + "tags": [ + "Query" + ], + "summary": "ValidatorUnbondingDelegations queries unbonding delegations of a validator.", + "operationId": "CircuitQuery_ValidatorUnbondingDelegations", + "parameters": [ + { + "type": "string", + "description": "validator_addr defines the validator address to query for.", + "name": "validator_addr", + "in": "path", + "required": true + }, + { + "type": "string", + "format": "byte", + "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", + "name": "pagination.key", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", + "name": "pagination.offset", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", + "name": "pagination.limit", + "in": "query" + }, + { + "type": "boolean", + "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", + "name": "pagination.count_total", + "in": "query" + }, + { + "type": "boolean", + "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", + "name": "pagination.reverse", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.staking.v1beta1.QueryValidatorUnbondingDelegationsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/tx/v1beta1/decode": { + "post": { + "description": "Since: cosmos-sdk 0.47", + "tags": [ + "Service" + ], + "summary": "TxDecode decodes the transaction.", + "operationId": "CircuitService_TxDecode", + "parameters": [ + { + "description": "TxDecodeRequest is the request type for the Service.TxDecode\nRPC method.\n\nSince: cosmos-sdk 0.47", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.tx.v1beta1.TxDecodeRequest" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.tx.v1beta1.TxDecodeResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/tx/v1beta1/decode/amino": { + "post": { + "description": "Since: cosmos-sdk 0.47", + "tags": [ + "Service" + ], + "summary": "TxDecodeAmino decodes an Amino transaction from encoded bytes to JSON.", + "operationId": "CircuitService_TxDecodeAmino", + "parameters": [ + { + "description": "TxDecodeAminoRequest is the request type for the Service.TxDecodeAmino\nRPC method.\n\nSince: cosmos-sdk 0.47", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.tx.v1beta1.TxDecodeAminoRequest" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.tx.v1beta1.TxDecodeAminoResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/tx/v1beta1/encode": { + "post": { + "description": "Since: cosmos-sdk 0.47", + "tags": [ + "Service" + ], + "summary": "TxEncode encodes the transaction.", + "operationId": "CircuitService_TxEncode", + "parameters": [ + { + "description": "TxEncodeRequest is the request type for the Service.TxEncode\nRPC method.\n\nSince: cosmos-sdk 0.47", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.tx.v1beta1.TxEncodeRequest" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.tx.v1beta1.TxEncodeResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/tx/v1beta1/encode/amino": { + "post": { + "description": "Since: cosmos-sdk 0.47", + "tags": [ + "Service" + ], + "summary": "TxEncodeAmino encodes an Amino transaction from JSON to encoded bytes.", + "operationId": "CircuitService_TxEncodeAmino", + "parameters": [ + { + "description": "TxEncodeAminoRequest is the request type for the Service.TxEncodeAmino\nRPC method.\n\nSince: cosmos-sdk 0.47", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.tx.v1beta1.TxEncodeAminoRequest" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.tx.v1beta1.TxEncodeAminoResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/tx/v1beta1/simulate": { + "post": { + "tags": [ + "Service" + ], + "summary": "Simulate simulates executing a transaction for estimating gas usage.", + "operationId": "CircuitService_Simulate", + "parameters": [ + { + "description": "SimulateRequest is the request type for the Service.Simulate\nRPC method.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.tx.v1beta1.SimulateRequest" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.tx.v1beta1.SimulateResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/tx/v1beta1/txs": { + "get": { + "tags": [ + "Service" + ], + "summary": "GetTxsEvent fetches txs by event.", + "operationId": "CircuitService_GetTxsEvent", + "parameters": [ + { + "type": "array", + "items": { + "type": "string" + }, + "collectionFormat": "multi", + "description": "events is the list of transaction event type.\nDeprecated post v0.47.x: use query instead, which should contain a valid\nevents query.", + "name": "events", + "in": "query" + }, + { + "type": "string", + "format": "byte", + "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", + "name": "pagination.key", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", + "name": "pagination.offset", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", + "name": "pagination.limit", + "in": "query" + }, + { + "type": "boolean", + "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", + "name": "pagination.count_total", + "in": "query" + }, + { + "type": "boolean", + "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", + "name": "pagination.reverse", + "in": "query" + }, + { + "enum": [ + "ORDER_BY_UNSPECIFIED", + "ORDER_BY_ASC", + "ORDER_BY_DESC" + ], + "type": "string", + "default": "ORDER_BY_UNSPECIFIED", + "description": " - ORDER_BY_UNSPECIFIED: ORDER_BY_UNSPECIFIED specifies an unknown sorting order. OrderBy defaults\nto ASC in this case.\n - ORDER_BY_ASC: ORDER_BY_ASC defines ascending order\n - ORDER_BY_DESC: ORDER_BY_DESC defines descending order", + "name": "order_by", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "page is the page number to query, starts at 1. If not provided, will\ndefault to first page.", + "name": "page", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", + "name": "limit", + "in": "query" + }, + { + "type": "string", + "description": "query defines the transaction event query that is proxied to Tendermint's\nTxSearch RPC method. The query must be valid.\n\nSince cosmos-sdk 0.50", + "name": "query", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.tx.v1beta1.GetTxsEventResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + }, + "post": { + "tags": [ + "Service" + ], + "summary": "BroadcastTx broadcast transaction.", + "operationId": "CircuitService_BroadcastTx", + "parameters": [ + { + "description": "BroadcastTxRequest is the request type for the Service.BroadcastTxRequest\nRPC method.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.tx.v1beta1.BroadcastTxRequest" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.tx.v1beta1.BroadcastTxResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/tx/v1beta1/txs/block/{height}": { + "get": { + "description": "Since: cosmos-sdk 0.45.2", + "tags": [ + "Service" + ], + "summary": "GetBlockWithTxs fetches a block with decoded txs.", + "operationId": "CircuitService_GetBlockWithTxs", + "parameters": [ + { + "type": "string", + "format": "int64", + "description": "height is the height of the block to query.", + "name": "height", + "in": "path", + "required": true + }, + { + "type": "string", + "format": "byte", + "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", + "name": "pagination.key", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", + "name": "pagination.offset", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", + "name": "pagination.limit", + "in": "query" + }, + { + "type": "boolean", + "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", + "name": "pagination.count_total", + "in": "query" + }, + { + "type": "boolean", + "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", + "name": "pagination.reverse", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.tx.v1beta1.GetBlockWithTxsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/tx/v1beta1/txs/{hash}": { + "get": { + "tags": [ + "Service" + ], + "summary": "GetTx fetches a tx by hash.", + "operationId": "CircuitService_GetTx", + "parameters": [ + { + "type": "string", + "description": "hash is the tx hash to query, encoded as a hex string.", + "name": "hash", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.tx.v1beta1.GetTxResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/upgrade/v1beta1/applied_plan/{name}": { + "get": { + "tags": [ + "Query" + ], + "summary": "AppliedPlan queries a previously applied upgrade plan by its name.", + "operationId": "CircuitQuery_AppliedPlan", + "parameters": [ + { + "type": "string", + "description": "name is the name of the applied plan to query for.", + "name": "name", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.upgrade.v1beta1.QueryAppliedPlanResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/upgrade/v1beta1/authority": { + "get": { + "description": "Since: cosmos-sdk 0.46", + "tags": [ + "Query" + ], + "summary": "Returns the account with authority to conduct upgrades", + "operationId": "CircuitQuery_Authority", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.upgrade.v1beta1.QueryAuthorityResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/upgrade/v1beta1/current_plan": { + "get": { + "tags": [ + "Query" + ], + "summary": "CurrentPlan queries the current upgrade plan.", + "operationId": "CircuitQuery_CurrentPlan", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.upgrade.v1beta1.QueryCurrentPlanResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/upgrade/v1beta1/module_versions": { + "get": { + "description": "Since: cosmos-sdk 0.43", + "tags": [ + "Query" + ], + "summary": "ModuleVersions queries the list of module versions from state.", + "operationId": "CircuitQuery_ModuleVersions", + "parameters": [ + { + "type": "string", + "description": "module_name is a field to query a specific module\nconsensus version from state. Leaving this empty will\nfetch the full list of module versions from state", + "name": "module_name", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.upgrade.v1beta1.QueryModuleVersionsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/cosmos/upgrade/v1beta1/upgraded_consensus_state/{last_height}": { + "get": { + "tags": [ + "Query" + ], + "summary": "UpgradedConsensusState queries the consensus state that will serve\nas a trusted kernel for the next version of this chain. It will only be\nstored at the last height of this chain.\nUpgradedConsensusState RPC not supported with legacy querier\nThis rpc is deprecated now that IBC has its own replacement\n(https://github.com/cosmos/ibc-go/blob/2c880a22e9f9cc75f62b527ca94aa75ce1106001/proto/ibc/core/client/v1/query.proto#L54)", + "operationId": "CircuitQuery_UpgradedConsensusState", + "parameters": [ + { + "type": "string", + "format": "int64", + "description": "last height of the current chain must be sent in request\nas this is the height under which next consensus state is stored", + "name": "last_height", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.upgrade.v1beta1.QueryUpgradedConsensusStateResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc.applications.fee.v1.Msg/PayPacketFee": { + "post": { + "tags": [ + "Msg" + ], + "summary": "PayPacketFee defines a rpc handler method for MsgPayPacketFee\nPayPacketFee is an open callback that may be called by any module/user that wishes to escrow funds in order to\nincentivize the relaying of the packet at the next sequence\nNOTE: This method is intended to be used within a multi msg transaction, where the subsequent msg that follows\ninitiates the lifecycle of the incentivized packet", + "operationId": "FeeMsg_PayPacketFee", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ibc.applications.fee.v1.MsgPayPacketFee" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.applications.fee.v1.MsgPayPacketFeeResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc.applications.fee.v1.Msg/PayPacketFeeAsync": { + "post": { + "tags": [ + "Msg" + ], + "summary": "PayPacketFeeAsync defines a rpc handler method for MsgPayPacketFeeAsync\nPayPacketFeeAsync is an open callback that may be called by any module/user that wishes to escrow funds in order to\nincentivize the relaying of a known packet (i.e. at a particular sequence)", + "operationId": "FeeMsg_PayPacketFeeAsync", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ibc.applications.fee.v1.MsgPayPacketFeeAsync" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.applications.fee.v1.MsgPayPacketFeeAsyncResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc.applications.fee.v1.Msg/RegisterCounterpartyPayee": { + "post": { + "tags": [ + "Msg" + ], + "summary": "RegisterCounterpartyPayee defines a rpc handler method for MsgRegisterCounterpartyPayee\nRegisterCounterpartyPayee is called by the relayer on each channelEnd and allows them to specify the counterparty\npayee address before relaying. This ensures they will be properly compensated for forward relaying since\nthe destination chain must include the registered counterparty payee address in the acknowledgement. This function\nmay be called more than once by a relayer, in which case, the latest counterparty payee address is always used.", + "operationId": "FeeMsg_RegisterCounterpartyPayee", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ibc.applications.fee.v1.MsgRegisterCounterpartyPayee" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.applications.fee.v1.MsgRegisterCounterpartyPayeeResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc.applications.fee.v1.Msg/RegisterPayee": { + "post": { + "tags": [ + "Msg" + ], + "summary": "RegisterPayee defines a rpc handler method for MsgRegisterPayee\nRegisterPayee is called by the relayer on each channelEnd and allows them to set an optional\npayee to which reverse and timeout relayer packet fees will be paid out. The payee should be registered on\nthe source chain from which packets originate as this is where fee distribution takes place. This function may be\ncalled more than once by a relayer, in which case, the latest payee is always used.", + "operationId": "FeeMsg_RegisterPayee", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ibc.applications.fee.v1.MsgRegisterPayee" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.applications.fee.v1.MsgRegisterPayeeResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc.applications.interchain_accounts.controller.v1.Msg/RegisterInterchainAccount": { + "post": { + "tags": [ + "Msg" + ], + "summary": "RegisterInterchainAccount defines a rpc handler for MsgRegisterInterchainAccount.", + "operationId": "FeeMsg_RegisterInterchainAccount", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ibc.applications.interchain_accounts.controller.v1.MsgRegisterInterchainAccount" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.applications.interchain_accounts.controller.v1.MsgRegisterInterchainAccountResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc.applications.interchain_accounts.controller.v1.Msg/SendTx": { + "post": { + "tags": [ + "Msg" + ], + "summary": "SendTx defines a rpc handler for MsgSendTx.", + "operationId": "FeeMsg_SendTx", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ibc.applications.interchain_accounts.controller.v1.MsgSendTx" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.applications.interchain_accounts.controller.v1.MsgSendTxResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc.applications.interchain_accounts.controller.v1.Msg/UpdateParams": { + "post": { + "tags": [ + "Msg" + ], + "summary": "UpdateParams defines a rpc handler for MsgUpdateParams.", + "operationId": "FeeMsg_UpdateParams", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ibc.applications.interchain_accounts.controller.v1.MsgUpdateParams" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.applications.interchain_accounts.controller.v1.MsgUpdateParamsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc.applications.interchain_accounts.host.v1.Msg/UpdateParams": { + "post": { + "tags": [ + "Msg" + ], + "summary": "UpdateParams defines a rpc handler for MsgUpdateParams.", + "operationId": "FeeMsg_UpdateParamsMixin172", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ibc.applications.interchain_accounts.host.v1.MsgUpdateParams" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.applications.interchain_accounts.host.v1.MsgUpdateParamsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc.applications.transfer.v1.Msg/Transfer": { + "post": { + "tags": [ + "Msg" + ], + "summary": "Transfer defines a rpc handler method for MsgTransfer.", + "operationId": "FeeMsg_Transfer", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ibc.applications.transfer.v1.MsgTransfer" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.applications.transfer.v1.MsgTransferResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc.applications.transfer.v1.Msg/UpdateParams": { + "post": { + "tags": [ + "Msg" + ], + "summary": "UpdateParams defines a rpc handler for MsgUpdateParams.", + "operationId": "FeeMsg_UpdateParamsMixin180", + "parameters": [ + { + "description": "MsgUpdateParams is the Msg/UpdateParams request type.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ibc.applications.transfer.v1.MsgUpdateParams" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.applications.transfer.v1.MsgUpdateParamsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc.core.channel.v1.Msg/Acknowledgement": { + "post": { + "tags": [ + "Msg" + ], + "summary": "Acknowledgement defines a rpc handler method for MsgAcknowledgement.", + "operationId": "FeeMsg_Acknowledgement", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ibc.core.channel.v1.MsgAcknowledgement" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.core.channel.v1.MsgAcknowledgementResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc.core.channel.v1.Msg/ChannelCloseConfirm": { + "post": { + "tags": [ + "Msg" + ], + "summary": "ChannelCloseConfirm defines a rpc handler method for\nMsgChannelCloseConfirm.", + "operationId": "FeeMsg_ChannelCloseConfirm", + "parameters": [ + { + "description": "MsgChannelCloseConfirm defines a msg sent by a Relayer to Chain B\nto acknowledge the change of channel state to CLOSED on Chain A.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ibc.core.channel.v1.MsgChannelCloseConfirm" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.core.channel.v1.MsgChannelCloseConfirmResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc.core.channel.v1.Msg/ChannelCloseInit": { + "post": { + "tags": [ + "Msg" + ], + "summary": "ChannelCloseInit defines a rpc handler method for MsgChannelCloseInit.", + "operationId": "FeeMsg_ChannelCloseInit", + "parameters": [ + { + "description": "MsgChannelCloseInit defines a msg sent by a Relayer to Chain A\nto close a channel with Chain B.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ibc.core.channel.v1.MsgChannelCloseInit" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.core.channel.v1.MsgChannelCloseInitResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc.core.channel.v1.Msg/ChannelOpenAck": { + "post": { + "tags": [ + "Msg" + ], + "summary": "ChannelOpenAck defines a rpc handler method for MsgChannelOpenAck.", + "operationId": "FeeMsg_ChannelOpenAck", + "parameters": [ + { + "description": "MsgChannelOpenAck defines a msg sent by a Relayer to Chain A to acknowledge\nthe change of channel state to TRYOPEN on Chain B.\nWARNING: a channel upgrade MUST NOT initialize an upgrade for this channel\nin the same block as executing this message otherwise the counterparty will\nbe incapable of opening.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ibc.core.channel.v1.MsgChannelOpenAck" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.core.channel.v1.MsgChannelOpenAckResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc.core.channel.v1.Msg/ChannelOpenConfirm": { + "post": { + "tags": [ + "Msg" + ], + "summary": "ChannelOpenConfirm defines a rpc handler method for MsgChannelOpenConfirm.", + "operationId": "FeeMsg_ChannelOpenConfirm", + "parameters": [ + { + "description": "MsgChannelOpenConfirm defines a msg sent by a Relayer to Chain B to\nacknowledge the change of channel state to OPEN on Chain A.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ibc.core.channel.v1.MsgChannelOpenConfirm" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.core.channel.v1.MsgChannelOpenConfirmResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc.core.channel.v1.Msg/ChannelOpenInit": { + "post": { + "tags": [ + "Msg" + ], + "summary": "ChannelOpenInit defines a rpc handler method for MsgChannelOpenInit.", + "operationId": "FeeMsg_ChannelOpenInit", + "parameters": [ + { + "description": "MsgChannelOpenInit defines an sdk.Msg to initialize a channel handshake. It\nis called by a relayer on Chain A.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ibc.core.channel.v1.MsgChannelOpenInit" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.core.channel.v1.MsgChannelOpenInitResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc.core.channel.v1.Msg/ChannelOpenTry": { + "post": { + "tags": [ + "Msg" + ], + "summary": "ChannelOpenTry defines a rpc handler method for MsgChannelOpenTry.", + "operationId": "FeeMsg_ChannelOpenTry", + "parameters": [ + { + "description": "MsgChannelOpenInit defines a msg sent by a Relayer to try to open a channel\non Chain B. The version field within the Channel field has been deprecated. Its\nvalue will be ignored by core IBC.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ibc.core.channel.v1.MsgChannelOpenTry" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.core.channel.v1.MsgChannelOpenTryResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc.core.channel.v1.Msg/ChannelUpgradeAck": { + "post": { + "tags": [ + "Msg" + ], + "summary": "ChannelUpgradeAck defines a rpc handler method for MsgChannelUpgradeAck.", + "operationId": "FeeMsg_ChannelUpgradeAck", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ibc.core.channel.v1.MsgChannelUpgradeAck" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.core.channel.v1.MsgChannelUpgradeAckResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc.core.channel.v1.Msg/ChannelUpgradeCancel": { + "post": { + "tags": [ + "Msg" + ], + "summary": "ChannelUpgradeCancel defines a rpc handler method for MsgChannelUpgradeCancel.", + "operationId": "FeeMsg_ChannelUpgradeCancel", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ibc.core.channel.v1.MsgChannelUpgradeCancel" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.core.channel.v1.MsgChannelUpgradeCancelResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc.core.channel.v1.Msg/ChannelUpgradeConfirm": { + "post": { + "tags": [ + "Msg" + ], + "summary": "ChannelUpgradeConfirm defines a rpc handler method for MsgChannelUpgradeConfirm.", + "operationId": "FeeMsg_ChannelUpgradeConfirm", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ibc.core.channel.v1.MsgChannelUpgradeConfirm" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.core.channel.v1.MsgChannelUpgradeConfirmResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc.core.channel.v1.Msg/ChannelUpgradeInit": { + "post": { + "tags": [ + "Msg" + ], + "summary": "ChannelUpgradeInit defines a rpc handler method for MsgChannelUpgradeInit.", + "operationId": "FeeMsg_ChannelUpgradeInit", + "parameters": [ + { + "description": "MsgChannelUpgradeInit defines the request type for the ChannelUpgradeInit rpc\nWARNING: Initializing a channel upgrade in the same block as opening the channel\nmay result in the counterparty being incapable of opening.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ibc.core.channel.v1.MsgChannelUpgradeInit" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.core.channel.v1.MsgChannelUpgradeInitResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc.core.channel.v1.Msg/ChannelUpgradeOpen": { + "post": { + "tags": [ + "Msg" + ], + "summary": "ChannelUpgradeOpen defines a rpc handler method for MsgChannelUpgradeOpen.", + "operationId": "FeeMsg_ChannelUpgradeOpen", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ibc.core.channel.v1.MsgChannelUpgradeOpen" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.core.channel.v1.MsgChannelUpgradeOpenResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc.core.channel.v1.Msg/ChannelUpgradeTimeout": { + "post": { + "tags": [ + "Msg" + ], + "summary": "ChannelUpgradeTimeout defines a rpc handler method for MsgChannelUpgradeTimeout.", + "operationId": "FeeMsg_ChannelUpgradeTimeout", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ibc.core.channel.v1.MsgChannelUpgradeTimeout" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.core.channel.v1.MsgChannelUpgradeTimeoutResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc.core.channel.v1.Msg/ChannelUpgradeTry": { + "post": { + "tags": [ + "Msg" + ], + "summary": "ChannelUpgradeTry defines a rpc handler method for MsgChannelUpgradeTry.", + "operationId": "FeeMsg_ChannelUpgradeTry", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ibc.core.channel.v1.MsgChannelUpgradeTry" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.core.channel.v1.MsgChannelUpgradeTryResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc.core.channel.v1.Msg/PruneAcknowledgements": { + "post": { + "tags": [ + "Msg" + ], + "summary": "PruneAcknowledgements defines a rpc handler method for MsgPruneAcknowledgements.", + "operationId": "FeeMsg_PruneAcknowledgements", + "parameters": [ + { + "description": "MsgPruneAcknowledgements defines the request type for the PruneAcknowledgements rpc.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ibc.core.channel.v1.MsgPruneAcknowledgements" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.core.channel.v1.MsgPruneAcknowledgementsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc.core.channel.v1.Msg/RecvPacket": { + "post": { + "tags": [ + "Msg" + ], + "summary": "RecvPacket defines a rpc handler method for MsgRecvPacket.", + "operationId": "FeeMsg_RecvPacket", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ibc.core.channel.v1.MsgRecvPacket" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.core.channel.v1.MsgRecvPacketResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc.core.channel.v1.Msg/Timeout": { + "post": { + "tags": [ + "Msg" + ], + "summary": "Timeout defines a rpc handler method for MsgTimeout.", + "operationId": "FeeMsg_Timeout", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ibc.core.channel.v1.MsgTimeout" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.core.channel.v1.MsgTimeoutResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc.core.channel.v1.Msg/TimeoutOnClose": { + "post": { + "tags": [ + "Msg" + ], + "summary": "TimeoutOnClose defines a rpc handler method for MsgTimeoutOnClose.", + "operationId": "FeeMsg_TimeoutOnClose", + "parameters": [ + { + "description": "MsgTimeoutOnClose timed-out packet upon counterparty channel closure.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ibc.core.channel.v1.MsgTimeoutOnClose" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.core.channel.v1.MsgTimeoutOnCloseResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc.core.channel.v1.Msg/UpdateChannelParams": { + "post": { + "tags": [ + "Msg" + ], + "summary": "UpdateChannelParams defines a rpc handler method for MsgUpdateParams.", + "operationId": "FeeMsg_UpdateChannelParams", + "parameters": [ + { + "description": "MsgUpdateParams is the MsgUpdateParams request type.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ibc.core.channel.v1.MsgUpdateParams" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.core.channel.v1.MsgUpdateParamsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc.core.client.v1.Msg/CreateClient": { + "post": { + "tags": [ + "Msg" + ], + "summary": "CreateClient defines a rpc handler method for MsgCreateClient.", + "operationId": "FeeMsg_CreateClient", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ibc.core.client.v1.MsgCreateClient" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.core.client.v1.MsgCreateClientResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc.core.client.v1.Msg/IBCSoftwareUpgrade": { + "post": { + "tags": [ + "Msg" + ], + "summary": "IBCSoftwareUpgrade defines a rpc handler method for MsgIBCSoftwareUpgrade.", + "operationId": "FeeMsg_IBCSoftwareUpgrade", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ibc.core.client.v1.MsgIBCSoftwareUpgrade" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.core.client.v1.MsgIBCSoftwareUpgradeResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc.core.client.v1.Msg/RecoverClient": { + "post": { + "tags": [ + "Msg" + ], + "summary": "RecoverClient defines a rpc handler method for MsgRecoverClient.", + "operationId": "FeeMsg_RecoverClient", + "parameters": [ + { + "description": "MsgRecoverClient defines the message used to recover a frozen or expired client.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ibc.core.client.v1.MsgRecoverClient" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.core.client.v1.MsgRecoverClientResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc.core.client.v1.Msg/SubmitMisbehaviour": { + "post": { + "tags": [ + "Msg" + ], + "summary": "SubmitMisbehaviour defines a rpc handler method for MsgSubmitMisbehaviour.", + "operationId": "FeeMsg_SubmitMisbehaviour", + "parameters": [ + { + "description": "MsgSubmitMisbehaviour defines an sdk.Msg type that submits Evidence for\nlight client misbehaviour.\nThis message has been deprecated. Use MsgUpdateClient instead.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ibc.core.client.v1.MsgSubmitMisbehaviour" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.core.client.v1.MsgSubmitMisbehaviourResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc.core.client.v1.Msg/UpdateClient": { + "post": { + "tags": [ + "Msg" + ], + "summary": "UpdateClient defines a rpc handler method for MsgUpdateClient.", + "operationId": "FeeMsg_UpdateClient", + "parameters": [ + { + "description": "MsgUpdateClient defines an sdk.Msg to update a IBC client state using\nthe given client message.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ibc.core.client.v1.MsgUpdateClient" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.core.client.v1.MsgUpdateClientResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc.core.client.v1.Msg/UpdateClientParams": { + "post": { + "tags": [ + "Msg" + ], + "summary": "UpdateClientParams defines a rpc handler method for MsgUpdateParams.", + "operationId": "FeeMsg_UpdateClientParams", + "parameters": [ + { + "description": "MsgUpdateParams defines the sdk.Msg type to update the client parameters.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ibc.core.client.v1.MsgUpdateParams" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.core.client.v1.MsgUpdateParamsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc.core.client.v1.Msg/UpgradeClient": { + "post": { + "tags": [ + "Msg" + ], + "summary": "UpgradeClient defines a rpc handler method for MsgUpgradeClient.", + "operationId": "FeeMsg_UpgradeClient", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ibc.core.client.v1.MsgUpgradeClient" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.core.client.v1.MsgUpgradeClientResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc.core.connection.v1.Msg/ConnectionOpenAck": { + "post": { + "tags": [ + "Msg" + ], + "summary": "ConnectionOpenAck defines a rpc handler method for MsgConnectionOpenAck.", + "operationId": "FeeMsg_ConnectionOpenAck", + "parameters": [ + { + "description": "MsgConnectionOpenAck defines a msg sent by a Relayer to Chain A to\nacknowledge the change of connection state to TRYOPEN on Chain B.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ibc.core.connection.v1.MsgConnectionOpenAck" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.core.connection.v1.MsgConnectionOpenAckResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc.core.connection.v1.Msg/ConnectionOpenConfirm": { + "post": { + "tags": [ + "Msg" + ], + "summary": "ConnectionOpenConfirm defines a rpc handler method for\nMsgConnectionOpenConfirm.", + "operationId": "FeeMsg_ConnectionOpenConfirm", + "parameters": [ + { + "description": "MsgConnectionOpenConfirm defines a msg sent by a Relayer to Chain B to\nacknowledge the change of connection state to OPEN on Chain A.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ibc.core.connection.v1.MsgConnectionOpenConfirm" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.core.connection.v1.MsgConnectionOpenConfirmResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc.core.connection.v1.Msg/ConnectionOpenInit": { + "post": { + "tags": [ + "Msg" + ], + "summary": "ConnectionOpenInit defines a rpc handler method for MsgConnectionOpenInit.", + "operationId": "FeeMsg_ConnectionOpenInit", + "parameters": [ + { + "description": "MsgConnectionOpenInit defines the msg sent by an account on Chain A to\ninitialize a connection with Chain B.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ibc.core.connection.v1.MsgConnectionOpenInit" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.core.connection.v1.MsgConnectionOpenInitResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc.core.connection.v1.Msg/ConnectionOpenTry": { + "post": { + "tags": [ + "Msg" + ], + "summary": "ConnectionOpenTry defines a rpc handler method for MsgConnectionOpenTry.", + "operationId": "FeeMsg_ConnectionOpenTry", + "parameters": [ + { + "description": "MsgConnectionOpenTry defines a msg sent by a Relayer to try to open a\nconnection on Chain B.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ibc.core.connection.v1.MsgConnectionOpenTry" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.core.connection.v1.MsgConnectionOpenTryResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc.core.connection.v1.Msg/UpdateConnectionParams": { + "post": { + "tags": [ + "Msg" + ], + "summary": "UpdateConnectionParams defines a rpc handler method for\nMsgUpdateParams.", + "operationId": "FeeMsg_UpdateConnectionParams", + "parameters": [ + { + "description": "MsgUpdateParams defines the sdk.Msg type to update the connection parameters.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ibc.core.connection.v1.MsgUpdateParams" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.core.connection.v1.MsgUpdateParamsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc.lightclients.wasm.v1.Msg/MigrateContract": { + "post": { + "tags": [ + "Msg" + ], + "summary": "MigrateContract defines a rpc handler method for MsgMigrateContract.", + "operationId": "FeeMsg_MigrateContract", + "parameters": [ + { + "description": "MsgMigrateContract defines the request type for the MigrateContract rpc.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ibc.lightclients.wasm.v1.MsgMigrateContract" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.lightclients.wasm.v1.MsgMigrateContractResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc.lightclients.wasm.v1.Msg/RemoveChecksum": { + "post": { + "tags": [ + "Msg" + ], + "summary": "RemoveChecksum defines a rpc handler method for MsgRemoveChecksum.", + "operationId": "FeeMsg_RemoveChecksum", + "parameters": [ + { + "description": "MsgRemoveChecksum defines the request type for the MsgRemoveChecksum rpc.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ibc.lightclients.wasm.v1.MsgRemoveChecksum" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.lightclients.wasm.v1.MsgRemoveChecksumResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc.lightclients.wasm.v1.Msg/StoreCode": { + "post": { + "tags": [ + "Msg" + ], + "summary": "StoreCode defines a rpc handler method for MsgStoreCode.", + "operationId": "FeeMsg_StoreCode", + "parameters": [ + { + "description": "MsgStoreCode defines the request type for the StoreCode rpc.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ibc.lightclients.wasm.v1.MsgStoreCode" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.lightclients.wasm.v1.MsgStoreCodeResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc/apps/fee/v1/channels/{channel_id}/ports/{port_id}/fee_enabled": { + "get": { + "tags": [ + "Query" + ], + "summary": "FeeEnabledChannel returns true if the provided port and channel identifiers belong to a fee enabled channel", + "operationId": "FeeQuery_FeeEnabledChannel", + "parameters": [ + { + "type": "string", + "description": "unique channel identifier", + "name": "channel_id", + "in": "path", + "required": true + }, + { + "type": "string", + "description": "unique port identifier", + "name": "port_id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.applications.fee.v1.QueryFeeEnabledChannelResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc/apps/fee/v1/channels/{channel_id}/ports/{port_id}/incentivized_packets": { + "get": { + "tags": [ + "Query" + ], + "summary": "Gets all incentivized packets for a specific channel", + "operationId": "FeeQuery_IncentivizedPacketsForChannel", + "parameters": [ + { + "type": "string", + "name": "channel_id", + "in": "path", + "required": true + }, + { + "type": "string", + "name": "port_id", + "in": "path", + "required": true + }, + { + "type": "string", + "format": "byte", + "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", + "name": "pagination.key", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", + "name": "pagination.offset", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", + "name": "pagination.limit", + "in": "query" + }, + { + "type": "boolean", + "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", + "name": "pagination.count_total", + "in": "query" + }, + { + "type": "boolean", + "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", + "name": "pagination.reverse", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "Height to query at", + "name": "query_height", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.applications.fee.v1.QueryIncentivizedPacketsForChannelResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc/apps/fee/v1/channels/{channel_id}/relayers/{relayer}/counterparty_payee": { + "get": { + "tags": [ + "Query" + ], + "summary": "CounterpartyPayee returns the registered counterparty payee for forward relaying", + "operationId": "FeeQuery_CounterpartyPayee", + "parameters": [ + { + "type": "string", + "description": "unique channel identifier", + "name": "channel_id", + "in": "path", + "required": true + }, + { + "type": "string", + "description": "the relayer address to which the counterparty is registered", + "name": "relayer", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.applications.fee.v1.QueryCounterpartyPayeeResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc/apps/fee/v1/channels/{channel_id}/relayers/{relayer}/payee": { + "get": { + "tags": [ + "Query" + ], + "summary": "Payee returns the registered payee address for a specific channel given the relayer address", + "operationId": "FeeQuery_Payee", + "parameters": [ + { + "type": "string", + "description": "unique channel identifier", + "name": "channel_id", + "in": "path", + "required": true + }, + { + "type": "string", + "description": "the relayer address to which the distribution address is registered", + "name": "relayer", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.applications.fee.v1.QueryPayeeResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/incentivized_packet": { + "get": { + "tags": [ + "Query" + ], + "summary": "IncentivizedPacket returns all packet fees for a packet given its identifier", + "operationId": "FeeQuery_IncentivizedPacket", + "parameters": [ + { + "type": "string", + "description": "channel unique identifier", + "name": "packet_id.channel_id", + "in": "path", + "required": true + }, + { + "type": "string", + "description": "channel port identifier", + "name": "packet_id.port_id", + "in": "path", + "required": true + }, + { + "type": "string", + "format": "uint64", + "description": "packet sequence", + "name": "packet_id.sequence", + "in": "path", + "required": true + }, + { + "type": "string", + "format": "uint64", + "description": "block height at which to query", + "name": "query_height", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.applications.fee.v1.QueryIncentivizedPacketResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/total_ack_fees": { + "get": { + "tags": [ + "Query" + ], + "summary": "TotalAckFees returns the total acknowledgement fees for a packet given its identifier", + "operationId": "FeeQuery_TotalAckFees", + "parameters": [ + { + "type": "string", + "description": "channel unique identifier", + "name": "packet_id.channel_id", + "in": "path", + "required": true + }, + { + "type": "string", + "description": "channel port identifier", + "name": "packet_id.port_id", + "in": "path", + "required": true + }, + { + "type": "string", + "format": "uint64", + "description": "packet sequence", + "name": "packet_id.sequence", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.applications.fee.v1.QueryTotalAckFeesResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/total_recv_fees": { + "get": { + "tags": [ + "Query" + ], + "summary": "TotalRecvFees returns the total receive fees for a packet given its identifier", + "operationId": "FeeQuery_TotalRecvFees", + "parameters": [ + { + "type": "string", + "description": "channel unique identifier", + "name": "packet_id.channel_id", + "in": "path", + "required": true + }, + { + "type": "string", + "description": "channel port identifier", + "name": "packet_id.port_id", + "in": "path", + "required": true + }, + { + "type": "string", + "format": "uint64", + "description": "packet sequence", + "name": "packet_id.sequence", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.applications.fee.v1.QueryTotalRecvFeesResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/total_timeout_fees": { + "get": { + "tags": [ + "Query" + ], + "summary": "TotalTimeoutFees returns the total timeout fees for a packet given its identifier", + "operationId": "FeeQuery_TotalTimeoutFees", + "parameters": [ + { + "type": "string", + "description": "channel unique identifier", + "name": "packet_id.channel_id", + "in": "path", + "required": true + }, + { + "type": "string", + "description": "channel port identifier", + "name": "packet_id.port_id", + "in": "path", + "required": true + }, + { + "type": "string", + "format": "uint64", + "description": "packet sequence", + "name": "packet_id.sequence", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.applications.fee.v1.QueryTotalTimeoutFeesResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc/apps/fee/v1/fee_enabled": { + "get": { + "tags": [ + "Query" + ], + "summary": "FeeEnabledChannels returns a list of all fee enabled channels", + "operationId": "FeeQuery_FeeEnabledChannels", + "parameters": [ + { + "type": "string", + "format": "byte", + "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", + "name": "pagination.key", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", + "name": "pagination.offset", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", + "name": "pagination.limit", + "in": "query" + }, + { + "type": "boolean", + "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", + "name": "pagination.count_total", + "in": "query" + }, + { + "type": "boolean", + "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", + "name": "pagination.reverse", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "block height at which to query", + "name": "query_height", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.applications.fee.v1.QueryFeeEnabledChannelsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc/apps/fee/v1/incentivized_packets": { + "get": { + "tags": [ + "Query" + ], + "summary": "IncentivizedPackets returns all incentivized packets and their associated fees", + "operationId": "FeeQuery_IncentivizedPackets", + "parameters": [ + { + "type": "string", + "format": "byte", + "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", + "name": "pagination.key", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", + "name": "pagination.offset", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", + "name": "pagination.limit", + "in": "query" + }, + { + "type": "boolean", + "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", + "name": "pagination.count_total", + "in": "query" + }, + { + "type": "boolean", + "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", + "name": "pagination.reverse", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "block height at which to query", + "name": "query_height", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.applications.fee.v1.QueryIncentivizedPacketsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc/apps/interchain_accounts/controller/v1/owners/{owner}/connections/{connection_id}": { + "get": { + "tags": [ + "Query" + ], + "summary": "InterchainAccount returns the interchain account address for a given owner address on a given connection", + "operationId": "FeeQuery_InterchainAccount", + "parameters": [ + { + "type": "string", + "name": "owner", + "in": "path", + "required": true + }, + { + "type": "string", + "name": "connection_id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.applications.interchain_accounts.controller.v1.QueryInterchainAccountResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc/apps/interchain_accounts/controller/v1/params": { + "get": { + "tags": [ + "Query" + ], + "summary": "Params queries all parameters of the ICA controller submodule.", + "operationId": "FeeQuery_Params", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.applications.interchain_accounts.controller.v1.QueryParamsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc/apps/interchain_accounts/host/v1/params": { + "get": { + "tags": [ + "Query" + ], + "summary": "Params queries all parameters of the ICA host submodule.", + "operationId": "FeeQuery_ParamsMixin171", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.applications.interchain_accounts.host.v1.QueryParamsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc/apps/transfer/v1/channels/{channel_id}/ports/{port_id}/escrow_address": { + "get": { + "tags": [ + "Query" + ], + "summary": "EscrowAddress returns the escrow address for a particular port and channel id.", + "operationId": "FeeQuery_EscrowAddress", + "parameters": [ + { + "type": "string", + "description": "unique channel identifier", + "name": "channel_id", + "in": "path", + "required": true + }, + { + "type": "string", + "description": "unique port identifier", + "name": "port_id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.applications.transfer.v1.QueryEscrowAddressResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc/apps/transfer/v1/denom_hashes/{trace}": { + "get": { + "tags": [ + "Query" + ], + "summary": "DenomHash queries a denomination hash information.", + "operationId": "FeeQuery_DenomHash", + "parameters": [ + { + "pattern": ".+", + "type": "string", + "description": "The denomination trace ([port_id]/[channel_id])+/[denom]", + "name": "trace", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.applications.transfer.v1.QueryDenomHashResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc/apps/transfer/v1/denom_traces": { + "get": { + "tags": [ + "Query" + ], + "summary": "DenomTraces queries all denomination traces.", + "operationId": "FeeQuery_DenomTraces", + "parameters": [ + { + "type": "string", + "format": "byte", + "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", + "name": "pagination.key", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", + "name": "pagination.offset", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", + "name": "pagination.limit", + "in": "query" + }, + { + "type": "boolean", + "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", + "name": "pagination.count_total", + "in": "query" + }, + { + "type": "boolean", + "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", + "name": "pagination.reverse", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.applications.transfer.v1.QueryDenomTracesResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc/apps/transfer/v1/denom_traces/{hash}": { + "get": { + "tags": [ + "Query" + ], + "summary": "DenomTrace queries a denomination trace information.", + "operationId": "FeeQuery_DenomTrace", + "parameters": [ + { + "pattern": ".+", + "type": "string", + "description": "hash (in hex format) or denom (full denom with ibc prefix) of the denomination trace information.", + "name": "hash", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.applications.transfer.v1.QueryDenomTraceResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc/apps/transfer/v1/denoms/{denom}/total_escrow": { + "get": { + "tags": [ + "Query" + ], + "summary": "TotalEscrowForDenom returns the total amount of tokens in escrow based on the denom.", + "operationId": "FeeQuery_TotalEscrowForDenom", + "parameters": [ + { + "pattern": ".+", + "type": "string", + "name": "denom", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.applications.transfer.v1.QueryTotalEscrowForDenomResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc/apps/transfer/v1/params": { + "get": { + "tags": [ + "Query" + ], + "summary": "Params queries all parameters of the ibc-transfer module.", + "operationId": "FeeQuery_ParamsMixin178", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.applications.transfer.v1.QueryParamsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc/core/channel/v1/channels": { + "get": { + "tags": [ + "Query" + ], + "summary": "Channels queries all the IBC channels of a chain.", + "operationId": "FeeQuery_Channels", + "parameters": [ + { + "type": "string", + "format": "byte", + "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", + "name": "pagination.key", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", + "name": "pagination.offset", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", + "name": "pagination.limit", + "in": "query" + }, + { + "type": "boolean", + "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", + "name": "pagination.count_total", + "in": "query" + }, + { + "type": "boolean", + "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", + "name": "pagination.reverse", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.core.channel.v1.QueryChannelsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}": { + "get": { + "tags": [ + "Query" + ], + "summary": "Channel queries an IBC Channel.", + "operationId": "FeeQuery_Channel", + "parameters": [ + { + "type": "string", + "description": "channel unique identifier", + "name": "channel_id", + "in": "path", + "required": true + }, + { + "type": "string", + "description": "port unique identifier", + "name": "port_id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.core.channel.v1.QueryChannelResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/client_state": { + "get": { + "tags": [ + "Query" + ], + "summary": "ChannelClientState queries for the client state for the channel associated\nwith the provided channel identifiers.", + "operationId": "FeeQuery_ChannelClientState", + "parameters": [ + { + "type": "string", + "description": "channel unique identifier", + "name": "channel_id", + "in": "path", + "required": true + }, + { + "type": "string", + "description": "port unique identifier", + "name": "port_id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.core.channel.v1.QueryChannelClientStateResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/consensus_state/revision/{revision_number}/height/{revision_height}": { + "get": { + "tags": [ + "Query" + ], + "summary": "ChannelConsensusState queries for the consensus state for the channel\nassociated with the provided channel identifiers.", + "operationId": "FeeQuery_ChannelConsensusState", + "parameters": [ + { + "type": "string", + "description": "channel unique identifier", + "name": "channel_id", + "in": "path", + "required": true + }, + { + "type": "string", + "description": "port unique identifier", + "name": "port_id", + "in": "path", + "required": true + }, + { + "type": "string", + "format": "uint64", + "description": "revision number of the consensus state", + "name": "revision_number", + "in": "path", + "required": true + }, + { + "type": "string", + "format": "uint64", + "description": "revision height of the consensus state", + "name": "revision_height", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.core.channel.v1.QueryChannelConsensusStateResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/next_sequence": { + "get": { + "tags": [ + "Query" + ], + "summary": "NextSequenceReceive returns the next receive sequence for a given channel.", + "operationId": "FeeQuery_NextSequenceReceive", + "parameters": [ + { + "type": "string", + "description": "channel unique identifier", + "name": "channel_id", + "in": "path", + "required": true + }, + { + "type": "string", + "description": "port unique identifier", + "name": "port_id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.core.channel.v1.QueryNextSequenceReceiveResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/next_sequence_send": { + "get": { + "tags": [ + "Query" + ], + "summary": "NextSequenceSend returns the next send sequence for a given channel.", + "operationId": "FeeQuery_NextSequenceSend", + "parameters": [ + { + "type": "string", + "description": "channel unique identifier", + "name": "channel_id", + "in": "path", + "required": true + }, + { + "type": "string", + "description": "port unique identifier", + "name": "port_id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.core.channel.v1.QueryNextSequenceSendResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_acknowledgements": { + "get": { + "tags": [ + "Query" + ], + "summary": "PacketAcknowledgements returns all the packet acknowledgements associated\nwith a channel.", + "operationId": "FeeQuery_PacketAcknowledgements", + "parameters": [ + { + "type": "string", + "description": "channel unique identifier", + "name": "channel_id", + "in": "path", + "required": true + }, + { + "type": "string", + "description": "port unique identifier", + "name": "port_id", + "in": "path", + "required": true + }, + { + "type": "string", + "format": "byte", + "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", + "name": "pagination.key", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", + "name": "pagination.offset", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", + "name": "pagination.limit", + "in": "query" + }, + { + "type": "boolean", + "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", + "name": "pagination.count_total", + "in": "query" + }, + { + "type": "boolean", + "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", + "name": "pagination.reverse", + "in": "query" + }, + { + "type": "array", + "items": { + "type": "string", + "format": "uint64" + }, + "collectionFormat": "multi", + "description": "list of packet sequences", + "name": "packet_commitment_sequences", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.core.channel.v1.QueryPacketAcknowledgementsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_acks/{sequence}": { + "get": { + "tags": [ + "Query" + ], + "summary": "PacketAcknowledgement queries a stored packet acknowledgement hash.", + "operationId": "FeeQuery_PacketAcknowledgement", + "parameters": [ + { + "type": "string", + "description": "channel unique identifier", + "name": "channel_id", + "in": "path", + "required": true + }, + { + "type": "string", + "description": "port unique identifier", + "name": "port_id", + "in": "path", + "required": true + }, + { + "type": "string", + "format": "uint64", + "description": "packet sequence", + "name": "sequence", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.core.channel.v1.QueryPacketAcknowledgementResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments": { + "get": { + "tags": [ + "Query" + ], + "summary": "PacketCommitments returns all the packet commitments hashes associated\nwith a channel.", + "operationId": "FeeQuery_PacketCommitments", + "parameters": [ + { + "type": "string", + "description": "channel unique identifier", + "name": "channel_id", + "in": "path", + "required": true + }, + { + "type": "string", + "description": "port unique identifier", + "name": "port_id", + "in": "path", + "required": true + }, + { + "type": "string", + "format": "byte", + "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", + "name": "pagination.key", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", + "name": "pagination.offset", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", + "name": "pagination.limit", + "in": "query" + }, + { + "type": "boolean", + "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", + "name": "pagination.count_total", + "in": "query" + }, + { + "type": "boolean", + "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", + "name": "pagination.reverse", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.core.channel.v1.QueryPacketCommitmentsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{packet_ack_sequences}/unreceived_acks": { + "get": { + "tags": [ + "Query" + ], + "summary": "UnreceivedAcks returns all the unreceived IBC acknowledgements associated\nwith a channel and sequences.", + "operationId": "FeeQuery_UnreceivedAcks", + "parameters": [ + { + "type": "string", + "description": "channel unique identifier", + "name": "channel_id", + "in": "path", + "required": true + }, + { + "type": "string", + "description": "port unique identifier", + "name": "port_id", + "in": "path", + "required": true + }, + { + "minItems": 1, + "type": "array", + "items": { + "type": "string", + "format": "uint64" + }, + "collectionFormat": "csv", + "description": "list of acknowledgement sequences", + "name": "packet_ack_sequences", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.core.channel.v1.QueryUnreceivedAcksResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{packet_commitment_sequences}/unreceived_packets": { + "get": { + "tags": [ + "Query" + ], + "summary": "UnreceivedPackets returns all the unreceived IBC packets associated with a\nchannel and sequences.", + "operationId": "FeeQuery_UnreceivedPackets", + "parameters": [ + { + "type": "string", + "description": "channel unique identifier", + "name": "channel_id", + "in": "path", + "required": true + }, + { + "type": "string", + "description": "port unique identifier", + "name": "port_id", + "in": "path", + "required": true + }, + { + "minItems": 1, + "type": "array", + "items": { + "type": "string", + "format": "uint64" + }, + "collectionFormat": "csv", + "description": "list of packet sequences", + "name": "packet_commitment_sequences", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.core.channel.v1.QueryUnreceivedPacketsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{sequence}": { + "get": { + "tags": [ + "Query" + ], + "summary": "PacketCommitment queries a stored packet commitment hash.", + "operationId": "FeeQuery_PacketCommitment", + "parameters": [ + { + "type": "string", + "description": "channel unique identifier", + "name": "channel_id", + "in": "path", + "required": true + }, + { + "type": "string", + "description": "port unique identifier", + "name": "port_id", + "in": "path", + "required": true + }, + { + "type": "string", + "format": "uint64", + "description": "packet sequence", + "name": "sequence", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.core.channel.v1.QueryPacketCommitmentResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_receipts/{sequence}": { + "get": { + "tags": [ + "Query" + ], + "summary": "PacketReceipt queries if a given packet sequence has been received on the\nqueried chain", + "operationId": "FeeQuery_PacketReceipt", + "parameters": [ + { + "type": "string", + "description": "channel unique identifier", + "name": "channel_id", + "in": "path", + "required": true + }, + { + "type": "string", + "description": "port unique identifier", + "name": "port_id", + "in": "path", + "required": true + }, + { + "type": "string", + "format": "uint64", + "description": "packet sequence", + "name": "sequence", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.core.channel.v1.QueryPacketReceiptResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/upgrade": { + "get": { + "tags": [ + "Query" + ], + "summary": "Upgrade returns the upgrade for a given port and channel id.", + "operationId": "FeeQuery_Upgrade", + "parameters": [ + { + "type": "string", + "name": "channel_id", + "in": "path", + "required": true + }, + { + "type": "string", + "name": "port_id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.core.channel.v1.QueryUpgradeResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/upgrade_error": { + "get": { + "tags": [ + "Query" + ], + "summary": "UpgradeError returns the error receipt if the upgrade handshake failed.", + "operationId": "FeeQuery_UpgradeError", + "parameters": [ + { + "type": "string", + "name": "channel_id", + "in": "path", + "required": true + }, + { + "type": "string", + "name": "port_id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.core.channel.v1.QueryUpgradeErrorResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc/core/channel/v1/connections/{connection}/channels": { + "get": { + "tags": [ + "Query" + ], + "summary": "ConnectionChannels queries all the channels associated with a connection\nend.", + "operationId": "FeeQuery_ConnectionChannels", + "parameters": [ + { + "type": "string", + "description": "connection unique identifier", + "name": "connection", + "in": "path", + "required": true + }, + { + "type": "string", + "format": "byte", + "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", + "name": "pagination.key", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", + "name": "pagination.offset", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", + "name": "pagination.limit", + "in": "query" + }, + { + "type": "boolean", + "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", + "name": "pagination.count_total", + "in": "query" + }, + { + "type": "boolean", + "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", + "name": "pagination.reverse", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.core.channel.v1.QueryConnectionChannelsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc/core/channel/v1/params": { + "get": { + "tags": [ + "Query" + ], + "summary": "ChannelParams queries all parameters of the ibc channel submodule.", + "operationId": "FeeQuery_ChannelParams", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.core.channel.v1.QueryChannelParamsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc/core/client/v1/client_states": { + "get": { + "tags": [ + "Query" + ], + "summary": "ClientStates queries all the IBC light clients of a chain.", + "operationId": "FeeQuery_ClientStates", + "parameters": [ + { + "type": "string", + "format": "byte", + "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", + "name": "pagination.key", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", + "name": "pagination.offset", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", + "name": "pagination.limit", + "in": "query" + }, + { + "type": "boolean", + "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", + "name": "pagination.count_total", + "in": "query" + }, + { + "type": "boolean", + "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", + "name": "pagination.reverse", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.core.client.v1.QueryClientStatesResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc/core/client/v1/client_states/{client_id}": { + "get": { + "tags": [ + "Query" + ], + "summary": "ClientState queries an IBC light client.", + "operationId": "FeeQuery_ClientState", + "parameters": [ + { + "type": "string", + "description": "client state unique identifier", + "name": "client_id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.core.client.v1.QueryClientStateResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc/core/client/v1/client_status/{client_id}": { + "get": { + "tags": [ + "Query" + ], + "summary": "Status queries the status of an IBC client.", + "operationId": "FeeQuery_ClientStatus", + "parameters": [ + { + "type": "string", + "description": "client unique identifier", + "name": "client_id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.core.client.v1.QueryClientStatusResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc/core/client/v1/consensus_states/{client_id}": { + "get": { + "tags": [ + "Query" + ], + "summary": "ConsensusStates queries all the consensus state associated with a given\nclient.", + "operationId": "FeeQuery_ConsensusStates", + "parameters": [ + { + "type": "string", + "description": "client identifier", + "name": "client_id", + "in": "path", + "required": true + }, + { + "type": "string", + "format": "byte", + "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", + "name": "pagination.key", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", + "name": "pagination.offset", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", + "name": "pagination.limit", + "in": "query" + }, + { + "type": "boolean", + "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", + "name": "pagination.count_total", + "in": "query" + }, + { + "type": "boolean", + "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", + "name": "pagination.reverse", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.core.client.v1.QueryConsensusStatesResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc/core/client/v1/consensus_states/{client_id}/heights": { + "get": { + "tags": [ + "Query" + ], + "summary": "ConsensusStateHeights queries the height of every consensus states associated with a given client.", + "operationId": "FeeQuery_ConsensusStateHeights", + "parameters": [ + { + "type": "string", + "description": "client identifier", + "name": "client_id", + "in": "path", + "required": true + }, + { + "type": "string", + "format": "byte", + "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", + "name": "pagination.key", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", + "name": "pagination.offset", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", + "name": "pagination.limit", + "in": "query" + }, + { + "type": "boolean", + "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", + "name": "pagination.count_total", + "in": "query" + }, + { + "type": "boolean", + "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", + "name": "pagination.reverse", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.core.client.v1.QueryConsensusStateHeightsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc/core/client/v1/consensus_states/{client_id}/revision/{revision_number}/height/{revision_height}": { + "get": { + "tags": [ + "Query" + ], + "summary": "ConsensusState queries a consensus state associated with a client state at\na given height.", + "operationId": "FeeQuery_ConsensusState", + "parameters": [ + { + "type": "string", + "description": "client identifier", + "name": "client_id", + "in": "path", + "required": true + }, + { + "type": "string", + "format": "uint64", + "description": "consensus state revision number", + "name": "revision_number", + "in": "path", + "required": true + }, + { + "type": "string", + "format": "uint64", + "description": "consensus state revision height", + "name": "revision_height", + "in": "path", + "required": true + }, + { + "type": "boolean", + "description": "latest_height overrrides the height field and queries the latest stored\nConsensusState", + "name": "latest_height", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.core.client.v1.QueryConsensusStateResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc/core/client/v1/params": { + "get": { + "tags": [ + "Query" + ], + "summary": "ClientParams queries all parameters of the ibc client submodule.", + "operationId": "FeeQuery_ClientParams", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.core.client.v1.QueryClientParamsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc/core/client/v1/upgraded_client_states": { + "get": { + "tags": [ + "Query" + ], + "summary": "UpgradedClientState queries an Upgraded IBC light client.", + "operationId": "FeeQuery_UpgradedClientState", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.core.client.v1.QueryUpgradedClientStateResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc/core/client/v1/upgraded_consensus_states": { + "get": { + "tags": [ + "Query" + ], + "summary": "UpgradedConsensusState queries an Upgraded IBC consensus state.", + "operationId": "FeeQuery_UpgradedConsensusState", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.core.client.v1.QueryUpgradedConsensusStateResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc/core/connection/v1/client_connections/{client_id}": { + "get": { + "tags": [ + "Query" + ], + "summary": "ClientConnections queries the connection paths associated with a client\nstate.", + "operationId": "FeeQuery_ClientConnections", + "parameters": [ + { + "type": "string", + "description": "client identifier associated with a connection", + "name": "client_id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.core.connection.v1.QueryClientConnectionsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc/core/connection/v1/connections": { + "get": { + "tags": [ + "Query" + ], + "summary": "Connections queries all the IBC connections of a chain.", + "operationId": "FeeQuery_Connections", + "parameters": [ + { + "type": "string", + "format": "byte", + "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", + "name": "pagination.key", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", + "name": "pagination.offset", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", + "name": "pagination.limit", + "in": "query" + }, + { + "type": "boolean", + "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", + "name": "pagination.count_total", + "in": "query" + }, + { + "type": "boolean", + "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", + "name": "pagination.reverse", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.core.connection.v1.QueryConnectionsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc/core/connection/v1/connections/{connection_id}": { + "get": { + "tags": [ + "Query" + ], + "summary": "Connection queries an IBC connection end.", + "operationId": "FeeQuery_Connection", + "parameters": [ + { + "type": "string", + "description": "connection unique identifier", + "name": "connection_id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.core.connection.v1.QueryConnectionResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc/core/connection/v1/connections/{connection_id}/client_state": { + "get": { + "tags": [ + "Query" + ], + "summary": "ConnectionClientState queries the client state associated with the\nconnection.", + "operationId": "FeeQuery_ConnectionClientState", + "parameters": [ + { + "type": "string", + "description": "connection identifier", + "name": "connection_id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.core.connection.v1.QueryConnectionClientStateResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc/core/connection/v1/connections/{connection_id}/consensus_state/revision/{revision_number}/height/{revision_height}": { + "get": { + "tags": [ + "Query" + ], + "summary": "ConnectionConsensusState queries the consensus state associated with the\nconnection.", + "operationId": "FeeQuery_ConnectionConsensusState", + "parameters": [ + { + "type": "string", + "description": "connection identifier", + "name": "connection_id", + "in": "path", + "required": true + }, + { + "type": "string", + "format": "uint64", + "name": "revision_number", + "in": "path", + "required": true + }, + { + "type": "string", + "format": "uint64", + "name": "revision_height", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.core.connection.v1.QueryConnectionConsensusStateResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc/core/connection/v1/params": { + "get": { + "tags": [ + "Query" + ], + "summary": "ConnectionParams queries all parameters of the ibc connection submodule.", + "operationId": "FeeQuery_ConnectionParams", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.core.connection.v1.QueryConnectionParamsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc/lightclients/wasm/v1/checksums": { + "get": { + "tags": [ + "Query" + ], + "summary": "Get all Wasm checksums", + "operationId": "FeeQuery_Checksums", + "parameters": [ + { + "type": "string", + "format": "byte", + "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", + "name": "pagination.key", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", + "name": "pagination.offset", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", + "name": "pagination.limit", + "in": "query" + }, + { + "type": "boolean", + "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", + "name": "pagination.count_total", + "in": "query" + }, + { + "type": "boolean", + "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", + "name": "pagination.reverse", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.lightclients.wasm.v1.QueryChecksumsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/ibc/lightclients/wasm/v1/checksums/{checksum}/code": { + "get": { + "tags": [ + "Query" + ], + "summary": "Get Wasm code for given checksum", + "operationId": "FeeQuery_Code", + "parameters": [ + { + "type": "string", + "description": "checksum is a hex encoded string of the code stored.", + "name": "checksum", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/ibc.lightclients.wasm.v1.QueryCodeResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/pokt-network/poktroll/application/application": { + "get": { + "tags": [ + "Query" + ], + "operationId": "GithubCompoktNetworkpoktrollQuery_AllApplications", + "parameters": [ + { + "type": "string", + "format": "byte", + "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", + "name": "pagination.key", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", + "name": "pagination.offset", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", + "name": "pagination.limit", + "in": "query" + }, + { + "type": "boolean", + "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", + "name": "pagination.count_total", + "in": "query" + }, + { + "type": "boolean", + "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", + "name": "pagination.reverse", + "in": "query" + }, + { + "type": "string", + "description": "TODO_MAINNET(@adshmh): rename this field to `gateway_address_delegated_to`\ndelegatee_gateway_address, if specified, filters the application list to only include those with delegation to the specified gateway address.", + "name": "delegatee_gateway_address", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/poktroll.application.QueryAllApplicationsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/pokt-network/poktroll/application/application/{address}": { + "get": { + "tags": [ + "Query" + ], + "summary": "Queries a list of Application items.", + "operationId": "GithubCompoktNetworkpoktrollQuery_Application", + "parameters": [ + { + "type": "string", + "name": "address", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/poktroll.application.QueryGetApplicationResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/pokt-network/poktroll/application/params": { + "get": { + "tags": [ + "Query" + ], + "summary": "Parameters queries the parameters of the module.", + "operationId": "GithubCompoktNetworkpoktrollQuery_Params", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/poktroll.application.QueryParamsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/pokt-network/poktroll/gateway/gateway": { + "get": { + "tags": [ + "Query" + ], + "operationId": "GithubCompoktNetworkpoktrollQuery_AllGateways", + "parameters": [ + { + "type": "string", + "format": "byte", + "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", + "name": "pagination.key", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", + "name": "pagination.offset", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", + "name": "pagination.limit", + "in": "query" + }, + { + "type": "boolean", + "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", + "name": "pagination.count_total", + "in": "query" + }, + { + "type": "boolean", + "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", + "name": "pagination.reverse", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/poktroll.gateway.QueryAllGatewaysResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/pokt-network/poktroll/gateway/gateway/{address}": { + "get": { + "tags": [ + "Query" + ], + "summary": "Queries a list of Gateway items.", + "operationId": "GithubCompoktNetworkpoktrollQuery_Gateway", + "parameters": [ + { + "type": "string", + "name": "address", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/poktroll.gateway.QueryGetGatewayResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/pokt-network/poktroll/gateway/params": { + "get": { + "tags": [ + "Query" + ], + "summary": "Parameters queries the parameters of the module.", + "operationId": "GithubCompoktNetworkpoktrollQuery_ParamsMixin9", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/poktroll.gateway.QueryParamsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/pokt-network/poktroll/proof/claim": { + "get": { + "tags": [ + "Query" + ], + "operationId": "GithubCompoktNetworkpoktrollQuery_AllClaims", + "parameters": [ + { + "type": "string", + "format": "byte", + "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", + "name": "pagination.key", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", + "name": "pagination.offset", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", + "name": "pagination.limit", + "in": "query" + }, + { + "type": "boolean", + "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", + "name": "pagination.count_total", + "in": "query" + }, + { + "type": "boolean", + "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", + "name": "pagination.reverse", + "in": "query" + }, + { + "type": "string", + "name": "supplier_operator_address", + "in": "query" + }, + { + "type": "string", + "name": "session_id", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "name": "session_end_height", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/poktroll.proof.QueryAllClaimsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/pokt-network/poktroll/proof/claim/{session_id}/{supplier_operator_address}": { + "get": { + "tags": [ + "Query" + ], + "summary": "Queries a list of Claim items.", + "operationId": "GithubCompoktNetworkpoktrollQuery_Claim", + "parameters": [ + { + "type": "string", + "name": "session_id", + "in": "path", + "required": true + }, + { + "type": "string", + "name": "supplier_operator_address", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/poktroll.proof.QueryGetClaimResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/pokt-network/poktroll/proof/params": { + "get": { + "tags": [ + "Query" + ], + "summary": "Parameters queries the parameters of the module.", + "operationId": "GithubCompoktNetworkpoktrollQuery_ParamsMixin15", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/poktroll.proof.QueryParamsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/pokt-network/poktroll/proof/proof": { + "get": { + "tags": [ + "Query" + ], + "operationId": "GithubCompoktNetworkpoktrollQuery_AllProofs", + "parameters": [ + { + "type": "string", + "format": "byte", + "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", + "name": "pagination.key", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", + "name": "pagination.offset", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", + "name": "pagination.limit", + "in": "query" + }, + { + "type": "boolean", + "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", + "name": "pagination.count_total", + "in": "query" + }, + { + "type": "boolean", + "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", + "name": "pagination.reverse", + "in": "query" + }, + { + "type": "string", + "name": "supplier_operator_address", + "in": "query" + }, + { + "type": "string", + "name": "session_id", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "name": "session_end_height", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/poktroll.proof.QueryAllProofsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/pokt-network/poktroll/proof/proof/{session_id}/{supplier_operator_address}": { + "get": { + "tags": [ + "Query" + ], + "summary": "Queries a list of Proof items.", + "operationId": "GithubCompoktNetworkpoktrollQuery_Proof", + "parameters": [ + { + "type": "string", + "name": "session_id", + "in": "path", + "required": true + }, + { + "type": "string", + "name": "supplier_operator_address", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/poktroll.proof.QueryGetProofResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/pokt-network/poktroll/service/params": { + "get": { + "tags": [ + "Query" + ], + "summary": "Parameters queries the parameters of the module.", + "operationId": "GithubCompoktNetworkpoktrollQuery_ParamsMixin21", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/poktroll.service.QueryParamsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/pokt-network/poktroll/service/relay_mining_difficulty": { + "get": { + "tags": [ + "Query" + ], + "operationId": "GithubCompoktNetworkpoktrollQuery_RelayMiningDifficultyAll", + "parameters": [ + { + "type": "string", + "format": "byte", + "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", + "name": "pagination.key", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", + "name": "pagination.offset", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", + "name": "pagination.limit", + "in": "query" + }, + { + "type": "boolean", + "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", + "name": "pagination.count_total", + "in": "query" + }, + { + "type": "boolean", + "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", + "name": "pagination.reverse", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/poktroll.service.QueryAllRelayMiningDifficultyResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/pokt-network/poktroll/service/relay_mining_difficulty/{serviceId}": { + "get": { + "tags": [ + "Query" + ], + "summary": "Queries a list of RelayMiningDifficulty items.", + "operationId": "GithubCompoktNetworkpoktrollQuery_RelayMiningDifficulty", + "parameters": [ + { + "type": "string", + "name": "serviceId", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/poktroll.service.QueryGetRelayMiningDifficultyResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/pokt-network/poktroll/service/service": { + "get": { + "tags": [ + "Query" + ], + "operationId": "GithubCompoktNetworkpoktrollQuery_AllServices", + "parameters": [ + { + "type": "string", + "format": "byte", + "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", + "name": "pagination.key", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", + "name": "pagination.offset", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", + "name": "pagination.limit", + "in": "query" + }, + { + "type": "boolean", + "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", + "name": "pagination.count_total", + "in": "query" + }, + { + "type": "boolean", + "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", + "name": "pagination.reverse", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/poktroll.service.QueryAllServicesResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/pokt-network/poktroll/service/service/{id}": { + "get": { + "tags": [ + "Query" + ], + "summary": "Queries a list of Service items.", + "operationId": "GithubCompoktNetworkpoktrollQuery_Service", + "parameters": [ + { + "type": "string", + "description": "TODO_IMPROVE: We could support getting services by name.", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/poktroll.service.QueryGetServiceResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/pokt-network/poktroll/session/get_session": { + "get": { + "tags": [ + "Query" + ], + "summary": "Queries the session given app_address, service and block_height.", + "operationId": "GithubCompoktNetworkpoktrollQuery_GetSession", + "parameters": [ + { + "type": "string", + "description": "The Bech32 address of the application.", + "name": "application_address", + "in": "query" + }, + { + "type": "string", + "description": "The service ID to query the session for", + "name": "service_id", + "in": "query" + }, + { + "type": "string", + "format": "int64", + "description": "The block height to query the session for", + "name": "block_height", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/poktroll.session.QueryGetSessionResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/pokt-network/poktroll/session/params": { + "get": { + "tags": [ + "Query" + ], + "summary": "Parameters queries the parameters of the module.", + "operationId": "GithubCompoktNetworkpoktrollQuery_ParamsMixin27", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/poktroll.session.QueryParamsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/pokt-network/poktroll/shared/params": { + "get": { + "tags": [ + "Query" + ], + "summary": "Parameters queries the parameters of the module.", + "operationId": "GithubCompoktNetworkpoktrollQuery_ParamsMixin32", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/poktroll.shared.QueryParamsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/pokt-network/poktroll/supplier/params": { + "get": { + "tags": [ + "Query" + ], + "summary": "Parameters queries the parameters of the module.", + "operationId": "GithubCompoktNetworkpoktrollQuery_ParamsMixin39", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/poktroll.supplier.QueryParamsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/pokt-network/poktroll/supplier/supplier": { + "get": { + "tags": [ + "Query" + ], + "operationId": "GithubCompoktNetworkpoktrollQuery_AllSuppliers", + "parameters": [ + { + "type": "string", + "format": "byte", + "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", + "name": "pagination.key", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", + "name": "pagination.offset", + "in": "query" + }, + { + "type": "string", + "format": "uint64", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", + "name": "pagination.limit", + "in": "query" + }, + { + "type": "boolean", + "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", + "name": "pagination.count_total", + "in": "query" + }, + { + "type": "boolean", + "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", + "name": "pagination.reverse", + "in": "query" + }, + { + "type": "string", + "description": "unique service identifier to filter by", + "name": "service_id", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/poktroll.supplier.QueryAllSuppliersResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/pokt-network/poktroll/supplier/supplier/{operator_address}": { + "get": { + "tags": [ + "Query" + ], + "summary": "Queries a list of Supplier items.", + "operationId": "GithubCompoktNetworkpoktrollQuery_Supplier", + "parameters": [ + { + "type": "string", + "description": "TODO_TECHDEBT: Add the ability to query for a supplier by owner_id", + "name": "operator_address", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/poktroll.supplier.QueryGetSupplierResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/pokt-network/poktroll/tokenomics/params": { + "get": { + "tags": [ + "Query" + ], + "summary": "Parameters queries the parameters of the module.", + "operationId": "GithubCompoktNetworkpoktrollQuery_ParamsMixin44", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/poktroll.tokenomics.QueryParamsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/poktroll.application.Msg/DelegateToGateway": { + "post": { + "tags": [ + "Msg" + ], + "operationId": "GithubCompoktNetworkpoktrollMsg_DelegateToGateway", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/poktroll.application.MsgDelegateToGateway" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/poktroll.application.MsgDelegateToGatewayResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/poktroll.application.Msg/StakeApplication": { + "post": { + "tags": [ + "Msg" + ], + "operationId": "GithubCompoktNetworkpoktrollMsg_StakeApplication", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/poktroll.application.MsgStakeApplication" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/poktroll.application.MsgStakeApplicationResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/poktroll.application.Msg/TransferApplication": { + "post": { + "tags": [ + "Msg" + ], + "operationId": "GithubCompoktNetworkpoktrollMsg_TransferApplication", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/poktroll.application.MsgTransferApplication" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/poktroll.application.MsgTransferApplicationResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/poktroll.application.Msg/UndelegateFromGateway": { + "post": { + "tags": [ + "Msg" + ], + "operationId": "GithubCompoktNetworkpoktrollMsg_UndelegateFromGateway", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/poktroll.application.MsgUndelegateFromGateway" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/poktroll.application.MsgUndelegateFromGatewayResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/poktroll.application.Msg/UnstakeApplication": { + "post": { + "tags": [ + "Msg" + ], + "operationId": "GithubCompoktNetworkpoktrollMsg_UnstakeApplication", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/poktroll.application.MsgUnstakeApplication" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/poktroll.application.MsgUnstakeApplicationResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/poktroll.application.Msg/UpdateParam": { + "post": { + "tags": [ + "Msg" + ], + "operationId": "GithubCompoktNetworkpoktrollMsg_UpdateParam", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/poktroll.application.MsgUpdateParam" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/poktroll.application.MsgUpdateParamResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/poktroll.application.Msg/UpdateParams": { + "post": { + "tags": [ + "Msg" + ], + "summary": "UpdateParams defines a (governance) operation for updating the module\nparameters. The authority defaults to the x/gov module account.", + "operationId": "GithubCompoktNetworkpoktrollMsg_UpdateParams", + "parameters": [ + { + "description": "MsgUpdateParams is the Msg/UpdateParams request type.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/poktroll.application.MsgUpdateParams" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/poktroll.application.MsgUpdateParamsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/poktroll.gateway.Msg/StakeGateway": { + "post": { + "tags": [ + "Msg" + ], + "operationId": "GithubCompoktNetworkpoktrollMsg_StakeGateway", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/poktroll.gateway.MsgStakeGateway" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/poktroll.gateway.MsgStakeGatewayResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/poktroll.gateway.Msg/UnstakeGateway": { + "post": { + "tags": [ + "Msg" + ], + "operationId": "GithubCompoktNetworkpoktrollMsg_UnstakeGateway", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/poktroll.gateway.MsgUnstakeGateway" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/poktroll.gateway.MsgUnstakeGatewayResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/poktroll.gateway.Msg/UpdateParam": { + "post": { + "tags": [ + "Msg" + ], + "operationId": "GithubCompoktNetworkpoktrollMsg_UpdateParamMixin10", + "parameters": [ + { + "description": "MsgUpdateParam is the Msg/UpdateParam request type to update a single param.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/poktroll.gateway.MsgUpdateParam" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/poktroll.gateway.MsgUpdateParamResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/poktroll.gateway.Msg/UpdateParams": { + "post": { + "tags": [ + "Msg" + ], + "summary": "UpdateParams defines a (governance) operation for updating the module\nparameters. The authority defaults to the x/gov module account.", + "operationId": "GithubCompoktNetworkpoktrollMsg_UpdateParamsMixin10", + "parameters": [ + { + "description": "MsgUpdateParams is the Msg/UpdateParams request type.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/poktroll.gateway.MsgUpdateParams" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/poktroll.gateway.MsgUpdateParamsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/poktroll.proof.Msg/CreateClaim": { + "post": { + "tags": [ + "Msg" + ], + "operationId": "GithubCompoktNetworkpoktrollMsg_CreateClaim", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/poktroll.proof.MsgCreateClaim" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/poktroll.proof.MsgCreateClaimResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/poktroll.proof.Msg/SubmitProof": { + "post": { + "tags": [ + "Msg" + ], + "operationId": "GithubCompoktNetworkpoktrollMsg_SubmitProof", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/poktroll.proof.MsgSubmitProof" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/poktroll.proof.MsgSubmitProofResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/poktroll.proof.Msg/UpdateParam": { + "post": { + "tags": [ + "Msg" + ], + "operationId": "GithubCompoktNetworkpoktrollMsg_UpdateParamMixin16", + "parameters": [ + { + "description": "MsgUpdateParam is the Msg/UpdateParam request type to update a single param.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/poktroll.proof.MsgUpdateParam" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/poktroll.proof.MsgUpdateParamResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/poktroll.proof.Msg/UpdateParams": { + "post": { + "tags": [ + "Msg" + ], + "summary": "UpdateParams defines a (governance) operation for updating the module\nparameters. The authority defaults to the x/gov module account.", + "operationId": "GithubCompoktNetworkpoktrollMsg_UpdateParamsMixin16", + "parameters": [ + { + "description": "MsgUpdateParams is the Msg/UpdateParams request type to update all params at once.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/poktroll.proof.MsgUpdateParams" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/poktroll.proof.MsgUpdateParamsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/poktroll.service.Msg/AddService": { + "post": { + "tags": [ + "Msg" + ], + "operationId": "GithubCompoktNetworkpoktrollMsg_AddService", + "parameters": [ + { + "description": "MsgAddService defines a message for adding a new message to the network.\nServices can be added by any actor in the network making them truly\npermissionless.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/poktroll.service.MsgAddService" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/poktroll.service.MsgAddServiceResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/poktroll.service.Msg/UpdateParam": { + "post": { + "tags": [ + "Msg" + ], + "operationId": "GithubCompoktNetworkpoktrollMsg_UpdateParamMixin24", + "parameters": [ + { + "description": "MsgUpdateParam is the Msg/UpdateParam request type to update a single param.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/poktroll.service.MsgUpdateParam" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/poktroll.service.MsgUpdateParamResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/poktroll.service.Msg/UpdateParams": { + "post": { + "tags": [ + "Msg" + ], + "summary": "UpdateParams defines a (governance) operation for updating the module\nparameters. The authority defaults to the x/gov module account.", + "operationId": "GithubCompoktNetworkpoktrollMsg_UpdateParamsMixin24", + "parameters": [ + { + "description": "MsgUpdateParams is the Msg/UpdateParams request type.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/poktroll.service.MsgUpdateParams" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/poktroll.service.MsgUpdateParamsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/poktroll.session.Msg/UpdateParam": { + "post": { + "tags": [ + "Msg" + ], + "operationId": "GithubCompoktNetworkpoktrollMsg_UpdateParamMixin28", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/poktroll.session.MsgUpdateParam" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/poktroll.session.MsgUpdateParamResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/poktroll.session.Msg/UpdateParams": { + "post": { + "tags": [ + "Msg" + ], + "summary": "UpdateParams defines a (governance) operation for updating the module\nparameters. The authority defaults to the x/gov module account.", + "operationId": "GithubCompoktNetworkpoktrollMsg_UpdateParamsMixin28", + "parameters": [ + { + "description": "MsgUpdateParams is the Msg/UpdateParams request type.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/poktroll.session.MsgUpdateParams" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/poktroll.session.MsgUpdateParamsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/poktroll.shared.Msg/UpdateParam": { + "post": { + "tags": [ + "Msg" + ], + "operationId": "GithubCompoktNetworkpoktrollMsg_UpdateParamMixin35", + "parameters": [ + { + "description": "MsgUpdateParam is the Msg/UpdateParam request type to update a single param.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/poktroll.shared.MsgUpdateParam" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/poktroll.shared.MsgUpdateParamResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/poktroll.shared.Msg/UpdateParams": { + "post": { + "tags": [ + "Msg" + ], + "summary": "UpdateParams defines a (governance) operation for updating the module\nparameters. The authority defaults to the x/gov module account.", + "operationId": "GithubCompoktNetworkpoktrollMsg_UpdateParamsMixin35", + "parameters": [ + { + "description": "MsgUpdateParams is the Msg/UpdateParams request type.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/poktroll.shared.MsgUpdateParams" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/poktroll.shared.MsgUpdateParamsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/poktroll.supplier.Msg/StakeSupplier": { + "post": { + "tags": [ + "Msg" + ], + "operationId": "GithubCompoktNetworkpoktrollMsg_StakeSupplier", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/poktroll.supplier.MsgStakeSupplier" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/poktroll.supplier.MsgStakeSupplierResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/poktroll.supplier.Msg/UnstakeSupplier": { + "post": { + "tags": [ + "Msg" + ], + "operationId": "GithubCompoktNetworkpoktrollMsg_UnstakeSupplier", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/poktroll.supplier.MsgUnstakeSupplier" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/poktroll.supplier.MsgUnstakeSupplierResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/poktroll.supplier.Msg/UpdateParam": { + "post": { + "tags": [ + "Msg" + ], + "operationId": "GithubCompoktNetworkpoktrollMsg_UpdateParamMixin40", + "parameters": [ + { + "description": "MsgUpdateParam is the Msg/UpdateParam request type to update a single param.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/poktroll.supplier.MsgUpdateParam" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/poktroll.supplier.MsgUpdateParamResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/poktroll.supplier.Msg/UpdateParams": { + "post": { + "tags": [ + "Msg" + ], + "summary": "UpdateParams defines a (governance) operation for updating the module\nparameters. The authority defaults to the x/gov module account.", + "operationId": "GithubCompoktNetworkpoktrollMsg_UpdateParamsMixin40", + "parameters": [ + { + "description": "MsgUpdateParams is the Msg/UpdateParams request type.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/poktroll.supplier.MsgUpdateParams" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/poktroll.supplier.MsgUpdateParamsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/poktroll.tokenomics.Msg/UpdateParam": { + "post": { + "tags": [ + "Msg" + ], + "operationId": "GithubCompoktNetworkpoktrollMsg_UpdateParamMixin45", + "parameters": [ + { + "description": "MsgUpdateParam is the Msg/UpdateParam request type to update a single param.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/poktroll.tokenomics.MsgUpdateParam" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/poktroll.tokenomics.MsgUpdateParamResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/poktroll.tokenomics.Msg/UpdateParams": { + "post": { + "tags": [ + "Msg" + ], + "summary": "UpdateParams defines a (governance) operation for updating the module\nparameters. The authority defaults to the x/gov module account.", + "operationId": "GithubCompoktNetworkpoktrollMsg_UpdateParamsMixin45", + "parameters": [ + { + "description": "MsgUpdateParams is the Msg/UpdateParams request type to update all params at once.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/poktroll.tokenomics.MsgUpdateParams" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/poktroll.tokenomics.MsgUpdateParamsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/tendermint.abci.ABCI/ApplySnapshotChunk": { + "post": { + "tags": [ + "ABCI" + ], + "operationId": "CircuitABCI_ApplySnapshotChunk", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/tendermint.abci.RequestApplySnapshotChunk" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/tendermint.abci.ResponseApplySnapshotChunk" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/tendermint.abci.ABCI/CheckTx": { + "post": { + "tags": [ + "ABCI" + ], + "operationId": "CircuitABCI_CheckTx", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/tendermint.abci.RequestCheckTx" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/tendermint.abci.ResponseCheckTx" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/tendermint.abci.ABCI/Commit": { + "post": { + "tags": [ + "ABCI" + ], + "operationId": "CircuitABCI_Commit", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/tendermint.abci.RequestCommit" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/tendermint.abci.ResponseCommit" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/tendermint.abci.ABCI/Echo": { + "post": { + "tags": [ + "ABCI" + ], + "operationId": "CircuitABCI_Echo", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/tendermint.abci.RequestEcho" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/tendermint.abci.ResponseEcho" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/tendermint.abci.ABCI/ExtendVote": { + "post": { + "tags": [ + "ABCI" + ], + "operationId": "CircuitABCI_ExtendVote", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/tendermint.abci.RequestExtendVote" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/tendermint.abci.ResponseExtendVote" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/tendermint.abci.ABCI/FinalizeBlock": { + "post": { + "tags": [ + "ABCI" + ], + "operationId": "CircuitABCI_FinalizeBlock", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/tendermint.abci.RequestFinalizeBlock" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/tendermint.abci.ResponseFinalizeBlock" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/tendermint.abci.ABCI/Flush": { + "post": { + "tags": [ + "ABCI" + ], + "operationId": "CircuitABCI_Flush", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/tendermint.abci.RequestFlush" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/tendermint.abci.ResponseFlush" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/tendermint.abci.ABCI/Info": { + "post": { + "tags": [ + "ABCI" + ], + "operationId": "CircuitABCI_Info", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/tendermint.abci.RequestInfo" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/tendermint.abci.ResponseInfo" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/tendermint.abci.ABCI/InitChain": { + "post": { + "tags": [ + "ABCI" + ], + "operationId": "CircuitABCI_InitChain", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/tendermint.abci.RequestInitChain" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/tendermint.abci.ResponseInitChain" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/tendermint.abci.ABCI/ListSnapshots": { + "post": { + "tags": [ + "ABCI" + ], + "operationId": "CircuitABCI_ListSnapshots", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/tendermint.abci.RequestListSnapshots" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/tendermint.abci.ResponseListSnapshots" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/tendermint.abci.ABCI/LoadSnapshotChunk": { + "post": { + "tags": [ + "ABCI" + ], + "operationId": "CircuitABCI_LoadSnapshotChunk", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/tendermint.abci.RequestLoadSnapshotChunk" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/tendermint.abci.ResponseLoadSnapshotChunk" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/tendermint.abci.ABCI/OfferSnapshot": { + "post": { + "tags": [ + "ABCI" + ], + "operationId": "CircuitABCI_OfferSnapshot", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/tendermint.abci.RequestOfferSnapshot" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/tendermint.abci.ResponseOfferSnapshot" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/tendermint.abci.ABCI/PrepareProposal": { + "post": { + "tags": [ + "ABCI" + ], + "operationId": "CircuitABCI_PrepareProposal", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/tendermint.abci.RequestPrepareProposal" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/tendermint.abci.ResponsePrepareProposal" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/tendermint.abci.ABCI/ProcessProposal": { + "post": { + "tags": [ + "ABCI" + ], + "operationId": "CircuitABCI_ProcessProposal", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/tendermint.abci.RequestProcessProposal" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/tendermint.abci.ResponseProcessProposal" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/tendermint.abci.ABCI/Query": { + "post": { + "tags": [ + "ABCI" + ], + "operationId": "CircuitABCI_Query", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/tendermint.abci.RequestQuery" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/tendermint.abci.ResponseQuery" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + }, + "/tendermint.abci.ABCI/VerifyVoteExtension": { + "post": { + "tags": [ + "ABCI" + ], + "operationId": "CircuitABCI_VerifyVoteExtension", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/tendermint.abci.RequestVerifyVoteExtension" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/tendermint.abci.ResponseVerifyVoteExtension" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + } + } + } + }, + "definitions": { + "cosmos.auth.v1beta1.AddressBytesToStringResponse": { + "description": "AddressBytesToStringResponse is the response type for AddressString rpc method.\n\nSince: cosmos-sdk 0.46", + "type": "object", + "properties": { + "address_string": { + "type": "string" + } + } + }, + "cosmos.auth.v1beta1.AddressStringToBytesResponse": { + "description": "AddressStringToBytesResponse is the response type for AddressBytes rpc method.\n\nSince: cosmos-sdk 0.46", + "type": "object", + "properties": { + "address_bytes": { + "type": "string", + "format": "byte" + } + } + }, + "cosmos.auth.v1beta1.BaseAccount": { + "description": "BaseAccount defines a base account type. It contains all the necessary fields\nfor basic account functionality. Any custom account type should extend this\ntype for additional functionality (e.g. vesting).", + "type": "object", + "properties": { + "account_number": { + "type": "string", + "format": "uint64" + }, + "address": { + "type": "string" + }, + "pub_key": { + "$ref": "#/definitions/google.protobuf.Any" + }, + "sequence": { + "type": "string", + "format": "uint64" + } + } + }, + "cosmos.auth.v1beta1.Bech32PrefixResponse": { + "description": "Bech32PrefixResponse is the response type for Bech32Prefix rpc method.\n\nSince: cosmos-sdk 0.46", + "type": "object", + "properties": { + "bech32_prefix": { + "type": "string" + } + } + }, + "cosmos.auth.v1beta1.MsgUpdateParams": { + "description": "MsgUpdateParams is the Msg/UpdateParams request type.\n\nSince: cosmos-sdk 0.47", + "type": "object", + "properties": { + "authority": { + "description": "authority is the address that controls the module (defaults to x/gov unless overwritten).", + "type": "string" + }, + "params": { + "description": "params defines the x/auth parameters to update.\n\nNOTE: All parameters must be supplied.", + "$ref": "#/definitions/cosmos.auth.v1beta1.Params" + } + } + }, + "cosmos.auth.v1beta1.MsgUpdateParamsResponse": { + "description": "MsgUpdateParamsResponse defines the response structure for executing a\nMsgUpdateParams message.\n\nSince: cosmos-sdk 0.47", + "type": "object" + }, + "cosmos.auth.v1beta1.Params": { + "description": "Params defines the parameters for the auth module.", + "type": "object", + "properties": { + "max_memo_characters": { + "type": "string", + "format": "uint64" + }, + "sig_verify_cost_ed25519": { + "type": "string", + "format": "uint64" + }, + "sig_verify_cost_secp256k1": { + "type": "string", + "format": "uint64" + }, + "tx_sig_limit": { + "type": "string", + "format": "uint64" + }, + "tx_size_cost_per_byte": { + "type": "string", + "format": "uint64" + } + } + }, + "cosmos.auth.v1beta1.QueryAccountAddressByIDResponse": { + "description": "Since: cosmos-sdk 0.46.2", + "type": "object", + "title": "QueryAccountAddressByIDResponse is the response type for AccountAddressByID rpc method", + "properties": { + "account_address": { + "type": "string" + } + } + }, + "cosmos.auth.v1beta1.QueryAccountInfoResponse": { + "description": "QueryAccountInfoResponse is the Query/AccountInfo response type.\n\nSince: cosmos-sdk 0.47", + "type": "object", + "properties": { + "info": { + "description": "info is the account info which is represented by BaseAccount.", + "$ref": "#/definitions/cosmos.auth.v1beta1.BaseAccount" + } + } + }, + "cosmos.auth.v1beta1.QueryAccountResponse": { + "description": "QueryAccountResponse is the response type for the Query/Account RPC method.", + "type": "object", + "properties": { + "account": { + "description": "account defines the account of the corresponding address.", + "$ref": "#/definitions/google.protobuf.Any" + } + } + }, + "cosmos.auth.v1beta1.QueryAccountsResponse": { + "description": "QueryAccountsResponse is the response type for the Query/Accounts RPC method.\n\nSince: cosmos-sdk 0.43", + "type": "object", + "properties": { + "accounts": { + "type": "array", + "title": "accounts are the existing accounts", + "items": { + "type": "object", + "$ref": "#/definitions/google.protobuf.Any" + } + }, + "pagination": { + "description": "pagination defines the pagination in the response.", + "$ref": "#/definitions/cosmos.base.query.v1beta1.PageResponse" + } + } + }, + "cosmos.auth.v1beta1.QueryModuleAccountByNameResponse": { + "description": "QueryModuleAccountByNameResponse is the response type for the Query/ModuleAccountByName RPC method.", + "type": "object", + "properties": { + "account": { + "$ref": "#/definitions/google.protobuf.Any" + } + } + }, + "cosmos.auth.v1beta1.QueryModuleAccountsResponse": { + "description": "QueryModuleAccountsResponse is the response type for the Query/ModuleAccounts RPC method.\n\nSince: cosmos-sdk 0.46", + "type": "object", + "properties": { + "accounts": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/google.protobuf.Any" + } + } + } + }, + "cosmos.auth.v1beta1.QueryParamsResponse": { + "description": "QueryParamsResponse is the response type for the Query/Params RPC method.", + "type": "object", + "properties": { + "params": { + "description": "params defines the parameters of the module.", + "$ref": "#/definitions/cosmos.auth.v1beta1.Params" + } + } + }, + "cosmos.authz.v1beta1.Grant": { + "description": "Grant gives permissions to execute\nthe provide method with expiration time.", + "type": "object", + "properties": { + "authorization": { + "$ref": "#/definitions/google.protobuf.Any" + }, + "expiration": { + "type": "string", + "format": "date-time", + "title": "time when the grant will expire and will be pruned. If null, then the grant\ndoesn't have a time expiration (other conditions in `authorization`\nmay apply to invalidate the grant)" + } + } + }, + "cosmos.authz.v1beta1.GrantAuthorization": { + "type": "object", + "title": "GrantAuthorization extends a grant with both the addresses of the grantee and granter.\nIt is used in genesis.proto and query.proto", + "properties": { + "authorization": { + "$ref": "#/definitions/google.protobuf.Any" + }, + "expiration": { + "type": "string", + "format": "date-time" + }, + "grantee": { + "type": "string" + }, + "granter": { + "type": "string" + } + } + }, + "cosmos.authz.v1beta1.MsgExec": { + "description": "MsgExec attempts to execute the provided messages using\nauthorizations granted to the grantee. Each message should have only\none signer corresponding to the granter of the authorization.", + "type": "object", + "properties": { + "grantee": { + "type": "string" + }, + "msgs": { + "description": "Execute Msg.\nThe x/authz will try to find a grant matching (msg.signers[0], grantee, MsgTypeURL(msg))\ntriple and validate it.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/google.protobuf.Any" + } + } + } + }, + "cosmos.authz.v1beta1.MsgExecResponse": { + "description": "MsgExecResponse defines the Msg/MsgExecResponse response type.", + "type": "object", + "properties": { + "results": { + "type": "array", + "items": { + "type": "string", + "format": "byte" + } + } + } + }, + "cosmos.authz.v1beta1.MsgGrant": { + "description": "MsgGrant is a request type for Grant method. It declares authorization to the grantee\non behalf of the granter with the provided expiration time.", + "type": "object", + "properties": { + "grant": { + "$ref": "#/definitions/cosmos.authz.v1beta1.Grant" + }, + "grantee": { + "type": "string" + }, + "granter": { + "type": "string" + } + } + }, + "cosmos.authz.v1beta1.MsgGrantResponse": { + "description": "MsgGrantResponse defines the Msg/MsgGrant response type.", + "type": "object" + }, + "cosmos.authz.v1beta1.MsgRevoke": { + "description": "MsgRevoke revokes any authorization with the provided sdk.Msg type on the\ngranter's account with that has been granted to the grantee.", + "type": "object", + "properties": { + "grantee": { + "type": "string" + }, + "granter": { + "type": "string" + }, + "msg_type_url": { + "type": "string" + } + } + }, + "cosmos.authz.v1beta1.MsgRevokeResponse": { + "description": "MsgRevokeResponse defines the Msg/MsgRevokeResponse response type.", + "type": "object" + }, + "cosmos.authz.v1beta1.QueryGranteeGrantsResponse": { + "description": "QueryGranteeGrantsResponse is the response type for the Query/GranteeGrants RPC method.", + "type": "object", + "properties": { + "grants": { + "description": "grants is a list of grants granted to the grantee.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.authz.v1beta1.GrantAuthorization" + } + }, + "pagination": { + "description": "pagination defines an pagination for the response.", + "$ref": "#/definitions/cosmos.base.query.v1beta1.PageResponse" + } + } + }, + "cosmos.authz.v1beta1.QueryGranterGrantsResponse": { + "description": "QueryGranterGrantsResponse is the response type for the Query/GranterGrants RPC method.", + "type": "object", + "properties": { + "grants": { + "description": "grants is a list of grants granted by the granter.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.authz.v1beta1.GrantAuthorization" + } + }, + "pagination": { + "description": "pagination defines an pagination for the response.", + "$ref": "#/definitions/cosmos.base.query.v1beta1.PageResponse" + } + } + }, + "cosmos.authz.v1beta1.QueryGrantsResponse": { + "description": "QueryGrantsResponse is the response type for the Query/Authorizations RPC method.", + "type": "object", + "properties": { + "grants": { + "description": "authorizations is a list of grants granted for grantee by granter.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.authz.v1beta1.Grant" + } + }, + "pagination": { + "description": "pagination defines an pagination for the response.", + "$ref": "#/definitions/cosmos.base.query.v1beta1.PageResponse" + } + } + }, + "cosmos.autocli.v1.AppOptionsRequest": { + "description": "AppOptionsRequest is the RemoteInfoService/AppOptions request type.", + "type": "object" + }, + "cosmos.autocli.v1.AppOptionsResponse": { + "description": "AppOptionsResponse is the RemoteInfoService/AppOptions response type.", + "type": "object", + "properties": { + "module_options": { + "description": "module_options is a map of module name to autocli module options.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/cosmos.autocli.v1.ModuleOptions" + } + } + } + }, + "cosmos.autocli.v1.FlagOptions": { + "description": "FlagOptions are options for flags generated from rpc request fields.\nBy default, all request fields are configured as flags based on the\nkebab-case name of the field. Fields can be turned into positional arguments\ninstead by using RpcCommandOptions.positional_args.", + "type": "object", + "properties": { + "default_value": { + "description": "default_value is the default value as text.", + "type": "string" + }, + "deprecated": { + "description": "deprecated is the usage text to show if this flag is deprecated.", + "type": "string" + }, + "hidden": { + "type": "boolean", + "title": "hidden hides the flag from help/usage text" + }, + "name": { + "description": "name is an alternate name to use for the field flag.", + "type": "string" + }, + "shorthand": { + "description": "shorthand is a one-letter abbreviated flag.", + "type": "string" + }, + "shorthand_deprecated": { + "description": "shorthand_deprecated is the usage text to show if the shorthand of this flag is deprecated.", + "type": "string" + }, + "usage": { + "description": "usage is the help message.", + "type": "string" + } + } + }, + "cosmos.autocli.v1.ModuleOptions": { + "description": "ModuleOptions describes the CLI options for a Cosmos SDK module.", + "type": "object", + "properties": { + "query": { + "description": "query describes the queries commands for the module.", + "$ref": "#/definitions/cosmos.autocli.v1.ServiceCommandDescriptor" + }, + "tx": { + "description": "tx describes the tx commands for the module.", + "$ref": "#/definitions/cosmos.autocli.v1.ServiceCommandDescriptor" + } + } + }, + "cosmos.autocli.v1.PositionalArgDescriptor": { + "description": "PositionalArgDescriptor describes a positional argument.", + "type": "object", + "properties": { + "proto_field": { + "description": "proto_field specifies the proto field to use as the positional arg. Any\nfields used as positional args will not have a flag generated.", + "type": "string" + }, + "varargs": { + "description": "varargs makes a positional parameter a varargs parameter. This can only be\napplied to last positional parameter and the proto_field must a repeated\nfield.", + "type": "boolean" + } + } + }, + "cosmos.autocli.v1.RpcCommandOptions": { + "description": "RpcCommandOptions specifies options for commands generated from protobuf\nrpc methods.", + "type": "object", + "properties": { + "alias": { + "description": "alias is an array of aliases that can be used instead of the first word in Use.", + "type": "array", + "items": { + "type": "string" + } + }, + "deprecated": { + "description": "deprecated defines, if this command is deprecated and should print this string when used.", + "type": "string" + }, + "example": { + "description": "example is examples of how to use the command.", + "type": "string" + }, + "flag_options": { + "description": "flag_options are options for flags generated from rpc request fields.\nBy default all request fields are configured as flags. They can\nalso be configured as positional args instead using positional_args.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/cosmos.autocli.v1.FlagOptions" + } + }, + "long": { + "description": "long is the long message shown in the 'help ' output.", + "type": "string" + }, + "positional_args": { + "description": "positional_args specifies positional arguments for the command.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.autocli.v1.PositionalArgDescriptor" + } + }, + "rpc_method": { + "description": "rpc_method is short name of the protobuf rpc method that this command is\ngenerated from.", + "type": "string" + }, + "short": { + "description": "short is the short description shown in the 'help' output.", + "type": "string" + }, + "skip": { + "description": "skip specifies whether to skip this rpc method when generating commands.", + "type": "boolean" + }, + "suggest_for": { + "description": "suggest_for is an array of command names for which this command will be suggested -\nsimilar to aliases but only suggests.", + "type": "array", + "items": { + "type": "string" + } + }, + "use": { + "description": "use is the one-line usage method. It also allows specifying an alternate\nname for the command as the first word of the usage text.\n\nBy default the name of an rpc command is the kebab-case short name of the\nrpc method.", + "type": "string" + }, + "version": { + "description": "version defines the version for this command. If this value is non-empty and the command does not\ndefine a \"version\" flag, a \"version\" boolean flag will be added to the command and, if specified,\nwill print content of the \"Version\" variable. A shorthand \"v\" flag will also be added if the\ncommand does not define one.", + "type": "string" + } + } + }, + "cosmos.autocli.v1.ServiceCommandDescriptor": { + "description": "ServiceCommandDescriptor describes a CLI command based on a protobuf service.", + "type": "object", + "properties": { + "rpc_command_options": { + "description": "rpc_command_options are options for commands generated from rpc methods.\nIf no options are specified for a given rpc method on the service, a\ncommand will be generated for that method with the default options.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.autocli.v1.RpcCommandOptions" + } + }, + "service": { + "description": "service is the fully qualified name of the protobuf service to build\nthe command from. It can be left empty if sub_commands are used instead\nwhich may be the case if a module provides multiple tx and/or query services.", + "type": "string" + }, + "sub_commands": { + "description": "sub_commands is a map of optional sub-commands for this command based on\ndifferent protobuf services. The map key is used as the name of the\nsub-command.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/cosmos.autocli.v1.ServiceCommandDescriptor" + } + } + } + }, + "cosmos.bank.v1beta1.DenomOwner": { + "description": "DenomOwner defines structure representing an account that owns or holds a\nparticular denominated token. It contains the account address and account\nbalance of the denominated token.\n\nSince: cosmos-sdk 0.46", + "type": "object", + "properties": { + "address": { + "description": "address defines the address that owns a particular denomination.", + "type": "string" + }, + "balance": { + "description": "balance is the balance of the denominated coin for an account.", + "$ref": "#/definitions/cosmos.base.v1beta1.Coin" + } + } + }, + "cosmos.bank.v1beta1.DenomUnit": { + "description": "DenomUnit represents a struct that describes a given\ndenomination unit of the basic token.", + "type": "object", + "properties": { + "aliases": { + "type": "array", + "title": "aliases is a list of string aliases for the given denom", + "items": { + "type": "string" + } + }, + "denom": { + "description": "denom represents the string name of the given denom unit (e.g uatom).", + "type": "string" + }, + "exponent": { + "description": "exponent represents power of 10 exponent that one must\nraise the base_denom to in order to equal the given DenomUnit's denom\n1 denom = 10^exponent base_denom\n(e.g. with a base_denom of uatom, one can create a DenomUnit of 'atom' with\nexponent = 6, thus: 1 atom = 10^6 uatom).", + "type": "integer", + "format": "int64" + } + } + }, + "cosmos.bank.v1beta1.Input": { + "description": "Input models transaction input.", + "type": "object", + "properties": { + "address": { + "type": "string" + }, + "coins": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.base.v1beta1.Coin" + } + } + } + }, + "cosmos.bank.v1beta1.Metadata": { + "description": "Metadata represents a struct that describes\na basic token.", + "type": "object", + "properties": { + "base": { + "description": "base represents the base denom (should be the DenomUnit with exponent = 0).", + "type": "string" + }, + "denom_units": { + "type": "array", + "title": "denom_units represents the list of DenomUnit's for a given coin", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.bank.v1beta1.DenomUnit" + } + }, + "description": { + "type": "string" + }, + "display": { + "description": "display indicates the suggested denom that should be\ndisplayed in clients.", + "type": "string" + }, + "name": { + "description": "Since: cosmos-sdk 0.43", + "type": "string", + "title": "name defines the name of the token (eg: Cosmos Atom)" + }, + "symbol": { + "description": "symbol is the token symbol usually shown on exchanges (eg: ATOM). This can\nbe the same as the display.\n\nSince: cosmos-sdk 0.43", + "type": "string" + }, + "uri": { + "description": "URI to a document (on or off-chain) that contains additional information. Optional.\n\nSince: cosmos-sdk 0.46", + "type": "string" + }, + "uri_hash": { + "description": "URIHash is a sha256 hash of a document pointed by URI. It's used to verify that\nthe document didn't change. Optional.\n\nSince: cosmos-sdk 0.46", + "type": "string" + } + } + }, + "cosmos.bank.v1beta1.MsgMultiSend": { + "description": "MsgMultiSend represents an arbitrary multi-in, multi-out send message.", + "type": "object", + "properties": { + "inputs": { + "description": "Inputs, despite being `repeated`, only allows one sender input. This is\nchecked in MsgMultiSend's ValidateBasic.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.bank.v1beta1.Input" + } + }, + "outputs": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.bank.v1beta1.Output" + } + } + } + }, + "cosmos.bank.v1beta1.MsgMultiSendResponse": { + "description": "MsgMultiSendResponse defines the Msg/MultiSend response type.", + "type": "object" + }, + "cosmos.bank.v1beta1.MsgSend": { + "description": "MsgSend represents a message to send coins from one account to another.", + "type": "object", + "properties": { + "amount": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.base.v1beta1.Coin" + } + }, + "from_address": { + "type": "string" + }, + "to_address": { + "type": "string" + } + } + }, + "cosmos.bank.v1beta1.MsgSendResponse": { + "description": "MsgSendResponse defines the Msg/Send response type.", + "type": "object" + }, + "cosmos.bank.v1beta1.MsgSetSendEnabled": { + "description": "MsgSetSendEnabled is the Msg/SetSendEnabled request type.\n\nOnly entries to add/update/delete need to be included.\nExisting SendEnabled entries that are not included in this\nmessage are left unchanged.\n\nSince: cosmos-sdk 0.47", + "type": "object", + "properties": { + "authority": { + "description": "authority is the address that controls the module.", + "type": "string" + }, + "send_enabled": { + "description": "send_enabled is the list of entries to add or update.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.bank.v1beta1.SendEnabled" + } + }, + "use_default_for": { + "description": "use_default_for is a list of denoms that should use the params.default_send_enabled value.\nDenoms listed here will have their SendEnabled entries deleted.\nIf a denom is included that doesn't have a SendEnabled entry,\nit will be ignored.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "cosmos.bank.v1beta1.MsgSetSendEnabledResponse": { + "description": "MsgSetSendEnabledResponse defines the Msg/SetSendEnabled response type.\n\nSince: cosmos-sdk 0.47", + "type": "object" + }, + "cosmos.bank.v1beta1.MsgUpdateParams": { + "description": "MsgUpdateParams is the Msg/UpdateParams request type.\n\nSince: cosmos-sdk 0.47", + "type": "object", + "properties": { + "authority": { + "description": "authority is the address that controls the module (defaults to x/gov unless overwritten).", + "type": "string" + }, + "params": { + "description": "params defines the x/bank parameters to update.\n\nNOTE: All parameters must be supplied.", + "$ref": "#/definitions/cosmos.bank.v1beta1.Params" + } + } + }, + "cosmos.bank.v1beta1.MsgUpdateParamsResponse": { + "description": "MsgUpdateParamsResponse defines the response structure for executing a\nMsgUpdateParams message.\n\nSince: cosmos-sdk 0.47", + "type": "object" + }, + "cosmos.bank.v1beta1.Output": { + "description": "Output models transaction outputs.", + "type": "object", + "properties": { + "address": { + "type": "string" + }, + "coins": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.base.v1beta1.Coin" + } + } + } + }, + "cosmos.bank.v1beta1.Params": { + "description": "Params defines the parameters for the bank module.", + "type": "object", + "properties": { + "default_send_enabled": { + "type": "boolean" + }, + "send_enabled": { + "description": "Deprecated: Use of SendEnabled in params is deprecated.\nFor genesis, use the newly added send_enabled field in the genesis object.\nStorage, lookup, and manipulation of this information is now in the keeper.\n\nAs of cosmos-sdk 0.47, this only exists for backwards compatibility of genesis files.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.bank.v1beta1.SendEnabled" + } + } + } + }, + "cosmos.bank.v1beta1.QueryAllBalancesResponse": { + "description": "QueryAllBalancesResponse is the response type for the Query/AllBalances RPC\nmethod.", + "type": "object", + "properties": { + "balances": { + "description": "balances is the balances of all the coins.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.base.v1beta1.Coin" + } + }, + "pagination": { + "description": "pagination defines the pagination in the response.", + "$ref": "#/definitions/cosmos.base.query.v1beta1.PageResponse" + } + } + }, + "cosmos.bank.v1beta1.QueryBalanceResponse": { + "description": "QueryBalanceResponse is the response type for the Query/Balance RPC method.", + "type": "object", + "properties": { + "balance": { + "description": "balance is the balance of the coin.", + "$ref": "#/definitions/cosmos.base.v1beta1.Coin" + } + } + }, + "cosmos.bank.v1beta1.QueryDenomMetadataByQueryStringResponse": { + "description": "QueryDenomMetadataByQueryStringResponse is the response type for the Query/DenomMetadata RPC\nmethod. Identical with QueryDenomMetadataResponse but receives denom as query string in request.", + "type": "object", + "properties": { + "metadata": { + "description": "metadata describes and provides all the client information for the requested token.", + "$ref": "#/definitions/cosmos.bank.v1beta1.Metadata" + } + } + }, + "cosmos.bank.v1beta1.QueryDenomMetadataResponse": { + "description": "QueryDenomMetadataResponse is the response type for the Query/DenomMetadata RPC\nmethod.", + "type": "object", + "properties": { + "metadata": { + "description": "metadata describes and provides all the client information for the requested token.", + "$ref": "#/definitions/cosmos.bank.v1beta1.Metadata" + } + } + }, + "cosmos.bank.v1beta1.QueryDenomOwnersByQueryResponse": { + "description": "QueryDenomOwnersByQueryResponse defines the RPC response of a DenomOwnersByQuery RPC query.\n\nSince: cosmos-sdk 0.50.3", + "type": "object", + "properties": { + "denom_owners": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.bank.v1beta1.DenomOwner" + } + }, + "pagination": { + "description": "pagination defines the pagination in the response.", + "$ref": "#/definitions/cosmos.base.query.v1beta1.PageResponse" + } + } + }, + "cosmos.bank.v1beta1.QueryDenomOwnersResponse": { + "description": "QueryDenomOwnersResponse defines the RPC response of a DenomOwners RPC query.\n\nSince: cosmos-sdk 0.46", + "type": "object", + "properties": { + "denom_owners": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.bank.v1beta1.DenomOwner" + } + }, + "pagination": { + "description": "pagination defines the pagination in the response.", + "$ref": "#/definitions/cosmos.base.query.v1beta1.PageResponse" + } + } + }, + "cosmos.bank.v1beta1.QueryDenomsMetadataResponse": { + "description": "QueryDenomsMetadataResponse is the response type for the Query/DenomsMetadata RPC\nmethod.", + "type": "object", + "properties": { + "metadatas": { + "description": "metadata provides the client information for all the registered tokens.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.bank.v1beta1.Metadata" + } + }, + "pagination": { + "description": "pagination defines the pagination in the response.", + "$ref": "#/definitions/cosmos.base.query.v1beta1.PageResponse" + } + } + }, + "cosmos.bank.v1beta1.QueryParamsResponse": { + "description": "QueryParamsResponse defines the response type for querying x/bank parameters.", + "type": "object", + "properties": { + "params": { + "description": "params provides the parameters of the bank module.", + "$ref": "#/definitions/cosmos.bank.v1beta1.Params" + } + } + }, + "cosmos.bank.v1beta1.QuerySendEnabledResponse": { + "description": "QuerySendEnabledResponse defines the RPC response of a SendEnable query.\n\nSince: cosmos-sdk 0.47", + "type": "object", + "properties": { + "pagination": { + "description": "pagination defines the pagination in the response. This field is only\npopulated if the denoms field in the request is empty.", + "$ref": "#/definitions/cosmos.base.query.v1beta1.PageResponse" + }, + "send_enabled": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.bank.v1beta1.SendEnabled" + } + } + } + }, + "cosmos.bank.v1beta1.QuerySpendableBalanceByDenomResponse": { + "description": "QuerySpendableBalanceByDenomResponse defines the gRPC response structure for\nquerying an account's spendable balance for a specific denom.\n\nSince: cosmos-sdk 0.47", + "type": "object", + "properties": { + "balance": { + "description": "balance is the balance of the coin.", + "$ref": "#/definitions/cosmos.base.v1beta1.Coin" + } + } + }, + "cosmos.bank.v1beta1.QuerySpendableBalancesResponse": { + "description": "QuerySpendableBalancesResponse defines the gRPC response structure for querying\nan account's spendable balances.\n\nSince: cosmos-sdk 0.46", + "type": "object", + "properties": { + "balances": { + "description": "balances is the spendable balances of all the coins.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.base.v1beta1.Coin" + } + }, + "pagination": { + "description": "pagination defines the pagination in the response.", + "$ref": "#/definitions/cosmos.base.query.v1beta1.PageResponse" + } + } + }, + "cosmos.bank.v1beta1.QuerySupplyOfResponse": { + "description": "QuerySupplyOfResponse is the response type for the Query/SupplyOf RPC method.", + "type": "object", + "properties": { + "amount": { + "description": "amount is the supply of the coin.", + "$ref": "#/definitions/cosmos.base.v1beta1.Coin" + } + } + }, + "cosmos.bank.v1beta1.QueryTotalSupplyResponse": { + "type": "object", + "title": "QueryTotalSupplyResponse is the response type for the Query/TotalSupply RPC\nmethod", + "properties": { + "pagination": { + "description": "pagination defines the pagination in the response.\n\nSince: cosmos-sdk 0.43", + "$ref": "#/definitions/cosmos.base.query.v1beta1.PageResponse" + }, + "supply": { + "type": "array", + "title": "supply is the supply of the coins", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.base.v1beta1.Coin" + } + } + } + }, + "cosmos.bank.v1beta1.SendEnabled": { + "description": "SendEnabled maps coin denom to a send_enabled status (whether a denom is\nsendable).", + "type": "object", + "properties": { + "denom": { + "type": "string" + }, + "enabled": { + "type": "boolean" + } + } + }, + "cosmos.base.abci.v1beta1.ABCIMessageLog": { + "description": "ABCIMessageLog defines a structure containing an indexed tx ABCI message log.", + "type": "object", + "properties": { + "events": { + "description": "Events contains a slice of Event objects that were emitted during some\nexecution.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.base.abci.v1beta1.StringEvent" + } + }, + "log": { + "type": "string" + }, + "msg_index": { + "type": "integer", + "format": "int64" + } + } + }, + "cosmos.base.abci.v1beta1.Attribute": { + "description": "Attribute defines an attribute wrapper where the key and value are\nstrings instead of raw bytes.", + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + } + }, + "cosmos.base.abci.v1beta1.GasInfo": { + "description": "GasInfo defines tx execution gas context.", + "type": "object", + "properties": { + "gas_used": { + "description": "GasUsed is the amount of gas actually consumed.", + "type": "string", + "format": "uint64" + }, + "gas_wanted": { + "description": "GasWanted is the maximum units of work we allow this tx to perform.", + "type": "string", + "format": "uint64" + } + } + }, + "cosmos.base.abci.v1beta1.Result": { + "description": "Result is the union of ResponseFormat and ResponseCheckTx.", + "type": "object", + "properties": { + "data": { + "description": "Data is any data returned from message or handler execution. It MUST be\nlength prefixed in order to separate data from multiple message executions.\nDeprecated. This field is still populated, but prefer msg_response instead\nbecause it also contains the Msg response typeURL.", + "type": "string", + "format": "byte" + }, + "events": { + "description": "Events contains a slice of Event objects that were emitted during message\nor handler execution.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/tendermint.abci.Event" + } + }, + "log": { + "description": "Log contains the log information from message or handler execution.", + "type": "string" + }, + "msg_responses": { + "description": "msg_responses contains the Msg handler responses type packed in Anys.\n\nSince: cosmos-sdk 0.46", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/google.protobuf.Any" + } + } + } + }, + "cosmos.base.abci.v1beta1.StringEvent": { + "description": "StringEvent defines en Event object wrapper where all the attributes\ncontain key/value pairs that are strings instead of raw bytes.", + "type": "object", + "properties": { + "attributes": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.base.abci.v1beta1.Attribute" + } + }, + "type": { + "type": "string" + } + } + }, + "cosmos.base.abci.v1beta1.TxResponse": { + "description": "TxResponse defines a structure containing relevant tx data and metadata. The\ntags are stringified and the log is JSON decoded.", + "type": "object", + "properties": { + "code": { + "description": "Response code.", + "type": "integer", + "format": "int64" + }, + "codespace": { + "type": "string", + "title": "Namespace for the Code" + }, + "data": { + "description": "Result bytes, if any.", + "type": "string" + }, + "events": { + "description": "Events defines all the events emitted by processing a transaction. Note,\nthese events include those emitted by processing all the messages and those\nemitted from the ante. Whereas Logs contains the events, with\nadditional metadata, emitted only by processing the messages.\n\nSince: cosmos-sdk 0.42.11, 0.44.5, 0.45", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/tendermint.abci.Event" + } + }, + "gas_used": { + "description": "Amount of gas consumed by transaction.", + "type": "string", + "format": "int64" + }, + "gas_wanted": { + "description": "Amount of gas requested for transaction.", + "type": "string", + "format": "int64" + }, + "height": { + "type": "string", + "format": "int64", + "title": "The block height" + }, + "info": { + "description": "Additional information. May be non-deterministic.", + "type": "string" + }, + "logs": { + "description": "The output of the application's logger (typed). May be non-deterministic.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.base.abci.v1beta1.ABCIMessageLog" + } + }, + "raw_log": { + "description": "The output of the application's logger (raw string). May be\nnon-deterministic.", + "type": "string" + }, + "timestamp": { + "description": "Time of the previous block. For heights > 1, it's the weighted median of\nthe timestamps of the valid votes in the block.LastCommit. For height == 1,\nit's genesis time.", + "type": "string" + }, + "tx": { + "description": "The request transaction bytes.", + "$ref": "#/definitions/google.protobuf.Any" + }, + "txhash": { + "description": "The transaction hash.", + "type": "string" + } + } + }, + "cosmos.base.node.v1beta1.ConfigResponse": { + "description": "ConfigResponse defines the response structure for the Config gRPC query.", + "type": "object", + "properties": { + "halt_height": { + "type": "string", + "format": "uint64" + }, + "minimum_gas_price": { + "type": "string" + }, + "pruning_interval": { + "type": "string" + }, + "pruning_keep_recent": { + "type": "string" + } + } + }, + "cosmos.base.node.v1beta1.StatusResponse": { + "description": "StateResponse defines the response structure for the status of a node.", + "type": "object", + "properties": { + "app_hash": { + "type": "string", + "format": "byte", + "title": "app hash of the current block" + }, + "earliest_store_height": { + "type": "string", + "format": "uint64", + "title": "earliest block height available in the store" + }, + "height": { + "type": "string", + "format": "uint64", + "title": "current block height" + }, + "timestamp": { + "type": "string", + "format": "date-time", + "title": "block height timestamp" + }, + "validator_hash": { + "type": "string", + "format": "byte", + "title": "validator hash provided by the consensus header" + } + } + }, + "cosmos.base.query.v1beta1.PageRequest": { + "description": "message SomeRequest {\n Foo some_parameter = 1;\n PageRequest pagination = 2;\n }", + "type": "object", + "title": "PageRequest is to be embedded in gRPC request messages for efficient\npagination. Ex:", + "properties": { + "count_total": { + "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", + "type": "boolean" + }, + "key": { + "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", + "type": "string", + "format": "byte" + }, + "limit": { + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", + "type": "string", + "format": "uint64" + }, + "offset": { + "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", + "type": "string", + "format": "uint64" + }, + "reverse": { + "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", + "type": "boolean" + } + } + }, + "cosmos.base.query.v1beta1.PageResponse": { + "description": "PageResponse is to be embedded in gRPC response messages where the\ncorresponding request message has used PageRequest.\n\n message SomeResponse {\n repeated Bar results = 1;\n PageResponse page = 2;\n }", + "type": "object", + "properties": { + "next_key": { + "description": "next_key is the key to be passed to PageRequest.key to\nquery the next page most efficiently. It will be empty if\nthere are no more results.", + "type": "string", + "format": "byte" + }, + "total": { + "type": "string", + "format": "uint64", + "title": "total is total number of results available if PageRequest.count_total\nwas set, its value is undefined otherwise" + } + } + }, + "cosmos.base.reflection.v1beta1.ListAllInterfacesResponse": { + "description": "ListAllInterfacesResponse is the response type of the ListAllInterfaces RPC.", + "type": "object", + "properties": { + "interface_names": { + "description": "interface_names is an array of all the registered interfaces.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "cosmos.base.reflection.v1beta1.ListImplementationsResponse": { + "description": "ListImplementationsResponse is the response type of the ListImplementations\nRPC.", + "type": "object", + "properties": { + "implementation_message_names": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "cosmos.base.reflection.v2alpha1.AuthnDescriptor": { + "type": "object", + "title": "AuthnDescriptor provides information on how to sign transactions without relying\non the online RPCs GetTxMetadata and CombineUnsignedTxAndSignatures", + "properties": { + "sign_modes": { + "type": "array", + "title": "sign_modes defines the supported signature algorithm", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.base.reflection.v2alpha1.SigningModeDescriptor" + } + } + } + }, + "cosmos.base.reflection.v2alpha1.ChainDescriptor": { + "type": "object", + "title": "ChainDescriptor describes chain information of the application", + "properties": { + "id": { + "type": "string", + "title": "id is the chain id" + } + } + }, + "cosmos.base.reflection.v2alpha1.CodecDescriptor": { + "type": "object", + "title": "CodecDescriptor describes the registered interfaces and provides metadata information on the types", + "properties": { + "interfaces": { + "type": "array", + "title": "interfaces is a list of the registerted interfaces descriptors", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.base.reflection.v2alpha1.InterfaceDescriptor" + } + } + } + }, + "cosmos.base.reflection.v2alpha1.ConfigurationDescriptor": { + "type": "object", + "title": "ConfigurationDescriptor contains metadata information on the sdk.Config", + "properties": { + "bech32_account_address_prefix": { + "type": "string", + "title": "bech32_account_address_prefix is the account address prefix" + } + } + }, + "cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse": { + "type": "object", + "title": "GetAuthnDescriptorResponse is the response returned by the GetAuthnDescriptor RPC", + "properties": { + "authn": { + "title": "authn describes how to authenticate to the application when sending transactions", + "$ref": "#/definitions/cosmos.base.reflection.v2alpha1.AuthnDescriptor" + } + } + }, + "cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse": { + "type": "object", + "title": "GetChainDescriptorResponse is the response returned by the GetChainDescriptor RPC", + "properties": { + "chain": { + "title": "chain describes application chain information", + "$ref": "#/definitions/cosmos.base.reflection.v2alpha1.ChainDescriptor" + } + } + }, + "cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse": { + "type": "object", + "title": "GetCodecDescriptorResponse is the response returned by the GetCodecDescriptor RPC", + "properties": { + "codec": { + "title": "codec describes the application codec such as registered interfaces and implementations", + "$ref": "#/definitions/cosmos.base.reflection.v2alpha1.CodecDescriptor" + } + } + }, + "cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorResponse": { + "type": "object", + "title": "GetConfigurationDescriptorResponse is the response returned by the GetConfigurationDescriptor RPC", + "properties": { + "config": { + "title": "config describes the application's sdk.Config", + "$ref": "#/definitions/cosmos.base.reflection.v2alpha1.ConfigurationDescriptor" + } + } + }, + "cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorResponse": { + "type": "object", + "title": "GetQueryServicesDescriptorResponse is the response returned by the GetQueryServicesDescriptor RPC", + "properties": { + "queries": { + "title": "queries provides information on the available queryable services", + "$ref": "#/definitions/cosmos.base.reflection.v2alpha1.QueryServicesDescriptor" + } + } + }, + "cosmos.base.reflection.v2alpha1.GetTxDescriptorResponse": { + "type": "object", + "title": "GetTxDescriptorResponse is the response returned by the GetTxDescriptor RPC", + "properties": { + "tx": { + "title": "tx provides information on msgs that can be forwarded to the application\nalongside the accepted transaction protobuf type", + "$ref": "#/definitions/cosmos.base.reflection.v2alpha1.TxDescriptor" + } + } + }, + "cosmos.base.reflection.v2alpha1.InterfaceAcceptingMessageDescriptor": { + "type": "object", + "title": "InterfaceAcceptingMessageDescriptor describes a protobuf message which contains\nan interface represented as a google.protobuf.Any", + "properties": { + "field_descriptor_names": { + "type": "array", + "title": "field_descriptor_names is a list of the protobuf name (not fullname) of the field\nwhich contains the interface as google.protobuf.Any (the interface is the same, but\nit can be in multiple fields of the same proto message)", + "items": { + "type": "string" + } + }, + "fullname": { + "type": "string", + "title": "fullname is the protobuf fullname of the type containing the interface" + } + } + }, + "cosmos.base.reflection.v2alpha1.InterfaceDescriptor": { + "type": "object", + "title": "InterfaceDescriptor describes the implementation of an interface", + "properties": { + "fullname": { + "type": "string", + "title": "fullname is the name of the interface" + }, + "interface_accepting_messages": { + "type": "array", + "title": "interface_accepting_messages contains information regarding the proto messages which contain the interface as\ngoogle.protobuf.Any field", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.base.reflection.v2alpha1.InterfaceAcceptingMessageDescriptor" + } + }, + "interface_implementers": { + "type": "array", + "title": "interface_implementers is a list of the descriptors of the interface implementers", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.base.reflection.v2alpha1.InterfaceImplementerDescriptor" + } + } + } + }, + "cosmos.base.reflection.v2alpha1.InterfaceImplementerDescriptor": { + "type": "object", + "title": "InterfaceImplementerDescriptor describes an interface implementer", + "properties": { + "fullname": { + "type": "string", + "title": "fullname is the protobuf queryable name of the interface implementer" + }, + "type_url": { + "type": "string", + "title": "type_url defines the type URL used when marshalling the type as any\nthis is required so we can provide type safe google.protobuf.Any marshalling and\nunmarshalling, making sure that we don't accept just 'any' type\nin our interface fields" + } + } + }, + "cosmos.base.reflection.v2alpha1.MsgDescriptor": { + "type": "object", + "title": "MsgDescriptor describes a cosmos-sdk message that can be delivered with a transaction", + "properties": { + "msg_type_url": { + "description": "msg_type_url contains the TypeURL of a sdk.Msg.", + "type": "string" + } + } + }, + "cosmos.base.reflection.v2alpha1.QueryMethodDescriptor": { + "type": "object", + "title": "QueryMethodDescriptor describes a queryable method of a query service\nno other info is provided beside method name and tendermint queryable path\nbecause it would be redundant with the grpc reflection service", + "properties": { + "full_query_path": { + "type": "string", + "title": "full_query_path is the path that can be used to query\nthis method via tendermint abci.Query" + }, + "name": { + "type": "string", + "title": "name is the protobuf name (not fullname) of the method" + } + } + }, + "cosmos.base.reflection.v2alpha1.QueryServiceDescriptor": { + "type": "object", + "title": "QueryServiceDescriptor describes a cosmos-sdk queryable service", + "properties": { + "fullname": { + "type": "string", + "title": "fullname is the protobuf fullname of the service descriptor" + }, + "is_module": { + "type": "boolean", + "title": "is_module describes if this service is actually exposed by an application's module" + }, + "methods": { + "type": "array", + "title": "methods provides a list of query service methods", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.base.reflection.v2alpha1.QueryMethodDescriptor" + } + } + } + }, + "cosmos.base.reflection.v2alpha1.QueryServicesDescriptor": { + "type": "object", + "title": "QueryServicesDescriptor contains the list of cosmos-sdk queriable services", + "properties": { + "query_services": { + "type": "array", + "title": "query_services is a list of cosmos-sdk QueryServiceDescriptor", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.base.reflection.v2alpha1.QueryServiceDescriptor" + } + } + } + }, + "cosmos.base.reflection.v2alpha1.SigningModeDescriptor": { + "type": "object", + "title": "SigningModeDescriptor provides information on a signing flow of the application\nNOTE(fdymylja): here we could go as far as providing an entire flow on how\nto sign a message given a SigningModeDescriptor, but it's better to think about\nthis another time", + "properties": { + "authn_info_provider_method_fullname": { + "type": "string", + "title": "authn_info_provider_method_fullname defines the fullname of the method to call to get\nthe metadata required to authenticate using the provided sign_modes" + }, + "name": { + "type": "string", + "title": "name defines the unique name of the signing mode" + }, + "number": { + "type": "integer", + "format": "int32", + "title": "number is the unique int32 identifier for the sign_mode enum" + } + } + }, + "cosmos.base.reflection.v2alpha1.TxDescriptor": { + "type": "object", + "title": "TxDescriptor describes the accepted transaction type", + "properties": { + "fullname": { + "description": "fullname is the protobuf fullname of the raw transaction type (for instance the tx.Tx type)\nit is not meant to support polymorphism of transaction types, it is supposed to be used by\nreflection clients to understand if they can handle a specific transaction type in an application.", + "type": "string" + }, + "msgs": { + "type": "array", + "title": "msgs lists the accepted application messages (sdk.Msg)", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.base.reflection.v2alpha1.MsgDescriptor" + } + } + } + }, + "cosmos.base.tendermint.v1beta1.ABCIQueryResponse": { + "description": "ABCIQueryResponse defines the response structure for the ABCIQuery gRPC query.\n\nNote: This type is a duplicate of the ResponseQuery proto type defined in\nTendermint.", + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "codespace": { + "type": "string" + }, + "height": { + "type": "string", + "format": "int64" + }, + "index": { + "type": "string", + "format": "int64" + }, + "info": { + "type": "string", + "title": "nondeterministic" + }, + "key": { + "type": "string", + "format": "byte" + }, + "log": { + "type": "string", + "title": "nondeterministic" + }, + "proof_ops": { + "$ref": "#/definitions/cosmos.base.tendermint.v1beta1.ProofOps" + }, + "value": { + "type": "string", + "format": "byte" + } + } + }, + "cosmos.base.tendermint.v1beta1.Block": { + "description": "Block is tendermint type Block, with the Header proposer address\nfield converted to bech32 string.", + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/tendermint.types.Data" + }, + "evidence": { + "$ref": "#/definitions/tendermint.types.EvidenceList" + }, + "header": { + "$ref": "#/definitions/cosmos.base.tendermint.v1beta1.Header" + }, + "last_commit": { + "$ref": "#/definitions/tendermint.types.Commit" + } + } + }, + "cosmos.base.tendermint.v1beta1.GetBlockByHeightResponse": { + "description": "GetBlockByHeightResponse is the response type for the Query/GetBlockByHeight RPC method.", + "type": "object", + "properties": { + "block": { + "title": "Deprecated: please use `sdk_block` instead", + "$ref": "#/definitions/tendermint.types.Block" + }, + "block_id": { + "$ref": "#/definitions/tendermint.types.BlockID" + }, + "sdk_block": { + "title": "Since: cosmos-sdk 0.47", + "$ref": "#/definitions/cosmos.base.tendermint.v1beta1.Block" + } + } + }, + "cosmos.base.tendermint.v1beta1.GetLatestBlockResponse": { + "description": "GetLatestBlockResponse is the response type for the Query/GetLatestBlock RPC method.", + "type": "object", + "properties": { + "block": { + "title": "Deprecated: please use `sdk_block` instead", + "$ref": "#/definitions/tendermint.types.Block" + }, + "block_id": { + "$ref": "#/definitions/tendermint.types.BlockID" + }, + "sdk_block": { + "title": "Since: cosmos-sdk 0.47", + "$ref": "#/definitions/cosmos.base.tendermint.v1beta1.Block" + } + } + }, + "cosmos.base.tendermint.v1beta1.GetLatestValidatorSetResponse": { + "description": "GetLatestValidatorSetResponse is the response type for the Query/GetValidatorSetByHeight RPC method.", + "type": "object", + "properties": { + "block_height": { + "type": "string", + "format": "int64" + }, + "pagination": { + "description": "pagination defines an pagination for the response.", + "$ref": "#/definitions/cosmos.base.query.v1beta1.PageResponse" + }, + "validators": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.base.tendermint.v1beta1.Validator" + } + } + } + }, + "cosmos.base.tendermint.v1beta1.GetNodeInfoResponse": { + "description": "GetNodeInfoResponse is the response type for the Query/GetNodeInfo RPC method.", + "type": "object", + "properties": { + "application_version": { + "$ref": "#/definitions/cosmos.base.tendermint.v1beta1.VersionInfo" + }, + "default_node_info": { + "$ref": "#/definitions/tendermint.p2p.DefaultNodeInfo" + } + } + }, + "cosmos.base.tendermint.v1beta1.GetSyncingResponse": { + "description": "GetSyncingResponse is the response type for the Query/GetSyncing RPC method.", + "type": "object", + "properties": { + "syncing": { + "type": "boolean" + } + } + }, + "cosmos.base.tendermint.v1beta1.GetValidatorSetByHeightResponse": { + "description": "GetValidatorSetByHeightResponse is the response type for the Query/GetValidatorSetByHeight RPC method.", + "type": "object", + "properties": { + "block_height": { + "type": "string", + "format": "int64" + }, + "pagination": { + "description": "pagination defines an pagination for the response.", + "$ref": "#/definitions/cosmos.base.query.v1beta1.PageResponse" + }, + "validators": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.base.tendermint.v1beta1.Validator" + } + } + } + }, + "cosmos.base.tendermint.v1beta1.Header": { + "description": "Header defines the structure of a Tendermint block header.", + "type": "object", + "properties": { + "app_hash": { + "type": "string", + "format": "byte", + "title": "state after txs from the previous block" + }, + "chain_id": { + "type": "string" + }, + "consensus_hash": { + "type": "string", + "format": "byte", + "title": "consensus params for current block" + }, + "data_hash": { + "type": "string", + "format": "byte", + "title": "transactions" + }, + "evidence_hash": { + "description": "evidence included in the block", + "type": "string", + "format": "byte", + "title": "consensus info" + }, + "height": { + "type": "string", + "format": "int64" + }, + "last_block_id": { + "title": "prev block info", + "$ref": "#/definitions/tendermint.types.BlockID" + }, + "last_commit_hash": { + "description": "commit from validators from the last block", + "type": "string", + "format": "byte", + "title": "hashes of block data" + }, + "last_results_hash": { + "type": "string", + "format": "byte", + "title": "root hash of all results from the txs from the previous block" + }, + "next_validators_hash": { + "type": "string", + "format": "byte", + "title": "validators for the next block" + }, + "proposer_address": { + "description": "proposer_address is the original block proposer address, formatted as a Bech32 string.\nIn Tendermint, this type is `bytes`, but in the SDK, we convert it to a Bech32 string\nfor better UX.\n\noriginal proposer of the block", + "type": "string" + }, + "time": { + "type": "string", + "format": "date-time" + }, + "validators_hash": { + "description": "validators for the current block", + "type": "string", + "format": "byte", + "title": "hashes from the app output from the prev block" + }, + "version": { + "title": "basic block info", + "$ref": "#/definitions/tendermint.version.Consensus" + } + } + }, + "cosmos.base.tendermint.v1beta1.Module": { + "type": "object", + "title": "Module is the type for VersionInfo", + "properties": { + "path": { + "type": "string", + "title": "module path" + }, + "sum": { + "type": "string", + "title": "checksum" + }, + "version": { + "type": "string", + "title": "module version" + } + } + }, + "cosmos.base.tendermint.v1beta1.ProofOp": { + "description": "ProofOp defines an operation used for calculating Merkle root. The data could\nbe arbitrary format, providing necessary data for example neighbouring node\nhash.\n\nNote: This type is a duplicate of the ProofOp proto type defined in Tendermint.", + "type": "object", + "properties": { + "data": { + "type": "string", + "format": "byte" + }, + "key": { + "type": "string", + "format": "byte" + }, + "type": { + "type": "string" + } + } + }, + "cosmos.base.tendermint.v1beta1.ProofOps": { + "description": "ProofOps is Merkle proof defined by the list of ProofOps.\n\nNote: This type is a duplicate of the ProofOps proto type defined in Tendermint.", + "type": "object", + "properties": { + "ops": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.base.tendermint.v1beta1.ProofOp" + } + } + } + }, + "cosmos.base.tendermint.v1beta1.Validator": { + "description": "Validator is the type for the validator-set.", + "type": "object", + "properties": { + "address": { + "type": "string" + }, + "proposer_priority": { + "type": "string", + "format": "int64" + }, + "pub_key": { + "$ref": "#/definitions/google.protobuf.Any" + }, + "voting_power": { + "type": "string", + "format": "int64" + } + } + }, + "cosmos.base.tendermint.v1beta1.VersionInfo": { + "description": "VersionInfo is the type for the GetNodeInfoResponse message.", + "type": "object", + "properties": { + "app_name": { + "type": "string" + }, + "build_deps": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.base.tendermint.v1beta1.Module" + } + }, + "build_tags": { + "type": "string" + }, + "cosmos_sdk_version": { + "type": "string", + "title": "Since: cosmos-sdk 0.43" + }, + "git_commit": { + "type": "string" + }, + "go_version": { + "type": "string" + }, + "name": { + "type": "string" + }, + "version": { + "type": "string" + } + } + }, + "cosmos.base.v1beta1.Coin": { + "description": "Coin defines a token with a denomination and an amount.\n\nNOTE: The amount field is an Int which implements the custom method\nsignatures required by gogoproto.", + "type": "object", + "properties": { + "amount": { + "type": "string" + }, + "denom": { + "type": "string" + } + } + }, + "cosmos.base.v1beta1.DecCoin": { + "description": "DecCoin defines a token with a denomination and a decimal amount.\n\nNOTE: The amount field is an Dec which implements the custom method\nsignatures required by gogoproto.", + "type": "object", + "properties": { + "amount": { + "type": "string" + }, + "denom": { + "type": "string" + } + } + }, + "cosmos.circuit.v1.AccountResponse": { + "description": "AccountResponse is the response type for the Query/Account RPC method.", + "type": "object", + "properties": { + "permission": { + "$ref": "#/definitions/cosmos.circuit.v1.Permissions" + } + } + }, + "cosmos.circuit.v1.AccountsResponse": { + "description": "AccountsResponse is the response type for the Query/Accounts RPC method.", + "type": "object", + "properties": { + "accounts": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.circuit.v1.GenesisAccountPermissions" + } + }, + "pagination": { + "description": "pagination defines the pagination in the response.", + "$ref": "#/definitions/cosmos.base.query.v1beta1.PageResponse" + } + } + }, + "cosmos.circuit.v1.DisabledListResponse": { + "description": "DisabledListResponse is the response type for the Query/DisabledList RPC method.", + "type": "object", + "properties": { + "disabled_list": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "cosmos.circuit.v1.GenesisAccountPermissions": { + "type": "object", + "title": "GenesisAccountPermissions is the account permissions for the circuit breaker in genesis", + "properties": { + "address": { + "type": "string" + }, + "permissions": { + "$ref": "#/definitions/cosmos.circuit.v1.Permissions" + } + } + }, + "cosmos.circuit.v1.MsgAuthorizeCircuitBreaker": { + "description": "MsgAuthorizeCircuitBreaker defines the Msg/AuthorizeCircuitBreaker request type.", + "type": "object", + "properties": { + "grantee": { + "description": "grantee is the account authorized with the provided permissions.", + "type": "string" + }, + "granter": { + "description": "granter is the granter of the circuit breaker permissions and must have\nLEVEL_SUPER_ADMIN.", + "type": "string" + }, + "permissions": { + "description": "permissions are the circuit breaker permissions that the grantee receives.\nThese will overwrite any existing permissions. LEVEL_NONE_UNSPECIFIED can\nbe specified to revoke all permissions.", + "$ref": "#/definitions/cosmos.circuit.v1.Permissions" + } + } + }, + "cosmos.circuit.v1.MsgAuthorizeCircuitBreakerResponse": { + "description": "MsgAuthorizeCircuitBreakerResponse defines the Msg/AuthorizeCircuitBreaker response type.", + "type": "object", + "properties": { + "success": { + "type": "boolean" + } + } + }, + "cosmos.circuit.v1.MsgResetCircuitBreaker": { + "description": "MsgResetCircuitBreaker defines the Msg/ResetCircuitBreaker request type.", + "type": "object", + "properties": { + "authority": { + "description": "authority is the account authorized to trip or reset the circuit breaker.", + "type": "string" + }, + "msg_type_urls": { + "description": "msg_type_urls specifies a list of Msg type URLs to resume processing. If\nit is left empty all Msg processing for type URLs that the account is\nauthorized to trip will resume.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "cosmos.circuit.v1.MsgResetCircuitBreakerResponse": { + "description": "MsgResetCircuitBreakerResponse defines the Msg/ResetCircuitBreaker response type.", + "type": "object", + "properties": { + "success": { + "type": "boolean" + } + } + }, + "cosmos.circuit.v1.MsgTripCircuitBreaker": { + "description": "MsgTripCircuitBreaker defines the Msg/TripCircuitBreaker request type.", + "type": "object", + "properties": { + "authority": { + "description": "authority is the account authorized to trip the circuit breaker.", + "type": "string" + }, + "msg_type_urls": { + "description": "msg_type_urls specifies a list of type URLs to immediately stop processing.\nIF IT IS LEFT EMPTY, ALL MSG PROCESSING WILL STOP IMMEDIATELY.\nThis value is validated against the authority's permissions and if the\nauthority does not have permissions to trip the specified msg type URLs\n(or all URLs), the operation will fail.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "cosmos.circuit.v1.MsgTripCircuitBreakerResponse": { + "description": "MsgTripCircuitBreakerResponse defines the Msg/TripCircuitBreaker response type.", + "type": "object", + "properties": { + "success": { + "type": "boolean" + } + } + }, + "cosmos.circuit.v1.Permissions": { + "description": "Permissions are the permissions that an account has to trip\nor reset the circuit breaker.", + "type": "object", + "properties": { + "level": { + "description": "level is the level of permissions granted to this account.", + "$ref": "#/definitions/cosmos.circuit.v1.Permissions.Level" + }, + "limit_type_urls": { + "description": "limit_type_urls is used with LEVEL_SOME_MSGS to limit the lists of Msg type\nURLs that the account can trip. It is an error to use limit_type_urls with\na level other than LEVEL_SOME_MSGS.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "cosmos.circuit.v1.Permissions.Level": { + "description": "Level is the permission level.\n\n - LEVEL_NONE_UNSPECIFIED: LEVEL_NONE_UNSPECIFIED indicates that the account will have no circuit\nbreaker permissions.\n - LEVEL_SOME_MSGS: LEVEL_SOME_MSGS indicates that the account will have permission to\ntrip or reset the circuit breaker for some Msg type URLs. If this level\nis chosen, a non-empty list of Msg type URLs must be provided in\nlimit_type_urls.\n - LEVEL_ALL_MSGS: LEVEL_ALL_MSGS indicates that the account can trip or reset the circuit\nbreaker for Msg's of all type URLs.\n - LEVEL_SUPER_ADMIN: LEVEL_SUPER_ADMIN indicates that the account can take all circuit breaker\nactions and can grant permissions to other accounts.", + "type": "string", + "default": "LEVEL_NONE_UNSPECIFIED", + "enum": [ + "LEVEL_NONE_UNSPECIFIED", + "LEVEL_SOME_MSGS", + "LEVEL_ALL_MSGS", + "LEVEL_SUPER_ADMIN" + ] + }, + "cosmos.consensus.v1.MsgUpdateParams": { + "description": "MsgUpdateParams is the Msg/UpdateParams request type.", + "type": "object", + "properties": { + "abci": { + "title": "Since: cosmos-sdk 0.50", + "$ref": "#/definitions/tendermint.types.ABCIParams" + }, + "authority": { + "description": "authority is the address that controls the module (defaults to x/gov unless overwritten).", + "type": "string" + }, + "block": { + "description": "params defines the x/consensus parameters to update.\nVersionsParams is not included in this Msg because it is tracked\nsepararately in x/upgrade.\n\nNOTE: All parameters must be supplied.", + "$ref": "#/definitions/tendermint.types.BlockParams" + }, + "evidence": { + "$ref": "#/definitions/tendermint.types.EvidenceParams" + }, + "validator": { + "$ref": "#/definitions/tendermint.types.ValidatorParams" + } + } + }, + "cosmos.consensus.v1.MsgUpdateParamsResponse": { + "description": "MsgUpdateParamsResponse defines the response structure for executing a\nMsgUpdateParams message.", + "type": "object" + }, + "cosmos.consensus.v1.QueryParamsResponse": { + "description": "QueryParamsResponse defines the response type for querying x/consensus parameters.", + "type": "object", + "properties": { + "params": { + "description": "params are the tendermint consensus params stored in the consensus module.\nPlease note that `params.version` is not populated in this response, it is\ntracked separately in the x/upgrade module.", + "$ref": "#/definitions/tendermint.types.ConsensusParams" + } + } + }, + "cosmos.crisis.v1beta1.MsgUpdateParams": { + "description": "MsgUpdateParams is the Msg/UpdateParams request type.\n\nSince: cosmos-sdk 0.47", + "type": "object", + "properties": { + "authority": { + "description": "authority is the address that controls the module (defaults to x/gov unless overwritten).", + "type": "string" + }, + "constant_fee": { + "description": "constant_fee defines the x/crisis parameter.", + "$ref": "#/definitions/cosmos.base.v1beta1.Coin" + } + } + }, + "cosmos.crisis.v1beta1.MsgUpdateParamsResponse": { + "description": "MsgUpdateParamsResponse defines the response structure for executing a\nMsgUpdateParams message.\n\nSince: cosmos-sdk 0.47", + "type": "object" + }, + "cosmos.crisis.v1beta1.MsgVerifyInvariant": { + "description": "MsgVerifyInvariant represents a message to verify a particular invariance.", + "type": "object", + "properties": { + "invariant_module_name": { + "description": "name of the invariant module.", + "type": "string" + }, + "invariant_route": { + "description": "invariant_route is the msg's invariant route.", + "type": "string" + }, + "sender": { + "description": "sender is the account address of private key to send coins to fee collector account.", + "type": "string" + } + } + }, + "cosmos.crisis.v1beta1.MsgVerifyInvariantResponse": { + "description": "MsgVerifyInvariantResponse defines the Msg/VerifyInvariant response type.", + "type": "object" + }, + "cosmos.crypto.multisig.v1beta1.CompactBitArray": { + "description": "CompactBitArray is an implementation of a space efficient bit array.\nThis is used to ensure that the encoded data takes up a minimal amount of\nspace after proto encoding.\nThis is not thread safe, and is not intended for concurrent usage.", + "type": "object", + "properties": { + "elems": { + "type": "string", + "format": "byte" + }, + "extra_bits_stored": { + "type": "integer", + "format": "int64" + } + } + }, + "cosmos.distribution.v1beta1.DelegationDelegatorReward": { + "description": "DelegationDelegatorReward represents the properties\nof a delegator's delegation reward.", + "type": "object", + "properties": { + "reward": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.base.v1beta1.DecCoin" + } + }, + "validator_address": { + "type": "string" + } + } + }, + "cosmos.distribution.v1beta1.MsgCommunityPoolSpend": { + "description": "MsgCommunityPoolSpend defines a message for sending tokens from the community\npool to another account. This message is typically executed via a governance\nproposal with the governance module being the executing authority.\n\nSince: cosmos-sdk 0.47", + "type": "object", + "properties": { + "amount": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.base.v1beta1.Coin" + } + }, + "authority": { + "description": "authority is the address that controls the module (defaults to x/gov unless overwritten).", + "type": "string" + }, + "recipient": { + "type": "string" + } + } + }, + "cosmos.distribution.v1beta1.MsgCommunityPoolSpendResponse": { + "description": "MsgCommunityPoolSpendResponse defines the response to executing a\nMsgCommunityPoolSpend message.\n\nSince: cosmos-sdk 0.47", + "type": "object" + }, + "cosmos.distribution.v1beta1.MsgDepositValidatorRewardsPool": { + "description": "DepositValidatorRewardsPool defines the request structure to provide\nadditional rewards to delegators from a specific validator.\n\nSince: cosmos-sdk 0.50", + "type": "object", + "properties": { + "amount": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.base.v1beta1.Coin" + } + }, + "depositor": { + "type": "string" + }, + "validator_address": { + "type": "string" + } + } + }, + "cosmos.distribution.v1beta1.MsgDepositValidatorRewardsPoolResponse": { + "description": "MsgDepositValidatorRewardsPoolResponse defines the response to executing a\nMsgDepositValidatorRewardsPool message.\n\nSince: cosmos-sdk 0.50", + "type": "object" + }, + "cosmos.distribution.v1beta1.MsgFundCommunityPool": { + "description": "MsgFundCommunityPool allows an account to directly\nfund the community pool.", + "type": "object", + "properties": { + "amount": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.base.v1beta1.Coin" + } + }, + "depositor": { + "type": "string" + } + } + }, + "cosmos.distribution.v1beta1.MsgFundCommunityPoolResponse": { + "description": "MsgFundCommunityPoolResponse defines the Msg/FundCommunityPool response type.", + "type": "object" + }, + "cosmos.distribution.v1beta1.MsgSetWithdrawAddress": { + "description": "MsgSetWithdrawAddress sets the withdraw address for\na delegator (or validator self-delegation).", + "type": "object", + "properties": { + "delegator_address": { + "type": "string" + }, + "withdraw_address": { + "type": "string" + } + } + }, + "cosmos.distribution.v1beta1.MsgSetWithdrawAddressResponse": { + "description": "MsgSetWithdrawAddressResponse defines the Msg/SetWithdrawAddress response\ntype.", + "type": "object" + }, + "cosmos.distribution.v1beta1.MsgUpdateParams": { + "description": "MsgUpdateParams is the Msg/UpdateParams request type.\n\nSince: cosmos-sdk 0.47", + "type": "object", + "properties": { + "authority": { + "description": "authority is the address that controls the module (defaults to x/gov unless overwritten).", + "type": "string" + }, + "params": { + "description": "params defines the x/distribution parameters to update.\n\nNOTE: All parameters must be supplied.", + "$ref": "#/definitions/cosmos.distribution.v1beta1.Params" + } + } + }, + "cosmos.distribution.v1beta1.MsgUpdateParamsResponse": { + "description": "MsgUpdateParamsResponse defines the response structure for executing a\nMsgUpdateParams message.\n\nSince: cosmos-sdk 0.47", + "type": "object" + }, + "cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward": { + "description": "MsgWithdrawDelegatorReward represents delegation withdrawal to a delegator\nfrom a single validator.", + "type": "object", + "properties": { + "delegator_address": { + "type": "string" + }, + "validator_address": { + "type": "string" + } + } + }, + "cosmos.distribution.v1beta1.MsgWithdrawDelegatorRewardResponse": { + "description": "MsgWithdrawDelegatorRewardResponse defines the Msg/WithdrawDelegatorReward\nresponse type.", + "type": "object", + "properties": { + "amount": { + "type": "array", + "title": "Since: cosmos-sdk 0.46", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.base.v1beta1.Coin" + } + } + } + }, + "cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission": { + "description": "MsgWithdrawValidatorCommission withdraws the full commission to the validator\naddress.", + "type": "object", + "properties": { + "validator_address": { + "type": "string" + } + } + }, + "cosmos.distribution.v1beta1.MsgWithdrawValidatorCommissionResponse": { + "description": "MsgWithdrawValidatorCommissionResponse defines the\nMsg/WithdrawValidatorCommission response type.", + "type": "object", + "properties": { + "amount": { + "type": "array", + "title": "Since: cosmos-sdk 0.46", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.base.v1beta1.Coin" + } + } + } + }, + "cosmos.distribution.v1beta1.Params": { + "description": "Params defines the set of params for the distribution module.", + "type": "object", + "properties": { + "base_proposer_reward": { + "description": "Deprecated: The base_proposer_reward field is deprecated and is no longer used\nin the x/distribution module's reward mechanism.", + "type": "string" + }, + "bonus_proposer_reward": { + "description": "Deprecated: The bonus_proposer_reward field is deprecated and is no longer used\nin the x/distribution module's reward mechanism.", + "type": "string" + }, + "community_tax": { + "type": "string" + }, + "withdraw_addr_enabled": { + "type": "boolean" + } + } + }, + "cosmos.distribution.v1beta1.QueryCommunityPoolResponse": { + "description": "QueryCommunityPoolResponse is the response type for the Query/CommunityPool\nRPC method.", + "type": "object", + "properties": { + "pool": { + "description": "pool defines community pool's coins.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.base.v1beta1.DecCoin" + } + } + } + }, + "cosmos.distribution.v1beta1.QueryDelegationRewardsResponse": { + "description": "QueryDelegationRewardsResponse is the response type for the\nQuery/DelegationRewards RPC method.", + "type": "object", + "properties": { + "rewards": { + "description": "rewards defines the rewards accrued by a delegation.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.base.v1beta1.DecCoin" + } + } + } + }, + "cosmos.distribution.v1beta1.QueryDelegationTotalRewardsResponse": { + "description": "QueryDelegationTotalRewardsResponse is the response type for the\nQuery/DelegationTotalRewards RPC method.", + "type": "object", + "properties": { + "rewards": { + "description": "rewards defines all the rewards accrued by a delegator.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.distribution.v1beta1.DelegationDelegatorReward" + } + }, + "total": { + "description": "total defines the sum of all the rewards.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.base.v1beta1.DecCoin" + } + } + } + }, + "cosmos.distribution.v1beta1.QueryDelegatorValidatorsResponse": { + "description": "QueryDelegatorValidatorsResponse is the response type for the\nQuery/DelegatorValidators RPC method.", + "type": "object", + "properties": { + "validators": { + "description": "validators defines the validators a delegator is delegating for.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "cosmos.distribution.v1beta1.QueryDelegatorWithdrawAddressResponse": { + "description": "QueryDelegatorWithdrawAddressResponse is the response type for the\nQuery/DelegatorWithdrawAddress RPC method.", + "type": "object", + "properties": { + "withdraw_address": { + "description": "withdraw_address defines the delegator address to query for.", + "type": "string" + } + } + }, + "cosmos.distribution.v1beta1.QueryParamsResponse": { + "description": "QueryParamsResponse is the response type for the Query/Params RPC method.", + "type": "object", + "properties": { + "params": { + "description": "params defines the parameters of the module.", + "$ref": "#/definitions/cosmos.distribution.v1beta1.Params" + } + } + }, + "cosmos.distribution.v1beta1.QueryValidatorCommissionResponse": { + "type": "object", + "title": "QueryValidatorCommissionResponse is the response type for the\nQuery/ValidatorCommission RPC method", + "properties": { + "commission": { + "description": "commission defines the commission the validator received.", + "$ref": "#/definitions/cosmos.distribution.v1beta1.ValidatorAccumulatedCommission" + } + } + }, + "cosmos.distribution.v1beta1.QueryValidatorDistributionInfoResponse": { + "description": "QueryValidatorDistributionInfoResponse is the response type for the Query/ValidatorDistributionInfo RPC method.", + "type": "object", + "properties": { + "commission": { + "description": "commission defines the commission the validator received.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.base.v1beta1.DecCoin" + } + }, + "operator_address": { + "description": "operator_address defines the validator operator address.", + "type": "string" + }, + "self_bond_rewards": { + "description": "self_bond_rewards defines the self delegations rewards.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.base.v1beta1.DecCoin" + } + } + } + }, + "cosmos.distribution.v1beta1.QueryValidatorOutstandingRewardsResponse": { + "description": "QueryValidatorOutstandingRewardsResponse is the response type for the\nQuery/ValidatorOutstandingRewards RPC method.", + "type": "object", + "properties": { + "rewards": { + "$ref": "#/definitions/cosmos.distribution.v1beta1.ValidatorOutstandingRewards" + } + } + }, + "cosmos.distribution.v1beta1.QueryValidatorSlashesResponse": { + "description": "QueryValidatorSlashesResponse is the response type for the\nQuery/ValidatorSlashes RPC method.", + "type": "object", + "properties": { + "pagination": { + "description": "pagination defines the pagination in the response.", + "$ref": "#/definitions/cosmos.base.query.v1beta1.PageResponse" + }, + "slashes": { + "description": "slashes defines the slashes the validator received.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.distribution.v1beta1.ValidatorSlashEvent" + } + } + } + }, + "cosmos.distribution.v1beta1.ValidatorAccumulatedCommission": { + "description": "ValidatorAccumulatedCommission represents accumulated commission\nfor a validator kept as a running counter, can be withdrawn at any time.", + "type": "object", + "properties": { + "commission": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.base.v1beta1.DecCoin" + } + } + } + }, + "cosmos.distribution.v1beta1.ValidatorOutstandingRewards": { + "description": "ValidatorOutstandingRewards represents outstanding (un-withdrawn) rewards\nfor a validator inexpensive to track, allows simple sanity checks.", + "type": "object", + "properties": { + "rewards": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.base.v1beta1.DecCoin" + } + } + } + }, + "cosmos.distribution.v1beta1.ValidatorSlashEvent": { + "description": "ValidatorSlashEvent represents a validator slash event.\nHeight is implicit within the store key.\nThis is needed to calculate appropriate amount of staking tokens\nfor delegations which are withdrawn after a slash has occurred.", + "type": "object", + "properties": { + "fraction": { + "type": "string" + }, + "validator_period": { + "type": "string", + "format": "uint64" + } + } + }, + "cosmos.evidence.v1beta1.MsgSubmitEvidence": { + "description": "MsgSubmitEvidence represents a message that supports submitting arbitrary\nEvidence of misbehavior such as equivocation or counterfactual signing.", + "type": "object", + "properties": { + "evidence": { + "description": "evidence defines the evidence of misbehavior.", + "$ref": "#/definitions/google.protobuf.Any" + }, + "submitter": { + "description": "submitter is the signer account address of evidence.", + "type": "string" + } + } + }, + "cosmos.evidence.v1beta1.MsgSubmitEvidenceResponse": { + "description": "MsgSubmitEvidenceResponse defines the Msg/SubmitEvidence response type.", + "type": "object", + "properties": { + "hash": { + "description": "hash defines the hash of the evidence.", + "type": "string", + "format": "byte" + } + } + }, + "cosmos.evidence.v1beta1.QueryAllEvidenceResponse": { + "description": "QueryAllEvidenceResponse is the response type for the Query/AllEvidence RPC\nmethod.", + "type": "object", + "properties": { + "evidence": { + "description": "evidence returns all evidences.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/google.protobuf.Any" + } + }, + "pagination": { + "description": "pagination defines the pagination in the response.", + "$ref": "#/definitions/cosmos.base.query.v1beta1.PageResponse" + } + } + }, + "cosmos.evidence.v1beta1.QueryEvidenceResponse": { + "description": "QueryEvidenceResponse is the response type for the Query/Evidence RPC method.", + "type": "object", + "properties": { + "evidence": { + "description": "evidence returns the requested evidence.", + "$ref": "#/definitions/google.protobuf.Any" + } + } + }, + "cosmos.feegrant.v1beta1.Grant": { + "type": "object", + "title": "Grant is stored in the KVStore to record a grant with full context", + "properties": { + "allowance": { + "description": "allowance can be any of basic, periodic, allowed fee allowance.", + "$ref": "#/definitions/google.protobuf.Any" + }, + "grantee": { + "description": "grantee is the address of the user being granted an allowance of another user's funds.", + "type": "string" + }, + "granter": { + "description": "granter is the address of the user granting an allowance of their funds.", + "type": "string" + } + } + }, + "cosmos.feegrant.v1beta1.MsgGrantAllowance": { + "description": "MsgGrantAllowance adds permission for Grantee to spend up to Allowance\nof fees from the account of Granter.", + "type": "object", + "properties": { + "allowance": { + "description": "allowance can be any of basic, periodic, allowed fee allowance.", + "$ref": "#/definitions/google.protobuf.Any" + }, + "grantee": { + "description": "grantee is the address of the user being granted an allowance of another user's funds.", + "type": "string" + }, + "granter": { + "description": "granter is the address of the user granting an allowance of their funds.", + "type": "string" + } + } + }, + "cosmos.feegrant.v1beta1.MsgGrantAllowanceResponse": { + "description": "MsgGrantAllowanceResponse defines the Msg/GrantAllowanceResponse response type.", + "type": "object" + }, + "cosmos.feegrant.v1beta1.MsgPruneAllowances": { + "description": "MsgPruneAllowances prunes expired fee allowances.\n\nSince cosmos-sdk 0.50", + "type": "object", + "properties": { + "pruner": { + "description": "pruner is the address of the user pruning expired allowances.", + "type": "string" + } + } + }, + "cosmos.feegrant.v1beta1.MsgPruneAllowancesResponse": { + "description": "MsgPruneAllowancesResponse defines the Msg/PruneAllowancesResponse response type.\n\nSince cosmos-sdk 0.50", + "type": "object" + }, + "cosmos.feegrant.v1beta1.MsgRevokeAllowance": { + "description": "MsgRevokeAllowance removes any existing Allowance from Granter to Grantee.", + "type": "object", + "properties": { + "grantee": { + "description": "grantee is the address of the user being granted an allowance of another user's funds.", + "type": "string" + }, + "granter": { + "description": "granter is the address of the user granting an allowance of their funds.", + "type": "string" + } + } + }, + "cosmos.feegrant.v1beta1.MsgRevokeAllowanceResponse": { + "description": "MsgRevokeAllowanceResponse defines the Msg/RevokeAllowanceResponse response type.", + "type": "object" + }, + "cosmos.feegrant.v1beta1.QueryAllowanceResponse": { + "description": "QueryAllowanceResponse is the response type for the Query/Allowance RPC method.", + "type": "object", + "properties": { + "allowance": { + "description": "allowance is a allowance granted for grantee by granter.", + "$ref": "#/definitions/cosmos.feegrant.v1beta1.Grant" + } + } + }, + "cosmos.feegrant.v1beta1.QueryAllowancesByGranterResponse": { + "description": "QueryAllowancesByGranterResponse is the response type for the Query/AllowancesByGranter RPC method.\n\nSince: cosmos-sdk 0.46", + "type": "object", + "properties": { + "allowances": { + "description": "allowances that have been issued by the granter.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.feegrant.v1beta1.Grant" + } + }, + "pagination": { + "description": "pagination defines an pagination for the response.", + "$ref": "#/definitions/cosmos.base.query.v1beta1.PageResponse" + } + } + }, + "cosmos.feegrant.v1beta1.QueryAllowancesResponse": { + "description": "QueryAllowancesResponse is the response type for the Query/Allowances RPC method.", + "type": "object", + "properties": { + "allowances": { + "description": "allowances are allowance's granted for grantee by granter.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.feegrant.v1beta1.Grant" + } + }, + "pagination": { + "description": "pagination defines an pagination for the response.", + "$ref": "#/definitions/cosmos.base.query.v1beta1.PageResponse" + } + } + }, + "cosmos.gov.v1.Deposit": { + "description": "Deposit defines an amount deposited by an account address to an active\nproposal.", + "type": "object", + "properties": { + "amount": { + "description": "amount to be deposited by depositor.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.base.v1beta1.Coin" + } + }, + "depositor": { + "description": "depositor defines the deposit addresses from the proposals.", + "type": "string" + }, + "proposal_id": { + "description": "proposal_id defines the unique id of the proposal.", + "type": "string", + "format": "uint64" + } + } + }, + "cosmos.gov.v1.DepositParams": { + "description": "DepositParams defines the params for deposits on governance proposals.", + "type": "object", + "properties": { + "max_deposit_period": { + "description": "Maximum period for Atom holders to deposit on a proposal. Initial value: 2\nmonths.", + "type": "string" + }, + "min_deposit": { + "description": "Minimum deposit for a proposal to enter voting period.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.base.v1beta1.Coin" + } + } + } + }, + "cosmos.gov.v1.MsgCancelProposal": { + "description": "MsgCancelProposal is the Msg/CancelProposal request type.\n\nSince: cosmos-sdk 0.50", + "type": "object", + "properties": { + "proposal_id": { + "description": "proposal_id defines the unique id of the proposal.", + "type": "string", + "format": "uint64" + }, + "proposer": { + "description": "proposer is the account address of the proposer.", + "type": "string" + } + } + }, + "cosmos.gov.v1.MsgCancelProposalResponse": { + "description": "MsgCancelProposalResponse defines the response structure for executing a\nMsgCancelProposal message.\n\nSince: cosmos-sdk 0.50", + "type": "object", + "properties": { + "canceled_height": { + "description": "canceled_height defines the block height at which the proposal is canceled.", + "type": "string", + "format": "uint64" + }, + "canceled_time": { + "description": "canceled_time is the time when proposal is canceled.", + "type": "string", + "format": "date-time" + }, + "proposal_id": { + "description": "proposal_id defines the unique id of the proposal.", + "type": "string", + "format": "uint64" + } + } + }, + "cosmos.gov.v1.MsgDeposit": { + "description": "MsgDeposit defines a message to submit a deposit to an existing proposal.", + "type": "object", + "properties": { + "amount": { + "description": "amount to be deposited by depositor.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.base.v1beta1.Coin" + } + }, + "depositor": { + "description": "depositor defines the deposit addresses from the proposals.", + "type": "string" + }, + "proposal_id": { + "description": "proposal_id defines the unique id of the proposal.", + "type": "string", + "format": "uint64" + } + } + }, + "cosmos.gov.v1.MsgDepositResponse": { + "description": "MsgDepositResponse defines the Msg/Deposit response type.", + "type": "object" + }, + "cosmos.gov.v1.MsgExecLegacyContent": { + "description": "MsgExecLegacyContent is used to wrap the legacy content field into a message.\nThis ensures backwards compatibility with v1beta1.MsgSubmitProposal.", + "type": "object", + "properties": { + "authority": { + "description": "authority must be the gov module address.", + "type": "string" + }, + "content": { + "description": "content is the proposal's content.", + "$ref": "#/definitions/google.protobuf.Any" + } + } + }, + "cosmos.gov.v1.MsgExecLegacyContentResponse": { + "description": "MsgExecLegacyContentResponse defines the Msg/ExecLegacyContent response type.", + "type": "object" + }, + "cosmos.gov.v1.MsgSubmitProposal": { + "description": "MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary\nproposal Content.", + "type": "object", + "properties": { + "expedited": { + "description": "Since: cosmos-sdk 0.50", + "type": "boolean", + "title": "expedited defines if the proposal is expedited or not" + }, + "initial_deposit": { + "description": "initial_deposit is the deposit value that must be paid at proposal submission.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.base.v1beta1.Coin" + } + }, + "messages": { + "description": "messages are the arbitrary messages to be executed if proposal passes.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/google.protobuf.Any" + } + }, + "metadata": { + "description": "metadata is any arbitrary metadata attached to the proposal.", + "type": "string" + }, + "proposer": { + "description": "proposer is the account address of the proposer.", + "type": "string" + }, + "summary": { + "description": "Since: cosmos-sdk 0.47", + "type": "string", + "title": "summary is the summary of the proposal" + }, + "title": { + "description": "title is the title of the proposal.\n\nSince: cosmos-sdk 0.47", + "type": "string" + } + } + }, + "cosmos.gov.v1.MsgSubmitProposalResponse": { + "description": "MsgSubmitProposalResponse defines the Msg/SubmitProposal response type.", + "type": "object", + "properties": { + "proposal_id": { + "description": "proposal_id defines the unique id of the proposal.", + "type": "string", + "format": "uint64" + } + } + }, + "cosmos.gov.v1.MsgUpdateParams": { + "description": "MsgUpdateParams is the Msg/UpdateParams request type.\n\nSince: cosmos-sdk 0.47", + "type": "object", + "properties": { + "authority": { + "description": "authority is the address that controls the module (defaults to x/gov unless overwritten).", + "type": "string" + }, + "params": { + "description": "params defines the x/gov parameters to update.\n\nNOTE: All parameters must be supplied.", + "$ref": "#/definitions/cosmos.gov.v1.Params" + } + } + }, + "cosmos.gov.v1.MsgUpdateParamsResponse": { + "description": "MsgUpdateParamsResponse defines the response structure for executing a\nMsgUpdateParams message.\n\nSince: cosmos-sdk 0.47", + "type": "object" + }, + "cosmos.gov.v1.MsgVote": { + "description": "MsgVote defines a message to cast a vote.", + "type": "object", + "properties": { + "metadata": { + "description": "metadata is any arbitrary metadata attached to the Vote.", + "type": "string" + }, + "option": { + "description": "option defines the vote option.", + "$ref": "#/definitions/cosmos.gov.v1.VoteOption" + }, + "proposal_id": { + "description": "proposal_id defines the unique id of the proposal.", + "type": "string", + "format": "uint64" + }, + "voter": { + "description": "voter is the voter address for the proposal.", + "type": "string" + } + } + }, + "cosmos.gov.v1.MsgVoteResponse": { + "description": "MsgVoteResponse defines the Msg/Vote response type.", + "type": "object" + }, + "cosmos.gov.v1.MsgVoteWeighted": { + "description": "MsgVoteWeighted defines a message to cast a vote.", + "type": "object", + "properties": { + "metadata": { + "description": "metadata is any arbitrary metadata attached to the VoteWeighted.", + "type": "string" + }, + "options": { + "description": "options defines the weighted vote options.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.gov.v1.WeightedVoteOption" + } + }, + "proposal_id": { + "description": "proposal_id defines the unique id of the proposal.", + "type": "string", + "format": "uint64" + }, + "voter": { + "description": "voter is the voter address for the proposal.", + "type": "string" + } + } + }, + "cosmos.gov.v1.MsgVoteWeightedResponse": { + "description": "MsgVoteWeightedResponse defines the Msg/VoteWeighted response type.", + "type": "object" + }, + "cosmos.gov.v1.Params": { + "description": "Params defines the parameters for the x/gov module.\n\nSince: cosmos-sdk 0.47", + "type": "object", + "properties": { + "burn_proposal_deposit_prevote": { + "type": "boolean", + "title": "burn deposits if the proposal does not enter voting period" + }, + "burn_vote_quorum": { + "type": "boolean", + "title": "burn deposits if a proposal does not meet quorum" + }, + "burn_vote_veto": { + "type": "boolean", + "title": "burn deposits if quorum with vote type no_veto is met" + }, + "expedited_min_deposit": { + "description": "Minimum expedited deposit for a proposal to enter voting period.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.base.v1beta1.Coin" + } + }, + "expedited_threshold": { + "description": "Minimum proportion of Yes votes for proposal to pass. Default value: 0.67.\n\nSince: cosmos-sdk 0.50", + "type": "string" + }, + "expedited_voting_period": { + "description": "Duration of the voting period of an expedited proposal.\n\nSince: cosmos-sdk 0.50", + "type": "string" + }, + "max_deposit_period": { + "description": "Maximum period for Atom holders to deposit on a proposal. Initial value: 2\nmonths.", + "type": "string" + }, + "min_deposit": { + "description": "Minimum deposit for a proposal to enter voting period.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.base.v1beta1.Coin" + } + }, + "min_deposit_ratio": { + "description": "The ratio representing the proportion of the deposit value minimum that must be met when making a deposit.\nDefault value: 0.01. Meaning that for a chain with a min_deposit of 100stake, a deposit of 1stake would be\nrequired.\n\nSince: cosmos-sdk 0.50", + "type": "string" + }, + "min_initial_deposit_ratio": { + "description": "The ratio representing the proportion of the deposit value that must be paid at proposal submission.", + "type": "string" + }, + "proposal_cancel_dest": { + "description": "The address which will receive (proposal_cancel_ratio * deposit) proposal deposits.\nIf empty, the (proposal_cancel_ratio * deposit) proposal deposits will be burned.\n\nSince: cosmos-sdk 0.50", + "type": "string" + }, + "proposal_cancel_ratio": { + "description": "The cancel ratio which will not be returned back to the depositors when a proposal is cancelled.\n\nSince: cosmos-sdk 0.50", + "type": "string" + }, + "quorum": { + "description": "Minimum percentage of total stake needed to vote for a result to be\n considered valid.", + "type": "string" + }, + "threshold": { + "description": "Minimum proportion of Yes votes for proposal to pass. Default value: 0.5.", + "type": "string" + }, + "veto_threshold": { + "description": "Minimum value of Veto votes to Total votes ratio for proposal to be\n vetoed. Default value: 1/3.", + "type": "string" + }, + "voting_period": { + "description": "Duration of the voting period.", + "type": "string" + } + } + }, + "cosmos.gov.v1.Proposal": { + "description": "Proposal defines the core field members of a governance proposal.", + "type": "object", + "properties": { + "deposit_end_time": { + "description": "deposit_end_time is the end time for deposition.", + "type": "string", + "format": "date-time" + }, + "expedited": { + "description": "Since: cosmos-sdk 0.50", + "type": "boolean", + "title": "expedited defines if the proposal is expedited" + }, + "failed_reason": { + "description": "Since: cosmos-sdk 0.50", + "type": "string", + "title": "failed_reason defines the reason why the proposal failed" + }, + "final_tally_result": { + "description": "final_tally_result is the final tally result of the proposal. When\nquerying a proposal via gRPC, this field is not populated until the\nproposal's voting period has ended.", + "$ref": "#/definitions/cosmos.gov.v1.TallyResult" + }, + "id": { + "description": "id defines the unique id of the proposal.", + "type": "string", + "format": "uint64" + }, + "messages": { + "description": "messages are the arbitrary messages to be executed if the proposal passes.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/google.protobuf.Any" + } + }, + "metadata": { + "type": "string", + "title": "metadata is any arbitrary metadata attached to the proposal.\nthe recommended format of the metadata is to be found here:\nhttps://docs.cosmos.network/v0.47/modules/gov#proposal-3" + }, + "proposer": { + "description": "Since: cosmos-sdk 0.47", + "type": "string", + "title": "proposer is the address of the proposal sumbitter" + }, + "status": { + "description": "status defines the proposal status.", + "$ref": "#/definitions/cosmos.gov.v1.ProposalStatus" + }, + "submit_time": { + "description": "submit_time is the time of proposal submission.", + "type": "string", + "format": "date-time" + }, + "summary": { + "description": "Since: cosmos-sdk 0.47", + "type": "string", + "title": "summary is a short summary of the proposal" + }, + "title": { + "description": "Since: cosmos-sdk 0.47", + "type": "string", + "title": "title is the title of the proposal" + }, + "total_deposit": { + "description": "total_deposit is the total deposit on the proposal.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.base.v1beta1.Coin" + } + }, + "voting_end_time": { + "description": "voting_end_time is the end time of voting on a proposal.", + "type": "string", + "format": "date-time" + }, + "voting_start_time": { + "description": "voting_start_time is the starting time to vote on a proposal.", + "type": "string", + "format": "date-time" + } + } + }, + "cosmos.gov.v1.ProposalStatus": { + "description": "ProposalStatus enumerates the valid statuses of a proposal.\n\n - PROPOSAL_STATUS_UNSPECIFIED: PROPOSAL_STATUS_UNSPECIFIED defines the default proposal status.\n - PROPOSAL_STATUS_DEPOSIT_PERIOD: PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit\nperiod.\n - PROPOSAL_STATUS_VOTING_PERIOD: PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting\nperiod.\n - PROPOSAL_STATUS_PASSED: PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has\npassed.\n - PROPOSAL_STATUS_REJECTED: PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has\nbeen rejected.\n - PROPOSAL_STATUS_FAILED: PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has\nfailed.", + "type": "string", + "default": "PROPOSAL_STATUS_UNSPECIFIED", + "enum": [ + "PROPOSAL_STATUS_UNSPECIFIED", + "PROPOSAL_STATUS_DEPOSIT_PERIOD", + "PROPOSAL_STATUS_VOTING_PERIOD", + "PROPOSAL_STATUS_PASSED", + "PROPOSAL_STATUS_REJECTED", + "PROPOSAL_STATUS_FAILED" + ] + }, + "cosmos.gov.v1.QueryConstitutionResponse": { + "type": "object", + "title": "QueryConstitutionResponse is the response type for the Query/Constitution RPC method", + "properties": { + "constitution": { + "type": "string" + } + } + }, + "cosmos.gov.v1.QueryDepositResponse": { + "description": "QueryDepositResponse is the response type for the Query/Deposit RPC method.", + "type": "object", + "properties": { + "deposit": { + "description": "deposit defines the requested deposit.", + "$ref": "#/definitions/cosmos.gov.v1.Deposit" + } + } + }, + "cosmos.gov.v1.QueryDepositsResponse": { + "description": "QueryDepositsResponse is the response type for the Query/Deposits RPC method.", + "type": "object", + "properties": { + "deposits": { + "description": "deposits defines the requested deposits.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.gov.v1.Deposit" + } + }, + "pagination": { + "description": "pagination defines the pagination in the response.", + "$ref": "#/definitions/cosmos.base.query.v1beta1.PageResponse" + } + } + }, + "cosmos.gov.v1.QueryParamsResponse": { + "description": "QueryParamsResponse is the response type for the Query/Params RPC method.", + "type": "object", + "properties": { + "deposit_params": { + "description": "Deprecated: Prefer to use `params` instead.\ndeposit_params defines the parameters related to deposit.", + "$ref": "#/definitions/cosmos.gov.v1.DepositParams" + }, + "params": { + "description": "params defines all the paramaters of x/gov module.\n\nSince: cosmos-sdk 0.47", + "$ref": "#/definitions/cosmos.gov.v1.Params" + }, + "tally_params": { + "description": "Deprecated: Prefer to use `params` instead.\ntally_params defines the parameters related to tally.", + "$ref": "#/definitions/cosmos.gov.v1.TallyParams" + }, + "voting_params": { + "description": "Deprecated: Prefer to use `params` instead.\nvoting_params defines the parameters related to voting.", + "$ref": "#/definitions/cosmos.gov.v1.VotingParams" + } + } + }, + "cosmos.gov.v1.QueryProposalResponse": { + "description": "QueryProposalResponse is the response type for the Query/Proposal RPC method.", + "type": "object", + "properties": { + "proposal": { + "description": "proposal is the requested governance proposal.", + "$ref": "#/definitions/cosmos.gov.v1.Proposal" + } + } + }, + "cosmos.gov.v1.QueryProposalsResponse": { + "description": "QueryProposalsResponse is the response type for the Query/Proposals RPC\nmethod.", + "type": "object", + "properties": { + "pagination": { + "description": "pagination defines the pagination in the response.", + "$ref": "#/definitions/cosmos.base.query.v1beta1.PageResponse" + }, + "proposals": { + "description": "proposals defines all the requested governance proposals.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.gov.v1.Proposal" + } + } + } + }, + "cosmos.gov.v1.QueryTallyResultResponse": { + "description": "QueryTallyResultResponse is the response type for the Query/Tally RPC method.", + "type": "object", + "properties": { + "tally": { + "description": "tally defines the requested tally.", + "$ref": "#/definitions/cosmos.gov.v1.TallyResult" + } + } + }, + "cosmos.gov.v1.QueryVoteResponse": { + "description": "QueryVoteResponse is the response type for the Query/Vote RPC method.", + "type": "object", + "properties": { + "vote": { + "description": "vote defines the queried vote.", + "$ref": "#/definitions/cosmos.gov.v1.Vote" + } + } + }, + "cosmos.gov.v1.QueryVotesResponse": { + "description": "QueryVotesResponse is the response type for the Query/Votes RPC method.", + "type": "object", + "properties": { + "pagination": { + "description": "pagination defines the pagination in the response.", + "$ref": "#/definitions/cosmos.base.query.v1beta1.PageResponse" + }, + "votes": { + "description": "votes defines the queried votes.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.gov.v1.Vote" + } + } + } + }, + "cosmos.gov.v1.TallyParams": { + "description": "TallyParams defines the params for tallying votes on governance proposals.", + "type": "object", + "properties": { + "quorum": { + "description": "Minimum percentage of total stake needed to vote for a result to be\nconsidered valid.", + "type": "string" + }, + "threshold": { + "description": "Minimum proportion of Yes votes for proposal to pass. Default value: 0.5.", + "type": "string" + }, + "veto_threshold": { + "description": "Minimum value of Veto votes to Total votes ratio for proposal to be\nvetoed. Default value: 1/3.", + "type": "string" + } + } + }, + "cosmos.gov.v1.TallyResult": { + "description": "TallyResult defines a standard tally for a governance proposal.", + "type": "object", + "properties": { + "abstain_count": { + "description": "abstain_count is the number of abstain votes on a proposal.", + "type": "string" + }, + "no_count": { + "description": "no_count is the number of no votes on a proposal.", + "type": "string" + }, + "no_with_veto_count": { + "description": "no_with_veto_count is the number of no with veto votes on a proposal.", + "type": "string" + }, + "yes_count": { + "description": "yes_count is the number of yes votes on a proposal.", + "type": "string" + } + } + }, + "cosmos.gov.v1.Vote": { + "description": "Vote defines a vote on a governance proposal.\nA Vote consists of a proposal ID, the voter, and the vote option.", + "type": "object", + "properties": { + "metadata": { + "type": "string", + "title": "metadata is any arbitrary metadata attached to the vote.\nthe recommended format of the metadata is to be found here: https://docs.cosmos.network/v0.47/modules/gov#vote-5" + }, + "options": { + "description": "options is the weighted vote options.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.gov.v1.WeightedVoteOption" + } + }, + "proposal_id": { + "description": "proposal_id defines the unique id of the proposal.", + "type": "string", + "format": "uint64" + }, + "voter": { + "description": "voter is the voter address of the proposal.", + "type": "string" + } + } + }, + "cosmos.gov.v1.VoteOption": { + "description": "VoteOption enumerates the valid vote options for a given governance proposal.\n\n - VOTE_OPTION_UNSPECIFIED: VOTE_OPTION_UNSPECIFIED defines a no-op vote option.\n - VOTE_OPTION_YES: VOTE_OPTION_YES defines a yes vote option.\n - VOTE_OPTION_ABSTAIN: VOTE_OPTION_ABSTAIN defines an abstain vote option.\n - VOTE_OPTION_NO: VOTE_OPTION_NO defines a no vote option.\n - VOTE_OPTION_NO_WITH_VETO: VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option.", + "type": "string", + "default": "VOTE_OPTION_UNSPECIFIED", + "enum": [ + "VOTE_OPTION_UNSPECIFIED", + "VOTE_OPTION_YES", + "VOTE_OPTION_ABSTAIN", + "VOTE_OPTION_NO", + "VOTE_OPTION_NO_WITH_VETO" + ] + }, + "cosmos.gov.v1.VotingParams": { + "description": "VotingParams defines the params for voting on governance proposals.", + "type": "object", + "properties": { + "voting_period": { + "description": "Duration of the voting period.", + "type": "string" + } + } + }, + "cosmos.gov.v1.WeightedVoteOption": { + "description": "WeightedVoteOption defines a unit of vote for vote split.", + "type": "object", + "properties": { + "option": { + "description": "option defines the valid vote options, it must not contain duplicate vote options.", + "$ref": "#/definitions/cosmos.gov.v1.VoteOption" + }, + "weight": { + "description": "weight is the vote weight associated with the vote option.", + "type": "string" + } + } + }, + "cosmos.gov.v1beta1.Deposit": { + "description": "Deposit defines an amount deposited by an account address to an active\nproposal.", + "type": "object", + "properties": { + "amount": { + "description": "amount to be deposited by depositor.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.base.v1beta1.Coin" + } + }, + "depositor": { + "description": "depositor defines the deposit addresses from the proposals.", + "type": "string" + }, + "proposal_id": { + "description": "proposal_id defines the unique id of the proposal.", + "type": "string", + "format": "uint64" + } + } + }, + "cosmos.gov.v1beta1.DepositParams": { + "description": "DepositParams defines the params for deposits on governance proposals.", + "type": "object", + "properties": { + "max_deposit_period": { + "description": "Maximum period for Atom holders to deposit on a proposal. Initial value: 2\nmonths.", + "type": "string" + }, + "min_deposit": { + "description": "Minimum deposit for a proposal to enter voting period.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.base.v1beta1.Coin" + } + } + } + }, + "cosmos.gov.v1beta1.MsgDeposit": { + "description": "MsgDeposit defines a message to submit a deposit to an existing proposal.", + "type": "object", + "properties": { + "amount": { + "description": "amount to be deposited by depositor.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.base.v1beta1.Coin" + } + }, + "depositor": { + "description": "depositor defines the deposit addresses from the proposals.", + "type": "string" + }, + "proposal_id": { + "description": "proposal_id defines the unique id of the proposal.", + "type": "string", + "format": "uint64" + } + } + }, + "cosmos.gov.v1beta1.MsgDepositResponse": { + "description": "MsgDepositResponse defines the Msg/Deposit response type.", + "type": "object" + }, + "cosmos.gov.v1beta1.MsgSubmitProposal": { + "description": "MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary\nproposal Content.", + "type": "object", + "properties": { + "content": { + "description": "content is the proposal's content.", + "$ref": "#/definitions/google.protobuf.Any" + }, + "initial_deposit": { + "description": "initial_deposit is the deposit value that must be paid at proposal submission.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.base.v1beta1.Coin" + } + }, + "proposer": { + "description": "proposer is the account address of the proposer.", + "type": "string" + } + } + }, + "cosmos.gov.v1beta1.MsgSubmitProposalResponse": { + "description": "MsgSubmitProposalResponse defines the Msg/SubmitProposal response type.", + "type": "object", + "properties": { + "proposal_id": { + "description": "proposal_id defines the unique id of the proposal.", + "type": "string", + "format": "uint64" + } + } + }, + "cosmos.gov.v1beta1.MsgVote": { + "description": "MsgVote defines a message to cast a vote.", + "type": "object", + "properties": { + "option": { + "description": "option defines the vote option.", + "$ref": "#/definitions/cosmos.gov.v1beta1.VoteOption" + }, + "proposal_id": { + "description": "proposal_id defines the unique id of the proposal.", + "type": "string", + "format": "uint64" + }, + "voter": { + "description": "voter is the voter address for the proposal.", + "type": "string" + } + } + }, + "cosmos.gov.v1beta1.MsgVoteResponse": { + "description": "MsgVoteResponse defines the Msg/Vote response type.", + "type": "object" + }, + "cosmos.gov.v1beta1.MsgVoteWeighted": { + "description": "MsgVoteWeighted defines a message to cast a vote.\n\nSince: cosmos-sdk 0.43", + "type": "object", + "properties": { + "options": { + "description": "options defines the weighted vote options.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.gov.v1beta1.WeightedVoteOption" + } + }, + "proposal_id": { + "description": "proposal_id defines the unique id of the proposal.", + "type": "string", + "format": "uint64" + }, + "voter": { + "description": "voter is the voter address for the proposal.", + "type": "string" + } + } + }, + "cosmos.gov.v1beta1.MsgVoteWeightedResponse": { + "description": "MsgVoteWeightedResponse defines the Msg/VoteWeighted response type.\n\nSince: cosmos-sdk 0.43", + "type": "object" + }, + "cosmos.gov.v1beta1.Proposal": { + "description": "Proposal defines the core field members of a governance proposal.", + "type": "object", + "properties": { + "content": { + "description": "content is the proposal's content.", + "$ref": "#/definitions/google.protobuf.Any" + }, + "deposit_end_time": { + "description": "deposit_end_time is the end time for deposition.", + "type": "string", + "format": "date-time" + }, + "final_tally_result": { + "description": "final_tally_result is the final tally result of the proposal. When\nquerying a proposal via gRPC, this field is not populated until the\nproposal's voting period has ended.", + "$ref": "#/definitions/cosmos.gov.v1beta1.TallyResult" + }, + "proposal_id": { + "description": "proposal_id defines the unique id of the proposal.", + "type": "string", + "format": "uint64" + }, + "status": { + "description": "status defines the proposal status.", + "$ref": "#/definitions/cosmos.gov.v1beta1.ProposalStatus" + }, + "submit_time": { + "description": "submit_time is the time of proposal submission.", + "type": "string", + "format": "date-time" + }, + "total_deposit": { + "description": "total_deposit is the total deposit on the proposal.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.base.v1beta1.Coin" + } + }, + "voting_end_time": { + "description": "voting_end_time is the end time of voting on a proposal.", + "type": "string", + "format": "date-time" + }, + "voting_start_time": { + "description": "voting_start_time is the starting time to vote on a proposal.", + "type": "string", + "format": "date-time" + } + } + }, + "cosmos.gov.v1beta1.ProposalStatus": { + "description": "ProposalStatus enumerates the valid statuses of a proposal.\n\n - PROPOSAL_STATUS_UNSPECIFIED: PROPOSAL_STATUS_UNSPECIFIED defines the default proposal status.\n - PROPOSAL_STATUS_DEPOSIT_PERIOD: PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit\nperiod.\n - PROPOSAL_STATUS_VOTING_PERIOD: PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting\nperiod.\n - PROPOSAL_STATUS_PASSED: PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has\npassed.\n - PROPOSAL_STATUS_REJECTED: PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has\nbeen rejected.\n - PROPOSAL_STATUS_FAILED: PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has\nfailed.", + "type": "string", + "default": "PROPOSAL_STATUS_UNSPECIFIED", + "enum": [ + "PROPOSAL_STATUS_UNSPECIFIED", + "PROPOSAL_STATUS_DEPOSIT_PERIOD", + "PROPOSAL_STATUS_VOTING_PERIOD", + "PROPOSAL_STATUS_PASSED", + "PROPOSAL_STATUS_REJECTED", + "PROPOSAL_STATUS_FAILED" + ] + }, + "cosmos.gov.v1beta1.QueryDepositResponse": { + "description": "QueryDepositResponse is the response type for the Query/Deposit RPC method.", + "type": "object", + "properties": { + "deposit": { + "description": "deposit defines the requested deposit.", + "$ref": "#/definitions/cosmos.gov.v1beta1.Deposit" + } + } + }, + "cosmos.gov.v1beta1.QueryDepositsResponse": { + "description": "QueryDepositsResponse is the response type for the Query/Deposits RPC method.", + "type": "object", + "properties": { + "deposits": { + "description": "deposits defines the requested deposits.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.gov.v1beta1.Deposit" + } + }, + "pagination": { + "description": "pagination defines the pagination in the response.", + "$ref": "#/definitions/cosmos.base.query.v1beta1.PageResponse" + } + } + }, + "cosmos.gov.v1beta1.QueryParamsResponse": { + "description": "QueryParamsResponse is the response type for the Query/Params RPC method.", + "type": "object", + "properties": { + "deposit_params": { + "description": "deposit_params defines the parameters related to deposit.", + "$ref": "#/definitions/cosmos.gov.v1beta1.DepositParams" + }, + "tally_params": { + "description": "tally_params defines the parameters related to tally.", + "$ref": "#/definitions/cosmos.gov.v1beta1.TallyParams" + }, + "voting_params": { + "description": "voting_params defines the parameters related to voting.", + "$ref": "#/definitions/cosmos.gov.v1beta1.VotingParams" + } + } + }, + "cosmos.gov.v1beta1.QueryProposalResponse": { + "description": "QueryProposalResponse is the response type for the Query/Proposal RPC method.", + "type": "object", + "properties": { + "proposal": { + "$ref": "#/definitions/cosmos.gov.v1beta1.Proposal" + } + } + }, + "cosmos.gov.v1beta1.QueryProposalsResponse": { + "description": "QueryProposalsResponse is the response type for the Query/Proposals RPC\nmethod.", + "type": "object", + "properties": { + "pagination": { + "description": "pagination defines the pagination in the response.", + "$ref": "#/definitions/cosmos.base.query.v1beta1.PageResponse" + }, + "proposals": { + "description": "proposals defines all the requested governance proposals.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.gov.v1beta1.Proposal" + } + } + } + }, + "cosmos.gov.v1beta1.QueryTallyResultResponse": { + "description": "QueryTallyResultResponse is the response type for the Query/Tally RPC method.", + "type": "object", + "properties": { + "tally": { + "description": "tally defines the requested tally.", + "$ref": "#/definitions/cosmos.gov.v1beta1.TallyResult" + } + } + }, + "cosmos.gov.v1beta1.QueryVoteResponse": { + "description": "QueryVoteResponse is the response type for the Query/Vote RPC method.", + "type": "object", + "properties": { + "vote": { + "description": "vote defines the queried vote.", + "$ref": "#/definitions/cosmos.gov.v1beta1.Vote" + } + } + }, + "cosmos.gov.v1beta1.QueryVotesResponse": { + "description": "QueryVotesResponse is the response type for the Query/Votes RPC method.", + "type": "object", + "properties": { + "pagination": { + "description": "pagination defines the pagination in the response.", + "$ref": "#/definitions/cosmos.base.query.v1beta1.PageResponse" + }, + "votes": { + "description": "votes defines the queried votes.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.gov.v1beta1.Vote" + } + } + } + }, + "cosmos.gov.v1beta1.TallyParams": { + "description": "TallyParams defines the params for tallying votes on governance proposals.", + "type": "object", + "properties": { + "quorum": { + "description": "Minimum percentage of total stake needed to vote for a result to be\nconsidered valid.", + "type": "string", + "format": "byte" + }, + "threshold": { + "description": "Minimum proportion of Yes votes for proposal to pass. Default value: 0.5.", + "type": "string", + "format": "byte" + }, + "veto_threshold": { + "description": "Minimum value of Veto votes to Total votes ratio for proposal to be\nvetoed. Default value: 1/3.", + "type": "string", + "format": "byte" + } + } + }, + "cosmos.gov.v1beta1.TallyResult": { + "description": "TallyResult defines a standard tally for a governance proposal.", + "type": "object", + "properties": { + "abstain": { + "description": "abstain is the number of abstain votes on a proposal.", + "type": "string" + }, + "no": { + "description": "no is the number of no votes on a proposal.", + "type": "string" + }, + "no_with_veto": { + "description": "no_with_veto is the number of no with veto votes on a proposal.", + "type": "string" + }, + "yes": { + "description": "yes is the number of yes votes on a proposal.", + "type": "string" + } + } + }, + "cosmos.gov.v1beta1.Vote": { + "description": "Vote defines a vote on a governance proposal.\nA Vote consists of a proposal ID, the voter, and the vote option.", + "type": "object", + "properties": { + "option": { + "description": "Deprecated: Prefer to use `options` instead. This field is set in queries\nif and only if `len(options) == 1` and that option has weight 1. In all\nother cases, this field will default to VOTE_OPTION_UNSPECIFIED.", + "$ref": "#/definitions/cosmos.gov.v1beta1.VoteOption" + }, + "options": { + "description": "options is the weighted vote options.\n\nSince: cosmos-sdk 0.43", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.gov.v1beta1.WeightedVoteOption" + } + }, + "proposal_id": { + "description": "proposal_id defines the unique id of the proposal.", + "type": "string", + "format": "uint64" + }, + "voter": { + "description": "voter is the voter address of the proposal.", + "type": "string" + } + } + }, + "cosmos.gov.v1beta1.VoteOption": { + "description": "VoteOption enumerates the valid vote options for a given governance proposal.\n\n - VOTE_OPTION_UNSPECIFIED: VOTE_OPTION_UNSPECIFIED defines a no-op vote option.\n - VOTE_OPTION_YES: VOTE_OPTION_YES defines a yes vote option.\n - VOTE_OPTION_ABSTAIN: VOTE_OPTION_ABSTAIN defines an abstain vote option.\n - VOTE_OPTION_NO: VOTE_OPTION_NO defines a no vote option.\n - VOTE_OPTION_NO_WITH_VETO: VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option.", + "type": "string", + "default": "VOTE_OPTION_UNSPECIFIED", + "enum": [ + "VOTE_OPTION_UNSPECIFIED", + "VOTE_OPTION_YES", + "VOTE_OPTION_ABSTAIN", + "VOTE_OPTION_NO", + "VOTE_OPTION_NO_WITH_VETO" + ] + }, + "cosmos.gov.v1beta1.VotingParams": { + "description": "VotingParams defines the params for voting on governance proposals.", + "type": "object", + "properties": { + "voting_period": { + "description": "Duration of the voting period.", + "type": "string" + } + } + }, + "cosmos.gov.v1beta1.WeightedVoteOption": { + "description": "WeightedVoteOption defines a unit of vote for vote split.\n\nSince: cosmos-sdk 0.43", + "type": "object", + "properties": { + "option": { + "description": "option defines the valid vote options, it must not contain duplicate vote options.", + "$ref": "#/definitions/cosmos.gov.v1beta1.VoteOption" + }, + "weight": { + "description": "weight is the vote weight associated with the vote option.", + "type": "string" + } + } + }, + "cosmos.group.v1.Exec": { + "description": "Exec defines modes of execution of a proposal on creation or on new vote.\n\n - EXEC_UNSPECIFIED: An empty value means that there should be a separate\nMsgExec request for the proposal to execute.\n - EXEC_TRY: Try to execute the proposal immediately.\nIf the proposal is not allowed per the DecisionPolicy,\nthe proposal will still be open and could\nbe executed at a later point.", + "type": "string", + "default": "EXEC_UNSPECIFIED", + "enum": [ + "EXEC_UNSPECIFIED", + "EXEC_TRY" + ] + }, + "cosmos.group.v1.GroupInfo": { + "description": "GroupInfo represents the high-level on-chain information for a group.", + "type": "object", + "properties": { + "admin": { + "description": "admin is the account address of the group's admin.", + "type": "string" + }, + "created_at": { + "description": "created_at is a timestamp specifying when a group was created.", + "type": "string", + "format": "date-time" + }, + "id": { + "description": "id is the unique ID of the group.", + "type": "string", + "format": "uint64" + }, + "metadata": { + "type": "string", + "title": "metadata is any arbitrary metadata to attached to the group.\nthe recommended format of the metadata is to be found here: https://docs.cosmos.network/v0.47/modules/group#group-1" + }, + "total_weight": { + "description": "total_weight is the sum of the group members' weights.", + "type": "string" + }, + "version": { + "type": "string", + "format": "uint64", + "title": "version is used to track changes to a group's membership structure that\nwould break existing proposals. Whenever any members weight is changed,\nor any member is added or removed this version is incremented and will\ncause proposals based on older versions of this group to fail" + } + } + }, + "cosmos.group.v1.GroupMember": { + "description": "GroupMember represents the relationship between a group and a member.", + "type": "object", + "properties": { + "group_id": { + "description": "group_id is the unique ID of the group.", + "type": "string", + "format": "uint64" + }, + "member": { + "description": "member is the member data.", + "$ref": "#/definitions/cosmos.group.v1.Member" + } + } + }, + "cosmos.group.v1.GroupPolicyInfo": { + "description": "GroupPolicyInfo represents the high-level on-chain information for a group policy.", + "type": "object", + "properties": { + "address": { + "description": "address is the account address of group policy.", + "type": "string" + }, + "admin": { + "description": "admin is the account address of the group admin.", + "type": "string" + }, + "created_at": { + "description": "created_at is a timestamp specifying when a group policy was created.", + "type": "string", + "format": "date-time" + }, + "decision_policy": { + "description": "decision_policy specifies the group policy's decision policy.", + "$ref": "#/definitions/google.protobuf.Any" + }, + "group_id": { + "description": "group_id is the unique ID of the group.", + "type": "string", + "format": "uint64" + }, + "metadata": { + "type": "string", + "title": "metadata is any arbitrary metadata attached to the group policy.\nthe recommended format of the metadata is to be found here:\nhttps://docs.cosmos.network/v0.47/modules/group#decision-policy-1" + }, + "version": { + "description": "version is used to track changes to a group's GroupPolicyInfo structure that\nwould create a different result on a running proposal.", + "type": "string", + "format": "uint64" + } + } + }, + "cosmos.group.v1.Member": { + "description": "Member represents a group member with an account address,\nnon-zero weight, metadata and added_at timestamp.", + "type": "object", + "properties": { + "added_at": { + "description": "added_at is a timestamp specifying when a member was added.", + "type": "string", + "format": "date-time" + }, + "address": { + "description": "address is the member's account address.", + "type": "string" + }, + "metadata": { + "description": "metadata is any arbitrary metadata attached to the member.", + "type": "string" + }, + "weight": { + "description": "weight is the member's voting weight that should be greater than 0.", + "type": "string" + } + } + }, + "cosmos.group.v1.MemberRequest": { + "description": "MemberRequest represents a group member to be used in Msg server requests.\nContrary to `Member`, it doesn't have any `added_at` field\nsince this field cannot be set as part of requests.", + "type": "object", + "properties": { + "address": { + "description": "address is the member's account address.", + "type": "string" + }, + "metadata": { + "description": "metadata is any arbitrary metadata attached to the member.", + "type": "string" + }, + "weight": { + "description": "weight is the member's voting weight that should be greater than 0.", + "type": "string" + } + } + }, + "cosmos.group.v1.MsgCreateGroup": { + "description": "MsgCreateGroup is the Msg/CreateGroup request type.", + "type": "object", + "properties": { + "admin": { + "description": "admin is the account address of the group admin.", + "type": "string" + }, + "members": { + "description": "members defines the group members.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.group.v1.MemberRequest" + } + }, + "metadata": { + "description": "metadata is any arbitrary metadata to attached to the group.", + "type": "string" + } + } + }, + "cosmos.group.v1.MsgCreateGroupPolicy": { + "description": "MsgCreateGroupPolicy is the Msg/CreateGroupPolicy request type.", + "type": "object", + "properties": { + "admin": { + "description": "admin is the account address of the group admin.", + "type": "string" + }, + "decision_policy": { + "description": "decision_policy specifies the group policy's decision policy.", + "$ref": "#/definitions/google.protobuf.Any" + }, + "group_id": { + "description": "group_id is the unique ID of the group.", + "type": "string", + "format": "uint64" + }, + "metadata": { + "description": "metadata is any arbitrary metadata attached to the group policy.", + "type": "string" + } + } + }, + "cosmos.group.v1.MsgCreateGroupPolicyResponse": { + "description": "MsgCreateGroupPolicyResponse is the Msg/CreateGroupPolicy response type.", + "type": "object", + "properties": { + "address": { + "description": "address is the account address of the newly created group policy.", + "type": "string" + } + } + }, + "cosmos.group.v1.MsgCreateGroupResponse": { + "description": "MsgCreateGroupResponse is the Msg/CreateGroup response type.", + "type": "object", + "properties": { + "group_id": { + "description": "group_id is the unique ID of the newly created group.", + "type": "string", + "format": "uint64" + } + } + }, + "cosmos.group.v1.MsgCreateGroupWithPolicy": { + "description": "MsgCreateGroupWithPolicy is the Msg/CreateGroupWithPolicy request type.", + "type": "object", + "properties": { + "admin": { + "description": "admin is the account address of the group and group policy admin.", + "type": "string" + }, + "decision_policy": { + "description": "decision_policy specifies the group policy's decision policy.", + "$ref": "#/definitions/google.protobuf.Any" + }, + "group_metadata": { + "description": "group_metadata is any arbitrary metadata attached to the group.", + "type": "string" + }, + "group_policy_as_admin": { + "description": "group_policy_as_admin is a boolean field, if set to true, the group policy account address will be used as group\nand group policy admin.", + "type": "boolean" + }, + "group_policy_metadata": { + "description": "group_policy_metadata is any arbitrary metadata attached to the group policy.", + "type": "string" + }, + "members": { + "description": "members defines the group members.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.group.v1.MemberRequest" + } + } + } + }, + "cosmos.group.v1.MsgCreateGroupWithPolicyResponse": { + "description": "MsgCreateGroupWithPolicyResponse is the Msg/CreateGroupWithPolicy response type.", + "type": "object", + "properties": { + "group_id": { + "description": "group_id is the unique ID of the newly created group with policy.", + "type": "string", + "format": "uint64" + }, + "group_policy_address": { + "description": "group_policy_address is the account address of the newly created group policy.", + "type": "string" + } + } + }, + "cosmos.group.v1.MsgExec": { + "description": "MsgExec is the Msg/Exec request type.", + "type": "object", + "properties": { + "executor": { + "description": "executor is the account address used to execute the proposal.", + "type": "string" + }, + "proposal_id": { + "description": "proposal is the unique ID of the proposal.", + "type": "string", + "format": "uint64" + } + } + }, + "cosmos.group.v1.MsgExecResponse": { + "description": "MsgExecResponse is the Msg/Exec request type.", + "type": "object", + "properties": { + "result": { + "description": "result is the final result of the proposal execution.", + "$ref": "#/definitions/cosmos.group.v1.ProposalExecutorResult" + } + } + }, + "cosmos.group.v1.MsgLeaveGroup": { + "description": "MsgLeaveGroup is the Msg/LeaveGroup request type.", + "type": "object", + "properties": { + "address": { + "description": "address is the account address of the group member.", + "type": "string" + }, + "group_id": { + "description": "group_id is the unique ID of the group.", + "type": "string", + "format": "uint64" + } + } + }, + "cosmos.group.v1.MsgLeaveGroupResponse": { + "description": "MsgLeaveGroupResponse is the Msg/LeaveGroup response type.", + "type": "object" + }, + "cosmos.group.v1.MsgSubmitProposal": { + "description": "MsgSubmitProposal is the Msg/SubmitProposal request type.", + "type": "object", + "properties": { + "exec": { + "description": "exec defines the mode of execution of the proposal,\nwhether it should be executed immediately on creation or not.\nIf so, proposers signatures are considered as Yes votes.", + "$ref": "#/definitions/cosmos.group.v1.Exec" + }, + "group_policy_address": { + "description": "group_policy_address is the account address of group policy.", + "type": "string" + }, + "messages": { + "description": "messages is a list of `sdk.Msg`s that will be executed if the proposal passes.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/google.protobuf.Any" + } + }, + "metadata": { + "description": "metadata is any arbitrary metadata attached to the proposal.", + "type": "string" + }, + "proposers": { + "description": "proposers are the account addresses of the proposers.\nProposers signatures will be counted as yes votes.", + "type": "array", + "items": { + "type": "string" + } + }, + "summary": { + "description": "summary is the summary of the proposal.\n\nSince: cosmos-sdk 0.47", + "type": "string" + }, + "title": { + "description": "title is the title of the proposal.\n\nSince: cosmos-sdk 0.47", + "type": "string" + } + } + }, + "cosmos.group.v1.MsgSubmitProposalResponse": { + "description": "MsgSubmitProposalResponse is the Msg/SubmitProposal response type.", + "type": "object", + "properties": { + "proposal_id": { + "description": "proposal is the unique ID of the proposal.", + "type": "string", + "format": "uint64" + } + } + }, + "cosmos.group.v1.MsgUpdateGroupAdmin": { + "description": "MsgUpdateGroupAdmin is the Msg/UpdateGroupAdmin request type.", + "type": "object", + "properties": { + "admin": { + "description": "admin is the current account address of the group admin.", + "type": "string" + }, + "group_id": { + "description": "group_id is the unique ID of the group.", + "type": "string", + "format": "uint64" + }, + "new_admin": { + "description": "new_admin is the group new admin account address.", + "type": "string" + } + } + }, + "cosmos.group.v1.MsgUpdateGroupAdminResponse": { + "description": "MsgUpdateGroupAdminResponse is the Msg/UpdateGroupAdmin response type.", + "type": "object" + }, + "cosmos.group.v1.MsgUpdateGroupMembers": { + "description": "MsgUpdateGroupMembers is the Msg/UpdateGroupMembers request type.", + "type": "object", + "properties": { + "admin": { + "description": "admin is the account address of the group admin.", + "type": "string" + }, + "group_id": { + "description": "group_id is the unique ID of the group.", + "type": "string", + "format": "uint64" + }, + "member_updates": { + "description": "member_updates is the list of members to update,\nset weight to 0 to remove a member.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.group.v1.MemberRequest" + } + } + } + }, + "cosmos.group.v1.MsgUpdateGroupMembersResponse": { + "description": "MsgUpdateGroupMembersResponse is the Msg/UpdateGroupMembers response type.", + "type": "object" + }, + "cosmos.group.v1.MsgUpdateGroupMetadata": { + "description": "MsgUpdateGroupMetadata is the Msg/UpdateGroupMetadata request type.", + "type": "object", + "properties": { + "admin": { + "description": "admin is the account address of the group admin.", + "type": "string" + }, + "group_id": { + "description": "group_id is the unique ID of the group.", + "type": "string", + "format": "uint64" + }, + "metadata": { + "description": "metadata is the updated group's metadata.", + "type": "string" + } + } + }, + "cosmos.group.v1.MsgUpdateGroupMetadataResponse": { + "description": "MsgUpdateGroupMetadataResponse is the Msg/UpdateGroupMetadata response type.", + "type": "object" + }, + "cosmos.group.v1.MsgUpdateGroupPolicyAdmin": { + "description": "MsgUpdateGroupPolicyAdmin is the Msg/UpdateGroupPolicyAdmin request type.", + "type": "object", + "properties": { + "admin": { + "description": "admin is the account address of the group admin.", + "type": "string" + }, + "group_policy_address": { + "description": "group_policy_address is the account address of the group policy.", + "type": "string" + }, + "new_admin": { + "description": "new_admin is the new group policy admin.", + "type": "string" + } + } + }, + "cosmos.group.v1.MsgUpdateGroupPolicyAdminResponse": { + "description": "MsgUpdateGroupPolicyAdminResponse is the Msg/UpdateGroupPolicyAdmin response type.", + "type": "object" + }, + "cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy": { + "description": "MsgUpdateGroupPolicyDecisionPolicy is the Msg/UpdateGroupPolicyDecisionPolicy request type.", + "type": "object", + "properties": { + "admin": { + "description": "admin is the account address of the group admin.", + "type": "string" + }, + "decision_policy": { + "description": "decision_policy is the updated group policy's decision policy.", + "$ref": "#/definitions/google.protobuf.Any" + }, + "group_policy_address": { + "description": "group_policy_address is the account address of group policy.", + "type": "string" + } + } + }, + "cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicyResponse": { + "description": "MsgUpdateGroupPolicyDecisionPolicyResponse is the Msg/UpdateGroupPolicyDecisionPolicy response type.", + "type": "object" + }, + "cosmos.group.v1.MsgUpdateGroupPolicyMetadata": { + "description": "MsgUpdateGroupPolicyMetadata is the Msg/UpdateGroupPolicyMetadata request type.", + "type": "object", + "properties": { + "admin": { + "description": "admin is the account address of the group admin.", + "type": "string" + }, + "group_policy_address": { + "description": "group_policy_address is the account address of group policy.", + "type": "string" + }, + "metadata": { + "description": "metadata is the group policy metadata to be updated.", + "type": "string" + } + } + }, + "cosmos.group.v1.MsgUpdateGroupPolicyMetadataResponse": { + "description": "MsgUpdateGroupPolicyMetadataResponse is the Msg/UpdateGroupPolicyMetadata response type.", + "type": "object" + }, + "cosmos.group.v1.MsgVote": { + "description": "MsgVote is the Msg/Vote request type.", + "type": "object", + "properties": { + "exec": { + "description": "exec defines whether the proposal should be executed\nimmediately after voting or not.", + "$ref": "#/definitions/cosmos.group.v1.Exec" + }, + "metadata": { + "description": "metadata is any arbitrary metadata attached to the vote.", + "type": "string" + }, + "option": { + "description": "option is the voter's choice on the proposal.", + "$ref": "#/definitions/cosmos.group.v1.VoteOption" + }, + "proposal_id": { + "description": "proposal is the unique ID of the proposal.", + "type": "string", + "format": "uint64" + }, + "voter": { + "description": "voter is the voter account address.", + "type": "string" + } + } + }, + "cosmos.group.v1.MsgVoteResponse": { + "description": "MsgVoteResponse is the Msg/Vote response type.", + "type": "object" + }, + "cosmos.group.v1.MsgWithdrawProposal": { + "description": "MsgWithdrawProposal is the Msg/WithdrawProposal request type.", + "type": "object", + "properties": { + "address": { + "description": "address is the admin of the group policy or one of the proposer of the proposal.", + "type": "string" + }, + "proposal_id": { + "description": "proposal is the unique ID of the proposal.", + "type": "string", + "format": "uint64" + } + } + }, + "cosmos.group.v1.MsgWithdrawProposalResponse": { + "description": "MsgWithdrawProposalResponse is the Msg/WithdrawProposal response type.", + "type": "object" + }, + "cosmos.group.v1.Proposal": { + "description": "Proposal defines a group proposal. Any member of a group can submit a proposal\nfor a group policy to decide upon.\nA proposal consists of a set of `sdk.Msg`s that will be executed if the proposal\npasses as well as some optional metadata associated with the proposal.", + "type": "object", + "properties": { + "executor_result": { + "description": "executor_result is the final result of the proposal execution. Initial value is NotRun.", + "$ref": "#/definitions/cosmos.group.v1.ProposalExecutorResult" + }, + "final_tally_result": { + "description": "final_tally_result contains the sums of all weighted votes for this\nproposal for each vote option. It is empty at submission, and only\npopulated after tallying, at voting period end or at proposal execution,\nwhichever happens first.", + "$ref": "#/definitions/cosmos.group.v1.TallyResult" + }, + "group_policy_address": { + "description": "group_policy_address is the account address of group policy.", + "type": "string" + }, + "group_policy_version": { + "description": "group_policy_version tracks the version of the group policy at proposal submission.\nWhen a decision policy is changed, existing proposals from previous policy\nversions will become invalid with the `ABORTED` status.\nThis field is here for informational purposes only.", + "type": "string", + "format": "uint64" + }, + "group_version": { + "description": "group_version tracks the version of the group at proposal submission.\nThis field is here for informational purposes only.", + "type": "string", + "format": "uint64" + }, + "id": { + "description": "id is the unique id of the proposal.", + "type": "string", + "format": "uint64" + }, + "messages": { + "description": "messages is a list of `sdk.Msg`s that will be executed if the proposal passes.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/google.protobuf.Any" + } + }, + "metadata": { + "type": "string", + "title": "metadata is any arbitrary metadata attached to the proposal.\nthe recommended format of the metadata is to be found here:\nhttps://docs.cosmos.network/v0.47/modules/group#proposal-4" + }, + "proposers": { + "description": "proposers are the account addresses of the proposers.", + "type": "array", + "items": { + "type": "string" + } + }, + "status": { + "description": "status represents the high level position in the life cycle of the proposal. Initial value is Submitted.", + "$ref": "#/definitions/cosmos.group.v1.ProposalStatus" + }, + "submit_time": { + "description": "submit_time is a timestamp specifying when a proposal was submitted.", + "type": "string", + "format": "date-time" + }, + "summary": { + "description": "Since: cosmos-sdk 0.47", + "type": "string", + "title": "summary is a short summary of the proposal" + }, + "title": { + "description": "Since: cosmos-sdk 0.47", + "type": "string", + "title": "title is the title of the proposal" + }, + "voting_period_end": { + "description": "voting_period_end is the timestamp before which voting must be done.\nUnless a successful MsgExec is called before (to execute a proposal whose\ntally is successful before the voting period ends), tallying will be done\nat this point, and the `final_tally_result`and `status` fields will be\naccordingly updated.", + "type": "string", + "format": "date-time" + } + } + }, + "cosmos.group.v1.ProposalExecutorResult": { + "description": "ProposalExecutorResult defines types of proposal executor results.\n\n - PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED: An empty value is not allowed.\n - PROPOSAL_EXECUTOR_RESULT_NOT_RUN: We have not yet run the executor.\n - PROPOSAL_EXECUTOR_RESULT_SUCCESS: The executor was successful and proposed action updated state.\n - PROPOSAL_EXECUTOR_RESULT_FAILURE: The executor returned an error and proposed action didn't update state.", + "type": "string", + "default": "PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED", + "enum": [ + "PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED", + "PROPOSAL_EXECUTOR_RESULT_NOT_RUN", + "PROPOSAL_EXECUTOR_RESULT_SUCCESS", + "PROPOSAL_EXECUTOR_RESULT_FAILURE" + ] + }, + "cosmos.group.v1.ProposalStatus": { + "description": "ProposalStatus defines proposal statuses.\n\n - PROPOSAL_STATUS_UNSPECIFIED: An empty value is invalid and not allowed.\n - PROPOSAL_STATUS_SUBMITTED: Initial status of a proposal when submitted.\n - PROPOSAL_STATUS_ACCEPTED: Final status of a proposal when the final tally is done and the outcome\npasses the group policy's decision policy.\n - PROPOSAL_STATUS_REJECTED: Final status of a proposal when the final tally is done and the outcome\nis rejected by the group policy's decision policy.\n - PROPOSAL_STATUS_ABORTED: Final status of a proposal when the group policy is modified before the\nfinal tally.\n - PROPOSAL_STATUS_WITHDRAWN: A proposal can be withdrawn before the voting start time by the owner.\nWhen this happens the final status is Withdrawn.", + "type": "string", + "default": "PROPOSAL_STATUS_UNSPECIFIED", + "enum": [ + "PROPOSAL_STATUS_UNSPECIFIED", + "PROPOSAL_STATUS_SUBMITTED", + "PROPOSAL_STATUS_ACCEPTED", + "PROPOSAL_STATUS_REJECTED", + "PROPOSAL_STATUS_ABORTED", + "PROPOSAL_STATUS_WITHDRAWN" + ] + }, + "cosmos.group.v1.QueryGroupInfoResponse": { + "description": "QueryGroupInfoResponse is the Query/GroupInfo response type.", + "type": "object", + "properties": { + "info": { + "description": "info is the GroupInfo of the group.", + "$ref": "#/definitions/cosmos.group.v1.GroupInfo" + } + } + }, + "cosmos.group.v1.QueryGroupMembersResponse": { + "description": "QueryGroupMembersResponse is the Query/GroupMembersResponse response type.", + "type": "object", + "properties": { + "members": { + "description": "members are the members of the group with given group_id.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.group.v1.GroupMember" + } + }, + "pagination": { + "description": "pagination defines the pagination in the response.", + "$ref": "#/definitions/cosmos.base.query.v1beta1.PageResponse" + } + } + }, + "cosmos.group.v1.QueryGroupPoliciesByAdminResponse": { + "description": "QueryGroupPoliciesByAdminResponse is the Query/GroupPoliciesByAdmin response type.", + "type": "object", + "properties": { + "group_policies": { + "description": "group_policies are the group policies info with provided admin.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.group.v1.GroupPolicyInfo" + } + }, + "pagination": { + "description": "pagination defines the pagination in the response.", + "$ref": "#/definitions/cosmos.base.query.v1beta1.PageResponse" + } + } + }, + "cosmos.group.v1.QueryGroupPoliciesByGroupResponse": { + "description": "QueryGroupPoliciesByGroupResponse is the Query/GroupPoliciesByGroup response type.", + "type": "object", + "properties": { + "group_policies": { + "description": "group_policies are the group policies info associated with the provided group.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.group.v1.GroupPolicyInfo" + } + }, + "pagination": { + "description": "pagination defines the pagination in the response.", + "$ref": "#/definitions/cosmos.base.query.v1beta1.PageResponse" + } + } + }, + "cosmos.group.v1.QueryGroupPolicyInfoResponse": { + "description": "QueryGroupPolicyInfoResponse is the Query/GroupPolicyInfo response type.", + "type": "object", + "properties": { + "info": { + "description": "info is the GroupPolicyInfo of the group policy.", + "$ref": "#/definitions/cosmos.group.v1.GroupPolicyInfo" + } + } + }, + "cosmos.group.v1.QueryGroupsByAdminResponse": { + "description": "QueryGroupsByAdminResponse is the Query/GroupsByAdminResponse response type.", + "type": "object", + "properties": { + "groups": { + "description": "groups are the groups info with the provided admin.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.group.v1.GroupInfo" + } + }, + "pagination": { + "description": "pagination defines the pagination in the response.", + "$ref": "#/definitions/cosmos.base.query.v1beta1.PageResponse" + } + } + }, + "cosmos.group.v1.QueryGroupsByMemberResponse": { + "description": "QueryGroupsByMemberResponse is the Query/GroupsByMember response type.", + "type": "object", + "properties": { + "groups": { + "description": "groups are the groups info with the provided group member.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.group.v1.GroupInfo" + } + }, + "pagination": { + "description": "pagination defines the pagination in the response.", + "$ref": "#/definitions/cosmos.base.query.v1beta1.PageResponse" + } + } + }, + "cosmos.group.v1.QueryGroupsResponse": { + "description": "QueryGroupsResponse is the Query/Groups response type.\n\nSince: cosmos-sdk 0.47.1", + "type": "object", + "properties": { + "groups": { + "description": "`groups` is all the groups present in state.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.group.v1.GroupInfo" + } + }, + "pagination": { + "description": "pagination defines the pagination in the response.", + "$ref": "#/definitions/cosmos.base.query.v1beta1.PageResponse" + } + } + }, + "cosmos.group.v1.QueryProposalResponse": { + "description": "QueryProposalResponse is the Query/Proposal response type.", + "type": "object", + "properties": { + "proposal": { + "description": "proposal is the proposal info.", + "$ref": "#/definitions/cosmos.group.v1.Proposal" + } + } + }, + "cosmos.group.v1.QueryProposalsByGroupPolicyResponse": { + "description": "QueryProposalsByGroupPolicyResponse is the Query/ProposalByGroupPolicy response type.", + "type": "object", + "properties": { + "pagination": { + "description": "pagination defines the pagination in the response.", + "$ref": "#/definitions/cosmos.base.query.v1beta1.PageResponse" + }, + "proposals": { + "description": "proposals are the proposals with given group policy.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.group.v1.Proposal" + } + } + } + }, + "cosmos.group.v1.QueryTallyResultResponse": { + "description": "QueryTallyResultResponse is the Query/TallyResult response type.", + "type": "object", + "properties": { + "tally": { + "description": "tally defines the requested tally.", + "$ref": "#/definitions/cosmos.group.v1.TallyResult" + } + } + }, + "cosmos.group.v1.QueryVoteByProposalVoterResponse": { + "description": "QueryVoteByProposalVoterResponse is the Query/VoteByProposalVoter response type.", + "type": "object", + "properties": { + "vote": { + "description": "vote is the vote with given proposal_id and voter.", + "$ref": "#/definitions/cosmos.group.v1.Vote" + } + } + }, + "cosmos.group.v1.QueryVotesByProposalResponse": { + "description": "QueryVotesByProposalResponse is the Query/VotesByProposal response type.", + "type": "object", + "properties": { + "pagination": { + "description": "pagination defines the pagination in the response.", + "$ref": "#/definitions/cosmos.base.query.v1beta1.PageResponse" + }, + "votes": { + "description": "votes are the list of votes for given proposal_id.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.group.v1.Vote" + } + } + } + }, + "cosmos.group.v1.QueryVotesByVoterResponse": { + "description": "QueryVotesByVoterResponse is the Query/VotesByVoter response type.", + "type": "object", + "properties": { + "pagination": { + "description": "pagination defines the pagination in the response.", + "$ref": "#/definitions/cosmos.base.query.v1beta1.PageResponse" + }, + "votes": { + "description": "votes are the list of votes by given voter.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.group.v1.Vote" + } + } + } + }, + "cosmos.group.v1.TallyResult": { + "description": "TallyResult represents the sum of weighted votes for each vote option.", + "type": "object", + "properties": { + "abstain_count": { + "description": "abstain_count is the weighted sum of abstainers.", + "type": "string" + }, + "no_count": { + "description": "no_count is the weighted sum of no votes.", + "type": "string" + }, + "no_with_veto_count": { + "description": "no_with_veto_count is the weighted sum of veto.", + "type": "string" + }, + "yes_count": { + "description": "yes_count is the weighted sum of yes votes.", + "type": "string" + } + } + }, + "cosmos.group.v1.Vote": { + "type": "object", + "title": "Vote represents a vote for a proposal.string metadata", + "properties": { + "metadata": { + "type": "string", + "title": "metadata is any arbitrary metadata attached to the vote.\nthe recommended format of the metadata is to be found here: https://docs.cosmos.network/v0.47/modules/group#vote-2" + }, + "option": { + "description": "option is the voter's choice on the proposal.", + "$ref": "#/definitions/cosmos.group.v1.VoteOption" + }, + "proposal_id": { + "description": "proposal is the unique ID of the proposal.", + "type": "string", + "format": "uint64" + }, + "submit_time": { + "description": "submit_time is the timestamp when the vote was submitted.", + "type": "string", + "format": "date-time" + }, + "voter": { + "description": "voter is the account address of the voter.", + "type": "string" + } + } + }, + "cosmos.group.v1.VoteOption": { + "description": "VoteOption enumerates the valid vote options for a given proposal.\n\n - VOTE_OPTION_UNSPECIFIED: VOTE_OPTION_UNSPECIFIED defines an unspecified vote option which will\nreturn an error.\n - VOTE_OPTION_YES: VOTE_OPTION_YES defines a yes vote option.\n - VOTE_OPTION_ABSTAIN: VOTE_OPTION_ABSTAIN defines an abstain vote option.\n - VOTE_OPTION_NO: VOTE_OPTION_NO defines a no vote option.\n - VOTE_OPTION_NO_WITH_VETO: VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option.", + "type": "string", + "default": "VOTE_OPTION_UNSPECIFIED", + "enum": [ + "VOTE_OPTION_UNSPECIFIED", + "VOTE_OPTION_YES", + "VOTE_OPTION_ABSTAIN", + "VOTE_OPTION_NO", + "VOTE_OPTION_NO_WITH_VETO" + ] + }, + "cosmos.mint.v1beta1.MsgUpdateParams": { + "description": "MsgUpdateParams is the Msg/UpdateParams request type.\n\nSince: cosmos-sdk 0.47", + "type": "object", + "properties": { + "authority": { + "description": "authority is the address that controls the module (defaults to x/gov unless overwritten).", + "type": "string" + }, + "params": { + "description": "params defines the x/mint parameters to update.\n\nNOTE: All parameters must be supplied.", + "$ref": "#/definitions/cosmos.mint.v1beta1.Params" + } + } + }, + "cosmos.mint.v1beta1.MsgUpdateParamsResponse": { + "description": "MsgUpdateParamsResponse defines the response structure for executing a\nMsgUpdateParams message.\n\nSince: cosmos-sdk 0.47", + "type": "object" + }, + "cosmos.mint.v1beta1.Params": { + "description": "Params defines the parameters for the x/mint module.", + "type": "object", + "properties": { + "blocks_per_year": { + "type": "string", + "format": "uint64", + "title": "expected blocks per year" + }, + "goal_bonded": { + "type": "string", + "title": "goal of percent bonded atoms" + }, + "inflation_max": { + "type": "string", + "title": "maximum inflation rate" + }, + "inflation_min": { + "type": "string", + "title": "minimum inflation rate" + }, + "inflation_rate_change": { + "type": "string", + "title": "maximum annual change in inflation rate" + }, + "mint_denom": { + "type": "string", + "title": "type of coin to mint" + } + } + }, + "cosmos.mint.v1beta1.QueryAnnualProvisionsResponse": { + "description": "QueryAnnualProvisionsResponse is the response type for the\nQuery/AnnualProvisions RPC method.", + "type": "object", + "properties": { + "annual_provisions": { + "description": "annual_provisions is the current minting annual provisions value.", + "type": "string", + "format": "byte" + } + } + }, + "cosmos.mint.v1beta1.QueryInflationResponse": { + "description": "QueryInflationResponse is the response type for the Query/Inflation RPC\nmethod.", + "type": "object", + "properties": { + "inflation": { + "description": "inflation is the current minting inflation value.", + "type": "string", + "format": "byte" + } + } + }, + "cosmos.mint.v1beta1.QueryParamsResponse": { + "description": "QueryParamsResponse is the response type for the Query/Params RPC method.", + "type": "object", + "properties": { + "params": { + "description": "params defines the parameters of the module.", + "$ref": "#/definitions/cosmos.mint.v1beta1.Params" + } + } + }, + "cosmos.nft.v1beta1.Class": { + "description": "Class defines the class of the nft type.", + "type": "object", + "properties": { + "data": { + "title": "data is the app specific metadata of the NFT class. Optional", + "$ref": "#/definitions/google.protobuf.Any" + }, + "description": { + "type": "string", + "title": "description is a brief description of nft classification. Optional" + }, + "id": { + "type": "string", + "title": "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" + }, + "symbol": { + "type": "string", + "title": "symbol is an abbreviated name for 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_hash": { + "type": "string", + "title": "uri_hash is a hash of the document pointed by uri. Optional" + } + } + }, + "cosmos.nft.v1beta1.MsgSend": { + "description": "MsgSend represents a message to send a nft from one account to another account.", + "type": "object", + "properties": { + "class_id": { + "type": "string", + "title": "class_id defines the unique identifier of the nft classification, similar to the contract address of ERC721" + }, + "id": { + "type": "string", + "title": "id defines the unique identification of nft" + }, + "receiver": { + "type": "string", + "title": "receiver is the receiver address of nft" + }, + "sender": { + "type": "string", + "title": "sender is the address of the owner of nft" + } + } + }, + "cosmos.nft.v1beta1.MsgSendResponse": { + "description": "MsgSendResponse defines the Msg/Send response type.", + "type": "object" + }, + "cosmos.nft.v1beta1.NFT": { + "description": "NFT defines the NFT.", + "type": "object", + "properties": { + "class_id": { + "type": "string", + "title": "class_id associated with the NFT, similar to the contract address of ERC721" + }, + "data": { + "title": "data is an app specific data of the NFT. Optional", + "$ref": "#/definitions/google.protobuf.Any" + }, + "id": { + "type": "string", + "title": "id is a unique identifier of the NFT" + }, + "uri": { + "type": "string", + "title": "uri for the NFT metadata stored off chain" + }, + "uri_hash": { + "type": "string", + "title": "uri_hash is a hash of the document pointed by uri" + } + } + }, + "cosmos.nft.v1beta1.QueryBalanceResponse": { + "type": "object", + "title": "QueryBalanceResponse is the response type for the Query/Balance RPC method", + "properties": { + "amount": { + "type": "string", + "format": "uint64", + "title": "amount is the number of all NFTs of a given class owned by the owner" + } + } + }, + "cosmos.nft.v1beta1.QueryClassResponse": { + "type": "object", + "title": "QueryClassResponse is the response type for the Query/Class RPC method", + "properties": { + "class": { + "description": "class defines the class of the nft type.", + "$ref": "#/definitions/cosmos.nft.v1beta1.Class" + } + } + }, + "cosmos.nft.v1beta1.QueryClassesResponse": { + "type": "object", + "title": "QueryClassesResponse is the response type for the Query/Classes RPC method", + "properties": { + "classes": { + "description": "class defines the class of the nft type.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.nft.v1beta1.Class" + } + }, + "pagination": { + "description": "pagination defines the pagination in the response.", + "$ref": "#/definitions/cosmos.base.query.v1beta1.PageResponse" + } + } + }, + "cosmos.nft.v1beta1.QueryNFTResponse": { + "type": "object", + "title": "QueryNFTResponse is the response type for the Query/NFT RPC method", + "properties": { + "nft": { + "title": "owner is the owner address of the nft", + "$ref": "#/definitions/cosmos.nft.v1beta1.NFT" + } + } + }, + "cosmos.nft.v1beta1.QueryNFTsResponse": { + "type": "object", + "title": "QueryNFTsResponse is the response type for the Query/NFTs RPC methods", + "properties": { + "nfts": { + "type": "array", + "title": "NFT defines the NFT", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.nft.v1beta1.NFT" + } + }, + "pagination": { + "description": "pagination defines the pagination in the response.", + "$ref": "#/definitions/cosmos.base.query.v1beta1.PageResponse" + } + } + }, + "cosmos.nft.v1beta1.QueryOwnerResponse": { + "type": "object", + "title": "QueryOwnerResponse is the response type for the Query/Owner RPC method", + "properties": { + "owner": { + "type": "string", + "title": "owner is the owner address of the nft" + } + } + }, + "cosmos.nft.v1beta1.QuerySupplyResponse": { + "type": "object", + "title": "QuerySupplyResponse is the response type for the Query/Supply RPC method", + "properties": { + "amount": { + "type": "string", + "format": "uint64", + "title": "amount is the number of all NFTs from the given class" + } + } + }, + "cosmos.params.v1beta1.ParamChange": { + "description": "ParamChange defines an individual parameter change, for use in\nParameterChangeProposal.", + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "subspace": { + "type": "string" + }, + "value": { + "type": "string" + } + } + }, + "cosmos.params.v1beta1.QueryParamsResponse": { + "description": "QueryParamsResponse is response type for the Query/Params RPC method.", + "type": "object", + "properties": { + "param": { + "description": "param defines the queried parameter.", + "$ref": "#/definitions/cosmos.params.v1beta1.ParamChange" + } + } + }, + "cosmos.params.v1beta1.QuerySubspacesResponse": { + "description": "QuerySubspacesResponse defines the response types for querying for all\nregistered subspaces and all keys for a subspace.\n\nSince: cosmos-sdk 0.46", + "type": "object", + "properties": { + "subspaces": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.params.v1beta1.Subspace" + } + } + } + }, + "cosmos.params.v1beta1.Subspace": { + "description": "Subspace defines a parameter subspace name and all the keys that exist for\nthe subspace.\n\nSince: cosmos-sdk 0.46", + "type": "object", + "properties": { + "keys": { + "type": "array", + "items": { + "type": "string" + } + }, + "subspace": { + "type": "string" + } + } + }, + "cosmos.slashing.v1beta1.MsgUnjail": { + "type": "object", + "title": "MsgUnjail defines the Msg/Unjail request type", + "properties": { + "validator_addr": { + "type": "string" + } + } + }, + "cosmos.slashing.v1beta1.MsgUnjailResponse": { + "type": "object", + "title": "MsgUnjailResponse defines the Msg/Unjail response type" + }, + "cosmos.slashing.v1beta1.MsgUpdateParams": { + "description": "MsgUpdateParams is the Msg/UpdateParams request type.\n\nSince: cosmos-sdk 0.47", + "type": "object", + "properties": { + "authority": { + "description": "authority is the address that controls the module (defaults to x/gov unless overwritten).", + "type": "string" + }, + "params": { + "description": "params defines the x/slashing parameters to update.\n\nNOTE: All parameters must be supplied.", + "$ref": "#/definitions/cosmos.slashing.v1beta1.Params" + } + } + }, + "cosmos.slashing.v1beta1.MsgUpdateParamsResponse": { + "description": "MsgUpdateParamsResponse defines the response structure for executing a\nMsgUpdateParams message.\n\nSince: cosmos-sdk 0.47", + "type": "object" + }, + "cosmos.slashing.v1beta1.Params": { + "description": "Params represents the parameters used for by the slashing module.", + "type": "object", + "properties": { + "downtime_jail_duration": { + "type": "string" + }, + "min_signed_per_window": { + "type": "string", + "format": "byte" + }, + "signed_blocks_window": { + "type": "string", + "format": "int64" + }, + "slash_fraction_double_sign": { + "type": "string", + "format": "byte" + }, + "slash_fraction_downtime": { + "type": "string", + "format": "byte" + } + } + }, + "cosmos.slashing.v1beta1.QueryParamsResponse": { + "type": "object", + "title": "QueryParamsResponse is the response type for the Query/Params RPC method", + "properties": { + "params": { + "$ref": "#/definitions/cosmos.slashing.v1beta1.Params" + } + } + }, + "cosmos.slashing.v1beta1.QuerySigningInfoResponse": { + "type": "object", + "title": "QuerySigningInfoResponse is the response type for the Query/SigningInfo RPC\nmethod", + "properties": { + "val_signing_info": { + "title": "val_signing_info is the signing info of requested val cons address", + "$ref": "#/definitions/cosmos.slashing.v1beta1.ValidatorSigningInfo" + } + } + }, + "cosmos.slashing.v1beta1.QuerySigningInfosResponse": { + "type": "object", + "title": "QuerySigningInfosResponse is the response type for the Query/SigningInfos RPC\nmethod", + "properties": { + "info": { + "type": "array", + "title": "info is the signing info of all validators", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.slashing.v1beta1.ValidatorSigningInfo" + } + }, + "pagination": { + "$ref": "#/definitions/cosmos.base.query.v1beta1.PageResponse" + } + } + }, + "cosmos.slashing.v1beta1.ValidatorSigningInfo": { + "description": "ValidatorSigningInfo defines a validator's signing info for monitoring their\nliveness activity.", + "type": "object", + "properties": { + "address": { + "type": "string" + }, + "index_offset": { + "description": "Index which is incremented every time a validator is bonded in a block and\n_may_ have signed a pre-commit or not. This in conjunction with the\nsigned_blocks_window param determines the index in the missed block bitmap.", + "type": "string", + "format": "int64" + }, + "jailed_until": { + "description": "Timestamp until which the validator is jailed due to liveness downtime.", + "type": "string", + "format": "date-time" + }, + "missed_blocks_counter": { + "description": "A counter of missed (unsigned) blocks. It is used to avoid unnecessary\nreads in the missed block bitmap.", + "type": "string", + "format": "int64" + }, + "start_height": { + "type": "string", + "format": "int64", + "title": "Height at which validator was first a candidate OR was un-jailed" + }, + "tombstoned": { + "description": "Whether or not a validator has been tombstoned (killed out of validator\nset). It is set once the validator commits an equivocation or for any other\nconfigured misbehavior.", + "type": "boolean" + } + } + }, + "cosmos.staking.v1beta1.BondStatus": { + "description": "BondStatus is the status of a validator.\n\n - BOND_STATUS_UNSPECIFIED: UNSPECIFIED defines an invalid validator status.\n - BOND_STATUS_UNBONDED: UNBONDED defines a validator that is not bonded.\n - BOND_STATUS_UNBONDING: UNBONDING defines a validator that is unbonding.\n - BOND_STATUS_BONDED: BONDED defines a validator that is bonded.", + "type": "string", + "default": "BOND_STATUS_UNSPECIFIED", + "enum": [ + "BOND_STATUS_UNSPECIFIED", + "BOND_STATUS_UNBONDED", + "BOND_STATUS_UNBONDING", + "BOND_STATUS_BONDED" + ] + }, + "cosmos.staking.v1beta1.Commission": { + "description": "Commission defines commission parameters for a given validator.", + "type": "object", + "properties": { + "commission_rates": { + "description": "commission_rates defines the initial commission rates to be used for creating a validator.", + "$ref": "#/definitions/cosmos.staking.v1beta1.CommissionRates" + }, + "update_time": { + "description": "update_time is the last time the commission rate was changed.", + "type": "string", + "format": "date-time" + } + } + }, + "cosmos.staking.v1beta1.CommissionRates": { + "description": "CommissionRates defines the initial commission rates to be used for creating\na validator.", + "type": "object", + "properties": { + "max_change_rate": { + "description": "max_change_rate defines the maximum daily increase of the validator commission, as a fraction.", + "type": "string" + }, + "max_rate": { + "description": "max_rate defines the maximum commission rate which validator can ever charge, as a fraction.", + "type": "string" + }, + "rate": { + "description": "rate is the commission rate charged to delegators, as a fraction.", + "type": "string" + } + } + }, + "cosmos.staking.v1beta1.Delegation": { + "description": "Delegation represents the bond with tokens held by an account. It is\nowned by one delegator, and is associated with the voting power of one\nvalidator.", + "type": "object", + "properties": { + "delegator_address": { + "description": "delegator_address is the encoded address of the delegator.", + "type": "string" + }, + "shares": { + "description": "shares define the delegation shares received.", + "type": "string" + }, + "validator_address": { + "description": "validator_address is the encoded address of the validator.", + "type": "string" + } + } + }, + "cosmos.staking.v1beta1.DelegationResponse": { + "description": "DelegationResponse is equivalent to Delegation except that it contains a\nbalance in addition to shares which is more suitable for client responses.", + "type": "object", + "properties": { + "balance": { + "$ref": "#/definitions/cosmos.base.v1beta1.Coin" + }, + "delegation": { + "$ref": "#/definitions/cosmos.staking.v1beta1.Delegation" + } + } + }, + "cosmos.staking.v1beta1.Description": { + "description": "Description defines a validator description.", + "type": "object", + "properties": { + "details": { + "description": "details define other optional details.", + "type": "string" + }, + "identity": { + "description": "identity defines an optional identity signature (ex. UPort or Keybase).", + "type": "string" + }, + "moniker": { + "description": "moniker defines a human-readable name for the validator.", + "type": "string" + }, + "security_contact": { + "description": "security_contact defines an optional email for security contact.", + "type": "string" + }, + "website": { + "description": "website defines an optional website link.", + "type": "string" + } + } + }, + "cosmos.staking.v1beta1.HistoricalInfo": { + "description": "HistoricalInfo contains header and validator information for a given block.\nIt is stored as part of staking module's state, which persists the `n` most\nrecent HistoricalInfo\n(`n` is set by the staking module's `historical_entries` parameter).", + "type": "object", + "properties": { + "header": { + "$ref": "#/definitions/tendermint.types.Header" + }, + "valset": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.staking.v1beta1.Validator" + } + } + } + }, + "cosmos.staking.v1beta1.MsgBeginRedelegate": { + "description": "MsgBeginRedelegate defines a SDK message for performing a redelegation\nof coins from a delegator and source validator to a destination validator.", + "type": "object", + "properties": { + "amount": { + "$ref": "#/definitions/cosmos.base.v1beta1.Coin" + }, + "delegator_address": { + "type": "string" + }, + "validator_dst_address": { + "type": "string" + }, + "validator_src_address": { + "type": "string" + } + } + }, + "cosmos.staking.v1beta1.MsgBeginRedelegateResponse": { + "description": "MsgBeginRedelegateResponse defines the Msg/BeginRedelegate response type.", + "type": "object", + "properties": { + "completion_time": { + "type": "string", + "format": "date-time" + } + } + }, + "cosmos.staking.v1beta1.MsgCancelUnbondingDelegation": { + "description": "Since: cosmos-sdk 0.46", + "type": "object", + "title": "MsgCancelUnbondingDelegation defines the SDK message for performing a cancel unbonding delegation for delegator", + "properties": { + "amount": { + "title": "amount is always less than or equal to unbonding delegation entry balance", + "$ref": "#/definitions/cosmos.base.v1beta1.Coin" + }, + "creation_height": { + "description": "creation_height is the height which the unbonding took place.", + "type": "string", + "format": "int64" + }, + "delegator_address": { + "type": "string" + }, + "validator_address": { + "type": "string" + } + } + }, + "cosmos.staking.v1beta1.MsgCancelUnbondingDelegationResponse": { + "description": "Since: cosmos-sdk 0.46", + "type": "object", + "title": "MsgCancelUnbondingDelegationResponse" + }, + "cosmos.staking.v1beta1.MsgCreateValidator": { + "description": "MsgCreateValidator defines a SDK message for creating a new validator.", + "type": "object", + "properties": { + "commission": { + "$ref": "#/definitions/cosmos.staking.v1beta1.CommissionRates" + }, + "delegator_address": { + "description": "Deprecated: Use of Delegator Address in MsgCreateValidator is deprecated.\nThe validator address bytes and delegator address bytes refer to the same account while creating validator (defer\nonly in bech32 notation).", + "type": "string" + }, + "description": { + "$ref": "#/definitions/cosmos.staking.v1beta1.Description" + }, + "min_self_delegation": { + "type": "string" + }, + "pubkey": { + "$ref": "#/definitions/google.protobuf.Any" + }, + "validator_address": { + "type": "string" + }, + "value": { + "$ref": "#/definitions/cosmos.base.v1beta1.Coin" + } + } + }, + "cosmos.staking.v1beta1.MsgCreateValidatorResponse": { + "description": "MsgCreateValidatorResponse defines the Msg/CreateValidator response type.", + "type": "object" + }, + "cosmos.staking.v1beta1.MsgDelegate": { + "description": "MsgDelegate defines a SDK message for performing a delegation of coins\nfrom a delegator to a validator.", + "type": "object", + "properties": { + "amount": { + "$ref": "#/definitions/cosmos.base.v1beta1.Coin" + }, + "delegator_address": { + "type": "string" + }, + "validator_address": { + "type": "string" + } + } + }, + "cosmos.staking.v1beta1.MsgDelegateResponse": { + "description": "MsgDelegateResponse defines the Msg/Delegate response type.", + "type": "object" + }, + "cosmos.staking.v1beta1.MsgEditValidator": { + "description": "MsgEditValidator defines a SDK message for editing an existing validator.", + "type": "object", + "properties": { + "commission_rate": { + "type": "string", + "title": "We pass a reference to the new commission rate and min self delegation as\nit's not mandatory to update. If not updated, the deserialized rate will be\nzero with no way to distinguish if an update was intended.\nREF: #2373" + }, + "description": { + "$ref": "#/definitions/cosmos.staking.v1beta1.Description" + }, + "min_self_delegation": { + "type": "string" + }, + "validator_address": { + "type": "string" + } + } + }, + "cosmos.staking.v1beta1.MsgEditValidatorResponse": { + "description": "MsgEditValidatorResponse defines the Msg/EditValidator response type.", + "type": "object" + }, + "cosmos.staking.v1beta1.MsgUndelegate": { + "description": "MsgUndelegate defines a SDK message for performing an undelegation from a\ndelegate and a validator.", + "type": "object", + "properties": { + "amount": { + "$ref": "#/definitions/cosmos.base.v1beta1.Coin" + }, + "delegator_address": { + "type": "string" + }, + "validator_address": { + "type": "string" + } + } + }, + "cosmos.staking.v1beta1.MsgUndelegateResponse": { + "description": "MsgUndelegateResponse defines the Msg/Undelegate response type.", + "type": "object", + "properties": { + "amount": { + "description": "Since: cosmos-sdk 0.50", + "title": "amount returns the amount of undelegated coins", + "$ref": "#/definitions/cosmos.base.v1beta1.Coin" + }, + "completion_time": { + "type": "string", + "format": "date-time" + } + } + }, + "cosmos.staking.v1beta1.MsgUpdateParams": { + "description": "MsgUpdateParams is the Msg/UpdateParams request type.\n\nSince: cosmos-sdk 0.47", + "type": "object", + "properties": { + "authority": { + "description": "authority is the address that controls the module (defaults to x/gov unless overwritten).", + "type": "string" + }, + "params": { + "description": "params defines the x/staking parameters to update.\n\nNOTE: All parameters must be supplied.", + "$ref": "#/definitions/cosmos.staking.v1beta1.Params" + } + } + }, + "cosmos.staking.v1beta1.MsgUpdateParamsResponse": { + "description": "MsgUpdateParamsResponse defines the response structure for executing a\nMsgUpdateParams message.\n\nSince: cosmos-sdk 0.47", + "type": "object" + }, + "cosmos.staking.v1beta1.Params": { + "description": "Params defines the parameters for the x/staking module.", + "type": "object", + "properties": { + "bond_denom": { + "description": "bond_denom defines the bondable coin denomination.", + "type": "string" + }, + "historical_entries": { + "description": "historical_entries is the number of historical entries to persist.", + "type": "integer", + "format": "int64" + }, + "max_entries": { + "description": "max_entries is the max entries for either unbonding delegation or redelegation (per pair/trio).", + "type": "integer", + "format": "int64" + }, + "max_validators": { + "description": "max_validators is the maximum number of validators.", + "type": "integer", + "format": "int64" + }, + "min_commission_rate": { + "type": "string", + "title": "min_commission_rate is the chain-wide minimum commission rate that a validator can charge their delegators" + }, + "unbonding_time": { + "description": "unbonding_time is the time duration of unbonding.", + "type": "string" + } + } + }, + "cosmos.staking.v1beta1.Pool": { + "description": "Pool is used for tracking bonded and not-bonded token supply of the bond\ndenomination.", + "type": "object", + "properties": { + "bonded_tokens": { + "type": "string" + }, + "not_bonded_tokens": { + "type": "string" + } + } + }, + "cosmos.staking.v1beta1.QueryDelegationResponse": { + "description": "QueryDelegationResponse is response type for the Query/Delegation RPC method.", + "type": "object", + "properties": { + "delegation_response": { + "description": "delegation_responses defines the delegation info of a delegation.", + "$ref": "#/definitions/cosmos.staking.v1beta1.DelegationResponse" + } + } + }, + "cosmos.staking.v1beta1.QueryDelegatorDelegationsResponse": { + "description": "QueryDelegatorDelegationsResponse is response type for the\nQuery/DelegatorDelegations RPC method.", + "type": "object", + "properties": { + "delegation_responses": { + "description": "delegation_responses defines all the delegations' info of a delegator.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.staking.v1beta1.DelegationResponse" + } + }, + "pagination": { + "description": "pagination defines the pagination in the response.", + "$ref": "#/definitions/cosmos.base.query.v1beta1.PageResponse" + } + } + }, + "cosmos.staking.v1beta1.QueryDelegatorUnbondingDelegationsResponse": { + "description": "QueryUnbondingDelegatorDelegationsResponse is response type for the\nQuery/UnbondingDelegatorDelegations RPC method.", + "type": "object", + "properties": { + "pagination": { + "description": "pagination defines the pagination in the response.", + "$ref": "#/definitions/cosmos.base.query.v1beta1.PageResponse" + }, + "unbonding_responses": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.staking.v1beta1.UnbondingDelegation" + } + } + } + }, + "cosmos.staking.v1beta1.QueryDelegatorValidatorResponse": { + "description": "QueryDelegatorValidatorResponse response type for the\nQuery/DelegatorValidator RPC method.", + "type": "object", + "properties": { + "validator": { + "description": "validator defines the validator info.", + "$ref": "#/definitions/cosmos.staking.v1beta1.Validator" + } + } + }, + "cosmos.staking.v1beta1.QueryDelegatorValidatorsResponse": { + "description": "QueryDelegatorValidatorsResponse is response type for the\nQuery/DelegatorValidators RPC method.", + "type": "object", + "properties": { + "pagination": { + "description": "pagination defines the pagination in the response.", + "$ref": "#/definitions/cosmos.base.query.v1beta1.PageResponse" + }, + "validators": { + "description": "validators defines the validators' info of a delegator.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.staking.v1beta1.Validator" + } + } + } + }, + "cosmos.staking.v1beta1.QueryHistoricalInfoResponse": { + "description": "QueryHistoricalInfoResponse is response type for the Query/HistoricalInfo RPC\nmethod.", + "type": "object", + "properties": { + "hist": { + "description": "hist defines the historical info at the given height.", + "$ref": "#/definitions/cosmos.staking.v1beta1.HistoricalInfo" + } + } + }, + "cosmos.staking.v1beta1.QueryParamsResponse": { + "description": "QueryParamsResponse is response type for the Query/Params RPC method.", + "type": "object", + "properties": { + "params": { + "description": "params holds all the parameters of this module.", + "$ref": "#/definitions/cosmos.staking.v1beta1.Params" + } + } + }, + "cosmos.staking.v1beta1.QueryPoolResponse": { + "description": "QueryPoolResponse is response type for the Query/Pool RPC method.", + "type": "object", + "properties": { + "pool": { + "description": "pool defines the pool info.", + "$ref": "#/definitions/cosmos.staking.v1beta1.Pool" + } + } + }, + "cosmos.staking.v1beta1.QueryRedelegationsResponse": { + "description": "QueryRedelegationsResponse is response type for the Query/Redelegations RPC\nmethod.", + "type": "object", + "properties": { + "pagination": { + "description": "pagination defines the pagination in the response.", + "$ref": "#/definitions/cosmos.base.query.v1beta1.PageResponse" + }, + "redelegation_responses": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.staking.v1beta1.RedelegationResponse" + } + } + } + }, + "cosmos.staking.v1beta1.QueryUnbondingDelegationResponse": { + "description": "QueryDelegationResponse is response type for the Query/UnbondingDelegation\nRPC method.", + "type": "object", + "properties": { + "unbond": { + "description": "unbond defines the unbonding information of a delegation.", + "$ref": "#/definitions/cosmos.staking.v1beta1.UnbondingDelegation" + } + } + }, + "cosmos.staking.v1beta1.QueryValidatorDelegationsResponse": { + "type": "object", + "title": "QueryValidatorDelegationsResponse is response type for the\nQuery/ValidatorDelegations RPC method", + "properties": { + "delegation_responses": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.staking.v1beta1.DelegationResponse" + } + }, + "pagination": { + "description": "pagination defines the pagination in the response.", + "$ref": "#/definitions/cosmos.base.query.v1beta1.PageResponse" + } + } + }, + "cosmos.staking.v1beta1.QueryValidatorResponse": { + "type": "object", + "title": "QueryValidatorResponse is response type for the Query/Validator RPC method", + "properties": { + "validator": { + "description": "validator defines the validator info.", + "$ref": "#/definitions/cosmos.staking.v1beta1.Validator" + } + } + }, + "cosmos.staking.v1beta1.QueryValidatorUnbondingDelegationsResponse": { + "description": "QueryValidatorUnbondingDelegationsResponse is response type for the\nQuery/ValidatorUnbondingDelegations RPC method.", + "type": "object", + "properties": { + "pagination": { + "description": "pagination defines the pagination in the response.", + "$ref": "#/definitions/cosmos.base.query.v1beta1.PageResponse" + }, + "unbonding_responses": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.staking.v1beta1.UnbondingDelegation" + } + } + } + }, + "cosmos.staking.v1beta1.QueryValidatorsResponse": { + "type": "object", + "title": "QueryValidatorsResponse is response type for the Query/Validators RPC method", + "properties": { + "pagination": { + "description": "pagination defines the pagination in the response.", + "$ref": "#/definitions/cosmos.base.query.v1beta1.PageResponse" + }, + "validators": { + "description": "validators contains all the queried validators.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.staking.v1beta1.Validator" + } + } + } + }, + "cosmos.staking.v1beta1.Redelegation": { + "description": "Redelegation contains the list of a particular delegator's redelegating bonds\nfrom a particular source validator to a particular destination validator.", + "type": "object", + "properties": { + "delegator_address": { + "description": "delegator_address is the bech32-encoded address of the delegator.", + "type": "string" + }, + "entries": { + "description": "entries are the redelegation entries.\n\nredelegation entries", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.staking.v1beta1.RedelegationEntry" + } + }, + "validator_dst_address": { + "description": "validator_dst_address is the validator redelegation destination operator address.", + "type": "string" + }, + "validator_src_address": { + "description": "validator_src_address is the validator redelegation source operator address.", + "type": "string" + } + } + }, + "cosmos.staking.v1beta1.RedelegationEntry": { + "description": "RedelegationEntry defines a redelegation object with relevant metadata.", + "type": "object", + "properties": { + "completion_time": { + "description": "completion_time defines the unix time for redelegation completion.", + "type": "string", + "format": "date-time" + }, + "creation_height": { + "description": "creation_height defines the height which the redelegation took place.", + "type": "string", + "format": "int64" + }, + "initial_balance": { + "description": "initial_balance defines the initial balance when redelegation started.", + "type": "string" + }, + "shares_dst": { + "description": "shares_dst is the amount of destination-validator shares created by redelegation.", + "type": "string" + }, + "unbonding_id": { + "type": "string", + "format": "uint64", + "title": "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" + } + } + }, + "cosmos.staking.v1beta1.RedelegationEntryResponse": { + "description": "RedelegationEntryResponse is equivalent to a RedelegationEntry except that it\ncontains a balance in addition to shares which is more suitable for client\nresponses.", + "type": "object", + "properties": { + "balance": { + "type": "string" + }, + "redelegation_entry": { + "$ref": "#/definitions/cosmos.staking.v1beta1.RedelegationEntry" + } + } + }, + "cosmos.staking.v1beta1.RedelegationResponse": { + "description": "RedelegationResponse is equivalent to a Redelegation except that its entries\ncontain a balance in addition to shares which is more suitable for client\nresponses.", + "type": "object", + "properties": { + "entries": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.staking.v1beta1.RedelegationEntryResponse" + } + }, + "redelegation": { + "$ref": "#/definitions/cosmos.staking.v1beta1.Redelegation" + } + } + }, + "cosmos.staking.v1beta1.UnbondingDelegation": { + "description": "UnbondingDelegation stores all of a single delegator's unbonding bonds\nfor a single validator in an time-ordered list.", + "type": "object", + "properties": { + "delegator_address": { + "description": "delegator_address is the encoded address of the delegator.", + "type": "string" + }, + "entries": { + "description": "entries are the unbonding delegation entries.\n\nunbonding delegation entries", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.staking.v1beta1.UnbondingDelegationEntry" + } + }, + "validator_address": { + "description": "validator_address is the encoded address of the validator.", + "type": "string" + } + } + }, + "cosmos.staking.v1beta1.UnbondingDelegationEntry": { + "description": "UnbondingDelegationEntry defines an unbonding object with relevant metadata.", + "type": "object", + "properties": { + "balance": { + "description": "balance defines the tokens to receive at completion.", + "type": "string" + }, + "completion_time": { + "description": "completion_time is the unix time for unbonding completion.", + "type": "string", + "format": "date-time" + }, + "creation_height": { + "description": "creation_height is the height which the unbonding took place.", + "type": "string", + "format": "int64" + }, + "initial_balance": { + "description": "initial_balance defines the tokens initially scheduled to receive at completion.", + "type": "string" + }, + "unbonding_id": { + "type": "string", + "format": "uint64", + "title": "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" + } + } + }, + "cosmos.staking.v1beta1.Validator": { + "description": "Validator defines a validator, together with the total amount of the\nValidator's bond shares and their exchange rate to coins. Slashing results in\na decrease in the exchange rate, allowing correct calculation of future\nundelegations without iterating over delegators. When coins are delegated to\nthis validator, the validator is credited with a delegation whose number of\nbond shares is based on the amount of coins delegated divided by the current\nexchange rate. Voting power can be calculated as total bonded shares\nmultiplied by exchange rate.", + "type": "object", + "properties": { + "commission": { + "description": "commission defines the commission parameters.", + "$ref": "#/definitions/cosmos.staking.v1beta1.Commission" + }, + "consensus_pubkey": { + "description": "consensus_pubkey is the consensus public key of the validator, as a Protobuf Any.", + "$ref": "#/definitions/google.protobuf.Any" + }, + "delegator_shares": { + "description": "delegator_shares defines total shares issued to a validator's delegators.", + "type": "string" + }, + "description": { + "description": "description defines the description terms for the validator.", + "$ref": "#/definitions/cosmos.staking.v1beta1.Description" + }, + "jailed": { + "description": "jailed defined whether the validator has been jailed from bonded status or not.", + "type": "boolean" + }, + "min_self_delegation": { + "description": "min_self_delegation is the validator's self declared minimum self delegation.\n\nSince: cosmos-sdk 0.46", + "type": "string" + }, + "operator_address": { + "description": "operator_address defines the address of the validator's operator; bech encoded in JSON.", + "type": "string" + }, + "status": { + "description": "status is the validator status (bonded/unbonding/unbonded).", + "$ref": "#/definitions/cosmos.staking.v1beta1.BondStatus" + }, + "tokens": { + "description": "tokens define the delegated tokens (incl. self-delegation).", + "type": "string" + }, + "unbonding_height": { + "description": "unbonding_height defines, if unbonding, the height at which this validator has begun unbonding.", + "type": "string", + "format": "int64" + }, + "unbonding_ids": { + "type": "array", + "title": "list of unbonding ids, each uniquely identifing an unbonding of this validator", + "items": { + "type": "string", + "format": "uint64" + } + }, + "unbonding_on_hold_ref_count": { + "type": "string", + "format": "int64", + "title": "strictly positive if this validator's unbonding has been stopped by external modules" + }, + "unbonding_time": { + "description": "unbonding_time defines, if unbonding, the min time for the validator to complete unbonding.", + "type": "string", + "format": "date-time" + } + } + }, + "cosmos.store.streaming.abci.ListenCommitRequest": { + "type": "object", + "title": "ListenCommitRequest is the request type for the ListenCommit RPC method", + "properties": { + "block_height": { + "type": "string", + "format": "int64", + "title": "explicitly pass in block height as ResponseCommit does not contain this info" + }, + "change_set": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.store.v1beta1.StoreKVPair" + } + }, + "res": { + "$ref": "#/definitions/tendermint.abci.ResponseCommit" + } + } + }, + "cosmos.store.streaming.abci.ListenCommitResponse": { + "type": "object", + "title": "ListenCommitResponse is the response type for the ListenCommit RPC method" + }, + "cosmos.store.streaming.abci.ListenFinalizeBlockRequest": { + "type": "object", + "title": "ListenEndBlockRequest is the request type for the ListenEndBlock RPC method", + "properties": { + "req": { + "$ref": "#/definitions/tendermint.abci.RequestFinalizeBlock" + }, + "res": { + "$ref": "#/definitions/tendermint.abci.ResponseFinalizeBlock" + } + } + }, + "cosmos.store.streaming.abci.ListenFinalizeBlockResponse": { + "type": "object", + "title": "ListenEndBlockResponse is the response type for the ListenEndBlock RPC method" + }, + "cosmos.store.v1beta1.StoreKVPair": { + "description": "Since: cosmos-sdk 0.43", + "type": "object", + "title": "StoreKVPair is a KVStore KVPair used for listening to state changes (Sets and Deletes)\nIt optionally includes the StoreKey for the originating KVStore and a Boolean flag to distinguish between Sets and\nDeletes", + "properties": { + "delete": { + "type": "boolean", + "title": "true indicates a delete operation, false indicates a set operation" + }, + "key": { + "type": "string", + "format": "byte" + }, + "store_key": { + "type": "string", + "title": "the store key for the KVStore this pair originates from" + }, + "value": { + "type": "string", + "format": "byte" + } + } + }, + "cosmos.tx.signing.v1beta1.SignMode": { + "description": "SignMode represents a signing mode with its own security guarantees.\n\nThis enum should be considered a registry of all known sign modes\nin the Cosmos ecosystem. Apps are not expected to support all known\nsign modes. Apps that would like to support custom sign modes are\nencouraged to open a small PR against this file to add a new case\nto this SignMode enum describing their sign mode so that different\napps have a consistent version of this enum.\n\n - SIGN_MODE_UNSPECIFIED: SIGN_MODE_UNSPECIFIED specifies an unknown signing mode and will be\nrejected.\n - SIGN_MODE_DIRECT: SIGN_MODE_DIRECT specifies a signing mode which uses SignDoc and is\nverified with raw bytes from Tx.\n - SIGN_MODE_TEXTUAL: SIGN_MODE_TEXTUAL is a future signing mode that will verify some\nhuman-readable textual representation on top of the binary representation\nfrom SIGN_MODE_DIRECT.\n\nSince: cosmos-sdk 0.50\n - SIGN_MODE_DIRECT_AUX: SIGN_MODE_DIRECT_AUX specifies a signing mode which uses\nSignDocDirectAux. As opposed to SIGN_MODE_DIRECT, this sign mode does not\nrequire signers signing over other signers' `signer_info`.\n\nSince: cosmos-sdk 0.46\n - SIGN_MODE_LEGACY_AMINO_JSON: SIGN_MODE_LEGACY_AMINO_JSON is a backwards compatibility mode which uses\nAmino JSON and will be removed in the future.\n - SIGN_MODE_EIP_191: SIGN_MODE_EIP_191 specifies the sign mode for EIP 191 signing on the Cosmos\nSDK. Ref: https://eips.ethereum.org/EIPS/eip-191\n\nCurrently, SIGN_MODE_EIP_191 is registered as a SignMode enum variant,\nbut is not implemented on the SDK by default. To enable EIP-191, you need\nto pass a custom `TxConfig` that has an implementation of\n`SignModeHandler` for EIP-191. The SDK may decide to fully support\nEIP-191 in the future.\n\nSince: cosmos-sdk 0.45.2", + "type": "string", + "default": "SIGN_MODE_UNSPECIFIED", + "enum": [ + "SIGN_MODE_UNSPECIFIED", + "SIGN_MODE_DIRECT", + "SIGN_MODE_TEXTUAL", + "SIGN_MODE_DIRECT_AUX", + "SIGN_MODE_LEGACY_AMINO_JSON", + "SIGN_MODE_EIP_191" + ] + }, + "cosmos.tx.v1beta1.AuthInfo": { + "description": "AuthInfo describes the fee and signer modes that are used to sign a\ntransaction.", + "type": "object", + "properties": { + "fee": { + "description": "Fee is the fee and gas limit for the transaction. The first signer is the\nprimary signer and the one which pays the fee. The fee can be calculated\nbased on the cost of evaluating the body and doing signature verification\nof the signers. This can be estimated via simulation.", + "$ref": "#/definitions/cosmos.tx.v1beta1.Fee" + }, + "signer_infos": { + "description": "signer_infos defines the signing modes for the required signers. The number\nand order of elements must match the required signers from TxBody's\nmessages. The first element is the primary signer and the one which pays\nthe fee.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.tx.v1beta1.SignerInfo" + } + }, + "tip": { + "description": "Tip is the optional tip used for transactions fees paid in another denom.\n\nThis field is ignored if the chain didn't enable tips, i.e. didn't add the\n`TipDecorator` in its posthandler.\n\nSince: cosmos-sdk 0.46", + "$ref": "#/definitions/cosmos.tx.v1beta1.Tip" + } + } + }, + "cosmos.tx.v1beta1.BroadcastMode": { + "description": "BroadcastMode specifies the broadcast mode for the TxService.Broadcast RPC\nmethod.\n\n - BROADCAST_MODE_UNSPECIFIED: zero-value for mode ordering\n - BROADCAST_MODE_BLOCK: DEPRECATED: use BROADCAST_MODE_SYNC instead,\nBROADCAST_MODE_BLOCK is not supported by the SDK from v0.47.x onwards.\n - BROADCAST_MODE_SYNC: BROADCAST_MODE_SYNC defines a tx broadcasting mode where the client waits\nfor a CheckTx execution response only.\n - BROADCAST_MODE_ASYNC: BROADCAST_MODE_ASYNC defines a tx broadcasting mode where the client\nreturns immediately.", + "type": "string", + "default": "BROADCAST_MODE_UNSPECIFIED", + "enum": [ + "BROADCAST_MODE_UNSPECIFIED", + "BROADCAST_MODE_BLOCK", + "BROADCAST_MODE_SYNC", + "BROADCAST_MODE_ASYNC" + ] + }, + "cosmos.tx.v1beta1.BroadcastTxRequest": { + "description": "BroadcastTxRequest is the request type for the Service.BroadcastTxRequest\nRPC method.", + "type": "object", + "properties": { + "mode": { + "$ref": "#/definitions/cosmos.tx.v1beta1.BroadcastMode" + }, + "tx_bytes": { + "description": "tx_bytes is the raw transaction.", + "type": "string", + "format": "byte" + } + } + }, + "cosmos.tx.v1beta1.BroadcastTxResponse": { + "description": "BroadcastTxResponse is the response type for the\nService.BroadcastTx method.", + "type": "object", + "properties": { + "tx_response": { + "description": "tx_response is the queried TxResponses.", + "$ref": "#/definitions/cosmos.base.abci.v1beta1.TxResponse" + } + } + }, + "cosmos.tx.v1beta1.Fee": { + "description": "Fee includes the amount of coins paid in fees and the maximum\ngas to be used by the transaction. The ratio yields an effective \"gasprice\",\nwhich must be above some miminum to be accepted into the mempool.", + "type": "object", + "properties": { + "amount": { + "type": "array", + "title": "amount is the amount of coins to be paid as a fee", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.base.v1beta1.Coin" + } + }, + "gas_limit": { + "type": "string", + "format": "uint64", + "title": "gas_limit is the maximum gas that can be used in transaction processing\nbefore an out of gas error occurs" + }, + "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\nto pay fees instead of the fee payer's own balance. If an appropriate fee grant does not exist or the chain does\nnot support fee grants, this will fail" + }, + "payer": { + "description": "if unset, the first signer is responsible for paying the fees. If set, the specified account must pay the fees.\nthe payer must be a tx signer (and thus have signed this field in AuthInfo).\nsetting this field does *not* change the ordering of required signers for the transaction.", + "type": "string" + } + } + }, + "cosmos.tx.v1beta1.GetBlockWithTxsResponse": { + "description": "GetBlockWithTxsResponse is the response type for the Service.GetBlockWithTxs\nmethod.\n\nSince: cosmos-sdk 0.45.2", + "type": "object", + "properties": { + "block": { + "$ref": "#/definitions/tendermint.types.Block" + }, + "block_id": { + "$ref": "#/definitions/tendermint.types.BlockID" + }, + "pagination": { + "description": "pagination defines a pagination for the response.", + "$ref": "#/definitions/cosmos.base.query.v1beta1.PageResponse" + }, + "txs": { + "description": "txs are the transactions in the block.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.tx.v1beta1.Tx" + } + } + } + }, + "cosmos.tx.v1beta1.GetTxResponse": { + "description": "GetTxResponse is the response type for the Service.GetTx method.", + "type": "object", + "properties": { + "tx": { + "description": "tx is the queried transaction.", + "$ref": "#/definitions/cosmos.tx.v1beta1.Tx" + }, + "tx_response": { + "description": "tx_response is the queried TxResponses.", + "$ref": "#/definitions/cosmos.base.abci.v1beta1.TxResponse" + } + } + }, + "cosmos.tx.v1beta1.GetTxsEventResponse": { + "description": "GetTxsEventResponse is the response type for the Service.TxsByEvents\nRPC method.", + "type": "object", + "properties": { + "pagination": { + "description": "pagination defines a pagination for the response.\nDeprecated post v0.46.x: use total instead.", + "$ref": "#/definitions/cosmos.base.query.v1beta1.PageResponse" + }, + "total": { + "type": "string", + "format": "uint64", + "title": "total is total number of results available" + }, + "tx_responses": { + "description": "tx_responses is the list of queried TxResponses.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.base.abci.v1beta1.TxResponse" + } + }, + "txs": { + "description": "txs is the list of queried transactions.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.tx.v1beta1.Tx" + } + } + } + }, + "cosmos.tx.v1beta1.ModeInfo": { + "description": "ModeInfo describes the signing mode of a single or nested multisig signer.", + "type": "object", + "properties": { + "multi": { + "title": "multi represents a nested multisig signer", + "$ref": "#/definitions/cosmos.tx.v1beta1.ModeInfo.Multi" + }, + "single": { + "title": "single represents a single signer", + "$ref": "#/definitions/cosmos.tx.v1beta1.ModeInfo.Single" + } + } + }, + "cosmos.tx.v1beta1.ModeInfo.Multi": { + "type": "object", + "title": "Multi is the mode info for a multisig public key", + "properties": { + "bitarray": { + "title": "bitarray specifies which keys within the multisig are signing", + "$ref": "#/definitions/cosmos.crypto.multisig.v1beta1.CompactBitArray" + }, + "mode_infos": { + "type": "array", + "title": "mode_infos is the corresponding modes of the signers of the multisig\nwhich could include nested multisig public keys", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.tx.v1beta1.ModeInfo" + } + } + } + }, + "cosmos.tx.v1beta1.ModeInfo.Single": { + "type": "object", + "title": "Single is the mode info for a single signer. It is structured as a message\nto allow for additional fields such as locale for SIGN_MODE_TEXTUAL in the\nfuture", + "properties": { + "mode": { + "title": "mode is the signing mode of the single signer", + "$ref": "#/definitions/cosmos.tx.signing.v1beta1.SignMode" + } + } + }, + "cosmos.tx.v1beta1.OrderBy": { + "description": "- ORDER_BY_UNSPECIFIED: ORDER_BY_UNSPECIFIED specifies an unknown sorting order. OrderBy defaults\nto ASC in this case.\n - ORDER_BY_ASC: ORDER_BY_ASC defines ascending order\n - ORDER_BY_DESC: ORDER_BY_DESC defines descending order", + "type": "string", + "title": "OrderBy defines the sorting order", + "default": "ORDER_BY_UNSPECIFIED", + "enum": [ + "ORDER_BY_UNSPECIFIED", + "ORDER_BY_ASC", + "ORDER_BY_DESC" + ] + }, + "cosmos.tx.v1beta1.SignerInfo": { + "description": "SignerInfo describes the public key and signing mode of a single top-level\nsigner.", + "type": "object", + "properties": { + "mode_info": { + "title": "mode_info describes the signing mode of the signer and is a nested\nstructure to support nested multisig pubkey's", + "$ref": "#/definitions/cosmos.tx.v1beta1.ModeInfo" + }, + "public_key": { + "description": "public_key is the public key of the signer. It is optional for accounts\nthat already exist in state. If unset, the verifier can use the required \\\nsigner address for this position and lookup the public key.", + "$ref": "#/definitions/google.protobuf.Any" + }, + "sequence": { + "description": "sequence is the sequence of the account, which describes the\nnumber of committed transactions signed by a given address. It is used to\nprevent replay attacks.", + "type": "string", + "format": "uint64" + } + } + }, + "cosmos.tx.v1beta1.SimulateRequest": { + "description": "SimulateRequest is the request type for the Service.Simulate\nRPC method.", + "type": "object", + "properties": { + "tx": { + "description": "tx is the transaction to simulate.\nDeprecated. Send raw tx bytes instead.", + "$ref": "#/definitions/cosmos.tx.v1beta1.Tx" + }, + "tx_bytes": { + "description": "tx_bytes is the raw transaction.\n\nSince: cosmos-sdk 0.43", + "type": "string", + "format": "byte" + } + } + }, + "cosmos.tx.v1beta1.SimulateResponse": { + "description": "SimulateResponse is the response type for the\nService.SimulateRPC method.", + "type": "object", + "properties": { + "gas_info": { + "description": "gas_info is the information about gas used in the simulation.", + "$ref": "#/definitions/cosmos.base.abci.v1beta1.GasInfo" + }, + "result": { + "description": "result is the result of the simulation.", + "$ref": "#/definitions/cosmos.base.abci.v1beta1.Result" + } + } + }, + "cosmos.tx.v1beta1.Tip": { + "description": "Tip is the tip used for meta-transactions.\n\nSince: cosmos-sdk 0.46", + "type": "object", + "properties": { + "amount": { + "type": "array", + "title": "amount is the amount of the tip", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.base.v1beta1.Coin" + } + }, + "tipper": { + "type": "string", + "title": "tipper is the address of the account paying for the tip" + } + } + }, + "cosmos.tx.v1beta1.Tx": { + "description": "Tx is the standard type used for broadcasting transactions.", + "type": "object", + "properties": { + "auth_info": { + "title": "auth_info is the authorization related content of the transaction,\nspecifically signers, signer modes and fee", + "$ref": "#/definitions/cosmos.tx.v1beta1.AuthInfo" + }, + "body": { + "title": "body is the processable content of the transaction", + "$ref": "#/definitions/cosmos.tx.v1beta1.TxBody" + }, + "signatures": { + "description": "signatures is a list of signatures that matches the length and order of\nAuthInfo's signer_infos to allow connecting signature meta information like\npublic key and signing mode by position.", + "type": "array", + "items": { + "type": "string", + "format": "byte" + } + } + } + }, + "cosmos.tx.v1beta1.TxBody": { + "description": "TxBody is the body of a transaction that all signers sign over.", + "type": "object", + "properties": { + "extension_options": { + "type": "array", + "title": "extension_options are arbitrary options that can be added by chains\nwhen the default options are not sufficient. If any of these are present\nand can't be handled, the transaction will be rejected", + "items": { + "type": "object", + "$ref": "#/definitions/google.protobuf.Any" + } + }, + "memo": { + "description": "memo is any arbitrary note/comment to be added to the transaction.\nWARNING: in clients, any publicly exposed text should not be called memo,\nbut should be called `note` instead (see https://github.com/cosmos/cosmos-sdk/issues/9122).", + "type": "string" + }, + "messages": { + "description": "messages is a list of messages to be executed. The required signers of\nthose messages define the number and order of elements in AuthInfo's\nsigner_infos and Tx's signatures. Each required signer address is added to\nthe list only the first time it occurs.\nBy convention, the first required signer (usually from the first message)\nis referred to as the primary signer and pays the fee for the whole\ntransaction.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/google.protobuf.Any" + } + }, + "non_critical_extension_options": { + "type": "array", + "title": "extension_options are arbitrary options that can be added by chains\nwhen the default options are not sufficient. If any of these are present\nand can't be handled, they will be ignored", + "items": { + "type": "object", + "$ref": "#/definitions/google.protobuf.Any" + } + }, + "timeout_height": { + "type": "string", + "format": "uint64", + "title": "timeout is the block height after which this transaction will not\nbe processed by the chain" + } + } + }, + "cosmos.tx.v1beta1.TxDecodeAminoRequest": { + "description": "TxDecodeAminoRequest is the request type for the Service.TxDecodeAmino\nRPC method.\n\nSince: cosmos-sdk 0.47", + "type": "object", + "properties": { + "amino_binary": { + "type": "string", + "format": "byte" + } + } + }, + "cosmos.tx.v1beta1.TxDecodeAminoResponse": { + "description": "TxDecodeAminoResponse is the response type for the Service.TxDecodeAmino\nRPC method.\n\nSince: cosmos-sdk 0.47", + "type": "object", + "properties": { + "amino_json": { + "type": "string" + } + } + }, + "cosmos.tx.v1beta1.TxDecodeRequest": { + "description": "TxDecodeRequest is the request type for the Service.TxDecode\nRPC method.\n\nSince: cosmos-sdk 0.47", + "type": "object", + "properties": { + "tx_bytes": { + "description": "tx_bytes is the raw transaction.", + "type": "string", + "format": "byte" + } + } + }, + "cosmos.tx.v1beta1.TxDecodeResponse": { + "description": "TxDecodeResponse is the response type for the\nService.TxDecode method.\n\nSince: cosmos-sdk 0.47", + "type": "object", + "properties": { + "tx": { + "description": "tx is the decoded transaction.", + "$ref": "#/definitions/cosmos.tx.v1beta1.Tx" + } + } + }, + "cosmos.tx.v1beta1.TxEncodeAminoRequest": { + "description": "TxEncodeAminoRequest is the request type for the Service.TxEncodeAmino\nRPC method.\n\nSince: cosmos-sdk 0.47", + "type": "object", + "properties": { + "amino_json": { + "type": "string" + } + } + }, + "cosmos.tx.v1beta1.TxEncodeAminoResponse": { + "description": "TxEncodeAminoResponse is the response type for the Service.TxEncodeAmino\nRPC method.\n\nSince: cosmos-sdk 0.47", + "type": "object", + "properties": { + "amino_binary": { + "type": "string", + "format": "byte" + } + } + }, + "cosmos.tx.v1beta1.TxEncodeRequest": { + "description": "TxEncodeRequest is the request type for the Service.TxEncode\nRPC method.\n\nSince: cosmos-sdk 0.47", + "type": "object", + "properties": { + "tx": { + "description": "tx is the transaction to encode.", + "$ref": "#/definitions/cosmos.tx.v1beta1.Tx" + } + } + }, + "cosmos.tx.v1beta1.TxEncodeResponse": { + "description": "TxEncodeResponse is the response type for the\nService.TxEncode method.\n\nSince: cosmos-sdk 0.47", + "type": "object", + "properties": { + "tx_bytes": { + "description": "tx_bytes is the encoded transaction bytes.", + "type": "string", + "format": "byte" + } + } + }, + "cosmos.upgrade.v1beta1.ModuleVersion": { + "description": "ModuleVersion specifies a module and its consensus version.\n\nSince: cosmos-sdk 0.43", + "type": "object", + "properties": { + "name": { + "type": "string", + "title": "name of the app module" + }, + "version": { + "type": "string", + "format": "uint64", + "title": "consensus version of the app module" + } + } + }, + "cosmos.upgrade.v1beta1.MsgCancelUpgrade": { + "description": "MsgCancelUpgrade is the Msg/CancelUpgrade request type.\n\nSince: cosmos-sdk 0.46", + "type": "object", + "properties": { + "authority": { + "description": "authority is the address that controls the module (defaults to x/gov unless overwritten).", + "type": "string" + } + } + }, + "cosmos.upgrade.v1beta1.MsgCancelUpgradeResponse": { + "description": "MsgCancelUpgradeResponse is the Msg/CancelUpgrade response type.\n\nSince: cosmos-sdk 0.46", + "type": "object" + }, + "cosmos.upgrade.v1beta1.MsgSoftwareUpgrade": { + "description": "MsgSoftwareUpgrade is the Msg/SoftwareUpgrade request type.\n\nSince: cosmos-sdk 0.46", + "type": "object", + "properties": { + "authority": { + "description": "authority is the address that controls the module (defaults to x/gov unless overwritten).", + "type": "string" + }, + "plan": { + "description": "plan is the upgrade plan.", + "$ref": "#/definitions/cosmos.upgrade.v1beta1.Plan" + } + } + }, + "cosmos.upgrade.v1beta1.MsgSoftwareUpgradeResponse": { + "description": "MsgSoftwareUpgradeResponse is the Msg/SoftwareUpgrade response type.\n\nSince: cosmos-sdk 0.46", + "type": "object" + }, + "cosmos.upgrade.v1beta1.Plan": { + "description": "Plan specifies information about a planned upgrade and when it should occur.", + "type": "object", + "properties": { + "height": { + "description": "The height at which the upgrade must be performed.", + "type": "string", + "format": "int64" + }, + "info": { + "type": "string", + "title": "Any application specific upgrade info to be included on-chain\nsuch as a git commit that validators could automatically upgrade to" + }, + "name": { + "description": "Sets the name for the upgrade. This name will be used by the upgraded\nversion of the software to apply any special \"on-upgrade\" commands during\nthe first BeginBlock method after the upgrade is applied. It is also used\nto detect whether a software version can handle a given upgrade. If no\nupgrade handler with this name has been set in the software, it will be\nassumed that the software is out-of-date when the upgrade Time or Height is\nreached and the software will exit.", + "type": "string" + }, + "time": { + "description": "Deprecated: Time based upgrades have been deprecated. Time based upgrade logic\nhas been removed from the SDK.\nIf this field is not empty, an error will be thrown.", + "type": "string", + "format": "date-time" + }, + "upgraded_client_state": { + "description": "Deprecated: UpgradedClientState field has been deprecated. IBC upgrade logic has been\nmoved to the IBC module in the sub module 02-client.\nIf this field is not empty, an error will be thrown.", + "$ref": "#/definitions/google.protobuf.Any" + } + } + }, + "cosmos.upgrade.v1beta1.QueryAppliedPlanResponse": { + "description": "QueryAppliedPlanResponse is the response type for the Query/AppliedPlan RPC\nmethod.", + "type": "object", + "properties": { + "height": { + "description": "height is the block height at which the plan was applied.", + "type": "string", + "format": "int64" + } + } + }, + "cosmos.upgrade.v1beta1.QueryAuthorityResponse": { + "description": "Since: cosmos-sdk 0.46", + "type": "object", + "title": "QueryAuthorityResponse is the response type for Query/Authority", + "properties": { + "address": { + "type": "string" + } + } + }, + "cosmos.upgrade.v1beta1.QueryCurrentPlanResponse": { + "description": "QueryCurrentPlanResponse is the response type for the Query/CurrentPlan RPC\nmethod.", + "type": "object", + "properties": { + "plan": { + "description": "plan is the current upgrade plan.", + "$ref": "#/definitions/cosmos.upgrade.v1beta1.Plan" + } + } + }, + "cosmos.upgrade.v1beta1.QueryModuleVersionsResponse": { + "description": "QueryModuleVersionsResponse is the response type for the Query/ModuleVersions\nRPC method.\n\nSince: cosmos-sdk 0.43", + "type": "object", + "properties": { + "module_versions": { + "description": "module_versions is a list of module names with their consensus versions.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.upgrade.v1beta1.ModuleVersion" + } + } + } + }, + "cosmos.upgrade.v1beta1.QueryUpgradedConsensusStateResponse": { + "description": "QueryUpgradedConsensusStateResponse is the response type for the Query/UpgradedConsensusState\nRPC method.", + "type": "object", + "properties": { + "upgraded_consensus_state": { + "type": "string", + "format": "byte", + "title": "Since: cosmos-sdk 0.43" + } + } + }, + "cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccount": { + "description": "MsgCreateVestingAccount defines a message that enables creating a vesting\naccount.\n\nSince: cosmos-sdk 0.46", + "type": "object", + "properties": { + "from_address": { + "type": "string" + }, + "start_time": { + "description": "start of vesting as unix time (in seconds).", + "type": "string", + "format": "int64" + }, + "to_address": { + "type": "string" + }, + "vesting_periods": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.vesting.v1beta1.Period" + } + } + } + }, + "cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccountResponse": { + "description": "MsgCreateVestingAccountResponse defines the Msg/CreatePeriodicVestingAccount\nresponse type.\n\nSince: cosmos-sdk 0.46", + "type": "object" + }, + "cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccount": { + "description": "MsgCreatePermanentLockedAccount defines a message that enables creating a permanent\nlocked account.\n\nSince: cosmos-sdk 0.46", + "type": "object", + "properties": { + "amount": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.base.v1beta1.Coin" + } + }, + "from_address": { + "type": "string" + }, + "to_address": { + "type": "string" + } + } + }, + "cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccountResponse": { + "description": "MsgCreatePermanentLockedAccountResponse defines the Msg/CreatePermanentLockedAccount response type.\n\nSince: cosmos-sdk 0.46", + "type": "object" + }, + "cosmos.vesting.v1beta1.MsgCreateVestingAccount": { + "description": "MsgCreateVestingAccount defines a message that enables creating a vesting\naccount.", + "type": "object", + "properties": { + "amount": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.base.v1beta1.Coin" + } + }, + "delayed": { + "type": "boolean" + }, + "end_time": { + "description": "end of vesting as unix time (in seconds).", + "type": "string", + "format": "int64" + }, + "from_address": { + "type": "string" + }, + "to_address": { + "type": "string" + } + } + }, + "cosmos.vesting.v1beta1.MsgCreateVestingAccountResponse": { + "description": "MsgCreateVestingAccountResponse defines the Msg/CreateVestingAccount response type.", + "type": "object" + }, + "cosmos.vesting.v1beta1.Period": { + "description": "Period defines a length of time and amount of coins that will vest.", + "type": "object", + "properties": { + "amount": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.base.v1beta1.Coin" + } + }, + "length": { + "description": "Period duration in seconds.", + "type": "string", + "format": "int64" + } + } + }, + "google.protobuf.Any": { + "type": "object", + "properties": { + "@type": { + "type": "string" + } + }, + "additionalProperties": {} + }, + "google.rpc.Status": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/google.protobuf.Any" + } + }, + "message": { + "type": "string" + } + } + }, + "ibc.applications.fee.v1.Fee": { + "type": "object", + "title": "Fee defines the ICS29 receive, acknowledgement and timeout fees", + "properties": { + "ack_fee": { + "type": "array", + "title": "the packet acknowledgement fee", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.base.v1beta1.Coin" + } + }, + "recv_fee": { + "type": "array", + "title": "the packet receive fee", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.base.v1beta1.Coin" + } + }, + "timeout_fee": { + "type": "array", + "title": "the packet timeout fee", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.base.v1beta1.Coin" + } + } + } + }, + "ibc.applications.fee.v1.FeeEnabledChannel": { + "type": "object", + "title": "FeeEnabledChannel contains the PortID & ChannelID for a fee enabled channel", + "properties": { + "channel_id": { + "type": "string", + "title": "unique channel identifier" + }, + "port_id": { + "type": "string", + "title": "unique port identifier" + } + } + }, + "ibc.applications.fee.v1.IdentifiedPacketFees": { + "type": "object", + "title": "IdentifiedPacketFees contains a list of type PacketFee and associated PacketId", + "properties": { + "packet_fees": { + "type": "array", + "title": "list of packet fees", + "items": { + "type": "object", + "$ref": "#/definitions/ibc.applications.fee.v1.PacketFee" + } + }, + "packet_id": { + "title": "unique packet identifier comprised of the channel ID, port ID and sequence", + "$ref": "#/definitions/ibc.core.channel.v1.PacketId" + } + } + }, + "ibc.applications.fee.v1.MsgPayPacketFee": { + "type": "object", + "title": "MsgPayPacketFee defines the request type for the PayPacketFee rpc\nThis Msg can be used to pay for a packet at the next sequence send & should be combined with the Msg that will be\npaid for", + "properties": { + "fee": { + "title": "fee encapsulates the recv, ack and timeout fees associated with an IBC packet", + "$ref": "#/definitions/ibc.applications.fee.v1.Fee" + }, + "relayers": { + "type": "array", + "title": "optional list of relayers permitted to the receive packet fees", + "items": { + "type": "string" + } + }, + "signer": { + "type": "string", + "title": "account address to refund fee if necessary" + }, + "source_channel_id": { + "type": "string", + "title": "the source channel unique identifer" + }, + "source_port_id": { + "type": "string", + "title": "the source port unique identifier" + } + } + }, + "ibc.applications.fee.v1.MsgPayPacketFeeAsync": { + "type": "object", + "title": "MsgPayPacketFeeAsync defines the request type for the PayPacketFeeAsync rpc\nThis Msg can be used to pay for a packet at a specified sequence (instead of the next sequence send)", + "properties": { + "packet_fee": { + "title": "the packet fee associated with a particular IBC packet", + "$ref": "#/definitions/ibc.applications.fee.v1.PacketFee" + }, + "packet_id": { + "title": "unique packet identifier comprised of the channel ID, port ID and sequence", + "$ref": "#/definitions/ibc.core.channel.v1.PacketId" + } + } + }, + "ibc.applications.fee.v1.MsgPayPacketFeeAsyncResponse": { + "type": "object", + "title": "MsgPayPacketFeeAsyncResponse defines the response type for the PayPacketFeeAsync rpc" + }, + "ibc.applications.fee.v1.MsgPayPacketFeeResponse": { + "type": "object", + "title": "MsgPayPacketFeeResponse defines the response type for the PayPacketFee rpc" + }, + "ibc.applications.fee.v1.MsgRegisterCounterpartyPayee": { + "type": "object", + "title": "MsgRegisterCounterpartyPayee defines the request type for the RegisterCounterpartyPayee rpc", + "properties": { + "channel_id": { + "type": "string", + "title": "unique channel identifier" + }, + "counterparty_payee": { + "type": "string", + "title": "the counterparty payee address" + }, + "port_id": { + "type": "string", + "title": "unique port identifier" + }, + "relayer": { + "type": "string", + "title": "the relayer address" + } + } + }, + "ibc.applications.fee.v1.MsgRegisterCounterpartyPayeeResponse": { + "type": "object", + "title": "MsgRegisterCounterpartyPayeeResponse defines the response type for the RegisterCounterpartyPayee rpc" + }, + "ibc.applications.fee.v1.MsgRegisterPayee": { + "type": "object", + "title": "MsgRegisterPayee defines the request type for the RegisterPayee rpc", + "properties": { + "channel_id": { + "type": "string", + "title": "unique channel identifier" + }, + "payee": { + "type": "string", + "title": "the payee address" + }, + "port_id": { + "type": "string", + "title": "unique port identifier" + }, + "relayer": { + "type": "string", + "title": "the relayer address" + } + } + }, + "ibc.applications.fee.v1.MsgRegisterPayeeResponse": { + "type": "object", + "title": "MsgRegisterPayeeResponse defines the response type for the RegisterPayee rpc" + }, + "ibc.applications.fee.v1.PacketFee": { + "type": "object", + "title": "PacketFee contains ICS29 relayer fees, refund address and optional list of permitted relayers", + "properties": { + "fee": { + "title": "fee encapsulates the recv, ack and timeout fees associated with an IBC packet", + "$ref": "#/definitions/ibc.applications.fee.v1.Fee" + }, + "refund_address": { + "type": "string", + "title": "the refund address for unspent fees" + }, + "relayers": { + "type": "array", + "title": "optional list of relayers permitted to receive fees", + "items": { + "type": "string" + } + } + } + }, + "ibc.applications.fee.v1.QueryCounterpartyPayeeResponse": { + "type": "object", + "title": "QueryCounterpartyPayeeResponse defines the response type for the CounterpartyPayee rpc", + "properties": { + "counterparty_payee": { + "type": "string", + "title": "the counterparty payee address used to compensate forward relaying" + } + } + }, + "ibc.applications.fee.v1.QueryFeeEnabledChannelResponse": { + "type": "object", + "title": "QueryFeeEnabledChannelResponse defines the response type for the FeeEnabledChannel rpc", + "properties": { + "fee_enabled": { + "type": "boolean", + "title": "boolean flag representing the fee enabled channel status" + } + } + }, + "ibc.applications.fee.v1.QueryFeeEnabledChannelsResponse": { + "type": "object", + "title": "QueryFeeEnabledChannelsResponse defines the response type for the FeeEnabledChannels rpc", + "properties": { + "fee_enabled_channels": { + "type": "array", + "title": "list of fee enabled channels", + "items": { + "type": "object", + "$ref": "#/definitions/ibc.applications.fee.v1.FeeEnabledChannel" + } + }, + "pagination": { + "description": "pagination defines the pagination in the response.", + "$ref": "#/definitions/cosmos.base.query.v1beta1.PageResponse" + } + } + }, + "ibc.applications.fee.v1.QueryIncentivizedPacketResponse": { + "type": "object", + "title": "QueryIncentivizedPacketsResponse defines the response type for the IncentivizedPacket rpc", + "properties": { + "incentivized_packet": { + "title": "the identified fees for the incentivized packet", + "$ref": "#/definitions/ibc.applications.fee.v1.IdentifiedPacketFees" + } + } + }, + "ibc.applications.fee.v1.QueryIncentivizedPacketsForChannelResponse": { + "type": "object", + "title": "QueryIncentivizedPacketsResponse defines the response type for the incentivized packets RPC", + "properties": { + "incentivized_packets": { + "type": "array", + "title": "Map of all incentivized_packets", + "items": { + "type": "object", + "$ref": "#/definitions/ibc.applications.fee.v1.IdentifiedPacketFees" + } + }, + "pagination": { + "description": "pagination defines the pagination in the response.", + "$ref": "#/definitions/cosmos.base.query.v1beta1.PageResponse" + } + } + }, + "ibc.applications.fee.v1.QueryIncentivizedPacketsResponse": { + "type": "object", + "title": "QueryIncentivizedPacketsResponse defines the response type for the IncentivizedPackets rpc", + "properties": { + "incentivized_packets": { + "type": "array", + "title": "list of identified fees for incentivized packets", + "items": { + "type": "object", + "$ref": "#/definitions/ibc.applications.fee.v1.IdentifiedPacketFees" + } + }, + "pagination": { + "description": "pagination defines the pagination in the response.", + "$ref": "#/definitions/cosmos.base.query.v1beta1.PageResponse" + } + } + }, + "ibc.applications.fee.v1.QueryPayeeResponse": { + "type": "object", + "title": "QueryPayeeResponse defines the response type for the Payee rpc", + "properties": { + "payee_address": { + "type": "string", + "title": "the payee address to which packet fees are paid out" + } + } + }, + "ibc.applications.fee.v1.QueryTotalAckFeesResponse": { + "type": "object", + "title": "QueryTotalAckFeesResponse defines the response type for the TotalAckFees rpc", + "properties": { + "ack_fees": { + "type": "array", + "title": "the total packet acknowledgement fees", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.base.v1beta1.Coin" + } + } + } + }, + "ibc.applications.fee.v1.QueryTotalRecvFeesResponse": { + "type": "object", + "title": "QueryTotalRecvFeesResponse defines the response type for the TotalRecvFees rpc", + "properties": { + "recv_fees": { + "type": "array", + "title": "the total packet receive fees", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.base.v1beta1.Coin" + } + } + } + }, + "ibc.applications.fee.v1.QueryTotalTimeoutFeesResponse": { + "type": "object", + "title": "QueryTotalTimeoutFeesResponse defines the response type for the TotalTimeoutFees rpc", + "properties": { + "timeout_fees": { + "type": "array", + "title": "the total packet timeout fees", + "items": { + "type": "object", + "$ref": "#/definitions/cosmos.base.v1beta1.Coin" + } + } + } + }, + "ibc.applications.interchain_accounts.controller.v1.MsgRegisterInterchainAccount": { + "type": "object", + "title": "MsgRegisterInterchainAccount defines the payload for Msg/RegisterAccount", + "properties": { + "connection_id": { + "type": "string" + }, + "ordering": { + "$ref": "#/definitions/ibc.core.channel.v1.Order" + }, + "owner": { + "type": "string" + }, + "version": { + "type": "string" + } + } + }, + "ibc.applications.interchain_accounts.controller.v1.MsgRegisterInterchainAccountResponse": { + "type": "object", + "title": "MsgRegisterInterchainAccountResponse defines the response for Msg/RegisterAccount", + "properties": { + "channel_id": { + "type": "string" + }, + "port_id": { + "type": "string" + } + } + }, + "ibc.applications.interchain_accounts.controller.v1.MsgSendTx": { + "type": "object", + "title": "MsgSendTx defines the payload for Msg/SendTx", + "properties": { + "connection_id": { + "type": "string" + }, + "owner": { + "type": "string" + }, + "packet_data": { + "$ref": "#/definitions/ibc.applications.interchain_accounts.v1.InterchainAccountPacketData" + }, + "relative_timeout": { + "description": "Relative timeout timestamp provided will be added to the current block time during transaction execution.\nThe timeout timestamp must be non-zero.", + "type": "string", + "format": "uint64" + } + } + }, + "ibc.applications.interchain_accounts.controller.v1.MsgSendTxResponse": { + "type": "object", + "title": "MsgSendTxResponse defines the response for MsgSendTx", + "properties": { + "sequence": { + "type": "string", + "format": "uint64" + } + } + }, + "ibc.applications.interchain_accounts.controller.v1.MsgUpdateParams": { + "type": "object", + "title": "MsgUpdateParams defines the payload for Msg/UpdateParams", + "properties": { + "params": { + "description": "params defines the 27-interchain-accounts/controller parameters to update.\n\nNOTE: All parameters must be supplied.", + "$ref": "#/definitions/ibc.applications.interchain_accounts.controller.v1.Params" + }, + "signer": { + "type": "string", + "title": "signer address" + } + } + }, + "ibc.applications.interchain_accounts.controller.v1.MsgUpdateParamsResponse": { + "type": "object", + "title": "MsgUpdateParamsResponse defines the response for Msg/UpdateParams" + }, + "ibc.applications.interchain_accounts.controller.v1.Params": { + "description": "Params defines the set of on-chain interchain accounts parameters.\nThe following parameters may be used to disable the controller submodule.", + "type": "object", + "properties": { + "controller_enabled": { + "description": "controller_enabled enables or disables the controller submodule.", + "type": "boolean" + } + } + }, + "ibc.applications.interchain_accounts.controller.v1.QueryInterchainAccountResponse": { + "description": "QueryInterchainAccountResponse the response type for the Query/InterchainAccount RPC method.", + "type": "object", + "properties": { + "address": { + "type": "string" + } + } + }, + "ibc.applications.interchain_accounts.controller.v1.QueryParamsResponse": { + "description": "QueryParamsResponse is the response type for the Query/Params RPC method.", + "type": "object", + "properties": { + "params": { + "description": "params defines the parameters of the module.", + "$ref": "#/definitions/ibc.applications.interchain_accounts.controller.v1.Params" + } + } + }, + "ibc.applications.interchain_accounts.host.v1.MsgUpdateParams": { + "type": "object", + "title": "MsgUpdateParams defines the payload for Msg/UpdateParams", + "properties": { + "params": { + "description": "params defines the 27-interchain-accounts/host parameters to update.\n\nNOTE: All parameters must be supplied.", + "$ref": "#/definitions/ibc.applications.interchain_accounts.host.v1.Params" + }, + "signer": { + "type": "string", + "title": "signer address" + } + } + }, + "ibc.applications.interchain_accounts.host.v1.MsgUpdateParamsResponse": { + "type": "object", + "title": "MsgUpdateParamsResponse defines the response for Msg/UpdateParams" + }, + "ibc.applications.interchain_accounts.host.v1.Params": { + "description": "Params defines the set of on-chain interchain accounts parameters.\nThe following parameters may be used to disable the host submodule.", + "type": "object", + "properties": { + "allow_messages": { + "description": "allow_messages defines a list of sdk message typeURLs allowed to be executed on a host chain.", + "type": "array", + "items": { + "type": "string" + } + }, + "host_enabled": { + "description": "host_enabled enables or disables the host submodule.", + "type": "boolean" + } + } + }, + "ibc.applications.interchain_accounts.host.v1.QueryParamsResponse": { + "description": "QueryParamsResponse is the response type for the Query/Params RPC method.", + "type": "object", + "properties": { + "params": { + "description": "params defines the parameters of the module.", + "$ref": "#/definitions/ibc.applications.interchain_accounts.host.v1.Params" + } + } + }, + "ibc.applications.interchain_accounts.v1.InterchainAccountPacketData": { + "description": "InterchainAccountPacketData is comprised of a raw transaction, type of transaction and optional memo field.", + "type": "object", + "properties": { + "data": { + "type": "string", + "format": "byte" + }, + "memo": { + "type": "string" + }, + "type": { + "$ref": "#/definitions/ibc.applications.interchain_accounts.v1.Type" + } + } + }, + "ibc.applications.interchain_accounts.v1.Type": { + "description": "- TYPE_UNSPECIFIED: Default zero value enumeration\n - TYPE_EXECUTE_TX: Execute a transaction on an interchain accounts host chain", + "type": "string", + "title": "Type defines a classification of message issued from a controller chain to its associated interchain accounts\nhost", + "default": "TYPE_UNSPECIFIED", + "enum": [ + "TYPE_UNSPECIFIED", + "TYPE_EXECUTE_TX" + ] + }, + "ibc.applications.transfer.v1.DenomTrace": { + "description": "DenomTrace contains the base denomination for ICS20 fungible tokens and the\nsource tracing information path.", + "type": "object", + "properties": { + "base_denom": { + "description": "base denomination of the relayed fungible token.", + "type": "string" + }, + "path": { + "description": "path defines the chain of port/channel identifiers used for tracing the\nsource of the fungible token.", + "type": "string" + } + } + }, + "ibc.applications.transfer.v1.MsgTransfer": { + "type": "object", + "title": "MsgTransfer defines a msg to transfer fungible tokens (i.e Coins) between\nICS20 enabled chains. See ICS Spec here:\nhttps://github.com/cosmos/ibc/tree/master/spec/app/ics-020-fungible-token-transfer#data-structures", + "properties": { + "memo": { + "type": "string", + "title": "optional memo" + }, + "receiver": { + "type": "string", + "title": "the recipient address on the destination chain" + }, + "sender": { + "type": "string", + "title": "the sender address" + }, + "source_channel": { + "type": "string", + "title": "the channel by which the packet will be sent" + }, + "source_port": { + "type": "string", + "title": "the port on which the packet will be sent" + }, + "timeout_height": { + "description": "Timeout height relative to the current block height.\nThe timeout is disabled when set to 0.", + "$ref": "#/definitions/ibc.core.client.v1.Height" + }, + "timeout_timestamp": { + "description": "Timeout timestamp in absolute nanoseconds since unix epoch.\nThe timeout is disabled when set to 0.", + "type": "string", + "format": "uint64" + }, + "token": { + "title": "the tokens to be transferred", + "$ref": "#/definitions/cosmos.base.v1beta1.Coin" + } + } + }, + "ibc.applications.transfer.v1.MsgTransferResponse": { + "description": "MsgTransferResponse defines the Msg/Transfer response type.", + "type": "object", + "properties": { + "sequence": { + "type": "string", + "format": "uint64", + "title": "sequence number of the transfer packet sent" + } + } + }, + "ibc.applications.transfer.v1.MsgUpdateParams": { + "description": "MsgUpdateParams is the Msg/UpdateParams request type.", + "type": "object", + "properties": { + "params": { + "description": "params defines the transfer parameters to update.\n\nNOTE: All parameters must be supplied.", + "$ref": "#/definitions/ibc.applications.transfer.v1.Params" + }, + "signer": { + "type": "string", + "title": "signer address" + } + } + }, + "ibc.applications.transfer.v1.MsgUpdateParamsResponse": { + "description": "MsgUpdateParamsResponse defines the response structure for executing a\nMsgUpdateParams message.", + "type": "object" + }, + "ibc.applications.transfer.v1.Params": { + "description": "Params defines the set of IBC transfer parameters.\nNOTE: To prevent a single token from being transferred, set the\nTransfersEnabled parameter to true and then set the bank module's SendEnabled\nparameter for the denomination to false.", + "type": "object", + "properties": { + "receive_enabled": { + "description": "receive_enabled enables or disables all cross-chain token transfers to this\nchain.", + "type": "boolean" + }, + "send_enabled": { + "description": "send_enabled enables or disables all cross-chain token transfers from this\nchain.", + "type": "boolean" + } + } + }, + "ibc.applications.transfer.v1.QueryDenomHashResponse": { + "description": "QueryDenomHashResponse is the response type for the Query/DenomHash RPC\nmethod.", + "type": "object", + "properties": { + "hash": { + "description": "hash (in hex format) of the denomination trace information.", + "type": "string" + } + } + }, + "ibc.applications.transfer.v1.QueryDenomTraceResponse": { + "description": "QueryDenomTraceResponse is the response type for the Query/DenomTrace RPC\nmethod.", + "type": "object", + "properties": { + "denom_trace": { + "description": "denom_trace returns the requested denomination trace information.", + "$ref": "#/definitions/ibc.applications.transfer.v1.DenomTrace" + } + } + }, + "ibc.applications.transfer.v1.QueryDenomTracesResponse": { + "description": "QueryConnectionsResponse is the response type for the Query/DenomTraces RPC\nmethod.", + "type": "object", + "properties": { + "denom_traces": { + "description": "denom_traces returns all denominations trace information.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/ibc.applications.transfer.v1.DenomTrace" + } + }, + "pagination": { + "description": "pagination defines the pagination in the response.", + "$ref": "#/definitions/cosmos.base.query.v1beta1.PageResponse" + } + } + }, + "ibc.applications.transfer.v1.QueryEscrowAddressResponse": { + "description": "QueryEscrowAddressResponse is the response type of the EscrowAddress RPC method.", + "type": "object", + "properties": { + "escrow_address": { + "type": "string", + "title": "the escrow account address" + } + } + }, + "ibc.applications.transfer.v1.QueryParamsResponse": { + "description": "QueryParamsResponse is the response type for the Query/Params RPC method.", + "type": "object", + "properties": { + "params": { + "description": "params defines the parameters of the module.", + "$ref": "#/definitions/ibc.applications.transfer.v1.Params" + } + } + }, + "ibc.applications.transfer.v1.QueryTotalEscrowForDenomResponse": { + "description": "QueryTotalEscrowForDenomResponse is the response type for TotalEscrowForDenom RPC method.", + "type": "object", + "properties": { + "amount": { + "$ref": "#/definitions/cosmos.base.v1beta1.Coin" + } + } + }, + "ibc.core.channel.v1.Channel": { + "description": "Channel defines pipeline for exactly-once packet delivery between specific\nmodules on separate blockchains, which has at least one end capable of\nsending packets and one end capable of receiving packets.", + "type": "object", + "properties": { + "connection_hops": { + "type": "array", + "title": "list of connection identifiers, in order, along which packets sent on\nthis channel will travel", + "items": { + "type": "string" + } + }, + "counterparty": { + "title": "counterparty channel end", + "$ref": "#/definitions/ibc.core.channel.v1.Counterparty" + }, + "ordering": { + "title": "whether the channel is ordered or unordered", + "$ref": "#/definitions/ibc.core.channel.v1.Order" + }, + "state": { + "title": "current state of the channel end", + "$ref": "#/definitions/ibc.core.channel.v1.State" + }, + "upgrade_sequence": { + "type": "string", + "format": "uint64", + "title": "upgrade sequence indicates the latest upgrade attempt performed by this channel\nthe value of 0 indicates the channel has never been upgraded" + }, + "version": { + "type": "string", + "title": "opaque channel version, which is agreed upon during the handshake" + } + } + }, + "ibc.core.channel.v1.Counterparty": { + "type": "object", + "title": "Counterparty defines a channel end counterparty", + "properties": { + "channel_id": { + "type": "string", + "title": "channel end on the counterparty chain" + }, + "port_id": { + "description": "port on the counterparty chain which owns the other end of the channel.", + "type": "string" + } + } + }, + "ibc.core.channel.v1.ErrorReceipt": { + "description": "ErrorReceipt defines a type which encapsulates the upgrade sequence and error associated with the\nupgrade handshake failure. When a channel upgrade handshake is aborted both chains are expected to increment to the\nnext sequence.", + "type": "object", + "properties": { + "message": { + "type": "string", + "title": "the error message detailing the cause of failure" + }, + "sequence": { + "type": "string", + "format": "uint64", + "title": "the channel upgrade sequence" + } + } + }, + "ibc.core.channel.v1.IdentifiedChannel": { + "description": "IdentifiedChannel defines a channel with additional port and channel\nidentifier fields.", + "type": "object", + "properties": { + "channel_id": { + "type": "string", + "title": "channel identifier" + }, + "connection_hops": { + "type": "array", + "title": "list of connection identifiers, in order, along which packets sent on\nthis channel will travel", + "items": { + "type": "string" + } + }, + "counterparty": { + "title": "counterparty channel end", + "$ref": "#/definitions/ibc.core.channel.v1.Counterparty" + }, + "ordering": { + "title": "whether the channel is ordered or unordered", + "$ref": "#/definitions/ibc.core.channel.v1.Order" + }, + "port_id": { + "type": "string", + "title": "port identifier" + }, + "state": { + "title": "current state of the channel end", + "$ref": "#/definitions/ibc.core.channel.v1.State" + }, + "upgrade_sequence": { + "type": "string", + "format": "uint64", + "title": "upgrade sequence indicates the latest upgrade attempt performed by this channel\nthe value of 0 indicates the channel has never been upgraded" + }, + "version": { + "type": "string", + "title": "opaque channel version, which is agreed upon during the handshake" + } + } + }, + "ibc.core.channel.v1.MsgAcknowledgement": { + "type": "object", + "title": "MsgAcknowledgement receives incoming IBC acknowledgement", + "properties": { + "acknowledgement": { + "type": "string", + "format": "byte" + }, + "packet": { + "$ref": "#/definitions/ibc.core.channel.v1.Packet" + }, + "proof_acked": { + "type": "string", + "format": "byte" + }, + "proof_height": { + "$ref": "#/definitions/ibc.core.client.v1.Height" + }, + "signer": { + "type": "string" + } + } + }, + "ibc.core.channel.v1.MsgAcknowledgementResponse": { + "description": "MsgAcknowledgementResponse defines the Msg/Acknowledgement response type.", + "type": "object", + "properties": { + "result": { + "$ref": "#/definitions/ibc.core.channel.v1.ResponseResultType" + } + } + }, + "ibc.core.channel.v1.MsgChannelCloseConfirm": { + "description": "MsgChannelCloseConfirm defines a msg sent by a Relayer to Chain B\nto acknowledge the change of channel state to CLOSED on Chain A.", + "type": "object", + "properties": { + "channel_id": { + "type": "string" + }, + "counterparty_upgrade_sequence": { + "type": "string", + "format": "uint64" + }, + "port_id": { + "type": "string" + }, + "proof_height": { + "$ref": "#/definitions/ibc.core.client.v1.Height" + }, + "proof_init": { + "type": "string", + "format": "byte" + }, + "signer": { + "type": "string" + } + } + }, + "ibc.core.channel.v1.MsgChannelCloseConfirmResponse": { + "description": "MsgChannelCloseConfirmResponse defines the Msg/ChannelCloseConfirm response\ntype.", + "type": "object" + }, + "ibc.core.channel.v1.MsgChannelCloseInit": { + "description": "MsgChannelCloseInit defines a msg sent by a Relayer to Chain A\nto close a channel with Chain B.", + "type": "object", + "properties": { + "channel_id": { + "type": "string" + }, + "port_id": { + "type": "string" + }, + "signer": { + "type": "string" + } + } + }, + "ibc.core.channel.v1.MsgChannelCloseInitResponse": { + "description": "MsgChannelCloseInitResponse defines the Msg/ChannelCloseInit response type.", + "type": "object" + }, + "ibc.core.channel.v1.MsgChannelOpenAck": { + "description": "MsgChannelOpenAck defines a msg sent by a Relayer to Chain A to acknowledge\nthe change of channel state to TRYOPEN on Chain B.\nWARNING: a channel upgrade MUST NOT initialize an upgrade for this channel\nin the same block as executing this message otherwise the counterparty will\nbe incapable of opening.", + "type": "object", + "properties": { + "channel_id": { + "type": "string" + }, + "counterparty_channel_id": { + "type": "string" + }, + "counterparty_version": { + "type": "string" + }, + "port_id": { + "type": "string" + }, + "proof_height": { + "$ref": "#/definitions/ibc.core.client.v1.Height" + }, + "proof_try": { + "type": "string", + "format": "byte" + }, + "signer": { + "type": "string" + } + } + }, + "ibc.core.channel.v1.MsgChannelOpenAckResponse": { + "description": "MsgChannelOpenAckResponse defines the Msg/ChannelOpenAck response type.", + "type": "object" + }, + "ibc.core.channel.v1.MsgChannelOpenConfirm": { + "description": "MsgChannelOpenConfirm defines a msg sent by a Relayer to Chain B to\nacknowledge the change of channel state to OPEN on Chain A.", + "type": "object", + "properties": { + "channel_id": { + "type": "string" + }, + "port_id": { + "type": "string" + }, + "proof_ack": { + "type": "string", + "format": "byte" + }, + "proof_height": { + "$ref": "#/definitions/ibc.core.client.v1.Height" + }, + "signer": { + "type": "string" + } + } + }, + "ibc.core.channel.v1.MsgChannelOpenConfirmResponse": { + "description": "MsgChannelOpenConfirmResponse defines the Msg/ChannelOpenConfirm response\ntype.", + "type": "object" + }, + "ibc.core.channel.v1.MsgChannelOpenInit": { + "description": "MsgChannelOpenInit defines an sdk.Msg to initialize a channel handshake. It\nis called by a relayer on Chain A.", + "type": "object", + "properties": { + "channel": { + "$ref": "#/definitions/ibc.core.channel.v1.Channel" + }, + "port_id": { + "type": "string" + }, + "signer": { + "type": "string" + } + } + }, + "ibc.core.channel.v1.MsgChannelOpenInitResponse": { + "description": "MsgChannelOpenInitResponse defines the Msg/ChannelOpenInit response type.", + "type": "object", + "properties": { + "channel_id": { + "type": "string" + }, + "version": { + "type": "string" + } + } + }, + "ibc.core.channel.v1.MsgChannelOpenTry": { + "description": "MsgChannelOpenInit defines a msg sent by a Relayer to try to open a channel\non Chain B. The version field within the Channel field has been deprecated. Its\nvalue will be ignored by core IBC.", + "type": "object", + "properties": { + "channel": { + "description": "NOTE: the version field within the channel has been deprecated. Its value will be ignored by core IBC.", + "$ref": "#/definitions/ibc.core.channel.v1.Channel" + }, + "counterparty_version": { + "type": "string" + }, + "port_id": { + "type": "string" + }, + "previous_channel_id": { + "description": "Deprecated: this field is unused. Crossing hello's are no longer supported in core IBC.", + "type": "string" + }, + "proof_height": { + "$ref": "#/definitions/ibc.core.client.v1.Height" + }, + "proof_init": { + "type": "string", + "format": "byte" + }, + "signer": { + "type": "string" + } + } + }, + "ibc.core.channel.v1.MsgChannelOpenTryResponse": { + "description": "MsgChannelOpenTryResponse defines the Msg/ChannelOpenTry response type.", + "type": "object", + "properties": { + "channel_id": { + "type": "string" + }, + "version": { + "type": "string" + } + } + }, + "ibc.core.channel.v1.MsgChannelUpgradeAck": { + "type": "object", + "title": "MsgChannelUpgradeAck defines the request type for the ChannelUpgradeAck rpc", + "properties": { + "channel_id": { + "type": "string" + }, + "counterparty_upgrade": { + "$ref": "#/definitions/ibc.core.channel.v1.Upgrade" + }, + "port_id": { + "type": "string" + }, + "proof_channel": { + "type": "string", + "format": "byte" + }, + "proof_height": { + "$ref": "#/definitions/ibc.core.client.v1.Height" + }, + "proof_upgrade": { + "type": "string", + "format": "byte" + }, + "signer": { + "type": "string" + } + } + }, + "ibc.core.channel.v1.MsgChannelUpgradeAckResponse": { + "type": "object", + "title": "MsgChannelUpgradeAckResponse defines MsgChannelUpgradeAck response type", + "properties": { + "result": { + "$ref": "#/definitions/ibc.core.channel.v1.ResponseResultType" + } + } + }, + "ibc.core.channel.v1.MsgChannelUpgradeCancel": { + "type": "object", + "title": "MsgChannelUpgradeCancel defines the request type for the ChannelUpgradeCancel rpc", + "properties": { + "channel_id": { + "type": "string" + }, + "error_receipt": { + "$ref": "#/definitions/ibc.core.channel.v1.ErrorReceipt" + }, + "port_id": { + "type": "string" + }, + "proof_error_receipt": { + "type": "string", + "format": "byte" + }, + "proof_height": { + "$ref": "#/definitions/ibc.core.client.v1.Height" + }, + "signer": { + "type": "string" + } + } + }, + "ibc.core.channel.v1.MsgChannelUpgradeCancelResponse": { + "type": "object", + "title": "MsgChannelUpgradeCancelResponse defines the MsgChannelUpgradeCancel response type" + }, + "ibc.core.channel.v1.MsgChannelUpgradeConfirm": { + "type": "object", + "title": "MsgChannelUpgradeConfirm defines the request type for the ChannelUpgradeConfirm rpc", + "properties": { + "channel_id": { + "type": "string" + }, + "counterparty_channel_state": { + "$ref": "#/definitions/ibc.core.channel.v1.State" + }, + "counterparty_upgrade": { + "$ref": "#/definitions/ibc.core.channel.v1.Upgrade" + }, + "port_id": { + "type": "string" + }, + "proof_channel": { + "type": "string", + "format": "byte" + }, + "proof_height": { + "$ref": "#/definitions/ibc.core.client.v1.Height" + }, + "proof_upgrade": { + "type": "string", + "format": "byte" + }, + "signer": { + "type": "string" + } + } + }, + "ibc.core.channel.v1.MsgChannelUpgradeConfirmResponse": { + "type": "object", + "title": "MsgChannelUpgradeConfirmResponse defines MsgChannelUpgradeConfirm response type", + "properties": { + "result": { + "$ref": "#/definitions/ibc.core.channel.v1.ResponseResultType" + } + } + }, + "ibc.core.channel.v1.MsgChannelUpgradeInit": { + "description": "MsgChannelUpgradeInit defines the request type for the ChannelUpgradeInit rpc\nWARNING: Initializing a channel upgrade in the same block as opening the channel\nmay result in the counterparty being incapable of opening.", + "type": "object", + "properties": { + "channel_id": { + "type": "string" + }, + "fields": { + "$ref": "#/definitions/ibc.core.channel.v1.UpgradeFields" + }, + "port_id": { + "type": "string" + }, + "signer": { + "type": "string" + } + } + }, + "ibc.core.channel.v1.MsgChannelUpgradeInitResponse": { + "type": "object", + "title": "MsgChannelUpgradeInitResponse defines the MsgChannelUpgradeInit response type", + "properties": { + "upgrade": { + "$ref": "#/definitions/ibc.core.channel.v1.Upgrade" + }, + "upgrade_sequence": { + "type": "string", + "format": "uint64" + } + } + }, + "ibc.core.channel.v1.MsgChannelUpgradeOpen": { + "type": "object", + "title": "MsgChannelUpgradeOpen defines the request type for the ChannelUpgradeOpen rpc", + "properties": { + "channel_id": { + "type": "string" + }, + "counterparty_channel_state": { + "$ref": "#/definitions/ibc.core.channel.v1.State" + }, + "counterparty_upgrade_sequence": { + "type": "string", + "format": "uint64" + }, + "port_id": { + "type": "string" + }, + "proof_channel": { + "type": "string", + "format": "byte" + }, + "proof_height": { + "$ref": "#/definitions/ibc.core.client.v1.Height" + }, + "signer": { + "type": "string" + } + } + }, + "ibc.core.channel.v1.MsgChannelUpgradeOpenResponse": { + "type": "object", + "title": "MsgChannelUpgradeOpenResponse defines the MsgChannelUpgradeOpen response type" + }, + "ibc.core.channel.v1.MsgChannelUpgradeTimeout": { + "type": "object", + "title": "MsgChannelUpgradeTimeout defines the request type for the ChannelUpgradeTimeout rpc", + "properties": { + "channel_id": { + "type": "string" + }, + "counterparty_channel": { + "$ref": "#/definitions/ibc.core.channel.v1.Channel" + }, + "port_id": { + "type": "string" + }, + "proof_channel": { + "type": "string", + "format": "byte" + }, + "proof_height": { + "$ref": "#/definitions/ibc.core.client.v1.Height" + }, + "signer": { + "type": "string" + } + } + }, + "ibc.core.channel.v1.MsgChannelUpgradeTimeoutResponse": { + "type": "object", + "title": "MsgChannelUpgradeTimeoutRepsonse defines the MsgChannelUpgradeTimeout response type" + }, + "ibc.core.channel.v1.MsgChannelUpgradeTry": { + "type": "object", + "title": "MsgChannelUpgradeTry defines the request type for the ChannelUpgradeTry rpc", + "properties": { + "channel_id": { + "type": "string" + }, + "counterparty_upgrade_fields": { + "$ref": "#/definitions/ibc.core.channel.v1.UpgradeFields" + }, + "counterparty_upgrade_sequence": { + "type": "string", + "format": "uint64" + }, + "port_id": { + "type": "string" + }, + "proof_channel": { + "type": "string", + "format": "byte" + }, + "proof_height": { + "$ref": "#/definitions/ibc.core.client.v1.Height" + }, + "proof_upgrade": { + "type": "string", + "format": "byte" + }, + "proposed_upgrade_connection_hops": { + "type": "array", + "items": { + "type": "string" + } + }, + "signer": { + "type": "string" + } + } + }, + "ibc.core.channel.v1.MsgChannelUpgradeTryResponse": { + "type": "object", + "title": "MsgChannelUpgradeTryResponse defines the MsgChannelUpgradeTry response type", + "properties": { + "result": { + "$ref": "#/definitions/ibc.core.channel.v1.ResponseResultType" + }, + "upgrade": { + "$ref": "#/definitions/ibc.core.channel.v1.Upgrade" + }, + "upgrade_sequence": { + "type": "string", + "format": "uint64" + } + } + }, + "ibc.core.channel.v1.MsgPruneAcknowledgements": { + "description": "MsgPruneAcknowledgements defines the request type for the PruneAcknowledgements rpc.", + "type": "object", + "properties": { + "channel_id": { + "type": "string" + }, + "limit": { + "type": "string", + "format": "uint64" + }, + "port_id": { + "type": "string" + }, + "signer": { + "type": "string" + } + } + }, + "ibc.core.channel.v1.MsgPruneAcknowledgementsResponse": { + "description": "MsgPruneAcknowledgementsResponse defines the response type for the PruneAcknowledgements rpc.", + "type": "object", + "properties": { + "total_pruned_sequences": { + "description": "Number of sequences pruned (includes both packet acknowledgements and packet receipts where appropriate).", + "type": "string", + "format": "uint64" + }, + "total_remaining_sequences": { + "description": "Number of sequences left after pruning.", + "type": "string", + "format": "uint64" + } + } + }, + "ibc.core.channel.v1.MsgRecvPacket": { + "type": "object", + "title": "MsgRecvPacket receives incoming IBC packet", + "properties": { + "packet": { + "$ref": "#/definitions/ibc.core.channel.v1.Packet" + }, + "proof_commitment": { + "type": "string", + "format": "byte" + }, + "proof_height": { + "$ref": "#/definitions/ibc.core.client.v1.Height" + }, + "signer": { + "type": "string" + } + } + }, + "ibc.core.channel.v1.MsgRecvPacketResponse": { + "description": "MsgRecvPacketResponse defines the Msg/RecvPacket response type.", + "type": "object", + "properties": { + "result": { + "$ref": "#/definitions/ibc.core.channel.v1.ResponseResultType" + } + } + }, + "ibc.core.channel.v1.MsgTimeout": { + "type": "object", + "title": "MsgTimeout receives timed-out packet", + "properties": { + "next_sequence_recv": { + "type": "string", + "format": "uint64" + }, + "packet": { + "$ref": "#/definitions/ibc.core.channel.v1.Packet" + }, + "proof_height": { + "$ref": "#/definitions/ibc.core.client.v1.Height" + }, + "proof_unreceived": { + "type": "string", + "format": "byte" + }, + "signer": { + "type": "string" + } + } + }, + "ibc.core.channel.v1.MsgTimeoutOnClose": { + "description": "MsgTimeoutOnClose timed-out packet upon counterparty channel closure.", + "type": "object", + "properties": { + "counterparty_upgrade_sequence": { + "type": "string", + "format": "uint64" + }, + "next_sequence_recv": { + "type": "string", + "format": "uint64" + }, + "packet": { + "$ref": "#/definitions/ibc.core.channel.v1.Packet" + }, + "proof_close": { + "type": "string", + "format": "byte" + }, + "proof_height": { + "$ref": "#/definitions/ibc.core.client.v1.Height" + }, + "proof_unreceived": { + "type": "string", + "format": "byte" + }, + "signer": { + "type": "string" + } + } + }, + "ibc.core.channel.v1.MsgTimeoutOnCloseResponse": { + "description": "MsgTimeoutOnCloseResponse defines the Msg/TimeoutOnClose response type.", + "type": "object", + "properties": { + "result": { + "$ref": "#/definitions/ibc.core.channel.v1.ResponseResultType" + } + } + }, + "ibc.core.channel.v1.MsgTimeoutResponse": { + "description": "MsgTimeoutResponse defines the Msg/Timeout response type.", + "type": "object", + "properties": { + "result": { + "$ref": "#/definitions/ibc.core.channel.v1.ResponseResultType" + } + } + }, + "ibc.core.channel.v1.MsgUpdateParams": { + "description": "MsgUpdateParams is the MsgUpdateParams request type.", + "type": "object", + "properties": { + "authority": { + "description": "authority is the address that controls the module (defaults to x/gov unless overwritten).", + "type": "string" + }, + "params": { + "description": "params defines the channel parameters to update.\n\nNOTE: All parameters must be supplied.", + "$ref": "#/definitions/ibc.core.channel.v1.Params" + } + } + }, + "ibc.core.channel.v1.MsgUpdateParamsResponse": { + "description": "MsgUpdateParamsResponse defines the MsgUpdateParams response type.", + "type": "object" + }, + "ibc.core.channel.v1.Order": { + "description": "- ORDER_NONE_UNSPECIFIED: zero-value for channel ordering\n - ORDER_UNORDERED: packets can be delivered in any order, which may differ from the order in\nwhich they were sent.\n - ORDER_ORDERED: packets are delivered exactly in the order which they were sent", + "type": "string", + "title": "Order defines if a channel is ORDERED or UNORDERED", + "default": "ORDER_NONE_UNSPECIFIED", + "enum": [ + "ORDER_NONE_UNSPECIFIED", + "ORDER_UNORDERED", + "ORDER_ORDERED" + ] + }, + "ibc.core.channel.v1.Packet": { + "type": "object", + "title": "Packet defines a type that carries data across different chains through IBC", + "properties": { + "data": { + "type": "string", + "format": "byte", + "title": "actual opaque bytes transferred directly to the application module" + }, + "destination_channel": { + "description": "identifies the channel end on the receiving chain.", + "type": "string" + }, + "destination_port": { + "description": "identifies the port on the receiving chain.", + "type": "string" + }, + "sequence": { + "description": "number corresponds to the order of sends and receives, where a Packet\nwith an earlier sequence number must be sent and received before a Packet\nwith a later sequence number.", + "type": "string", + "format": "uint64" + }, + "source_channel": { + "description": "identifies the channel end on the sending chain.", + "type": "string" + }, + "source_port": { + "description": "identifies the port on the sending chain.", + "type": "string" + }, + "timeout_height": { + "title": "block height after which the packet times out", + "$ref": "#/definitions/ibc.core.client.v1.Height" + }, + "timeout_timestamp": { + "type": "string", + "format": "uint64", + "title": "block timestamp (in nanoseconds) after which the packet times out" + } + } + }, + "ibc.core.channel.v1.PacketId": { + "type": "object", + "title": "PacketId is an identifer for a unique Packet\nSource chains refer to packets by source port/channel\nDestination chains refer to packets by destination port/channel", + "properties": { + "channel_id": { + "type": "string", + "title": "channel unique identifier" + }, + "port_id": { + "type": "string", + "title": "channel port identifier" + }, + "sequence": { + "type": "string", + "format": "uint64", + "title": "packet sequence" + } + } + }, + "ibc.core.channel.v1.PacketState": { + "description": "PacketState defines the generic type necessary to retrieve and store\npacket commitments, acknowledgements, and receipts.\nCaller is responsible for knowing the context necessary to interpret this\nstate as a commitment, acknowledgement, or a receipt.", + "type": "object", + "properties": { + "channel_id": { + "description": "channel unique identifier.", + "type": "string" + }, + "data": { + "description": "embedded data that represents packet state.", + "type": "string", + "format": "byte" + }, + "port_id": { + "description": "channel port identifier.", + "type": "string" + }, + "sequence": { + "description": "packet sequence.", + "type": "string", + "format": "uint64" + } + } + }, + "ibc.core.channel.v1.Params": { + "description": "Params defines the set of IBC channel parameters.", + "type": "object", + "properties": { + "upgrade_timeout": { + "description": "the relative timeout after which channel upgrades will time out.", + "$ref": "#/definitions/ibc.core.channel.v1.Timeout" + } + } + }, + "ibc.core.channel.v1.QueryChannelClientStateResponse": { + "type": "object", + "title": "QueryChannelClientStateResponse is the Response type for the\nQuery/QueryChannelClientState RPC method", + "properties": { + "identified_client_state": { + "title": "client state associated with the channel", + "$ref": "#/definitions/ibc.core.client.v1.IdentifiedClientState" + }, + "proof": { + "type": "string", + "format": "byte", + "title": "merkle proof of existence" + }, + "proof_height": { + "title": "height at which the proof was retrieved", + "$ref": "#/definitions/ibc.core.client.v1.Height" + } + } + }, + "ibc.core.channel.v1.QueryChannelConsensusStateResponse": { + "type": "object", + "title": "QueryChannelClientStateResponse is the Response type for the\nQuery/QueryChannelClientState RPC method", + "properties": { + "client_id": { + "type": "string", + "title": "client ID associated with the consensus state" + }, + "consensus_state": { + "title": "consensus state associated with the channel", + "$ref": "#/definitions/google.protobuf.Any" + }, + "proof": { + "type": "string", + "format": "byte", + "title": "merkle proof of existence" + }, + "proof_height": { + "title": "height at which the proof was retrieved", + "$ref": "#/definitions/ibc.core.client.v1.Height" + } + } + }, + "ibc.core.channel.v1.QueryChannelParamsResponse": { + "description": "QueryChannelParamsResponse is the response type for the Query/ChannelParams RPC method.", + "type": "object", + "properties": { + "params": { + "description": "params defines the parameters of the module.", + "$ref": "#/definitions/ibc.core.channel.v1.Params" + } + } + }, + "ibc.core.channel.v1.QueryChannelResponse": { + "description": "QueryChannelResponse is the response type for the Query/Channel RPC method.\nBesides the Channel end, it includes a proof and the height from which the\nproof was retrieved.", + "type": "object", + "properties": { + "channel": { + "title": "channel associated with the request identifiers", + "$ref": "#/definitions/ibc.core.channel.v1.Channel" + }, + "proof": { + "type": "string", + "format": "byte", + "title": "merkle proof of existence" + }, + "proof_height": { + "title": "height at which the proof was retrieved", + "$ref": "#/definitions/ibc.core.client.v1.Height" + } + } + }, + "ibc.core.channel.v1.QueryChannelsResponse": { + "description": "QueryChannelsResponse is the response type for the Query/Channels RPC method.", + "type": "object", + "properties": { + "channels": { + "description": "list of stored channels of the chain.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/ibc.core.channel.v1.IdentifiedChannel" + } + }, + "height": { + "title": "query block height", + "$ref": "#/definitions/ibc.core.client.v1.Height" + }, + "pagination": { + "title": "pagination response", + "$ref": "#/definitions/cosmos.base.query.v1beta1.PageResponse" + } + } + }, + "ibc.core.channel.v1.QueryConnectionChannelsResponse": { + "type": "object", + "title": "QueryConnectionChannelsResponse is the Response type for the\nQuery/QueryConnectionChannels RPC method", + "properties": { + "channels": { + "description": "list of channels associated with a connection.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/ibc.core.channel.v1.IdentifiedChannel" + } + }, + "height": { + "title": "query block height", + "$ref": "#/definitions/ibc.core.client.v1.Height" + }, + "pagination": { + "title": "pagination response", + "$ref": "#/definitions/cosmos.base.query.v1beta1.PageResponse" + } + } + }, + "ibc.core.channel.v1.QueryNextSequenceReceiveResponse": { + "type": "object", + "title": "QuerySequenceResponse is the response type for the\nQuery/QueryNextSequenceReceiveResponse RPC method", + "properties": { + "next_sequence_receive": { + "type": "string", + "format": "uint64", + "title": "next sequence receive number" + }, + "proof": { + "type": "string", + "format": "byte", + "title": "merkle proof of existence" + }, + "proof_height": { + "title": "height at which the proof was retrieved", + "$ref": "#/definitions/ibc.core.client.v1.Height" + } + } + }, + "ibc.core.channel.v1.QueryNextSequenceSendResponse": { + "type": "object", + "title": "QueryNextSequenceSendResponse is the request type for the\nQuery/QueryNextSequenceSend RPC method", + "properties": { + "next_sequence_send": { + "type": "string", + "format": "uint64", + "title": "next sequence send number" + }, + "proof": { + "type": "string", + "format": "byte", + "title": "merkle proof of existence" + }, + "proof_height": { + "title": "height at which the proof was retrieved", + "$ref": "#/definitions/ibc.core.client.v1.Height" + } + } + }, + "ibc.core.channel.v1.QueryPacketAcknowledgementResponse": { + "type": "object", + "title": "QueryPacketAcknowledgementResponse defines the client query response for a\npacket which also includes a proof and the height from which the\nproof was retrieved", + "properties": { + "acknowledgement": { + "type": "string", + "format": "byte", + "title": "packet associated with the request fields" + }, + "proof": { + "type": "string", + "format": "byte", + "title": "merkle proof of existence" + }, + "proof_height": { + "title": "height at which the proof was retrieved", + "$ref": "#/definitions/ibc.core.client.v1.Height" + } + } + }, + "ibc.core.channel.v1.QueryPacketAcknowledgementsResponse": { + "type": "object", + "title": "QueryPacketAcknowledgemetsResponse is the request type for the\nQuery/QueryPacketAcknowledgements RPC method", + "properties": { + "acknowledgements": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/ibc.core.channel.v1.PacketState" + } + }, + "height": { + "title": "query block height", + "$ref": "#/definitions/ibc.core.client.v1.Height" + }, + "pagination": { + "title": "pagination response", + "$ref": "#/definitions/cosmos.base.query.v1beta1.PageResponse" + } + } + }, + "ibc.core.channel.v1.QueryPacketCommitmentResponse": { + "type": "object", + "title": "QueryPacketCommitmentResponse defines the client query response for a packet\nwhich also includes a proof and the height from which the proof was\nretrieved", + "properties": { + "commitment": { + "type": "string", + "format": "byte", + "title": "packet associated with the request fields" + }, + "proof": { + "type": "string", + "format": "byte", + "title": "merkle proof of existence" + }, + "proof_height": { + "title": "height at which the proof was retrieved", + "$ref": "#/definitions/ibc.core.client.v1.Height" + } + } + }, + "ibc.core.channel.v1.QueryPacketCommitmentsResponse": { + "type": "object", + "title": "QueryPacketCommitmentsResponse is the request type for the\nQuery/QueryPacketCommitments RPC method", + "properties": { + "commitments": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/ibc.core.channel.v1.PacketState" + } + }, + "height": { + "title": "query block height", + "$ref": "#/definitions/ibc.core.client.v1.Height" + }, + "pagination": { + "title": "pagination response", + "$ref": "#/definitions/cosmos.base.query.v1beta1.PageResponse" + } + } + }, + "ibc.core.channel.v1.QueryPacketReceiptResponse": { + "type": "object", + "title": "QueryPacketReceiptResponse defines the client query response for a packet\nreceipt which also includes a proof, and the height from which the proof was\nretrieved", + "properties": { + "proof": { + "type": "string", + "format": "byte", + "title": "merkle proof of existence" + }, + "proof_height": { + "title": "height at which the proof was retrieved", + "$ref": "#/definitions/ibc.core.client.v1.Height" + }, + "received": { + "type": "boolean", + "title": "success flag for if receipt exists" + } + } + }, + "ibc.core.channel.v1.QueryUnreceivedAcksResponse": { + "type": "object", + "title": "QueryUnreceivedAcksResponse is the response type for the\nQuery/UnreceivedAcks RPC method", + "properties": { + "height": { + "title": "query block height", + "$ref": "#/definitions/ibc.core.client.v1.Height" + }, + "sequences": { + "type": "array", + "title": "list of unreceived acknowledgement sequences", + "items": { + "type": "string", + "format": "uint64" + } + } + } + }, + "ibc.core.channel.v1.QueryUnreceivedPacketsResponse": { + "type": "object", + "title": "QueryUnreceivedPacketsResponse is the response type for the\nQuery/UnreceivedPacketCommitments RPC method", + "properties": { + "height": { + "title": "query block height", + "$ref": "#/definitions/ibc.core.client.v1.Height" + }, + "sequences": { + "type": "array", + "title": "list of unreceived packet sequences", + "items": { + "type": "string", + "format": "uint64" + } + } + } + }, + "ibc.core.channel.v1.QueryUpgradeErrorResponse": { + "type": "object", + "title": "QueryUpgradeErrorResponse is the response type for the Query/QueryUpgradeError RPC method", + "properties": { + "error_receipt": { + "$ref": "#/definitions/ibc.core.channel.v1.ErrorReceipt" + }, + "proof": { + "type": "string", + "format": "byte", + "title": "merkle proof of existence" + }, + "proof_height": { + "title": "height at which the proof was retrieved", + "$ref": "#/definitions/ibc.core.client.v1.Height" + } + } + }, + "ibc.core.channel.v1.QueryUpgradeResponse": { + "type": "object", + "title": "QueryUpgradeResponse is the response type for the QueryUpgradeResponse RPC method", + "properties": { + "proof": { + "type": "string", + "format": "byte", + "title": "merkle proof of existence" + }, + "proof_height": { + "title": "height at which the proof was retrieved", + "$ref": "#/definitions/ibc.core.client.v1.Height" + }, + "upgrade": { + "$ref": "#/definitions/ibc.core.channel.v1.Upgrade" + } + } + }, + "ibc.core.channel.v1.ResponseResultType": { + "description": "- RESPONSE_RESULT_TYPE_UNSPECIFIED: Default zero value enumeration\n - RESPONSE_RESULT_TYPE_NOOP: The message did not call the IBC application callbacks (because, for example, the packet had already been relayed)\n - RESPONSE_RESULT_TYPE_SUCCESS: The message was executed successfully\n - RESPONSE_RESULT_TYPE_FAILURE: The message was executed unsuccessfully", + "type": "string", + "title": "ResponseResultType defines the possible outcomes of the execution of a message", + "default": "RESPONSE_RESULT_TYPE_UNSPECIFIED", + "enum": [ + "RESPONSE_RESULT_TYPE_UNSPECIFIED", + "RESPONSE_RESULT_TYPE_NOOP", + "RESPONSE_RESULT_TYPE_SUCCESS", + "RESPONSE_RESULT_TYPE_FAILURE" + ] + }, + "ibc.core.channel.v1.State": { + "description": "State defines if a channel is in one of the following states:\nCLOSED, INIT, TRYOPEN, OPEN, FLUSHING, FLUSHCOMPLETE or UNINITIALIZED.\n\n - STATE_UNINITIALIZED_UNSPECIFIED: Default State\n - STATE_INIT: A channel has just started the opening handshake.\n - STATE_TRYOPEN: A channel has acknowledged the handshake step on the counterparty chain.\n - STATE_OPEN: A channel has completed the handshake. Open channels are\nready to send and receive packets.\n - STATE_CLOSED: A channel has been closed and can no longer be used to send or receive\npackets.\n - STATE_FLUSHING: A channel has just accepted the upgrade handshake attempt and is flushing in-flight packets.\n - STATE_FLUSHCOMPLETE: A channel has just completed flushing any in-flight packets.", + "type": "string", + "default": "STATE_UNINITIALIZED_UNSPECIFIED", + "enum": [ + "STATE_UNINITIALIZED_UNSPECIFIED", + "STATE_INIT", + "STATE_TRYOPEN", + "STATE_OPEN", + "STATE_CLOSED", + "STATE_FLUSHING", + "STATE_FLUSHCOMPLETE" + ] + }, + "ibc.core.channel.v1.Timeout": { + "description": "Timeout defines an execution deadline structure for 04-channel handlers.\nThis includes packet lifecycle handlers as well as the upgrade handshake handlers.\nA valid Timeout contains either one or both of a timestamp and block height (sequence).", + "type": "object", + "properties": { + "height": { + "title": "block height after which the packet or upgrade times out", + "$ref": "#/definitions/ibc.core.client.v1.Height" + }, + "timestamp": { + "type": "string", + "format": "uint64", + "title": "block timestamp (in nanoseconds) after which the packet or upgrade times out" + } + } + }, + "ibc.core.channel.v1.Upgrade": { + "description": "Upgrade is a verifiable type which contains the relevant information\nfor an attempted upgrade. It provides the proposed changes to the channel\nend, the timeout for this upgrade attempt and the next packet sequence\nwhich allows the counterparty to efficiently know the highest sequence it has received.\nThe next sequence send is used for pruning and upgrading from unordered to ordered channels.", + "type": "object", + "properties": { + "fields": { + "$ref": "#/definitions/ibc.core.channel.v1.UpgradeFields" + }, + "next_sequence_send": { + "type": "string", + "format": "uint64" + }, + "timeout": { + "$ref": "#/definitions/ibc.core.channel.v1.Timeout" + } + } + }, + "ibc.core.channel.v1.UpgradeFields": { + "description": "UpgradeFields are the fields in a channel end which may be changed\nduring a channel upgrade.", + "type": "object", + "properties": { + "connection_hops": { + "type": "array", + "items": { + "type": "string" + } + }, + "ordering": { + "$ref": "#/definitions/ibc.core.channel.v1.Order" + }, + "version": { + "type": "string" + } + } + }, + "ibc.core.client.v1.ConsensusStateWithHeight": { + "description": "ConsensusStateWithHeight defines a consensus state with an additional height\nfield.", + "type": "object", + "properties": { + "consensus_state": { + "title": "consensus state", + "$ref": "#/definitions/google.protobuf.Any" + }, + "height": { + "title": "consensus state height", + "$ref": "#/definitions/ibc.core.client.v1.Height" + } + } + }, + "ibc.core.client.v1.Height": { + "description": "Normally the RevisionHeight is incremented at each height while keeping\nRevisionNumber the same. However some consensus algorithms may choose to\nreset the height in certain conditions e.g. hard forks, state-machine\nbreaking changes In these cases, the RevisionNumber is incremented so that\nheight continues to be monitonically increasing even as the RevisionHeight\ngets reset", + "type": "object", + "title": "Height is a monotonically increasing data type\nthat can be compared against another Height for the purposes of updating and\nfreezing clients", + "properties": { + "revision_height": { + "type": "string", + "format": "uint64", + "title": "the height within the given revision" + }, + "revision_number": { + "type": "string", + "format": "uint64", + "title": "the revision that the client is currently on" + } + } + }, + "ibc.core.client.v1.IdentifiedClientState": { + "description": "IdentifiedClientState defines a client state with an additional client\nidentifier field.", + "type": "object", + "properties": { + "client_id": { + "type": "string", + "title": "client identifier" + }, + "client_state": { + "title": "client state", + "$ref": "#/definitions/google.protobuf.Any" + } + } + }, + "ibc.core.client.v1.MsgCreateClient": { + "type": "object", + "title": "MsgCreateClient defines a message to create an IBC client", + "properties": { + "client_state": { + "title": "light client state", + "$ref": "#/definitions/google.protobuf.Any" + }, + "consensus_state": { + "description": "consensus state associated with the client that corresponds to a given\nheight.", + "$ref": "#/definitions/google.protobuf.Any" + }, + "signer": { + "type": "string", + "title": "signer address" + } + } + }, + "ibc.core.client.v1.MsgCreateClientResponse": { + "description": "MsgCreateClientResponse defines the Msg/CreateClient response type.", + "type": "object" + }, + "ibc.core.client.v1.MsgIBCSoftwareUpgrade": { + "type": "object", + "title": "MsgIBCSoftwareUpgrade defines the message used to schedule an upgrade of an IBC client using a v1 governance proposal", + "properties": { + "plan": { + "$ref": "#/definitions/cosmos.upgrade.v1beta1.Plan" + }, + "signer": { + "type": "string", + "title": "signer address" + }, + "upgraded_client_state": { + "description": "An UpgradedClientState must be provided to perform an IBC breaking upgrade.\nThis will make the chain commit to the correct upgraded (self) client state\nbefore the upgrade occurs, so that connecting chains can verify that the\nnew upgraded client is valid by verifying a proof on the previous version\nof the chain. This will allow IBC connections to persist smoothly across\nplanned chain upgrades. Correspondingly, the UpgradedClientState field has been\ndeprecated in the Cosmos SDK to allow for this logic to exist solely in\nthe 02-client module.", + "$ref": "#/definitions/google.protobuf.Any" + } + } + }, + "ibc.core.client.v1.MsgIBCSoftwareUpgradeResponse": { + "description": "MsgIBCSoftwareUpgradeResponse defines the Msg/IBCSoftwareUpgrade response type.", + "type": "object" + }, + "ibc.core.client.v1.MsgRecoverClient": { + "description": "MsgRecoverClient defines the message used to recover a frozen or expired client.", + "type": "object", + "properties": { + "signer": { + "type": "string", + "title": "signer address" + }, + "subject_client_id": { + "type": "string", + "title": "the client identifier for the client to be updated if the proposal passes" + }, + "substitute_client_id": { + "type": "string", + "title": "the substitute client identifier for the client which will replace the subject\nclient" + } + } + }, + "ibc.core.client.v1.MsgRecoverClientResponse": { + "description": "MsgRecoverClientResponse defines the Msg/RecoverClient response type.", + "type": "object" + }, + "ibc.core.client.v1.MsgSubmitMisbehaviour": { + "description": "MsgSubmitMisbehaviour defines an sdk.Msg type that submits Evidence for\nlight client misbehaviour.\nThis message has been deprecated. Use MsgUpdateClient instead.", + "type": "object", + "properties": { + "client_id": { + "type": "string", + "title": "client unique identifier" + }, + "misbehaviour": { + "title": "misbehaviour used for freezing the light client", + "$ref": "#/definitions/google.protobuf.Any" + }, + "signer": { + "type": "string", + "title": "signer address" + } + } + }, + "ibc.core.client.v1.MsgSubmitMisbehaviourResponse": { + "description": "MsgSubmitMisbehaviourResponse defines the Msg/SubmitMisbehaviour response\ntype.", + "type": "object" + }, + "ibc.core.client.v1.MsgUpdateClient": { + "description": "MsgUpdateClient defines an sdk.Msg to update a IBC client state using\nthe given client message.", + "type": "object", + "properties": { + "client_id": { + "type": "string", + "title": "client unique identifier" + }, + "client_message": { + "title": "client message to update the light client", + "$ref": "#/definitions/google.protobuf.Any" + }, + "signer": { + "type": "string", + "title": "signer address" + } + } + }, + "ibc.core.client.v1.MsgUpdateClientResponse": { + "description": "MsgUpdateClientResponse defines the Msg/UpdateClient response type.", + "type": "object" + }, + "ibc.core.client.v1.MsgUpdateParams": { + "description": "MsgUpdateParams defines the sdk.Msg type to update the client parameters.", + "type": "object", + "properties": { + "params": { + "description": "params defines the client parameters to update.\n\nNOTE: All parameters must be supplied.", + "$ref": "#/definitions/ibc.core.client.v1.Params" + }, + "signer": { + "type": "string", + "title": "signer address" + } + } + }, + "ibc.core.client.v1.MsgUpdateParamsResponse": { + "description": "MsgUpdateParamsResponse defines the MsgUpdateParams response type.", + "type": "object" + }, + "ibc.core.client.v1.MsgUpgradeClient": { + "type": "object", + "title": "MsgUpgradeClient defines an sdk.Msg to upgrade an IBC client to a new client\nstate", + "properties": { + "client_id": { + "type": "string", + "title": "client unique identifier" + }, + "client_state": { + "title": "upgraded client state", + "$ref": "#/definitions/google.protobuf.Any" + }, + "consensus_state": { + "title": "upgraded consensus state, only contains enough information to serve as a\nbasis of trust in update logic", + "$ref": "#/definitions/google.protobuf.Any" + }, + "proof_upgrade_client": { + "type": "string", + "format": "byte", + "title": "proof that old chain committed to new client" + }, + "proof_upgrade_consensus_state": { + "type": "string", + "format": "byte", + "title": "proof that old chain committed to new consensus state" + }, + "signer": { + "type": "string", + "title": "signer address" + } + } + }, + "ibc.core.client.v1.MsgUpgradeClientResponse": { + "description": "MsgUpgradeClientResponse defines the Msg/UpgradeClient response type.", + "type": "object" + }, + "ibc.core.client.v1.Params": { + "description": "Params defines the set of IBC light client parameters.", + "type": "object", + "properties": { + "allowed_clients": { + "description": "allowed_clients defines the list of allowed client state types which can be created\nand interacted with. If a client type is removed from the allowed clients list, usage\nof this client will be disabled until it is added again to the list.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "ibc.core.client.v1.QueryClientParamsResponse": { + "description": "QueryClientParamsResponse is the response type for the Query/ClientParams RPC\nmethod.", + "type": "object", + "properties": { + "params": { + "description": "params defines the parameters of the module.", + "$ref": "#/definitions/ibc.core.client.v1.Params" + } + } + }, + "ibc.core.client.v1.QueryClientStateResponse": { + "description": "QueryClientStateResponse is the response type for the Query/ClientState RPC\nmethod. Besides the client state, it includes a proof and the height from\nwhich the proof was retrieved.", + "type": "object", + "properties": { + "client_state": { + "title": "client state associated with the request identifier", + "$ref": "#/definitions/google.protobuf.Any" + }, + "proof": { + "type": "string", + "format": "byte", + "title": "merkle proof of existence" + }, + "proof_height": { + "title": "height at which the proof was retrieved", + "$ref": "#/definitions/ibc.core.client.v1.Height" + } + } + }, + "ibc.core.client.v1.QueryClientStatesResponse": { + "description": "QueryClientStatesResponse is the response type for the Query/ClientStates RPC\nmethod.", + "type": "object", + "properties": { + "client_states": { + "description": "list of stored ClientStates of the chain.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/ibc.core.client.v1.IdentifiedClientState" + } + }, + "pagination": { + "title": "pagination response", + "$ref": "#/definitions/cosmos.base.query.v1beta1.PageResponse" + } + } + }, + "ibc.core.client.v1.QueryClientStatusResponse": { + "description": "QueryClientStatusResponse is the response type for the Query/ClientStatus RPC\nmethod. It returns the current status of the IBC client.", + "type": "object", + "properties": { + "status": { + "type": "string" + } + } + }, + "ibc.core.client.v1.QueryConsensusStateHeightsResponse": { + "type": "object", + "title": "QueryConsensusStateHeightsResponse is the response type for the\nQuery/ConsensusStateHeights RPC method", + "properties": { + "consensus_state_heights": { + "type": "array", + "title": "consensus state heights", + "items": { + "type": "object", + "$ref": "#/definitions/ibc.core.client.v1.Height" + } + }, + "pagination": { + "title": "pagination response", + "$ref": "#/definitions/cosmos.base.query.v1beta1.PageResponse" + } + } + }, + "ibc.core.client.v1.QueryConsensusStateResponse": { + "type": "object", + "title": "QueryConsensusStateResponse is the response type for the Query/ConsensusState\nRPC method", + "properties": { + "consensus_state": { + "title": "consensus state associated with the client identifier at the given height", + "$ref": "#/definitions/google.protobuf.Any" + }, + "proof": { + "type": "string", + "format": "byte", + "title": "merkle proof of existence" + }, + "proof_height": { + "title": "height at which the proof was retrieved", + "$ref": "#/definitions/ibc.core.client.v1.Height" + } + } + }, + "ibc.core.client.v1.QueryConsensusStatesResponse": { + "type": "object", + "title": "QueryConsensusStatesResponse is the response type for the\nQuery/ConsensusStates RPC method", + "properties": { + "consensus_states": { + "type": "array", + "title": "consensus states associated with the identifier", + "items": { + "type": "object", + "$ref": "#/definitions/ibc.core.client.v1.ConsensusStateWithHeight" + } + }, + "pagination": { + "title": "pagination response", + "$ref": "#/definitions/cosmos.base.query.v1beta1.PageResponse" + } + } + }, + "ibc.core.client.v1.QueryUpgradedClientStateResponse": { + "description": "QueryUpgradedClientStateResponse is the response type for the\nQuery/UpgradedClientState RPC method.", + "type": "object", + "properties": { + "upgraded_client_state": { + "title": "client state associated with the request identifier", + "$ref": "#/definitions/google.protobuf.Any" + } + } + }, + "ibc.core.client.v1.QueryUpgradedConsensusStateResponse": { + "description": "QueryUpgradedConsensusStateResponse is the response type for the\nQuery/UpgradedConsensusState RPC method.", + "type": "object", + "properties": { + "upgraded_consensus_state": { + "title": "Consensus state associated with the request identifier", + "$ref": "#/definitions/google.protobuf.Any" + } + } + }, + "ibc.core.commitment.v1.MerklePrefix": { + "type": "object", + "title": "MerklePrefix is merkle path prefixed to the key.\nThe constructed key from the Path and the key will be append(Path.KeyPath,\nappend(Path.KeyPrefix, key...))", + "properties": { + "key_prefix": { + "type": "string", + "format": "byte" + } + } + }, + "ibc.core.connection.v1.ConnectionEnd": { + "description": "ConnectionEnd defines a stateful object on a chain connected to another\nseparate one.\nNOTE: there must only be 2 defined ConnectionEnds to establish\na connection between two chains.", + "type": "object", + "properties": { + "client_id": { + "description": "client associated with this connection.", + "type": "string" + }, + "counterparty": { + "description": "counterparty chain associated with this connection.", + "$ref": "#/definitions/ibc.core.connection.v1.Counterparty" + }, + "delay_period": { + "description": "delay period that must pass before a consensus state can be used for\npacket-verification NOTE: delay period logic is only implemented by some\nclients.", + "type": "string", + "format": "uint64" + }, + "state": { + "description": "current state of the connection end.", + "$ref": "#/definitions/ibc.core.connection.v1.State" + }, + "versions": { + "description": "IBC version which can be utilised to determine encodings or protocols for\nchannels or packets utilising this connection.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/ibc.core.connection.v1.Version" + } + } + } + }, + "ibc.core.connection.v1.Counterparty": { + "description": "Counterparty defines the counterparty chain associated with a connection end.", + "type": "object", + "properties": { + "client_id": { + "description": "identifies the client on the counterparty chain associated with a given\nconnection.", + "type": "string" + }, + "connection_id": { + "description": "identifies the connection end on the counterparty chain associated with a\ngiven connection.", + "type": "string" + }, + "prefix": { + "description": "commitment merkle prefix of the counterparty chain.", + "$ref": "#/definitions/ibc.core.commitment.v1.MerklePrefix" + } + } + }, + "ibc.core.connection.v1.IdentifiedConnection": { + "description": "IdentifiedConnection defines a connection with additional connection\nidentifier field.", + "type": "object", + "properties": { + "client_id": { + "description": "client associated with this connection.", + "type": "string" + }, + "counterparty": { + "description": "counterparty chain associated with this connection.", + "$ref": "#/definitions/ibc.core.connection.v1.Counterparty" + }, + "delay_period": { + "description": "delay period associated with this connection.", + "type": "string", + "format": "uint64" + }, + "id": { + "description": "connection identifier.", + "type": "string" + }, + "state": { + "description": "current state of the connection end.", + "$ref": "#/definitions/ibc.core.connection.v1.State" + }, + "versions": { + "type": "array", + "title": "IBC version which can be utilised to determine encodings or protocols for\nchannels or packets utilising this connection", + "items": { + "type": "object", + "$ref": "#/definitions/ibc.core.connection.v1.Version" + } + } + } + }, + "ibc.core.connection.v1.MsgConnectionOpenAck": { + "description": "MsgConnectionOpenAck defines a msg sent by a Relayer to Chain A to\nacknowledge the change of connection state to TRYOPEN on Chain B.", + "type": "object", + "properties": { + "client_state": { + "$ref": "#/definitions/google.protobuf.Any" + }, + "connection_id": { + "type": "string" + }, + "consensus_height": { + "$ref": "#/definitions/ibc.core.client.v1.Height" + }, + "counterparty_connection_id": { + "type": "string" + }, + "host_consensus_state_proof": { + "type": "string", + "format": "byte", + "title": "optional proof data for host state machines that are unable to introspect their own consensus state" + }, + "proof_client": { + "type": "string", + "format": "byte", + "title": "proof of client state included in message" + }, + "proof_consensus": { + "type": "string", + "format": "byte", + "title": "proof of client consensus state" + }, + "proof_height": { + "$ref": "#/definitions/ibc.core.client.v1.Height" + }, + "proof_try": { + "type": "string", + "format": "byte", + "title": "proof of the initialization the connection on Chain B: `UNITIALIZED ->\nTRYOPEN`" + }, + "signer": { + "type": "string" + }, + "version": { + "$ref": "#/definitions/ibc.core.connection.v1.Version" + } + } + }, + "ibc.core.connection.v1.MsgConnectionOpenAckResponse": { + "description": "MsgConnectionOpenAckResponse defines the Msg/ConnectionOpenAck response type.", + "type": "object" + }, + "ibc.core.connection.v1.MsgConnectionOpenConfirm": { + "description": "MsgConnectionOpenConfirm defines a msg sent by a Relayer to Chain B to\nacknowledge the change of connection state to OPEN on Chain A.", + "type": "object", + "properties": { + "connection_id": { + "type": "string" + }, + "proof_ack": { + "type": "string", + "format": "byte", + "title": "proof for the change of the connection state on Chain A: `INIT -> OPEN`" + }, + "proof_height": { + "$ref": "#/definitions/ibc.core.client.v1.Height" + }, + "signer": { + "type": "string" + } + } + }, + "ibc.core.connection.v1.MsgConnectionOpenConfirmResponse": { + "description": "MsgConnectionOpenConfirmResponse defines the Msg/ConnectionOpenConfirm\nresponse type.", + "type": "object" + }, + "ibc.core.connection.v1.MsgConnectionOpenInit": { + "description": "MsgConnectionOpenInit defines the msg sent by an account on Chain A to\ninitialize a connection with Chain B.", + "type": "object", + "properties": { + "client_id": { + "type": "string" + }, + "counterparty": { + "$ref": "#/definitions/ibc.core.connection.v1.Counterparty" + }, + "delay_period": { + "type": "string", + "format": "uint64" + }, + "signer": { + "type": "string" + }, + "version": { + "$ref": "#/definitions/ibc.core.connection.v1.Version" + } + } + }, + "ibc.core.connection.v1.MsgConnectionOpenInitResponse": { + "description": "MsgConnectionOpenInitResponse defines the Msg/ConnectionOpenInit response\ntype.", + "type": "object" + }, + "ibc.core.connection.v1.MsgConnectionOpenTry": { + "description": "MsgConnectionOpenTry defines a msg sent by a Relayer to try to open a\nconnection on Chain B.", + "type": "object", + "properties": { + "client_id": { + "type": "string" + }, + "client_state": { + "$ref": "#/definitions/google.protobuf.Any" + }, + "consensus_height": { + "$ref": "#/definitions/ibc.core.client.v1.Height" + }, + "counterparty": { + "$ref": "#/definitions/ibc.core.connection.v1.Counterparty" + }, + "counterparty_versions": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/ibc.core.connection.v1.Version" + } + }, + "delay_period": { + "type": "string", + "format": "uint64" + }, + "host_consensus_state_proof": { + "type": "string", + "format": "byte", + "title": "optional proof data for host state machines that are unable to introspect their own consensus state" + }, + "previous_connection_id": { + "description": "Deprecated: this field is unused. Crossing hellos are no longer supported in core IBC.", + "type": "string" + }, + "proof_client": { + "type": "string", + "format": "byte", + "title": "proof of client state included in message" + }, + "proof_consensus": { + "type": "string", + "format": "byte", + "title": "proof of client consensus state" + }, + "proof_height": { + "$ref": "#/definitions/ibc.core.client.v1.Height" + }, + "proof_init": { + "type": "string", + "format": "byte", + "title": "proof of the initialization the connection on Chain A: `UNITIALIZED ->\nINIT`" + }, + "signer": { + "type": "string" + } + } + }, + "ibc.core.connection.v1.MsgConnectionOpenTryResponse": { + "description": "MsgConnectionOpenTryResponse defines the Msg/ConnectionOpenTry response type.", + "type": "object" + }, + "ibc.core.connection.v1.MsgUpdateParams": { + "description": "MsgUpdateParams defines the sdk.Msg type to update the connection parameters.", + "type": "object", + "properties": { + "params": { + "description": "params defines the connection parameters to update.\n\nNOTE: All parameters must be supplied.", + "$ref": "#/definitions/ibc.core.connection.v1.Params" + }, + "signer": { + "type": "string", + "title": "signer address" + } + } + }, + "ibc.core.connection.v1.MsgUpdateParamsResponse": { + "description": "MsgUpdateParamsResponse defines the MsgUpdateParams response type.", + "type": "object" + }, + "ibc.core.connection.v1.Params": { + "description": "Params defines the set of Connection parameters.", + "type": "object", + "properties": { + "max_expected_time_per_block": { + "description": "maximum expected time per block (in nanoseconds), used to enforce block delay. This parameter should reflect the\nlargest amount of time that the chain might reasonably take to produce the next block under normal operating\nconditions. A safe choice is 3-5x the expected time per block.", + "type": "string", + "format": "uint64" + } + } + }, + "ibc.core.connection.v1.QueryClientConnectionsResponse": { + "type": "object", + "title": "QueryClientConnectionsResponse is the response type for the\nQuery/ClientConnections RPC method", + "properties": { + "connection_paths": { + "description": "slice of all the connection paths associated with a client.", + "type": "array", + "items": { + "type": "string" + } + }, + "proof": { + "type": "string", + "format": "byte", + "title": "merkle proof of existence" + }, + "proof_height": { + "title": "height at which the proof was generated", + "$ref": "#/definitions/ibc.core.client.v1.Height" + } + } + }, + "ibc.core.connection.v1.QueryConnectionClientStateResponse": { + "type": "object", + "title": "QueryConnectionClientStateResponse is the response type for the\nQuery/ConnectionClientState RPC method", + "properties": { + "identified_client_state": { + "title": "client state associated with the channel", + "$ref": "#/definitions/ibc.core.client.v1.IdentifiedClientState" + }, + "proof": { + "type": "string", + "format": "byte", + "title": "merkle proof of existence" + }, + "proof_height": { + "title": "height at which the proof was retrieved", + "$ref": "#/definitions/ibc.core.client.v1.Height" + } + } + }, + "ibc.core.connection.v1.QueryConnectionConsensusStateResponse": { + "type": "object", + "title": "QueryConnectionConsensusStateResponse is the response type for the\nQuery/ConnectionConsensusState RPC method", + "properties": { + "client_id": { + "type": "string", + "title": "client ID associated with the consensus state" + }, + "consensus_state": { + "title": "consensus state associated with the channel", + "$ref": "#/definitions/google.protobuf.Any" + }, + "proof": { + "type": "string", + "format": "byte", + "title": "merkle proof of existence" + }, + "proof_height": { + "title": "height at which the proof was retrieved", + "$ref": "#/definitions/ibc.core.client.v1.Height" + } + } + }, + "ibc.core.connection.v1.QueryConnectionParamsResponse": { + "description": "QueryConnectionParamsResponse is the response type for the Query/ConnectionParams RPC method.", + "type": "object", + "properties": { + "params": { + "description": "params defines the parameters of the module.", + "$ref": "#/definitions/ibc.core.connection.v1.Params" + } + } + }, + "ibc.core.connection.v1.QueryConnectionResponse": { + "description": "QueryConnectionResponse is the response type for the Query/Connection RPC\nmethod. Besides the connection end, it includes a proof and the height from\nwhich the proof was retrieved.", + "type": "object", + "properties": { + "connection": { + "title": "connection associated with the request identifier", + "$ref": "#/definitions/ibc.core.connection.v1.ConnectionEnd" + }, + "proof": { + "type": "string", + "format": "byte", + "title": "merkle proof of existence" + }, + "proof_height": { + "title": "height at which the proof was retrieved", + "$ref": "#/definitions/ibc.core.client.v1.Height" + } + } + }, + "ibc.core.connection.v1.QueryConnectionsResponse": { + "description": "QueryConnectionsResponse is the response type for the Query/Connections RPC\nmethod.", + "type": "object", + "properties": { + "connections": { + "description": "list of stored connections of the chain.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/ibc.core.connection.v1.IdentifiedConnection" + } + }, + "height": { + "title": "query block height", + "$ref": "#/definitions/ibc.core.client.v1.Height" + }, + "pagination": { + "title": "pagination response", + "$ref": "#/definitions/cosmos.base.query.v1beta1.PageResponse" + } + } + }, + "ibc.core.connection.v1.State": { + "description": "State defines if a connection is in one of the following states:\nINIT, TRYOPEN, OPEN or UNINITIALIZED.\n\n - STATE_UNINITIALIZED_UNSPECIFIED: Default State\n - STATE_INIT: A connection end has just started the opening handshake.\n - STATE_TRYOPEN: A connection end has acknowledged the handshake step on the counterparty\nchain.\n - STATE_OPEN: A connection end has completed the handshake.", + "type": "string", + "default": "STATE_UNINITIALIZED_UNSPECIFIED", + "enum": [ + "STATE_UNINITIALIZED_UNSPECIFIED", + "STATE_INIT", + "STATE_TRYOPEN", + "STATE_OPEN" + ] + }, + "ibc.core.connection.v1.Version": { + "description": "Version defines the versioning scheme used to negotiate the IBC verison in\nthe connection handshake.", + "type": "object", + "properties": { + "features": { + "type": "array", + "title": "list of features compatible with the specified identifier", + "items": { + "type": "string" + } + }, + "identifier": { + "type": "string", + "title": "unique version identifier" + } + } + }, + "ibc.lightclients.wasm.v1.MsgMigrateContract": { + "description": "MsgMigrateContract defines the request type for the MigrateContract rpc.", + "type": "object", + "properties": { + "checksum": { + "type": "string", + "format": "byte", + "title": "checksum is the sha256 hash of the new wasm byte code for the contract" + }, + "client_id": { + "type": "string", + "title": "the client id of the contract" + }, + "msg": { + "type": "string", + "format": "byte", + "title": "the json encoded message to be passed to the contract on migration" + }, + "signer": { + "type": "string", + "title": "signer address" + } + } + }, + "ibc.lightclients.wasm.v1.MsgMigrateContractResponse": { + "type": "object", + "title": "MsgMigrateContractResponse defines the response type for the MigrateContract rpc" + }, + "ibc.lightclients.wasm.v1.MsgRemoveChecksum": { + "description": "MsgRemoveChecksum defines the request type for the MsgRemoveChecksum rpc.", + "type": "object", + "properties": { + "checksum": { + "type": "string", + "format": "byte", + "title": "checksum is the sha256 hash to be removed from the store" + }, + "signer": { + "type": "string", + "title": "signer address" + } + } + }, + "ibc.lightclients.wasm.v1.MsgRemoveChecksumResponse": { + "type": "object", + "title": "MsgStoreChecksumResponse defines the response type for the StoreCode rpc" + }, + "ibc.lightclients.wasm.v1.MsgStoreCode": { + "description": "MsgStoreCode defines the request type for the StoreCode rpc.", + "type": "object", + "properties": { + "signer": { + "type": "string", + "title": "signer address" + }, + "wasm_byte_code": { + "type": "string", + "format": "byte", + "title": "wasm byte code of light client contract. It can be raw or gzip compressed" + } + } + }, + "ibc.lightclients.wasm.v1.MsgStoreCodeResponse": { + "type": "object", + "title": "MsgStoreCodeResponse defines the response type for the StoreCode rpc", + "properties": { + "checksum": { + "type": "string", + "format": "byte", + "title": "checksum is the sha256 hash of the stored code" + } + } + }, + "ibc.lightclients.wasm.v1.QueryChecksumsResponse": { + "description": "QueryChecksumsResponse is the response type for the Query/Checksums RPC method.", + "type": "object", + "properties": { + "checksums": { + "description": "checksums is a list of the hex encoded checksums of all wasm codes stored.", + "type": "array", + "items": { + "type": "string" + } + }, + "pagination": { + "description": "pagination defines the pagination in the response.", + "$ref": "#/definitions/cosmos.base.query.v1beta1.PageResponse" + } + } + }, + "ibc.lightclients.wasm.v1.QueryCodeResponse": { + "description": "QueryCodeResponse is the response type for the Query/Code RPC method.", + "type": "object", + "properties": { + "data": { + "type": "string", + "format": "byte" + } + } + }, + "poktroll.application.Application": { + "type": "object", + "title": "Application represents the on-chain definition and state of an application", + "properties": { + "address": { + "type": "string", + "title": "Bech32 address of the application" + }, + "delegatee_gateway_addresses": { + "type": "array", + "title": "TODO_BETA(@bryanchriswhite): Rename `delegatee_gateway_addresses` to `gateway_addresses_delegated_to`.\nEnsure to rename all relevant configs, comments, variables, function names, etc as well.\nNon-nullable list of Bech32 encoded delegatee Gateway addresses", + "items": { + "type": "string" + } + }, + "pending_transfer": { + "title": "Information about pending application transfers", + "$ref": "#/definitions/poktroll.application.PendingApplicationTransfer" + }, + "pending_undelegations": { + "description": "Mapping of session end heights to gateways being undelegated from\n- Key: Height of the last block of the session when undelegation tx was committed\n- Value: List of gateways being undelegated from\nTODO_DOCUMENT(@red-0ne): Need to document the flow from this comment\nso its clear to everyone why this is necessary; https://github.com/pokt-network/poktroll/issues/476#issuecomment-2052639906.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/poktroll.application.UndelegatingGatewayList" + } + }, + "service_configs": { + "type": "array", + "title": "CRITICAL: Must contain EXACTLY ONE service config\nThis prevents applications from over-servicing.\nKept as repeated field for legacy and future compatibility\nRefs:\n - https://github.com/pokt-network/poktroll/pull/750#discussion_r1735025033\n - https://www.notion.so/buildwithgrove/Off-chain-Application-Stake-Tracking-6a8bebb107db4f7f9dc62cbe7ba555f7", + "items": { + "type": "object", + "$ref": "#/definitions/poktroll.shared.ApplicationServiceConfig" + } + }, + "stake": { + "title": "Total amount of staked uPOKT", + "$ref": "#/definitions/cosmos.base.v1beta1.Coin" + }, + "unstake_session_end_height": { + "type": "string", + "format": "uint64", + "title": "Session end height when application initiated unstaking (0 if not unstaking)" + } + } + }, + "poktroll.application.MsgDelegateToGateway": { + "type": "object", + "properties": { + "app_address": { + "description": "The Bech32 address of the application.", + "type": "string" + }, + "gateway_address": { + "description": "The Bech32 address of the gateway the application wants to delegate to.", + "type": "string" + } + } + }, + "poktroll.application.MsgDelegateToGatewayResponse": { + "type": "object", + "properties": { + "application": { + "$ref": "#/definitions/poktroll.application.Application" + } + } + }, + "poktroll.application.MsgStakeApplication": { + "type": "object", + "properties": { + "address": { + "description": "The Bech32 address of the application.", + "type": "string" + }, + "services": { + "type": "array", + "title": "The list of services this application is staked to request service for", + "items": { + "type": "object", + "$ref": "#/definitions/poktroll.shared.ApplicationServiceConfig" + } + }, + "stake": { + "title": "The total amount of uPOKT the application has staked. Must be ≥ to the current amount that the application has staked (if any)", + "$ref": "#/definitions/cosmos.base.v1beta1.Coin" + } + } + }, + "poktroll.application.MsgStakeApplicationResponse": { + "type": "object", + "properties": { + "application": { + "$ref": "#/definitions/poktroll.application.Application" + } + } + }, + "poktroll.application.MsgTransferApplication": { + "type": "object", + "properties": { + "destination_address": { + "type": "string" + }, + "source_address": { + "type": "string" + } + } + }, + "poktroll.application.MsgTransferApplicationResponse": { + "type": "object", + "properties": { + "application": { + "$ref": "#/definitions/poktroll.application.Application" + } + } + }, + "poktroll.application.MsgUndelegateFromGateway": { + "type": "object", + "properties": { + "app_address": { + "description": "The Bech32 address of the application.", + "type": "string" + }, + "gateway_address": { + "description": "The Bech32 address of the gateway the application wants to undelegate from.", + "type": "string" + } + } + }, + "poktroll.application.MsgUndelegateFromGatewayResponse": { + "type": "object", + "properties": { + "application": { + "$ref": "#/definitions/poktroll.application.Application" + } + } + }, + "poktroll.application.MsgUnstakeApplication": { + "type": "object", + "properties": { + "address": { + "type": "string" + } + } + }, + "poktroll.application.MsgUnstakeApplicationResponse": { + "type": "object", + "properties": { + "application": { + "$ref": "#/definitions/poktroll.application.Application" + } + } + }, + "poktroll.application.MsgUpdateParam": { + "type": "object", + "properties": { + "as_coin": { + "$ref": "#/definitions/cosmos.base.v1beta1.Coin" + }, + "as_uint64": { + "type": "string", + "format": "uint64" + }, + "authority": { + "description": "authority is the address that controls the module (defaults to x/gov unless overwritten).", + "type": "string" + }, + "name": { + "type": "string" + } + } + }, + "poktroll.application.MsgUpdateParamResponse": { + "type": "object", + "properties": { + "params": { + "$ref": "#/definitions/poktroll.application.Params" + } + } + }, + "poktroll.application.MsgUpdateParams": { + "description": "MsgUpdateParams is the Msg/UpdateParams request type.", + "type": "object", + "properties": { + "authority": { + "description": "authority is the address that controls the module (defaults to x/gov unless overwritten).", + "type": "string" + }, + "params": { + "description": "params defines the x/application parameters to update.\nNOTE: All parameters must be supplied.", + "$ref": "#/definitions/poktroll.application.Params" + } + } + }, + "poktroll.application.MsgUpdateParamsResponse": { + "description": "MsgUpdateParamsResponse defines the response structure for executing a\nMsgUpdateParams message.", + "type": "object" + }, + "poktroll.application.Params": { + "description": "Params defines the parameters for the module.", + "type": "object", + "properties": { + "max_delegated_gateways": { + "description": "max_delegated_gateways defines the maximum number of gateways that a single\napplication can delegate to. This is used to prevent performance issues\nin case the relay ring signature becomes too large.", + "type": "string", + "format": "uint64" + }, + "min_stake": { + "description": "min_stake is the minimum stake in upokt that an application must have to remain staked.", + "$ref": "#/definitions/cosmos.base.v1beta1.Coin" + } + } + }, + "poktroll.application.PendingApplicationTransfer": { + "description": "PendingTransfer is used to store the details of a pending transfer.\nIt is only intended to be used inside of an Application object.", + "type": "object", + "properties": { + "destination_address": { + "type": "string" + }, + "session_end_height": { + "type": "string", + "format": "uint64" + } + } + }, + "poktroll.application.QueryAllApplicationsResponse": { + "type": "object", + "properties": { + "applications": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/poktroll.application.Application" + } + }, + "pagination": { + "$ref": "#/definitions/cosmos.base.query.v1beta1.PageResponse" + } + } + }, + "poktroll.application.QueryGetApplicationResponse": { + "type": "object", + "properties": { + "application": { + "$ref": "#/definitions/poktroll.application.Application" + } + } + }, + "poktroll.application.QueryParamsResponse": { + "description": "QueryParamsResponse is response type for the Query/Params RPC method.", + "type": "object", + "properties": { + "params": { + "description": "params holds all the parameters of this module.", + "$ref": "#/definitions/poktroll.application.Params" + } + } + }, + "poktroll.application.UndelegatingGatewayList": { + "description": "UndelegatingGatewayList is used as the Value of `pending_undelegations`.\nIt is required to store a repeated list of strings as a map value.", + "type": "object", + "properties": { + "gateway_addresses": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "poktroll.gateway.Gateway": { + "type": "object", + "properties": { + "address": { + "type": "string", + "title": "The Bech32 address of the gateway" + }, + "stake": { + "title": "The total amount of uPOKT the gateway has staked", + "$ref": "#/definitions/cosmos.base.v1beta1.Coin" + } + } + }, + "poktroll.gateway.MsgStakeGateway": { + "type": "object", + "properties": { + "address": { + "type": "string", + "title": "The Bech32 address of the gateway" + }, + "stake": { + "title": "The total amount of uPOKT the gateway is staking. Must be ≥ to the current amount that the gateway has staked (if any)", + "$ref": "#/definitions/cosmos.base.v1beta1.Coin" + } + } + }, + "poktroll.gateway.MsgStakeGatewayResponse": { + "type": "object", + "properties": { + "gateway": { + "$ref": "#/definitions/poktroll.gateway.Gateway" + } + } + }, + "poktroll.gateway.MsgUnstakeGateway": { + "type": "object", + "properties": { + "address": { + "type": "string", + "title": "The Bech32 address of the gateway" + } + } + }, + "poktroll.gateway.MsgUnstakeGatewayResponse": { + "type": "object", + "properties": { + "gateway": { + "$ref": "#/definitions/poktroll.gateway.Gateway" + } + } + }, + "poktroll.gateway.MsgUpdateParam": { + "description": "MsgUpdateParam is the Msg/UpdateParam request type to update a single param.", + "type": "object", + "properties": { + "as_coin": { + "$ref": "#/definitions/cosmos.base.v1beta1.Coin" + }, + "authority": { + "description": "authority is the address that controls the module (defaults to x/gov unless overwritten).", + "type": "string" + }, + "name": { + "type": "string" + } + } + }, + "poktroll.gateway.MsgUpdateParamResponse": { + "type": "object", + "properties": { + "params": { + "$ref": "#/definitions/poktroll.gateway.Params" + } + } + }, + "poktroll.gateway.MsgUpdateParams": { + "description": "MsgUpdateParams is the Msg/UpdateParams request type.", + "type": "object", + "properties": { + "authority": { + "description": "authority is the address that controls the module (defaults to x/gov unless overwritten).", + "type": "string" + }, + "params": { + "description": "params defines the x/gateway parameters to update.\nNOTE: All parameters must be supplied.", + "$ref": "#/definitions/poktroll.gateway.Params" + } + } + }, + "poktroll.gateway.MsgUpdateParamsResponse": { + "description": "MsgUpdateParamsResponse defines the response structure for executing a\nMsgUpdateParams message.", + "type": "object" + }, + "poktroll.gateway.Params": { + "description": "Params defines the parameters for the module.", + "type": "object", + "properties": { + "min_stake": { + "description": "min_stake is the minimum amount of uPOKT that a gateway must stake.", + "$ref": "#/definitions/cosmos.base.v1beta1.Coin" + } + } + }, + "poktroll.gateway.QueryAllGatewaysResponse": { + "type": "object", + "properties": { + "gateways": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/poktroll.gateway.Gateway" + } + }, + "pagination": { + "$ref": "#/definitions/cosmos.base.query.v1beta1.PageResponse" + } + } + }, + "poktroll.gateway.QueryGetGatewayResponse": { + "type": "object", + "properties": { + "gateway": { + "$ref": "#/definitions/poktroll.gateway.Gateway" + } + } + }, + "poktroll.gateway.QueryParamsResponse": { + "description": "QueryParamsResponse is response type for the Query/Params RPC method.", + "type": "object", + "properties": { + "params": { + "description": "params holds all the parameters of this module.", + "$ref": "#/definitions/poktroll.gateway.Params" + } + } + }, + "poktroll.proof.Claim": { + "type": "object", + "title": "Claim is the serialized object stored onchain for claims pending to be proven", + "properties": { + "proof_validation_status": { + "title": "Important: This field MUST only be set by proofKeeper#EnsureValidProofSignaturesAndClosestPath", + "$ref": "#/definitions/poktroll.proof.ClaimProofStatus" + }, + "root_hash": { + "description": "Root hash from smt.SMST#Root().", + "type": "string", + "format": "byte" + }, + "session_header": { + "description": "Session header this claim is for.", + "$ref": "#/definitions/poktroll.session.SessionHeader" + }, + "supplier_operator_address": { + "description": "Address of the supplier's operator that submitted this claim.\n\nthe address of the supplier's operator that submitted this claim", + "type": "string" + } + } + }, + "poktroll.proof.ClaimProofStatus": { + "type": "string", + "title": "Status of proof validation for a claim\nDefault is PENDING_VALIDATION regardless of proof requirement", + "default": "PENDING_VALIDATION", + "enum": [ + "PENDING_VALIDATION", + "VALIDATED", + "INVALID" + ] + }, + "poktroll.proof.MsgCreateClaim": { + "type": "object", + "properties": { + "root_hash": { + "type": "string", + "format": "byte", + "title": "root returned from smt.SMST#Root()" + }, + "session_header": { + "$ref": "#/definitions/poktroll.session.SessionHeader" + }, + "supplier_operator_address": { + "type": "string" + } + } + }, + "poktroll.proof.MsgCreateClaimResponse": { + "type": "object", + "properties": { + "claim": { + "$ref": "#/definitions/poktroll.proof.Claim" + } + } + }, + "poktroll.proof.MsgSubmitProof": { + "type": "object", + "properties": { + "proof": { + "type": "string", + "format": "byte", + "title": "serialized version of *smt.SparseCompactMerkleClosestProof" + }, + "session_header": { + "$ref": "#/definitions/poktroll.session.SessionHeader" + }, + "supplier_operator_address": { + "type": "string" + } + } + }, + "poktroll.proof.MsgSubmitProofResponse": { + "type": "object", + "properties": { + "proof": { + "$ref": "#/definitions/poktroll.proof.Proof" + } + } + }, + "poktroll.proof.MsgUpdateParam": { + "description": "MsgUpdateParam is the Msg/UpdateParam request type to update a single param.", + "type": "object", + "properties": { + "as_bytes": { + "type": "string", + "format": "byte" + }, + "as_coin": { + "$ref": "#/definitions/cosmos.base.v1beta1.Coin" + }, + "as_float": { + "type": "number", + "format": "double" + }, + "authority": { + "description": "authority is the address that controls the module (defaults to x/gov unless overwritten).", + "type": "string" + }, + "name": { + "type": "string", + "title": "The (name, as_type) tuple must match the corresponding name and type as\nspecified in the `Params`` message in `proof/params.proto.`" + } + } + }, + "poktroll.proof.MsgUpdateParamResponse": { + "description": "MsgUpdateParamResponse defines the response structure for executing a\nMsgUpdateParam message after a single param update.", + "type": "object", + "properties": { + "params": { + "$ref": "#/definitions/poktroll.proof.Params" + } + } + }, + "poktroll.proof.MsgUpdateParams": { + "description": "MsgUpdateParams is the Msg/UpdateParams request type to update all params at once.", + "type": "object", + "properties": { + "authority": { + "description": "authority is the address that controls the module (defaults to x/gov unless overwritten).", + "type": "string" + }, + "params": { + "description": "params defines the x/proof parameters to update.\nNOTE: All parameters must be supplied.", + "$ref": "#/definitions/poktroll.proof.Params" + } + } + }, + "poktroll.proof.MsgUpdateParamsResponse": { + "description": "MsgUpdateParamsResponse defines the response structure for executing a\nMsgUpdateParams message.", + "type": "object" + }, + "poktroll.proof.Params": { + "description": "Params defines the parameters for the module.", + "type": "object", + "properties": { + "proof_missing_penalty": { + "description": "proof_missing_penalty is the number of tokens (uPOKT) which should be slashed from a supplier\nwhen a proof is required (either via proof_requirement_threshold or proof_missing_penalty)\nbut is not provided.\nTODO_MAINNET: Consider renaming this to `proof_missing_penalty_upokt`.", + "$ref": "#/definitions/cosmos.base.v1beta1.Coin" + }, + "proof_request_probability": { + "description": "proof_request_probability is the probability of a session requiring a proof\nif it's cost (i.e. compute unit consumption) is below the ProofRequirementThreshold.", + "type": "number", + "format": "double" + }, + "proof_requirement_threshold": { + "description": "proof_requirement_threshold is the session cost (i.e. compute unit consumption)\nthreshold which asserts that a session MUST have a corresponding proof when its cost\nis equal to or above the threshold. This is in contrast to the this requirement\nbeing determined probabilistically via ProofRequestProbability.\n\nTODO_MAINNET: Consider renaming this to `proof_requirement_threshold_upokt`.", + "$ref": "#/definitions/cosmos.base.v1beta1.Coin" + }, + "proof_submission_fee": { + "description": "proof_submission_fee is the number of tokens (uPOKT) which should be paid by\nthe supplier operator when submitting a proof.\nThis is needed to account for the cost of storing proofs onchain and prevent\nspamming (i.e. sybil bloat attacks) the network with non-required proofs.\nTODO_MAINNET: Consider renaming this to `proof_submission_fee_upokt`.", + "$ref": "#/definitions/cosmos.base.v1beta1.Coin" + } + } + }, + "poktroll.proof.Proof": { + "type": "object", + "properties": { + "closest_merkle_proof": { + "description": "The serialized SMST compacted proof from the `#ClosestProof()` method.", + "type": "string", + "format": "byte" + }, + "session_header": { + "description": "The session header of the session that this claim is for.", + "$ref": "#/definitions/poktroll.session.SessionHeader" + }, + "supplier_operator_address": { + "description": "Address of the supplier's operator that submitted this proof.", + "type": "string" + } + } + }, + "poktroll.proof.QueryAllClaimsResponse": { + "type": "object", + "properties": { + "claims": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/poktroll.proof.Claim" + } + }, + "pagination": { + "$ref": "#/definitions/cosmos.base.query.v1beta1.PageResponse" + } + } + }, + "poktroll.proof.QueryAllProofsResponse": { + "type": "object", + "properties": { + "pagination": { + "$ref": "#/definitions/cosmos.base.query.v1beta1.PageResponse" + }, + "proofs": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/poktroll.proof.Proof" + } + } + } + }, + "poktroll.proof.QueryGetClaimResponse": { + "type": "object", + "properties": { + "claim": { + "$ref": "#/definitions/poktroll.proof.Claim" + } + } + }, + "poktroll.proof.QueryGetProofResponse": { + "type": "object", + "properties": { + "proof": { + "$ref": "#/definitions/poktroll.proof.Proof" + } + } + }, + "poktroll.proof.QueryParamsResponse": { + "description": "QueryParamsResponse is response type for the Query/Params RPC method.", + "type": "object", + "properties": { + "params": { + "description": "params holds all the parameters of this module.", + "$ref": "#/definitions/poktroll.proof.Params" + } + } + }, + "poktroll.service.MsgAddService": { + "description": "MsgAddService defines a message for adding a new message to the network.\nServices can be added by any actor in the network making them truly\npermissionless.", + "type": "object", + "properties": { + "owner_address": { + "description": "The Bech32 address of the service owner.", + "type": "string" + }, + "service": { + "title": "The Service being added to the network", + "$ref": "#/definitions/poktroll.shared.Service" + } + } + }, + "poktroll.service.MsgAddServiceResponse": { + "type": "object", + "properties": { + "service": { + "$ref": "#/definitions/poktroll.shared.Service" + } + } + }, + "poktroll.service.MsgUpdateParam": { + "description": "MsgUpdateParam is the Msg/UpdateParam request type to update a single param.", + "type": "object", + "properties": { + "as_coin": { + "$ref": "#/definitions/cosmos.base.v1beta1.Coin" + }, + "as_uint64": { + "type": "string", + "format": "uint64" + }, + "authority": { + "description": "authority is the address that controls the module (defaults to x/gov unless overwritten).", + "type": "string" + }, + "name": { + "type": "string", + "title": "The (name, as_type) tuple must match the corresponding name and type as\nspecified in the `Params` message in `proof/params.proto.`" + } + } + }, + "poktroll.service.MsgUpdateParamResponse": { + "description": "MsgUpdateParamResponse defines the response structure for executing a\nMsgUpdateParam message after a single param update.", + "type": "object", + "properties": { + "params": { + "$ref": "#/definitions/poktroll.service.Params" + } + } + }, + "poktroll.service.MsgUpdateParams": { + "description": "MsgUpdateParams is the Msg/UpdateParams request type.", + "type": "object", + "properties": { + "authority": { + "description": "authority is the address that controls the module (defaults to x/gov unless overwritten).", + "type": "string" + }, + "params": { + "description": "params defines the x/service parameters to update.\nNOTE: All parameters must be supplied.", + "$ref": "#/definitions/poktroll.service.Params" + } + } + }, + "poktroll.service.MsgUpdateParamsResponse": { + "description": "MsgUpdateParamsResponse defines the response structure for executing a\nMsgUpdateParams message.", + "type": "object" + }, + "poktroll.service.Params": { + "description": "Params defines the parameters for the module.", + "type": "object", + "properties": { + "add_service_fee": { + "description": "The amount of uPOKT required to add a new service.\nThis will be deducted from the signer's account balance,\nand transferred to the pocket network foundation.", + "$ref": "#/definitions/cosmos.base.v1beta1.Coin" + }, + "target_num_relays": { + "description": "target_num_relays is the target for the EMA of the number of relays per session.\nPer service, onchain relay mining difficulty will be adjusted to maintain this target.", + "type": "string", + "format": "uint64" + } + } + }, + "poktroll.service.QueryAllRelayMiningDifficultyResponse": { + "type": "object", + "properties": { + "pagination": { + "$ref": "#/definitions/cosmos.base.query.v1beta1.PageResponse" + }, + "relayMiningDifficulty": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/poktroll.service.RelayMiningDifficulty" + } + } + } + }, + "poktroll.service.QueryAllServicesResponse": { + "type": "object", + "properties": { + "pagination": { + "$ref": "#/definitions/cosmos.base.query.v1beta1.PageResponse" + }, + "service": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/poktroll.shared.Service" + } + } + } + }, + "poktroll.service.QueryGetRelayMiningDifficultyResponse": { + "type": "object", + "properties": { + "relayMiningDifficulty": { + "$ref": "#/definitions/poktroll.service.RelayMiningDifficulty" + } + } + }, + "poktroll.service.QueryGetServiceResponse": { + "type": "object", + "properties": { + "service": { + "$ref": "#/definitions/poktroll.shared.Service" + } + } + }, + "poktroll.service.QueryParamsResponse": { + "description": "QueryParamsResponse is response type for the Query/Params RPC method.", + "type": "object", + "properties": { + "params": { + "description": "params holds all the parameters of this module.", + "$ref": "#/definitions/poktroll.service.Params" + } + } + }, + "poktroll.service.RelayMiningDifficulty": { + "description": "RelayMiningDifficulty is a message used to store the onchain Relay Mining\ndifficulty associated with a specific service ID.\nTODO_TECHDEBT: Embed this message in the Service message.", + "type": "object", + "properties": { + "block_height": { + "description": "The block height at which this relay mining difficulty was computed.\nThis is needed to determine how much time has passed since the last time\nthe exponential moving average was computed.", + "type": "string", + "format": "int64" + }, + "num_relays_ema": { + "description": "The exponential moving average of the number of relays for this service.", + "type": "string", + "format": "uint64" + }, + "service_id": { + "description": "The service ID the relay mining difficulty is associated with.", + "type": "string" + }, + "target_hash": { + "description": "The target hash determining the difficulty to mine relays for this service.\nFor example, if we use sha256 to hash the (RelayRequest,ReqlayResponse) tuple,\nand the difficulty has 4 leading zero bits, then the target hash would be:\n0b0000111... (until 32 bytes are filled up).", + "type": "string", + "format": "byte" + } + } + }, + "poktroll.session.MsgUpdateParam": { + "type": "object", + "properties": { + "as_uint64": { + "type": "string", + "format": "uint64" + }, + "authority": { + "description": "authority is the address that controls the module (defaults to x/gov unless overwritten).", + "type": "string" + }, + "name": { + "type": "string" + } + } + }, + "poktroll.session.MsgUpdateParamResponse": { + "type": "object", + "properties": { + "params": { + "$ref": "#/definitions/poktroll.session.Params" + } + } + }, + "poktroll.session.MsgUpdateParams": { + "description": "MsgUpdateParams is the Msg/UpdateParams request type.", + "type": "object", + "properties": { + "authority": { + "description": "authority is the address that controls the module (defaults to x/gov unless overwritten).", + "type": "string" + }, + "params": { + "description": "params defines the x/session parameters to update.\nNOTE: All parameters must be supplied.", + "$ref": "#/definitions/poktroll.session.Params" + } + } + }, + "poktroll.session.MsgUpdateParamsResponse": { + "description": "MsgUpdateParamsResponse defines the response structure for executing a\nMsgUpdateParams message.", + "type": "object" + }, + "poktroll.session.Params": { + "description": "Params defines the parameters for the module.", + "type": "object", + "properties": { + "num_suppliers_per_session": { + "description": "num_suppliers_per_session is the maximun number of suppliers per session\n(applicaiton:supplier pair for a given session number).", + "type": "string", + "format": "uint64" + } + } + }, + "poktroll.session.QueryGetSessionResponse": { + "type": "object", + "properties": { + "session": { + "$ref": "#/definitions/poktroll.session.Session" + } + } + }, + "poktroll.session.QueryParamsResponse": { + "description": "QueryParamsResponse is response type for the Query/Params RPC method.", + "type": "object", + "properties": { + "params": { + "description": "params holds all the parameters of this module.", + "$ref": "#/definitions/poktroll.session.Params" + } + } + }, + "poktroll.session.Session": { + "description": "Session is a fully hydrated session object that contains all the information for the Session\nand its parcipants.", + "type": "object", + "properties": { + "application": { + "title": "A fully hydrated application object this session is for", + "$ref": "#/definitions/poktroll.application.Application" + }, + "header": { + "title": "The header of the session containing lightweight data", + "$ref": "#/definitions/poktroll.session.SessionHeader" + }, + "num_blocks_per_session": { + "type": "string", + "format": "int64", + "title": "The number of blocks per session when this session started" + }, + "session_id": { + "type": "string", + "title": "A unique pseudoranom ID for this session" + }, + "session_number": { + "type": "string", + "format": "int64", + "title": "The session number since genesis" + }, + "suppliers": { + "type": "array", + "title": "A fully hydrated set of servicers that are serving the application", + "items": { + "type": "object", + "$ref": "#/definitions/poktroll.shared.Supplier" + } + } + } + }, + "poktroll.session.SessionHeader": { + "description": "SessionHeader is a lightweight header for a session that can be passed around.\nIt is the minimal amount of data required to hydrate & retrieve all data relevant to the session.", + "type": "object", + "properties": { + "application_address": { + "description": "The Bech32 address of the application.", + "type": "string" + }, + "service_id": { + "type": "string", + "title": "The service id this session is for" + }, + "session_end_block_height": { + "description": "Note that`session_end_block_height` is a derivative of (`start` + `num_blocks_per_session`)\nas goverened by onchain params at the time of the session start.\nIt is stored as an additional field to simplofy business logic in case\nthe number of blocks_per_session changes during the session.\n\nThe height at which this session ended, this is the last block of the session", + "type": "string", + "format": "int64" + }, + "session_id": { + "description": "A unique pseudoranom ID for this session", + "type": "string", + "title": "NOTE: session_id can be derived from the above values using onchain but is included in the header for convenience" + }, + "session_start_block_height": { + "type": "string", + "format": "int64", + "title": "The height at which this session started" + } + } + }, + "poktroll.shared.ApplicationServiceConfig": { + "type": "object", + "title": "ApplicationServiceConfig holds the service configuration the application stakes for", + "properties": { + "service_id": { + "type": "string", + "title": "The Service ID for which the application is configured" + } + } + }, + "poktroll.shared.ConfigOption": { + "type": "object", + "title": "Key-value wrapper for config options, as proto maps can't be keyed by enums", + "properties": { + "key": { + "title": "Config option key", + "$ref": "#/definitions/poktroll.shared.ConfigOptions" + }, + "value": { + "type": "string", + "title": "Config option value" + } + } + }, + "poktroll.shared.ConfigOptions": { + "description": "Enum to define configuration options\nTODO_RESEARCH: Should these be configs, SLAs or something else? There will be more discussion once we get closer to implementing onchain QoS.\n\n - UNKNOWN_CONFIG: Undefined config option\n - TIMEOUT: Timeout setting", + "type": "string", + "default": "UNKNOWN_CONFIG", + "enum": [ + "UNKNOWN_CONFIG", + "TIMEOUT" + ] + }, + "poktroll.shared.MsgUpdateParam": { + "description": "MsgUpdateParam is the Msg/UpdateParam request type to update a single param.", + "type": "object", + "properties": { + "as_bytes": { + "type": "string", + "format": "byte" + }, + "as_string": { + "type": "string" + }, + "as_uint64": { + "type": "string", + "format": "uint64" + }, + "authority": { + "description": "authority is the address that controls the module (defaults to x/gov unless overwritten).", + "type": "string" + }, + "name": { + "type": "string" + } + } + }, + "poktroll.shared.MsgUpdateParamResponse": { + "description": "MsgUpdateParamResponse defines the response structure for executing a\nMsgUpdateParam message after a single param update.", + "type": "object", + "properties": { + "params": { + "$ref": "#/definitions/poktroll.shared.Params" + } + } + }, + "poktroll.shared.MsgUpdateParams": { + "description": "MsgUpdateParams is the Msg/UpdateParams request type.", + "type": "object", + "properties": { + "authority": { + "description": "authority is the address that controls the module (defaults to x/gov unless overwritten).", + "type": "string" + }, + "params": { + "description": "NOTE: All parameters must be supplied.", + "$ref": "#/definitions/poktroll.shared.Params" + } + } + }, + "poktroll.shared.MsgUpdateParamsResponse": { + "description": "MsgUpdateParamsResponse defines the response structure for executing a\nMsgUpdateParams message.", + "type": "object" + }, + "poktroll.shared.Params": { + "description": "Params defines the parameters for the module.", + "type": "object", + "properties": { + "application_unbonding_period_sessions": { + "description": "application_unbonding_period_sessions is the number of sessions that an application must wait after\nunstaking before their staked assets are moved to their account balance.\nOnchain business logic requires, and ensures, that the corresponding block count of the\napplication unbonding period will exceed the end of its corresponding proof window close height.", + "type": "string", + "format": "uint64" + }, + "claim_window_close_offset_blocks": { + "description": "claim_window_close_offset_blocks is the number of blocks after the claim window\nopen height, at which the claim window closes.", + "type": "string", + "format": "uint64" + }, + "claim_window_open_offset_blocks": { + "description": "claim_window_open_offset_blocks is the number of blocks after the session grace\nperiod height, at which the claim window opens.", + "type": "string", + "format": "uint64" + }, + "compute_units_to_tokens_multiplier": { + "description": "The amount of upokt that a compute unit should translate to when settling a session.\nDEV_NOTE: This used to be under x/tokenomics but has been moved here to avoid cyclic dependencies.", + "type": "string", + "format": "uint64" + }, + "grace_period_end_offset_blocks": { + "description": "grace_period_end_offset_blocks is the number of blocks, after the session end height,\nduring which the supplier can still service payable relays.\nSuppliers will need to recreate a claim for the previous session (if already created) to\nget paid for the additional relays.", + "type": "string", + "format": "uint64" + }, + "num_blocks_per_session": { + "description": "num_blocks_per_session is the number of blocks between the session start & end heights.", + "type": "string", + "format": "uint64" + }, + "proof_window_close_offset_blocks": { + "description": "proof_window_close_offset_blocks is the number of blocks after the proof window\nopen height, at which the proof window closes.", + "type": "string", + "format": "uint64" + }, + "proof_window_open_offset_blocks": { + "description": "proof_window_open_offset_blocks is the number of blocks after the claim window\nclose height, at which the proof window opens.", + "type": "string", + "format": "uint64" + }, + "supplier_unbonding_period_sessions": { + "description": "supplier_unbonding_period_sessions is the number of sessions that a supplier must wait after\nunstaking before their staked assets are moved to their account balance.\nOnchain business logic requires, and ensures, that the corresponding block count of the unbonding\nperiod will exceed the end of any active claim & proof lifecycles.", + "type": "string", + "format": "uint64" + } + } + }, + "poktroll.shared.QueryParamsResponse": { + "description": "QueryParamsResponse is response type for the Query/Params RPC method.", + "type": "object", + "properties": { + "params": { + "description": "params holds all the parameters of this module.", + "$ref": "#/definitions/poktroll.shared.Params" + } + } + }, + "poktroll.shared.RPCType": { + "description": "- UNKNOWN_RPC: Undefined RPC type\n - GRPC: gRPC\n - WEBSOCKET: WebSocket\n - JSON_RPC: JSON-RPC\n - REST: REST", + "type": "string", + "title": "Enum to define RPC types", + "default": "UNKNOWN_RPC", + "enum": [ + "UNKNOWN_RPC", + "GRPC", + "WEBSOCKET", + "JSON_RPC", + "REST" + ] + }, + "poktroll.shared.Service": { + "type": "object", + "title": "Service message to encapsulate unique and semantic identifiers for a service on the network", + "properties": { + "compute_units_per_relay": { + "description": "Compute units required per relay for this service", + "type": "string", + "format": "uint64", + "title": "The cost of a single relay for this service in terms of compute units.\nMust be used alongside the global 'compute_units_to_tokens_multipler' to calculate the cost of a relay for this service.\ncost_per_relay_for_specific_service = compute_units_per_relay_for_specific_service * compute_units_to_tokens_multipler_global_value" + }, + "id": { + "description": "Unique identifier for the service", + "type": "string", + "title": "For example, what if we want to request a session for a certain service but with some additional configs that identify it?" + }, + "name": { + "description": "TODO_BETA(@bryanchriswhite): Either remove this or rename it to alias.\n\n(Optional) Semantic human readable name for the service", + "type": "string" + }, + "owner_address": { + "description": "The owner address that created the service.\nIt is the address that receives rewards based on the Service's onchain usage\nIt is the only address that can update the service configuration (e.g. compute_units_per_relay),\nor make other updates to it.\n\nThe Bech32 address of the service owner / creator", + "type": "string" + } + } + }, + "poktroll.shared.ServiceRevenueShare": { + "type": "object", + "title": "ServiceRevenueShare message to hold revenue share configuration details", + "properties": { + "address": { + "type": "string", + "title": "The Bech32 address of the revenue share recipient" + }, + "rev_share_percentage": { + "type": "string", + "format": "uint64", + "title": "The percentage of revenue share the recipient will receive" + } + } + }, + "poktroll.shared.Supplier": { + "type": "object", + "title": "Supplier represents an actor in Pocket Network that provides RPC services", + "properties": { + "operator_address": { + "description": "Operator address managing the offchain server\nImmutable for supplier's lifespan - requires unstake/re-stake to change.\nCan update supplier configs except for owner address.", + "type": "string" + }, + "owner_address": { + "type": "string", + "title": "Owner address that controls the staked funds and receives rewards by default\nCannot be updated by the operator" + }, + "services": { + "type": "array", + "title": "List of service configurations supported by this supplier", + "items": { + "type": "object", + "$ref": "#/definitions/poktroll.shared.SupplierServiceConfig" + } + }, + "services_activation_heights_map": { + "description": "Mapping of serviceIds to their activation heights\n- Key: serviceId\n- Value: Session start height when supplier becomes active for the service\nTODO_MAINNET(@olshansk, #1033): Look into moving this to an external repeated protobuf\nbecause maps are no longer supported for serialized types in the CosmoSDK.", + "type": "object", + "additionalProperties": { + "type": "string", + "format": "uint64" + } + }, + "stake": { + "title": "Total amount of staked uPOKT", + "$ref": "#/definitions/cosmos.base.v1beta1.Coin" + }, + "unstake_session_end_height": { + "type": "string", + "format": "uint64", + "title": "Session end height when supplier initiated unstaking (0 if not unstaking)" + } + } + }, + "poktroll.shared.SupplierEndpoint": { + "type": "object", + "title": "SupplierEndpoint message to hold service configuration details", + "properties": { + "configs": { + "type": "array", + "title": "Additional configuration options for the endpoint", + "items": { + "type": "object", + "$ref": "#/definitions/poktroll.shared.ConfigOption" + } + }, + "rpc_type": { + "title": "Type of RPC exposed on the url above", + "$ref": "#/definitions/poktroll.shared.RPCType" + }, + "url": { + "type": "string", + "title": "URL of the endpoint" + } + } + }, + "poktroll.shared.SupplierServiceConfig": { + "type": "object", + "title": "SupplierServiceConfig holds the service configuration the supplier stakes for", + "properties": { + "endpoints": { + "type": "array", + "title": "List of endpoints for the service", + "items": { + "type": "object", + "$ref": "#/definitions/poktroll.shared.SupplierEndpoint" + } + }, + "rev_share": { + "type": "array", + "title": "List of revenue share configurations for the service", + "items": { + "type": "object", + "$ref": "#/definitions/poktroll.shared.ServiceRevenueShare" + } + }, + "service_id": { + "type": "string", + "title": "The Service ID for which the supplier is configured" + } + } + }, + "poktroll.supplier.MsgStakeSupplier": { + "type": "object", + "properties": { + "operator_address": { + "type": "string", + "title": "The Bech32 address of the operator (i.e. provider, non-custodial)" + }, + "owner_address": { + "type": "string", + "title": "The Bech32 address of the owner (i.e. custodial, staker)" + }, + "services": { + "type": "array", + "title": "The list of services this supplier is staked to provide service for", + "items": { + "type": "object", + "$ref": "#/definitions/poktroll.shared.SupplierServiceConfig" + } + }, + "signer": { + "type": "string", + "title": "The Bech32 address of the message signer (i.e. owner or operator)" + }, + "stake": { + "title": "The total amount of uPOKT the supplier has staked. Must be ≥ to the current amount that the supplier has staked (if any)", + "$ref": "#/definitions/cosmos.base.v1beta1.Coin" + } + } + }, + "poktroll.supplier.MsgStakeSupplierResponse": { + "type": "object", + "properties": { + "supplier": { + "$ref": "#/definitions/poktroll.shared.Supplier" + } + } + }, + "poktroll.supplier.MsgUnstakeSupplier": { + "type": "object", + "properties": { + "operator_address": { + "type": "string", + "title": "The Bech32 address of the operator (i.e. provider, non-custodial)" + }, + "signer": { + "type": "string", + "title": "The Bech32 address of the message signer (i.e. owner or operator)" + } + } + }, + "poktroll.supplier.MsgUnstakeSupplierResponse": { + "type": "object", + "properties": { + "supplier": { + "$ref": "#/definitions/poktroll.shared.Supplier" + } + } + }, + "poktroll.supplier.MsgUpdateParam": { + "description": "MsgUpdateParam is the Msg/UpdateParam request type to update a single param.", + "type": "object", + "properties": { + "as_coin": { + "$ref": "#/definitions/cosmos.base.v1beta1.Coin" + }, + "authority": { + "description": "authority is the address that controls the module (defaults to x/gov unless overwritten).", + "type": "string" + }, + "name": { + "type": "string" + } + } + }, + "poktroll.supplier.MsgUpdateParamResponse": { + "type": "object", + "properties": { + "params": { + "$ref": "#/definitions/poktroll.supplier.Params" + } + } + }, + "poktroll.supplier.MsgUpdateParams": { + "description": "MsgUpdateParams is the Msg/UpdateParams request type.", + "type": "object", + "properties": { + "authority": { + "description": "authority is the address that controls the module (defaults to x/gov unless overwritten).", + "type": "string" + }, + "params": { + "description": "params defines the x/supplier parameters to update.\nNOTE: All parameters must be supplied.", + "$ref": "#/definitions/poktroll.supplier.Params" + } + } + }, + "poktroll.supplier.MsgUpdateParamsResponse": { + "description": "MsgUpdateParamsResponse defines the response structure for executing a\nMsgUpdateParams message.", + "type": "object" + }, + "poktroll.supplier.Params": { + "description": "Params defines the parameters for the module.", + "type": "object", + "properties": { + "min_stake": { + "description": "min_stake is the minimum amount of uPOKT that a supplier must stake to be\nincluded in network sessions and remain staked.", + "$ref": "#/definitions/cosmos.base.v1beta1.Coin" + }, + "staking_fee": { + "description": "staking_fee is the fee charged by the protocol for staking a supplier.", + "$ref": "#/definitions/cosmos.base.v1beta1.Coin" + } + } + }, + "poktroll.supplier.QueryAllSuppliersResponse": { + "type": "object", + "properties": { + "pagination": { + "$ref": "#/definitions/cosmos.base.query.v1beta1.PageResponse" + }, + "supplier": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/poktroll.shared.Supplier" + } + } + } + }, + "poktroll.supplier.QueryGetSupplierResponse": { + "type": "object", + "properties": { + "supplier": { + "$ref": "#/definitions/poktroll.shared.Supplier" + } + } + }, + "poktroll.supplier.QueryParamsResponse": { + "description": "QueryParamsResponse is response type for the Query/Params RPC method.", + "type": "object", + "properties": { + "params": { + "description": "params holds all the parameters of this module.", + "$ref": "#/definitions/poktroll.supplier.Params" + } + } + }, + "poktroll.tokenomics.MintAllocationPercentages": { + "description": "MintAllocationPercentages represents the distribution of newly minted tokens,\nat the end of claim settlement, as a result of the Global Mint TLM.", + "type": "object", + "properties": { + "application": { + "description": "allocation_application is the percentage of the minted tokens which are sent\nto the application account address during claim settlement.", + "type": "number", + "format": "double" + }, + "dao": { + "description": "dao is the percentage of the minted tokens which are sent\nto the DAO reward address during claim settlement.", + "type": "number", + "format": "double" + }, + "proposer": { + "description": "proposer is the percentage of the minted tokens which are sent\nto the block proposer account address during claim settlement.", + "type": "number", + "format": "double" + }, + "source_owner": { + "description": "source_owner is the percentage of the minted tokens which are sent\nto the service source owner account address during claim settlement.", + "type": "number", + "format": "double" + }, + "supplier": { + "description": "supplier is the percentage of the minted tokens which are sent\nto the block supplier account address during claim settlement.", + "type": "number", + "format": "double" + } + } + }, + "poktroll.tokenomics.MsgUpdateParam": { + "description": "MsgUpdateParam is the Msg/UpdateParam request type to update a single param.", + "type": "object", + "properties": { + "as_float": { + "type": "number", + "format": "double" + }, + "as_mint_allocation_percentages": { + "$ref": "#/definitions/poktroll.tokenomics.MintAllocationPercentages" + }, + "as_string": { + "type": "string" + }, + "authority": { + "description": "authority is the address that controls the module (defaults to x/gov unless overwritten).", + "type": "string" + }, + "name": { + "type": "string", + "title": "The (name, as_type) tuple must match the corresponding name and type as\nspecified in the `Params` message in `proof/params.proto.`" + } + } + }, + "poktroll.tokenomics.MsgUpdateParamResponse": { + "description": "MsgUpdateParamResponse defines the response structure for executing a\nMsgUpdateParam message after a single param update.", + "type": "object", + "properties": { + "params": { + "$ref": "#/definitions/poktroll.tokenomics.Params" + } + } + }, + "poktroll.tokenomics.MsgUpdateParams": { + "description": "MsgUpdateParams is the Msg/UpdateParams request type to update all params at once.", + "type": "object", + "properties": { + "authority": { + "description": "authority is the address that controls the module (defaults to x/gov unless overwritten).", + "type": "string" + }, + "params": { + "description": "params defines the x/tokenomics parameters to update.\nNOTE: All parameters must be supplied.", + "$ref": "#/definitions/poktroll.tokenomics.Params" + } + } + }, + "poktroll.tokenomics.MsgUpdateParamsResponse": { + "description": "MsgUpdateParamsResponse defines the response structure for executing a\nMsgUpdateParams message.", + "type": "object", + "properties": { + "params": { + "$ref": "#/definitions/poktroll.tokenomics.Params" + } + } + }, + "poktroll.tokenomics.Params": { + "description": "Params defines the parameters for the tokenomics module.", + "type": "object", + "properties": { + "dao_reward_address": { + "description": "dao_reward_address is the address to which mint_allocation_dao percentage of the\nminted tokens are at the end of claim settlement.\n\nBech32 cosmos address", + "type": "string" + }, + "global_inflation_per_claim": { + "description": "global_inflation_per_claim is the percentage of a claim's claimable uPOKT amount which will be minted on settlement.", + "type": "number", + "format": "double" + }, + "mint_allocation_percentages": { + "description": "mint_allocation_percentages represents the distribution of newly minted tokens,\nat the end of claim settlement, as a result of the Global Mint TLM.", + "$ref": "#/definitions/poktroll.tokenomics.MintAllocationPercentages" + } + } + }, + "poktroll.tokenomics.QueryParamsResponse": { + "description": "QueryParamsResponse is response type for the Query/Params RPC method.", + "type": "object", + "properties": { + "params": { + "description": "params holds all the parameters of this module.", + "$ref": "#/definitions/poktroll.tokenomics.Params" + } + } + }, + "tendermint.abci.CheckTxType": { + "type": "string", + "default": "NEW", + "enum": [ + "NEW", + "RECHECK" + ] + }, + "tendermint.abci.CommitInfo": { + "type": "object", + "properties": { + "round": { + "type": "integer", + "format": "int32" + }, + "votes": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/tendermint.abci.VoteInfo" + } + } + } + }, + "tendermint.abci.Event": { + "description": "Event allows application developers to attach additional information to\nResponseFinalizeBlock and ResponseCheckTx.\nLater, transactions may be queried using these events.", + "type": "object", + "properties": { + "attributes": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/tendermint.abci.EventAttribute" + } + }, + "type": { + "type": "string" + } + } + }, + "tendermint.abci.EventAttribute": { + "description": "EventAttribute is a single key-value pair, associated with an event.", + "type": "object", + "properties": { + "index": { + "type": "boolean", + "title": "nondeterministic" + }, + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + } + }, + "tendermint.abci.ExecTxResult": { + "description": "ExecTxResult contains results of executing one individual transaction.\n\n* Its structure is equivalent to #ResponseDeliverTx which will be deprecated/deleted", + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "codespace": { + "type": "string" + }, + "data": { + "type": "string", + "format": "byte" + }, + "events": { + "type": "array", + "title": "nondeterministic", + "items": { + "type": "object", + "$ref": "#/definitions/tendermint.abci.Event" + } + }, + "gas_used": { + "type": "string", + "format": "int64" + }, + "gas_wanted": { + "type": "string", + "format": "int64" + }, + "info": { + "type": "string", + "title": "nondeterministic" + }, + "log": { + "type": "string", + "title": "nondeterministic" + } + } + }, + "tendermint.abci.ExtendedCommitInfo": { + "description": "ExtendedCommitInfo is similar to CommitInfo except that it is only used in\nthe PrepareProposal request such that CometBFT can provide vote extensions\nto the application.", + "type": "object", + "properties": { + "round": { + "description": "The round at which the block proposer decided in the previous height.", + "type": "integer", + "format": "int32" + }, + "votes": { + "description": "List of validators' addresses in the last validator set with their voting\ninformation, including vote extensions.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/tendermint.abci.ExtendedVoteInfo" + } + } + } + }, + "tendermint.abci.ExtendedVoteInfo": { + "type": "object", + "properties": { + "block_id_flag": { + "title": "block_id_flag indicates whether the validator voted for a block, nil, or did not vote at all", + "$ref": "#/definitions/tendermint.types.BlockIDFlag" + }, + "extension_signature": { + "type": "string", + "format": "byte", + "title": "Vote extension signature created by CometBFT" + }, + "validator": { + "description": "The validator that sent the vote.", + "$ref": "#/definitions/tendermint.abci.Validator" + }, + "vote_extension": { + "description": "Non-deterministic extension provided by the sending validator's application.", + "type": "string", + "format": "byte" + } + } + }, + "tendermint.abci.Misbehavior": { + "type": "object", + "properties": { + "height": { + "type": "string", + "format": "int64", + "title": "The height when the offense occurred" + }, + "time": { + "type": "string", + "format": "date-time", + "title": "The corresponding time where the offense occurred" + }, + "total_voting_power": { + "type": "string", + "format": "int64", + "title": "Total voting power of the validator set in case the ABCI application does\nnot store historical validators.\nhttps://github.com/tendermint/tendermint/issues/4581" + }, + "type": { + "$ref": "#/definitions/tendermint.abci.MisbehaviorType" + }, + "validator": { + "title": "The offending validator", + "$ref": "#/definitions/tendermint.abci.Validator" + } + } + }, + "tendermint.abci.MisbehaviorType": { + "type": "string", + "default": "UNKNOWN", + "enum": [ + "UNKNOWN", + "DUPLICATE_VOTE", + "LIGHT_CLIENT_ATTACK" + ] + }, + "tendermint.abci.RequestApplySnapshotChunk": { + "type": "object", + "title": "Applies a snapshot chunk", + "properties": { + "chunk": { + "type": "string", + "format": "byte" + }, + "index": { + "type": "integer", + "format": "int64" + }, + "sender": { + "type": "string" + } + } + }, + "tendermint.abci.RequestCheckTx": { + "type": "object", + "properties": { + "tx": { + "type": "string", + "format": "byte" + }, + "type": { + "$ref": "#/definitions/tendermint.abci.CheckTxType" + } + } + }, + "tendermint.abci.RequestCommit": { + "type": "object" + }, + "tendermint.abci.RequestEcho": { + "type": "object", + "properties": { + "message": { + "type": "string" + } + } + }, + "tendermint.abci.RequestExtendVote": { + "type": "object", + "title": "Extends a vote with application-injected data", + "properties": { + "hash": { + "type": "string", + "format": "byte", + "title": "the hash of the block that this vote may be referring to" + }, + "height": { + "type": "string", + "format": "int64", + "title": "the height of the extended vote" + }, + "misbehavior": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/tendermint.abci.Misbehavior" + } + }, + "next_validators_hash": { + "type": "string", + "format": "byte" + }, + "proposed_last_commit": { + "$ref": "#/definitions/tendermint.abci.CommitInfo" + }, + "proposer_address": { + "description": "address of the public key of the original proposer of the block.", + "type": "string", + "format": "byte" + }, + "time": { + "type": "string", + "format": "date-time", + "title": "info of the block that this vote may be referring to" + }, + "txs": { + "type": "array", + "items": { + "type": "string", + "format": "byte" + } + } + } + }, + "tendermint.abci.RequestFinalizeBlock": { + "type": "object", + "properties": { + "decided_last_commit": { + "$ref": "#/definitions/tendermint.abci.CommitInfo" + }, + "hash": { + "description": "hash is the merkle root hash of the fields of the decided block.", + "type": "string", + "format": "byte" + }, + "height": { + "type": "string", + "format": "int64" + }, + "misbehavior": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/tendermint.abci.Misbehavior" + } + }, + "next_validators_hash": { + "type": "string", + "format": "byte" + }, + "proposer_address": { + "description": "proposer_address is the address of the public key of the original proposer of the block.", + "type": "string", + "format": "byte" + }, + "time": { + "type": "string", + "format": "date-time" + }, + "txs": { + "type": "array", + "items": { + "type": "string", + "format": "byte" + } + } + } + }, + "tendermint.abci.RequestFlush": { + "type": "object" + }, + "tendermint.abci.RequestInfo": { + "type": "object", + "properties": { + "abci_version": { + "type": "string" + }, + "block_version": { + "type": "string", + "format": "uint64" + }, + "p2p_version": { + "type": "string", + "format": "uint64" + }, + "version": { + "type": "string" + } + } + }, + "tendermint.abci.RequestInitChain": { + "type": "object", + "properties": { + "app_state_bytes": { + "type": "string", + "format": "byte" + }, + "chain_id": { + "type": "string" + }, + "consensus_params": { + "$ref": "#/definitions/tendermint.types.ConsensusParams" + }, + "initial_height": { + "type": "string", + "format": "int64" + }, + "time": { + "type": "string", + "format": "date-time" + }, + "validators": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/tendermint.abci.ValidatorUpdate" + } + } + } + }, + "tendermint.abci.RequestListSnapshots": { + "type": "object", + "title": "lists available snapshots" + }, + "tendermint.abci.RequestLoadSnapshotChunk": { + "type": "object", + "title": "loads a snapshot chunk", + "properties": { + "chunk": { + "type": "integer", + "format": "int64" + }, + "format": { + "type": "integer", + "format": "int64" + }, + "height": { + "type": "string", + "format": "uint64" + } + } + }, + "tendermint.abci.RequestOfferSnapshot": { + "type": "object", + "title": "offers a snapshot to the application", + "properties": { + "app_hash": { + "type": "string", + "format": "byte", + "title": "light client-verified app hash for snapshot height" + }, + "snapshot": { + "title": "snapshot offered by peers", + "$ref": "#/definitions/tendermint.abci.Snapshot" + } + } + }, + "tendermint.abci.RequestPrepareProposal": { + "type": "object", + "properties": { + "height": { + "type": "string", + "format": "int64" + }, + "local_last_commit": { + "$ref": "#/definitions/tendermint.abci.ExtendedCommitInfo" + }, + "max_tx_bytes": { + "description": "the modified transactions cannot exceed this size.", + "type": "string", + "format": "int64" + }, + "misbehavior": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/tendermint.abci.Misbehavior" + } + }, + "next_validators_hash": { + "type": "string", + "format": "byte" + }, + "proposer_address": { + "description": "address of the public key of the validator proposing the block.", + "type": "string", + "format": "byte" + }, + "time": { + "type": "string", + "format": "date-time" + }, + "txs": { + "description": "txs is an array of transactions that will be included in a block,\nsent to the app for possible modifications.", + "type": "array", + "items": { + "type": "string", + "format": "byte" + } + } + } + }, + "tendermint.abci.RequestProcessProposal": { + "type": "object", + "properties": { + "hash": { + "description": "hash is the merkle root hash of the fields of the proposed block.", + "type": "string", + "format": "byte" + }, + "height": { + "type": "string", + "format": "int64" + }, + "misbehavior": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/tendermint.abci.Misbehavior" + } + }, + "next_validators_hash": { + "type": "string", + "format": "byte" + }, + "proposed_last_commit": { + "$ref": "#/definitions/tendermint.abci.CommitInfo" + }, + "proposer_address": { + "description": "address of the public key of the original proposer of the block.", + "type": "string", + "format": "byte" + }, + "time": { + "type": "string", + "format": "date-time" + }, + "txs": { + "type": "array", + "items": { + "type": "string", + "format": "byte" + } + } + } + }, + "tendermint.abci.RequestQuery": { + "type": "object", + "properties": { + "data": { + "type": "string", + "format": "byte" + }, + "height": { + "type": "string", + "format": "int64" + }, + "path": { + "type": "string" + }, + "prove": { + "type": "boolean" + } + } + }, + "tendermint.abci.RequestVerifyVoteExtension": { + "type": "object", + "title": "Verify the vote extension", + "properties": { + "hash": { + "type": "string", + "format": "byte", + "title": "the hash of the block that this received vote corresponds to" + }, + "height": { + "type": "string", + "format": "int64" + }, + "validator_address": { + "type": "string", + "format": "byte", + "title": "the validator that signed the vote extension" + }, + "vote_extension": { + "type": "string", + "format": "byte" + } + } + }, + "tendermint.abci.ResponseApplySnapshotChunk": { + "type": "object", + "properties": { + "refetch_chunks": { + "type": "array", + "title": "Chunks to refetch and reapply", + "items": { + "type": "integer", + "format": "int64" + } + }, + "reject_senders": { + "type": "array", + "title": "Chunk senders to reject and ban", + "items": { + "type": "string" + } + }, + "result": { + "$ref": "#/definitions/tendermint.abci.ResponseApplySnapshotChunk.Result" + } + } + }, + "tendermint.abci.ResponseApplySnapshotChunk.Result": { + "type": "string", + "title": "- UNKNOWN: Unknown result, abort all snapshot restoration\n - ACCEPT: Chunk successfully accepted\n - ABORT: Abort all snapshot restoration\n - RETRY: Retry chunk (combine with refetch and reject)\n - RETRY_SNAPSHOT: Retry snapshot (combine with refetch and reject)\n - REJECT_SNAPSHOT: Reject this snapshot, try others", + "default": "UNKNOWN", + "enum": [ + "UNKNOWN", + "ACCEPT", + "ABORT", + "RETRY", + "RETRY_SNAPSHOT", + "REJECT_SNAPSHOT" + ] + }, + "tendermint.abci.ResponseCheckTx": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "codespace": { + "type": "string" + }, + "data": { + "type": "string", + "format": "byte" + }, + "events": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/tendermint.abci.Event" + } + }, + "gas_used": { + "type": "string", + "format": "int64" + }, + "gas_wanted": { + "type": "string", + "format": "int64" + }, + "info": { + "type": "string", + "title": "nondeterministic" + }, + "log": { + "type": "string", + "title": "nondeterministic" + } + } + }, + "tendermint.abci.ResponseCommit": { + "type": "object", + "properties": { + "retain_height": { + "type": "string", + "format": "int64" + } + } + }, + "tendermint.abci.ResponseEcho": { + "type": "object", + "properties": { + "message": { + "type": "string" + } + } + }, + "tendermint.abci.ResponseExtendVote": { + "type": "object", + "properties": { + "vote_extension": { + "type": "string", + "format": "byte" + } + } + }, + "tendermint.abci.ResponseFinalizeBlock": { + "type": "object", + "properties": { + "app_hash": { + "description": "app_hash is the hash of the applications' state which is used to confirm that execution of the transactions was\ndeterministic. It is up to the application to decide which algorithm to use.", + "type": "string", + "format": "byte" + }, + "consensus_param_updates": { + "description": "updates to the consensus params, if any.", + "$ref": "#/definitions/tendermint.types.ConsensusParams" + }, + "events": { + "type": "array", + "title": "set of block events emmitted as part of executing the block", + "items": { + "type": "object", + "$ref": "#/definitions/tendermint.abci.Event" + } + }, + "tx_results": { + "type": "array", + "title": "the result of executing each transaction including the events\nthe particular transction emitted. This should match the order\nof the transactions delivered in the block itself", + "items": { + "type": "object", + "$ref": "#/definitions/tendermint.abci.ExecTxResult" + } + }, + "validator_updates": { + "description": "a list of updates to the validator set. These will reflect the validator set at current height + 2.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/tendermint.abci.ValidatorUpdate" + } + } + } + }, + "tendermint.abci.ResponseFlush": { + "type": "object" + }, + "tendermint.abci.ResponseInfo": { + "type": "object", + "properties": { + "app_version": { + "type": "string", + "format": "uint64" + }, + "data": { + "type": "string" + }, + "last_block_app_hash": { + "type": "string", + "format": "byte" + }, + "last_block_height": { + "type": "string", + "format": "int64" + }, + "version": { + "type": "string" + } + } + }, + "tendermint.abci.ResponseInitChain": { + "type": "object", + "properties": { + "app_hash": { + "type": "string", + "format": "byte" + }, + "consensus_params": { + "$ref": "#/definitions/tendermint.types.ConsensusParams" + }, + "validators": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/tendermint.abci.ValidatorUpdate" + } + } + } + }, + "tendermint.abci.ResponseListSnapshots": { + "type": "object", + "properties": { + "snapshots": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/tendermint.abci.Snapshot" + } + } + } + }, + "tendermint.abci.ResponseLoadSnapshotChunk": { + "type": "object", + "properties": { + "chunk": { + "type": "string", + "format": "byte" + } + } + }, + "tendermint.abci.ResponseOfferSnapshot": { + "type": "object", + "properties": { + "result": { + "$ref": "#/definitions/tendermint.abci.ResponseOfferSnapshot.Result" + } + } + }, + "tendermint.abci.ResponseOfferSnapshot.Result": { + "type": "string", + "title": "- UNKNOWN: Unknown result, abort all snapshot restoration\n - ACCEPT: Snapshot accepted, apply chunks\n - ABORT: Abort all snapshot restoration\n - REJECT: Reject this specific snapshot, try others\n - REJECT_FORMAT: Reject all snapshots of this format, try others\n - REJECT_SENDER: Reject all snapshots from the sender(s), try others", + "default": "UNKNOWN", + "enum": [ + "UNKNOWN", + "ACCEPT", + "ABORT", + "REJECT", + "REJECT_FORMAT", + "REJECT_SENDER" + ] + }, + "tendermint.abci.ResponsePrepareProposal": { + "type": "object", + "properties": { + "txs": { + "type": "array", + "items": { + "type": "string", + "format": "byte" + } + } + } + }, + "tendermint.abci.ResponseProcessProposal": { + "type": "object", + "properties": { + "status": { + "$ref": "#/definitions/tendermint.abci.ResponseProcessProposal.ProposalStatus" + } + } + }, + "tendermint.abci.ResponseProcessProposal.ProposalStatus": { + "type": "string", + "default": "UNKNOWN", + "enum": [ + "UNKNOWN", + "ACCEPT", + "REJECT" + ] + }, + "tendermint.abci.ResponseQuery": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "codespace": { + "type": "string" + }, + "height": { + "type": "string", + "format": "int64" + }, + "index": { + "type": "string", + "format": "int64" + }, + "info": { + "type": "string", + "title": "nondeterministic" + }, + "key": { + "type": "string", + "format": "byte" + }, + "log": { + "description": "bytes data = 2; // use \"value\" instead.\n\nnondeterministic", + "type": "string" + }, + "proof_ops": { + "$ref": "#/definitions/tendermint.crypto.ProofOps" + }, + "value": { + "type": "string", + "format": "byte" + } + } + }, + "tendermint.abci.ResponseVerifyVoteExtension": { + "type": "object", + "properties": { + "status": { + "$ref": "#/definitions/tendermint.abci.ResponseVerifyVoteExtension.VerifyStatus" + } + } + }, + "tendermint.abci.ResponseVerifyVoteExtension.VerifyStatus": { + "description": " - REJECT: Rejecting the vote extension will reject the entire precommit by the sender.\nIncorrectly implementing this thus has liveness implications as it may affect\nCometBFT's ability to receive 2/3+ valid votes to finalize the block.\nHonest nodes should never be rejected.", + "type": "string", + "default": "UNKNOWN", + "enum": [ + "UNKNOWN", + "ACCEPT", + "REJECT" + ] + }, + "tendermint.abci.Snapshot": { + "type": "object", + "properties": { + "chunks": { + "type": "integer", + "format": "int64", + "title": "Number of chunks in the snapshot" + }, + "format": { + "type": "integer", + "format": "int64", + "title": "The application-specific snapshot format" + }, + "hash": { + "type": "string", + "format": "byte", + "title": "Arbitrary snapshot hash, equal only if identical" + }, + "height": { + "type": "string", + "format": "uint64", + "title": "The height at which the snapshot was taken" + }, + "metadata": { + "type": "string", + "format": "byte", + "title": "Arbitrary application metadata" + } + } + }, + "tendermint.abci.Validator": { + "type": "object", + "properties": { + "address": { + "type": "string", + "format": "byte", + "title": "The first 20 bytes of SHA256(public key)" + }, + "power": { + "description": "The voting power", + "type": "string", + "format": "int64", + "title": "PubKey pub_key = 2 [(gogoproto.nullable)=false];" + } + } + }, + "tendermint.abci.ValidatorUpdate": { + "type": "object", + "properties": { + "power": { + "type": "string", + "format": "int64" + }, + "pub_key": { + "$ref": "#/definitions/tendermint.crypto.PublicKey" + } + } + }, + "tendermint.abci.VoteInfo": { + "type": "object", + "properties": { + "block_id_flag": { + "$ref": "#/definitions/tendermint.types.BlockIDFlag" + }, + "validator": { + "$ref": "#/definitions/tendermint.abci.Validator" + } + } + }, + "tendermint.crypto.ProofOp": { + "type": "object", + "title": "ProofOp defines an operation used for calculating Merkle root\nThe data could be arbitrary format, providing nessecary data\nfor example neighbouring node hash", + "properties": { + "data": { + "type": "string", + "format": "byte" + }, + "key": { + "type": "string", + "format": "byte" + }, + "type": { + "type": "string" + } + } + }, + "tendermint.crypto.ProofOps": { + "type": "object", + "title": "ProofOps is Merkle proof defined by the list of ProofOps", + "properties": { + "ops": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/tendermint.crypto.ProofOp" + } + } + } + }, + "tendermint.crypto.PublicKey": { + "type": "object", + "title": "PublicKey defines the keys available for use with Validators", + "properties": { + "ed25519": { + "type": "string", + "format": "byte" + }, + "secp256k1": { + "type": "string", + "format": "byte" + } + } + }, + "tendermint.p2p.DefaultNodeInfo": { + "type": "object", + "properties": { + "channels": { + "type": "string", + "format": "byte" + }, + "default_node_id": { + "type": "string" + }, + "listen_addr": { + "type": "string" + }, + "moniker": { + "type": "string" + }, + "network": { + "type": "string" + }, + "other": { + "$ref": "#/definitions/tendermint.p2p.DefaultNodeInfoOther" + }, + "protocol_version": { + "$ref": "#/definitions/tendermint.p2p.ProtocolVersion" + }, + "version": { + "type": "string" + } + } + }, + "tendermint.p2p.DefaultNodeInfoOther": { + "type": "object", + "properties": { + "rpc_address": { + "type": "string" + }, + "tx_index": { + "type": "string" + } + } + }, + "tendermint.p2p.ProtocolVersion": { + "type": "object", + "properties": { + "app": { + "type": "string", + "format": "uint64" + }, + "block": { + "type": "string", + "format": "uint64" + }, + "p2p": { + "type": "string", + "format": "uint64" + } + } + }, + "tendermint.types.ABCIParams": { + "description": "ABCIParams configure functionality specific to the Application Blockchain Interface.", + "type": "object", + "properties": { + "vote_extensions_enable_height": { + "description": "vote_extensions_enable_height configures the first height during which\nvote extensions will be enabled. During this specified height, and for all\nsubsequent heights, precommit messages that do not contain valid extension data\nwill be considered invalid. Prior to this height, vote extensions will not\nbe used or accepted by validators on the network.\n\nOnce enabled, vote extensions will be created by the application in ExtendVote,\npassed to the application for validation in VerifyVoteExtension and given\nto the application to use when proposing a block during PrepareProposal.", + "type": "string", + "format": "int64" + } + } + }, + "tendermint.types.Block": { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/tendermint.types.Data" + }, + "evidence": { + "$ref": "#/definitions/tendermint.types.EvidenceList" + }, + "header": { + "$ref": "#/definitions/tendermint.types.Header" + }, + "last_commit": { + "$ref": "#/definitions/tendermint.types.Commit" + } + } + }, + "tendermint.types.BlockID": { + "type": "object", + "title": "BlockID", + "properties": { + "hash": { + "type": "string", + "format": "byte" + }, + "part_set_header": { + "$ref": "#/definitions/tendermint.types.PartSetHeader" + } + } + }, + "tendermint.types.BlockIDFlag": { + "description": "- BLOCK_ID_FLAG_UNKNOWN: indicates an error condition\n - BLOCK_ID_FLAG_ABSENT: the vote was not received\n - BLOCK_ID_FLAG_COMMIT: voted for the block that received the majority\n - BLOCK_ID_FLAG_NIL: voted for nil", + "type": "string", + "title": "BlockIdFlag indicates which BlockID the signature is for", + "default": "BLOCK_ID_FLAG_UNKNOWN", + "enum": [ + "BLOCK_ID_FLAG_UNKNOWN", + "BLOCK_ID_FLAG_ABSENT", + "BLOCK_ID_FLAG_COMMIT", + "BLOCK_ID_FLAG_NIL" + ] + }, + "tendermint.types.BlockParams": { + "description": "BlockParams contains limits on the block size.", + "type": "object", + "properties": { + "max_bytes": { + "type": "string", + "format": "int64", + "title": "Max block size, in bytes.\nNote: must be greater than 0" + }, + "max_gas": { + "type": "string", + "format": "int64", + "title": "Max gas per block.\nNote: must be greater or equal to -1" + } + } + }, + "tendermint.types.Commit": { + "description": "Commit contains the evidence that a block was committed by a set of validators.", + "type": "object", + "properties": { + "block_id": { + "$ref": "#/definitions/tendermint.types.BlockID" + }, + "height": { + "type": "string", + "format": "int64" + }, + "round": { + "type": "integer", + "format": "int32" + }, + "signatures": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/tendermint.types.CommitSig" + } + } + } + }, + "tendermint.types.CommitSig": { + "description": "CommitSig is a part of the Vote included in a Commit.", + "type": "object", + "properties": { + "block_id_flag": { + "$ref": "#/definitions/tendermint.types.BlockIDFlag" + }, + "signature": { + "type": "string", + "format": "byte" + }, + "timestamp": { + "type": "string", + "format": "date-time" + }, + "validator_address": { + "type": "string", + "format": "byte" + } + } + }, + "tendermint.types.ConsensusParams": { + "description": "ConsensusParams contains consensus critical parameters that determine the\nvalidity of blocks.", + "type": "object", + "properties": { + "abci": { + "$ref": "#/definitions/tendermint.types.ABCIParams" + }, + "block": { + "$ref": "#/definitions/tendermint.types.BlockParams" + }, + "evidence": { + "$ref": "#/definitions/tendermint.types.EvidenceParams" + }, + "validator": { + "$ref": "#/definitions/tendermint.types.ValidatorParams" + }, + "version": { + "$ref": "#/definitions/tendermint.types.VersionParams" + } + } + }, + "tendermint.types.Data": { + "type": "object", + "title": "Data contains the set of transactions included in the block", + "properties": { + "txs": { + "description": "Txs that will be applied by state @ block.Height+1.\nNOTE: not all txs here are valid. We're just agreeing on the order first.\nThis means that block.AppHash does not include these txs.", + "type": "array", + "items": { + "type": "string", + "format": "byte" + } + } + } + }, + "tendermint.types.DuplicateVoteEvidence": { + "description": "DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes.", + "type": "object", + "properties": { + "timestamp": { + "type": "string", + "format": "date-time" + }, + "total_voting_power": { + "type": "string", + "format": "int64" + }, + "validator_power": { + "type": "string", + "format": "int64" + }, + "vote_a": { + "$ref": "#/definitions/tendermint.types.Vote" + }, + "vote_b": { + "$ref": "#/definitions/tendermint.types.Vote" + } + } + }, + "tendermint.types.Evidence": { + "type": "object", + "properties": { + "duplicate_vote_evidence": { + "$ref": "#/definitions/tendermint.types.DuplicateVoteEvidence" + }, + "light_client_attack_evidence": { + "$ref": "#/definitions/tendermint.types.LightClientAttackEvidence" + } + } + }, + "tendermint.types.EvidenceList": { + "type": "object", + "properties": { + "evidence": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/tendermint.types.Evidence" + } + } + } + }, + "tendermint.types.EvidenceParams": { + "description": "EvidenceParams determine how we handle evidence of malfeasance.", + "type": "object", + "properties": { + "max_age_duration": { + "description": "Max age of evidence, in time.\n\nIt should correspond with an app's \"unbonding period\" or other similar\nmechanism for handling [Nothing-At-Stake\nattacks](https://github.com/ethereum/wiki/wiki/Proof-of-Stake-FAQ#what-is-the-nothing-at-stake-problem-and-how-can-it-be-fixed).", + "type": "string" + }, + "max_age_num_blocks": { + "description": "Max age of evidence, in blocks.\n\nThe basic formula for calculating this is: MaxAgeDuration / {average block\ntime}.", + "type": "string", + "format": "int64" + }, + "max_bytes": { + "type": "string", + "format": "int64", + "title": "This sets the maximum size of total evidence in bytes that can be committed in a single block.\nand should fall comfortably under the max block bytes.\nDefault is 1048576 or 1MB" + } + } + }, + "tendermint.types.Header": { + "description": "Header defines the structure of a block header.", + "type": "object", + "properties": { + "app_hash": { + "type": "string", + "format": "byte", + "title": "state after txs from the previous block" + }, + "chain_id": { + "type": "string" + }, + "consensus_hash": { + "type": "string", + "format": "byte", + "title": "consensus params for current block" + }, + "data_hash": { + "type": "string", + "format": "byte", + "title": "transactions" + }, + "evidence_hash": { + "description": "evidence included in the block", + "type": "string", + "format": "byte", + "title": "consensus info" + }, + "height": { + "type": "string", + "format": "int64" + }, + "last_block_id": { + "title": "prev block info", + "$ref": "#/definitions/tendermint.types.BlockID" + }, + "last_commit_hash": { + "description": "commit from validators from the last block", + "type": "string", + "format": "byte", + "title": "hashes of block data" + }, + "last_results_hash": { + "type": "string", + "format": "byte", + "title": "root hash of all results from the txs from the previous block" + }, + "next_validators_hash": { + "type": "string", + "format": "byte", + "title": "validators for the next block" + }, + "proposer_address": { + "type": "string", + "format": "byte", + "title": "original proposer of the block" + }, + "time": { + "type": "string", + "format": "date-time" + }, + "validators_hash": { + "description": "validators for the current block", + "type": "string", + "format": "byte", + "title": "hashes from the app output from the prev block" + }, + "version": { + "title": "basic block info", + "$ref": "#/definitions/tendermint.version.Consensus" + } + } + }, + "tendermint.types.LightBlock": { + "type": "object", + "properties": { + "signed_header": { + "$ref": "#/definitions/tendermint.types.SignedHeader" + }, + "validator_set": { + "$ref": "#/definitions/tendermint.types.ValidatorSet" + } + } + }, + "tendermint.types.LightClientAttackEvidence": { + "description": "LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client.", + "type": "object", + "properties": { + "byzantine_validators": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/tendermint.types.Validator" + } + }, + "common_height": { + "type": "string", + "format": "int64" + }, + "conflicting_block": { + "$ref": "#/definitions/tendermint.types.LightBlock" + }, + "timestamp": { + "type": "string", + "format": "date-time" + }, + "total_voting_power": { + "type": "string", + "format": "int64" + } + } + }, + "tendermint.types.PartSetHeader": { + "type": "object", + "title": "PartsetHeader", + "properties": { + "hash": { + "type": "string", + "format": "byte" + }, + "total": { + "type": "integer", + "format": "int64" + } + } + }, + "tendermint.types.SignedHeader": { + "type": "object", + "properties": { + "commit": { + "$ref": "#/definitions/tendermint.types.Commit" + }, + "header": { + "$ref": "#/definitions/tendermint.types.Header" + } + } + }, + "tendermint.types.SignedMsgType": { + "description": "SignedMsgType is a type of signed message in the consensus.\n\n - SIGNED_MSG_TYPE_PREVOTE: Votes\n - SIGNED_MSG_TYPE_PROPOSAL: Proposals", + "type": "string", + "default": "SIGNED_MSG_TYPE_UNKNOWN", + "enum": [ + "SIGNED_MSG_TYPE_UNKNOWN", + "SIGNED_MSG_TYPE_PREVOTE", + "SIGNED_MSG_TYPE_PRECOMMIT", + "SIGNED_MSG_TYPE_PROPOSAL" + ] + }, + "tendermint.types.Validator": { + "type": "object", + "properties": { + "address": { + "type": "string", + "format": "byte" + }, + "proposer_priority": { + "type": "string", + "format": "int64" + }, + "pub_key": { + "$ref": "#/definitions/tendermint.crypto.PublicKey" + }, + "voting_power": { + "type": "string", + "format": "int64" + } + } + }, + "tendermint.types.ValidatorParams": { + "description": "ValidatorParams restrict the public key types validators can use.\nNOTE: uses ABCI pubkey naming, not Amino names.", + "type": "object", + "properties": { + "pub_key_types": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "tendermint.types.ValidatorSet": { + "type": "object", + "properties": { + "proposer": { + "$ref": "#/definitions/tendermint.types.Validator" + }, + "total_voting_power": { + "type": "string", + "format": "int64" + }, + "validators": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/tendermint.types.Validator" + } + } + } + }, + "tendermint.types.VersionParams": { + "description": "VersionParams contains the ABCI application version.", + "type": "object", + "properties": { + "app": { + "type": "string", + "format": "uint64" + } + } + }, + "tendermint.types.Vote": { + "description": "Vote represents a prevote or precommit vote from validators for\nconsensus.", + "type": "object", + "properties": { + "block_id": { + "description": "zero if vote is nil.", + "$ref": "#/definitions/tendermint.types.BlockID" + }, + "extension": { + "description": "Vote extension provided by the application. Only valid for precommit\nmessages.", + "type": "string", + "format": "byte" + }, + "extension_signature": { + "description": "Vote extension signature by the validator if they participated in\nconsensus for the associated block.\nOnly valid for precommit messages.", + "type": "string", + "format": "byte" + }, + "height": { + "type": "string", + "format": "int64" + }, + "round": { + "type": "integer", + "format": "int32" + }, + "signature": { + "description": "Vote signature by the validator if they participated in consensus for the\nassociated block.", + "type": "string", + "format": "byte" + }, + "timestamp": { + "type": "string", + "format": "date-time" + }, + "type": { + "$ref": "#/definitions/tendermint.types.SignedMsgType" + }, + "validator_address": { + "type": "string", + "format": "byte" + }, + "validator_index": { + "type": "integer", + "format": "int32" + } + } + }, + "tendermint.version.Consensus": { + "description": "Consensus captures the consensus rules for processing a block in the blockchain,\nincluding all blockchain data structures and the rules of the application's\nstate transition machine.", + "type": "object", + "properties": { + "app": { + "type": "string", + "format": "uint64" + }, + "block": { + "type": "string", + "format": "uint64" + } + } + } + }, + "tags": [ + { + "name": "Query" + }, + { + "name": "Msg" + }, + { + "name": "Service" + }, + { + "name": "ReflectionService" + }, + { + "name": "ABCIListenerService" + }, + { + "name": "ABCI" + } + ] +} diff --git a/docs/static/openapi.yml b/docs/static/openapi.yml index c9784a7b8..0a30ebea1 100644 --- a/docs/static/openapi.yml +++ b/docs/static/openapi.yml @@ -1 +1,21346 @@ -{"id":"github.com/pokt-network/poktroll","consumes":["application/json"],"produces":["application/json"],"swagger":"2.0","info":{"description":"Chain github.com/pokt-network/poktroll REST API","title":"HTTP API Console","contact":{"name":"github.com/pokt-network/poktroll"},"version":"version not set"},"paths":{"/cosmos.auth.v1beta1.Msg/UpdateParams":{"post":{"description":"Since: cosmos-sdk 0.47","tags":["Msg"],"summary":"UpdateParams defines a (governance) operation for updating the x/auth module\nparameters. The authority defaults to the x/gov module account.","operationId":"EvidenceMsg_UpdateParams","parameters":[{"description":"MsgUpdateParams is the Msg/UpdateParams request type.\n\nSince: cosmos-sdk 0.47","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.auth.v1beta1.MsgUpdateParams"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.auth.v1beta1.MsgUpdateParamsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos.authz.v1beta1.Msg/Exec":{"post":{"tags":["Msg"],"summary":"Exec attempts to execute the provided messages using\nauthorizations granted to the grantee. Each message should have only\none signer corresponding to the granter of the authorization.","operationId":"EvidenceMsg_Exec","parameters":[{"description":"MsgExec attempts to execute the provided messages using\nauthorizations granted to the grantee. Each message should have only\none signer corresponding to the granter of the authorization.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.authz.v1beta1.MsgExec"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.authz.v1beta1.MsgExecResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos.authz.v1beta1.Msg/Grant":{"post":{"tags":["Msg"],"summary":"Grant grants the provided authorization to the grantee on the granter's\naccount with the provided expiration time. If there is already a grant\nfor the given (granter, grantee, Authorization) triple, then the grant\nwill be overwritten.","operationId":"EvidenceMsg_Grant","parameters":[{"description":"MsgGrant is a request type for Grant method. It declares authorization to the grantee\non behalf of the granter with the provided expiration time.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.authz.v1beta1.MsgGrant"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.authz.v1beta1.MsgGrantResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos.authz.v1beta1.Msg/Revoke":{"post":{"tags":["Msg"],"summary":"Revoke revokes any authorization corresponding to the provided method name on the\ngranter's account that has been granted to the grantee.","operationId":"EvidenceMsg_Revoke","parameters":[{"description":"MsgRevoke revokes any authorization with the provided sdk.Msg type on the\ngranter's account with that has been granted to the grantee.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.authz.v1beta1.MsgRevoke"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.authz.v1beta1.MsgRevokeResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos.autocli.v1.Query/AppOptions":{"post":{"tags":["Query"],"summary":"AppOptions returns the autocli options for all of the modules in an app.","operationId":"EvidenceQuery_AppOptions","parameters":[{"description":"AppOptionsRequest is the RemoteInfoService/AppOptions request type.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.autocli.v1.AppOptionsRequest"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.autocli.v1.AppOptionsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos.bank.v1beta1.Msg/MultiSend":{"post":{"tags":["Msg"],"summary":"MultiSend defines a method for sending coins from some accounts to other accounts.","operationId":"EvidenceMsg_MultiSend","parameters":[{"description":"MsgMultiSend represents an arbitrary multi-in, multi-out send message.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.bank.v1beta1.MsgMultiSend"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.bank.v1beta1.MsgMultiSendResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos.bank.v1beta1.Msg/Send":{"post":{"tags":["Msg"],"summary":"Send defines a method for sending coins from one account to another account.","operationId":"EvidenceMsg_Send","parameters":[{"description":"MsgSend represents a message to send coins from one account to another.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.bank.v1beta1.MsgSend"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.bank.v1beta1.MsgSendResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos.bank.v1beta1.Msg/SetSendEnabled":{"post":{"description":"Since: cosmos-sdk 0.47","tags":["Msg"],"summary":"SetSendEnabled is a governance operation for setting the SendEnabled flag\non any number of Denoms. Only the entries to add or update should be\nincluded. Entries that already exist in the store, but that aren't\nincluded in this message, will be left unchanged.","operationId":"EvidenceMsg_SetSendEnabled","parameters":[{"description":"MsgSetSendEnabled is the Msg/SetSendEnabled request type.\n\nOnly entries to add/update/delete need to be included.\nExisting SendEnabled entries that are not included in this\nmessage are left unchanged.\n\nSince: cosmos-sdk 0.47","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.bank.v1beta1.MsgSetSendEnabled"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.bank.v1beta1.MsgSetSendEnabledResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos.bank.v1beta1.Msg/UpdateParams":{"post":{"description":"Since: cosmos-sdk 0.47","tags":["Msg"],"summary":"UpdateParams defines a governance operation for updating the x/bank module parameters.\nThe authority is defined in the keeper.","operationId":"EvidenceMsg_UpdateParamsMixin60","parameters":[{"description":"MsgUpdateParams is the Msg/UpdateParams request type.\n\nSince: cosmos-sdk 0.47","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.bank.v1beta1.MsgUpdateParams"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.bank.v1beta1.MsgUpdateParamsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos.circuit.v1.Msg/AuthorizeCircuitBreaker":{"post":{"tags":["Msg"],"summary":"AuthorizeCircuitBreaker allows a super-admin to grant (or revoke) another\naccount's circuit breaker permissions.","operationId":"EvidenceMsg_AuthorizeCircuitBreaker","parameters":[{"description":"MsgAuthorizeCircuitBreaker defines the Msg/AuthorizeCircuitBreaker request type.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.circuit.v1.MsgAuthorizeCircuitBreaker"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.circuit.v1.MsgAuthorizeCircuitBreakerResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos.circuit.v1.Msg/ResetCircuitBreaker":{"post":{"tags":["Msg"],"summary":"ResetCircuitBreaker resumes processing of Msg's in the state machine that\nhave been been paused using TripCircuitBreaker.","operationId":"EvidenceMsg_ResetCircuitBreaker","parameters":[{"description":"MsgResetCircuitBreaker defines the Msg/ResetCircuitBreaker request type.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.circuit.v1.MsgResetCircuitBreaker"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.circuit.v1.MsgResetCircuitBreakerResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos.circuit.v1.Msg/TripCircuitBreaker":{"post":{"tags":["Msg"],"summary":"TripCircuitBreaker pauses processing of Msg's in the state machine.","operationId":"EvidenceMsg_TripCircuitBreaker","parameters":[{"description":"MsgTripCircuitBreaker defines the Msg/TripCircuitBreaker request type.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.circuit.v1.MsgTripCircuitBreaker"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.circuit.v1.MsgTripCircuitBreakerResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos.consensus.v1.Msg/UpdateParams":{"post":{"description":"Since: cosmos-sdk 0.47","tags":["Msg"],"summary":"UpdateParams defines a governance operation for updating the x/consensus module parameters.\nThe authority is defined in the keeper.","operationId":"EvidenceMsg_UpdateParamsMixin73","parameters":[{"description":"MsgUpdateParams is the Msg/UpdateParams request type.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.consensus.v1.MsgUpdateParams"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.consensus.v1.MsgUpdateParamsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos.crisis.v1beta1.Msg/UpdateParams":{"post":{"description":"Since: cosmos-sdk 0.47","tags":["Msg"],"summary":"UpdateParams defines a governance operation for updating the x/crisis module\nparameters. The authority is defined in the keeper.","operationId":"EvidenceMsg_UpdateParamsMixin75","parameters":[{"description":"MsgUpdateParams is the Msg/UpdateParams request type.\n\nSince: cosmos-sdk 0.47","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.crisis.v1beta1.MsgUpdateParams"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.crisis.v1beta1.MsgUpdateParamsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos.crisis.v1beta1.Msg/VerifyInvariant":{"post":{"tags":["Msg"],"summary":"VerifyInvariant defines a method to verify a particular invariant.","operationId":"EvidenceMsg_VerifyInvariant","parameters":[{"description":"MsgVerifyInvariant represents a message to verify a particular invariance.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.crisis.v1beta1.MsgVerifyInvariant"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.crisis.v1beta1.MsgVerifyInvariantResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos.distribution.v1beta1.Msg/CommunityPoolSpend":{"post":{"description":"Since: cosmos-sdk 0.47","tags":["Msg"],"summary":"CommunityPoolSpend defines a governance operation for sending tokens from\nthe community pool in the x/distribution module to another account, which\ncould be the governance module itself. The authority is defined in the\nkeeper.","operationId":"EvidenceMsg_CommunityPoolSpend","parameters":[{"description":"MsgCommunityPoolSpend defines a message for sending tokens from the community\npool to another account. This message is typically executed via a governance\nproposal with the governance module being the executing authority.\n\nSince: cosmos-sdk 0.47","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.distribution.v1beta1.MsgCommunityPoolSpend"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.distribution.v1beta1.MsgCommunityPoolSpendResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos.distribution.v1beta1.Msg/DepositValidatorRewardsPool":{"post":{"description":"Since: cosmos-sdk 0.50","tags":["Msg"],"summary":"DepositValidatorRewardsPool defines a method to provide additional rewards\nto delegators to a specific validator.","operationId":"EvidenceMsg_DepositValidatorRewardsPool","parameters":[{"description":"DepositValidatorRewardsPool defines the request structure to provide\nadditional rewards to delegators from a specific validator.\n\nSince: cosmos-sdk 0.50","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.distribution.v1beta1.MsgDepositValidatorRewardsPool"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.distribution.v1beta1.MsgDepositValidatorRewardsPoolResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos.distribution.v1beta1.Msg/FundCommunityPool":{"post":{"tags":["Msg"],"summary":"FundCommunityPool defines a method to allow an account to directly\nfund the community pool.","operationId":"EvidenceMsg_FundCommunityPool","parameters":[{"description":"MsgFundCommunityPool allows an account to directly\nfund the community pool.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.distribution.v1beta1.MsgFundCommunityPool"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.distribution.v1beta1.MsgFundCommunityPoolResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos.distribution.v1beta1.Msg/SetWithdrawAddress":{"post":{"tags":["Msg"],"summary":"SetWithdrawAddress defines a method to change the withdraw address\nfor a delegator (or validator self-delegation).","operationId":"EvidenceMsg_SetWithdrawAddress","parameters":[{"description":"MsgSetWithdrawAddress sets the withdraw address for\na delegator (or validator self-delegation).","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.distribution.v1beta1.MsgSetWithdrawAddress"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.distribution.v1beta1.MsgSetWithdrawAddressResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos.distribution.v1beta1.Msg/UpdateParams":{"post":{"description":"Since: cosmos-sdk 0.47","tags":["Msg"],"summary":"UpdateParams defines a governance operation for updating the x/distribution\nmodule parameters. The authority is defined in the keeper.","operationId":"EvidenceMsg_UpdateParamsMixin86","parameters":[{"description":"MsgUpdateParams is the Msg/UpdateParams request type.\n\nSince: cosmos-sdk 0.47","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.distribution.v1beta1.MsgUpdateParams"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.distribution.v1beta1.MsgUpdateParamsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos.distribution.v1beta1.Msg/WithdrawDelegatorReward":{"post":{"tags":["Msg"],"summary":"WithdrawDelegatorReward defines a method to withdraw rewards of delegator\nfrom a single validator.","operationId":"EvidenceMsg_WithdrawDelegatorReward","parameters":[{"description":"MsgWithdrawDelegatorReward represents delegation withdrawal to a delegator\nfrom a single validator.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.distribution.v1beta1.MsgWithdrawDelegatorRewardResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos.distribution.v1beta1.Msg/WithdrawValidatorCommission":{"post":{"tags":["Msg"],"summary":"WithdrawValidatorCommission defines a method to withdraw the\nfull commission to the validator address.","operationId":"EvidenceMsg_WithdrawValidatorCommission","parameters":[{"description":"MsgWithdrawValidatorCommission withdraws the full commission to the validator\naddress.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommissionResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos.evidence.v1beta1.Msg/SubmitEvidence":{"post":{"tags":["Msg"],"summary":"SubmitEvidence submits an arbitrary Evidence of misbehavior such as equivocation or\ncounterfactual signing.","operationId":"EvidenceMsg_SubmitEvidence","parameters":[{"description":"MsgSubmitEvidence represents a message that supports submitting arbitrary\nEvidence of misbehavior such as equivocation or counterfactual signing.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.evidence.v1beta1.MsgSubmitEvidence"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.evidence.v1beta1.MsgSubmitEvidenceResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos.feegrant.v1beta1.Msg/GrantAllowance":{"post":{"tags":["Msg"],"summary":"GrantAllowance grants fee allowance to the grantee on the granter's\naccount with the provided expiration time.","operationId":"EvidenceMsg_GrantAllowance","parameters":[{"description":"MsgGrantAllowance adds permission for Grantee to spend up to Allowance\nof fees from the account of Granter.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.feegrant.v1beta1.MsgGrantAllowance"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.feegrant.v1beta1.MsgGrantAllowanceResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos.feegrant.v1beta1.Msg/PruneAllowances":{"post":{"description":"Since cosmos-sdk 0.50","tags":["Msg"],"summary":"PruneAllowances prunes expired fee allowances, currently up to 75 at a time.","operationId":"EvidenceMsg_PruneAllowances","parameters":[{"description":"MsgPruneAllowances prunes expired fee allowances.\n\nSince cosmos-sdk 0.50","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.feegrant.v1beta1.MsgPruneAllowances"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.feegrant.v1beta1.MsgPruneAllowancesResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos.feegrant.v1beta1.Msg/RevokeAllowance":{"post":{"tags":["Msg"],"summary":"RevokeAllowance revokes any fee allowance of granter's account that\nhas been granted to the grantee.","operationId":"EvidenceMsg_RevokeAllowance","parameters":[{"description":"MsgRevokeAllowance removes any existing Allowance from Granter to Grantee.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.feegrant.v1beta1.MsgRevokeAllowance"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.feegrant.v1beta1.MsgRevokeAllowanceResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos.gov.v1.Msg/CancelProposal":{"post":{"description":"Since: cosmos-sdk 0.50","tags":["Msg"],"summary":"CancelProposal defines a method to cancel governance proposal","operationId":"EvidenceMsg_CancelProposal","parameters":[{"description":"MsgCancelProposal is the Msg/CancelProposal request type.\n\nSince: cosmos-sdk 0.50","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.gov.v1.MsgCancelProposal"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.gov.v1.MsgCancelProposalResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos.gov.v1.Msg/Deposit":{"post":{"tags":["Msg"],"summary":"Deposit defines a method to add deposit on a specific proposal.","operationId":"EvidenceMsg_Deposit","parameters":[{"description":"MsgDeposit defines a message to submit a deposit to an existing proposal.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.gov.v1.MsgDeposit"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.gov.v1.MsgDepositResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos.gov.v1.Msg/ExecLegacyContent":{"post":{"tags":["Msg"],"summary":"ExecLegacyContent defines a Msg to be in included in a MsgSubmitProposal\nto execute a legacy content-based proposal.","operationId":"EvidenceMsg_ExecLegacyContent","parameters":[{"description":"MsgExecLegacyContent is used to wrap the legacy content field into a message.\nThis ensures backwards compatibility with v1beta1.MsgSubmitProposal.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.gov.v1.MsgExecLegacyContent"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.gov.v1.MsgExecLegacyContentResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos.gov.v1.Msg/SubmitProposal":{"post":{"tags":["Msg"],"summary":"SubmitProposal defines a method to create new proposal given the messages.","operationId":"EvidenceMsg_SubmitProposal","parameters":[{"description":"MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary\nproposal Content.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.gov.v1.MsgSubmitProposal"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.gov.v1.MsgSubmitProposalResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos.gov.v1.Msg/UpdateParams":{"post":{"description":"Since: cosmos-sdk 0.47","tags":["Msg"],"summary":"UpdateParams defines a governance operation for updating the x/gov module\nparameters. The authority is defined in the keeper.","operationId":"EvidenceMsg_UpdateParamsMixin99","parameters":[{"description":"MsgUpdateParams is the Msg/UpdateParams request type.\n\nSince: cosmos-sdk 0.47","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.gov.v1.MsgUpdateParams"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.gov.v1.MsgUpdateParamsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos.gov.v1.Msg/Vote":{"post":{"tags":["Msg"],"summary":"Vote defines a method to add a vote on a specific proposal.","operationId":"EvidenceMsg_Vote","parameters":[{"description":"MsgVote defines a message to cast a vote.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.gov.v1.MsgVote"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.gov.v1.MsgVoteResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos.gov.v1.Msg/VoteWeighted":{"post":{"tags":["Msg"],"summary":"VoteWeighted defines a method to add a weighted vote on a specific proposal.","operationId":"EvidenceMsg_VoteWeighted","parameters":[{"description":"MsgVoteWeighted defines a message to cast a vote.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.gov.v1.MsgVoteWeighted"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.gov.v1.MsgVoteWeightedResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos.gov.v1beta1.Msg/Deposit":{"post":{"tags":["Msg"],"summary":"Deposit defines a method to add deposit on a specific proposal.","operationId":"EvidenceMsg_DepositMixin103","parameters":[{"description":"MsgDeposit defines a message to submit a deposit to an existing proposal.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.gov.v1beta1.MsgDeposit"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.gov.v1beta1.MsgDepositResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos.gov.v1beta1.Msg/SubmitProposal":{"post":{"tags":["Msg"],"summary":"SubmitProposal defines a method to create new proposal given a content.","operationId":"EvidenceMsg_SubmitProposalMixin103","parameters":[{"description":"MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary\nproposal Content.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.gov.v1beta1.MsgSubmitProposal"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.gov.v1beta1.MsgSubmitProposalResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos.gov.v1beta1.Msg/Vote":{"post":{"tags":["Msg"],"summary":"Vote defines a method to add a vote on a specific proposal.","operationId":"EvidenceMsg_VoteMixin103","parameters":[{"description":"MsgVote defines a message to cast a vote.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.gov.v1beta1.MsgVote"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.gov.v1beta1.MsgVoteResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos.gov.v1beta1.Msg/VoteWeighted":{"post":{"description":"Since: cosmos-sdk 0.43","tags":["Msg"],"summary":"VoteWeighted defines a method to add a weighted vote on a specific proposal.","operationId":"EvidenceMsg_VoteWeightedMixin103","parameters":[{"description":"MsgVoteWeighted defines a message to cast a vote.\n\nSince: cosmos-sdk 0.43","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.gov.v1beta1.MsgVoteWeighted"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.gov.v1beta1.MsgVoteWeightedResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos.group.v1.Msg/CreateGroup":{"post":{"tags":["Msg"],"summary":"CreateGroup creates a new group with an admin account address, a list of members and some optional metadata.","operationId":"EvidenceMsg_CreateGroup","parameters":[{"description":"MsgCreateGroup is the Msg/CreateGroup request type.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.group.v1.MsgCreateGroup"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.group.v1.MsgCreateGroupResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos.group.v1.Msg/CreateGroupPolicy":{"post":{"tags":["Msg"],"summary":"CreateGroupPolicy creates a new group policy using given DecisionPolicy.","operationId":"EvidenceMsg_CreateGroupPolicy","parameters":[{"description":"MsgCreateGroupPolicy is the Msg/CreateGroupPolicy request type.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.group.v1.MsgCreateGroupPolicy"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.group.v1.MsgCreateGroupPolicyResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos.group.v1.Msg/CreateGroupWithPolicy":{"post":{"tags":["Msg"],"summary":"CreateGroupWithPolicy creates a new group with policy.","operationId":"EvidenceMsg_CreateGroupWithPolicy","parameters":[{"description":"MsgCreateGroupWithPolicy is the Msg/CreateGroupWithPolicy request type.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.group.v1.MsgCreateGroupWithPolicy"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.group.v1.MsgCreateGroupWithPolicyResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos.group.v1.Msg/Exec":{"post":{"tags":["Msg"],"summary":"Exec executes a proposal.","operationId":"EvidenceMsg_ExecMixin107","parameters":[{"description":"MsgExec is the Msg/Exec request type.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.group.v1.MsgExec"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.group.v1.MsgExecResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos.group.v1.Msg/LeaveGroup":{"post":{"tags":["Msg"],"summary":"LeaveGroup allows a group member to leave the group.","operationId":"EvidenceMsg_LeaveGroup","parameters":[{"description":"MsgLeaveGroup is the Msg/LeaveGroup request type.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.group.v1.MsgLeaveGroup"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.group.v1.MsgLeaveGroupResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos.group.v1.Msg/SubmitProposal":{"post":{"tags":["Msg"],"summary":"SubmitProposal submits a new proposal.","operationId":"EvidenceMsg_SubmitProposalMixin107","parameters":[{"description":"MsgSubmitProposal is the Msg/SubmitProposal request type.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.group.v1.MsgSubmitProposal"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.group.v1.MsgSubmitProposalResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos.group.v1.Msg/UpdateGroupAdmin":{"post":{"tags":["Msg"],"summary":"UpdateGroupAdmin updates the group admin with given group id and previous admin address.","operationId":"EvidenceMsg_UpdateGroupAdmin","parameters":[{"description":"MsgUpdateGroupAdmin is the Msg/UpdateGroupAdmin request type.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.group.v1.MsgUpdateGroupAdmin"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.group.v1.MsgUpdateGroupAdminResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos.group.v1.Msg/UpdateGroupMembers":{"post":{"tags":["Msg"],"summary":"UpdateGroupMembers updates the group members with given group id and admin address.","operationId":"EvidenceMsg_UpdateGroupMembers","parameters":[{"description":"MsgUpdateGroupMembers is the Msg/UpdateGroupMembers request type.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.group.v1.MsgUpdateGroupMembers"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.group.v1.MsgUpdateGroupMembersResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos.group.v1.Msg/UpdateGroupMetadata":{"post":{"tags":["Msg"],"summary":"UpdateGroupMetadata updates the group metadata with given group id and admin address.","operationId":"EvidenceMsg_UpdateGroupMetadata","parameters":[{"description":"MsgUpdateGroupMetadata is the Msg/UpdateGroupMetadata request type.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.group.v1.MsgUpdateGroupMetadata"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.group.v1.MsgUpdateGroupMetadataResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos.group.v1.Msg/UpdateGroupPolicyAdmin":{"post":{"tags":["Msg"],"summary":"UpdateGroupPolicyAdmin updates a group policy admin.","operationId":"EvidenceMsg_UpdateGroupPolicyAdmin","parameters":[{"description":"MsgUpdateGroupPolicyAdmin is the Msg/UpdateGroupPolicyAdmin request type.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.group.v1.MsgUpdateGroupPolicyAdmin"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.group.v1.MsgUpdateGroupPolicyAdminResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos.group.v1.Msg/UpdateGroupPolicyDecisionPolicy":{"post":{"tags":["Msg"],"summary":"UpdateGroupPolicyDecisionPolicy allows a group policy's decision policy to be updated.","operationId":"EvidenceMsg_UpdateGroupPolicyDecisionPolicy","parameters":[{"description":"MsgUpdateGroupPolicyDecisionPolicy is the Msg/UpdateGroupPolicyDecisionPolicy request type.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicyResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos.group.v1.Msg/UpdateGroupPolicyMetadata":{"post":{"tags":["Msg"],"summary":"UpdateGroupPolicyMetadata updates a group policy metadata.","operationId":"EvidenceMsg_UpdateGroupPolicyMetadata","parameters":[{"description":"MsgUpdateGroupPolicyMetadata is the Msg/UpdateGroupPolicyMetadata request type.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.group.v1.MsgUpdateGroupPolicyMetadata"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.group.v1.MsgUpdateGroupPolicyMetadataResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos.group.v1.Msg/Vote":{"post":{"tags":["Msg"],"summary":"Vote allows a voter to vote on a proposal.","operationId":"EvidenceMsg_VoteMixin107","parameters":[{"description":"MsgVote is the Msg/Vote request type.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.group.v1.MsgVote"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.group.v1.MsgVoteResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos.group.v1.Msg/WithdrawProposal":{"post":{"tags":["Msg"],"summary":"WithdrawProposal withdraws a proposal.","operationId":"EvidenceMsg_WithdrawProposal","parameters":[{"description":"MsgWithdrawProposal is the Msg/WithdrawProposal request type.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.group.v1.MsgWithdrawProposal"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.group.v1.MsgWithdrawProposalResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos.mint.v1beta1.Msg/UpdateParams":{"post":{"description":"Since: cosmos-sdk 0.47","tags":["Msg"],"summary":"UpdateParams defines a governance operation for updating the x/mint module\nparameters. The authority is defaults to the x/gov module account.","operationId":"EvidenceMsg_UpdateParamsMixin112","parameters":[{"description":"MsgUpdateParams is the Msg/UpdateParams request type.\n\nSince: cosmos-sdk 0.47","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.mint.v1beta1.MsgUpdateParams"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.mint.v1beta1.MsgUpdateParamsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos.nft.v1beta1.Msg/Send":{"post":{"tags":["Msg"],"summary":"Send defines a method to send a nft from one account to another account.","operationId":"EvidenceMsg_SendMixin118","parameters":[{"description":"MsgSend represents a message to send a nft from one account to another account.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.nft.v1beta1.MsgSend"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.nft.v1beta1.MsgSendResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos.slashing.v1beta1.Msg/Unjail":{"post":{"tags":["Msg"],"summary":"Unjail defines a method for unjailing a jailed validator, thus returning\nthem into the bonded validator set, so they can begin receiving provisions\nand rewards again.","operationId":"EvidenceMsg_Unjail","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.slashing.v1beta1.MsgUnjail"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.slashing.v1beta1.MsgUnjailResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos.slashing.v1beta1.Msg/UpdateParams":{"post":{"description":"Since: cosmos-sdk 0.47","tags":["Msg"],"summary":"UpdateParams defines a governance operation for updating the x/slashing module\nparameters. The authority defaults to the x/gov module account.","operationId":"EvidenceMsg_UpdateParamsMixin125","parameters":[{"description":"MsgUpdateParams is the Msg/UpdateParams request type.\n\nSince: cosmos-sdk 0.47","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.slashing.v1beta1.MsgUpdateParams"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.slashing.v1beta1.MsgUpdateParamsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos.staking.v1beta1.Msg/BeginRedelegate":{"post":{"tags":["Msg"],"summary":"BeginRedelegate defines a method for performing a redelegation\nof coins from a delegator and source validator to a destination validator.","operationId":"EvidenceMsg_BeginRedelegate","parameters":[{"description":"MsgBeginRedelegate defines a SDK message for performing a redelegation\nof coins from a delegator and source validator to a destination validator.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.staking.v1beta1.MsgBeginRedelegate"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.staking.v1beta1.MsgBeginRedelegateResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos.staking.v1beta1.Msg/CancelUnbondingDelegation":{"post":{"description":"Since: cosmos-sdk 0.46","tags":["Msg"],"summary":"CancelUnbondingDelegation defines a method for performing canceling the unbonding delegation\nand delegate back to previous validator.","operationId":"EvidenceMsg_CancelUnbondingDelegation","parameters":[{"description":"Since: cosmos-sdk 0.46","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.staking.v1beta1.MsgCancelUnbondingDelegation"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.staking.v1beta1.MsgCancelUnbondingDelegationResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos.staking.v1beta1.Msg/CreateValidator":{"post":{"tags":["Msg"],"summary":"CreateValidator defines a method for creating a new validator.","operationId":"EvidenceMsg_CreateValidator","parameters":[{"description":"MsgCreateValidator defines a SDK message for creating a new validator.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.staking.v1beta1.MsgCreateValidator"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.staking.v1beta1.MsgCreateValidatorResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos.staking.v1beta1.Msg/Delegate":{"post":{"tags":["Msg"],"summary":"Delegate defines a method for performing a delegation of coins\nfrom a delegator to a validator.","operationId":"EvidenceMsg_Delegate","parameters":[{"description":"MsgDelegate defines a SDK message for performing a delegation of coins\nfrom a delegator to a validator.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.staking.v1beta1.MsgDelegate"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.staking.v1beta1.MsgDelegateResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos.staking.v1beta1.Msg/EditValidator":{"post":{"tags":["Msg"],"summary":"EditValidator defines a method for editing an existing validator.","operationId":"EvidenceMsg_EditValidator","parameters":[{"description":"MsgEditValidator defines a SDK message for editing an existing validator.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.staking.v1beta1.MsgEditValidator"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.staking.v1beta1.MsgEditValidatorResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos.staking.v1beta1.Msg/Undelegate":{"post":{"tags":["Msg"],"summary":"Undelegate defines a method for performing an undelegation from a\ndelegate and a validator.","operationId":"EvidenceMsg_Undelegate","parameters":[{"description":"MsgUndelegate defines a SDK message for performing an undelegation from a\ndelegate and a validator.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.staking.v1beta1.MsgUndelegate"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.staking.v1beta1.MsgUndelegateResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos.staking.v1beta1.Msg/UpdateParams":{"post":{"tags":["Msg"],"summary":"UpdateParams defines an operation for updating the x/staking module\nparameters.\nSince: cosmos-sdk 0.47","operationId":"EvidenceMsg_UpdateParamsMixin130","parameters":[{"description":"MsgUpdateParams is the Msg/UpdateParams request type.\n\nSince: cosmos-sdk 0.47","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.staking.v1beta1.MsgUpdateParams"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.staking.v1beta1.MsgUpdateParamsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos.store.streaming.abci.ABCIListenerService/ListenCommit":{"post":{"tags":["ABCIListenerService"],"summary":"ListenCommit is the corresponding endpoint for ABCIListener.ListenCommit","operationId":"EvidenceABCIListenerService_ListenCommit","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.store.streaming.abci.ListenCommitRequest"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.store.streaming.abci.ListenCommitResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos.store.streaming.abci.ABCIListenerService/ListenFinalizeBlock":{"post":{"tags":["ABCIListenerService"],"summary":"ListenFinalizeBlock is the corresponding endpoint for ABCIListener.ListenEndBlock","operationId":"EvidenceABCIListenerService_ListenFinalizeBlock","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.store.streaming.abci.ListenFinalizeBlockRequest"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.store.streaming.abci.ListenFinalizeBlockResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos.upgrade.v1beta1.Msg/CancelUpgrade":{"post":{"description":"Since: cosmos-sdk 0.46","tags":["Msg"],"summary":"CancelUpgrade is a governance operation for cancelling a previously\napproved software upgrade.","operationId":"EvidenceMsg_CancelUpgrade","parameters":[{"description":"MsgCancelUpgrade is the Msg/CancelUpgrade request type.\n\nSince: cosmos-sdk 0.46","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.upgrade.v1beta1.MsgCancelUpgrade"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.upgrade.v1beta1.MsgCancelUpgradeResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos.upgrade.v1beta1.Msg/SoftwareUpgrade":{"post":{"description":"Since: cosmos-sdk 0.46","tags":["Msg"],"summary":"SoftwareUpgrade is a governance operation for initiating a software upgrade.","operationId":"EvidenceMsg_SoftwareUpgrade","parameters":[{"description":"MsgSoftwareUpgrade is the Msg/SoftwareUpgrade request type.\n\nSince: cosmos-sdk 0.46","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.upgrade.v1beta1.MsgSoftwareUpgrade"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.upgrade.v1beta1.MsgSoftwareUpgradeResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos.vesting.v1beta1.Msg/CreatePeriodicVestingAccount":{"post":{"description":"Since: cosmos-sdk 0.46","tags":["Msg"],"summary":"CreatePeriodicVestingAccount defines a method that enables creating a\nperiodic vesting account.","operationId":"EvidenceMsg_CreatePeriodicVestingAccount","parameters":[{"description":"MsgCreateVestingAccount defines a message that enables creating a vesting\naccount.\n\nSince: cosmos-sdk 0.46","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccount"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccountResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos.vesting.v1beta1.Msg/CreatePermanentLockedAccount":{"post":{"description":"Since: cosmos-sdk 0.46","tags":["Msg"],"summary":"CreatePermanentLockedAccount defines a method that enables creating a permanent\nlocked account.","operationId":"EvidenceMsg_CreatePermanentLockedAccount","parameters":[{"description":"MsgCreatePermanentLockedAccount defines a message that enables creating a permanent\nlocked account.\n\nSince: cosmos-sdk 0.46","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccount"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccountResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos.vesting.v1beta1.Msg/CreateVestingAccount":{"post":{"tags":["Msg"],"summary":"CreateVestingAccount defines a method that enables creating a vesting\naccount.","operationId":"EvidenceMsg_CreateVestingAccount","parameters":[{"description":"MsgCreateVestingAccount defines a message that enables creating a vesting\naccount.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.vesting.v1beta1.MsgCreateVestingAccount"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.vesting.v1beta1.MsgCreateVestingAccountResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/auth/v1beta1/account_info/{address}":{"get":{"description":"Since: cosmos-sdk 0.47","tags":["Query"],"summary":"AccountInfo queries account info which is common to all account types.","operationId":"EvidenceQuery_AccountInfo","parameters":[{"type":"string","description":"address is the account address string.","name":"address","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.auth.v1beta1.QueryAccountInfoResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/auth/v1beta1/accounts":{"get":{"description":"When called from another module, this query might consume a high amount of\ngas if the pagination field is incorrectly set.\n\nSince: cosmos-sdk 0.43","tags":["Query"],"summary":"Accounts returns all the existing accounts.","operationId":"EvidenceQuery_Accounts","parameters":[{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.auth.v1beta1.QueryAccountsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/auth/v1beta1/accounts/{address}":{"get":{"tags":["Query"],"summary":"Account returns account details based on address.","operationId":"EvidenceQuery_Account","parameters":[{"type":"string","description":"address defines the address to query for.","name":"address","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.auth.v1beta1.QueryAccountResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/auth/v1beta1/address_by_id/{id}":{"get":{"description":"Since: cosmos-sdk 0.46.2","tags":["Query"],"summary":"AccountAddressByID returns account address based on account number.","operationId":"EvidenceQuery_AccountAddressByID","parameters":[{"type":"string","format":"int64","description":"Deprecated, use account_id instead\n\nid is the account number of the address to be queried. This field\nshould have been an uint64 (like all account numbers), and will be\nupdated to uint64 in a future version of the auth query.","name":"id","in":"path","required":true},{"type":"string","format":"uint64","description":"account_id is the account number of the address to be queried.\n\nSince: cosmos-sdk 0.47","name":"account_id","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.auth.v1beta1.QueryAccountAddressByIDResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/auth/v1beta1/bech32":{"get":{"description":"Since: cosmos-sdk 0.46","tags":["Query"],"summary":"Bech32Prefix queries bech32Prefix","operationId":"EvidenceQuery_Bech32Prefix","responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.auth.v1beta1.Bech32PrefixResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/auth/v1beta1/bech32/{address_bytes}":{"get":{"description":"Since: cosmos-sdk 0.46","tags":["Query"],"summary":"AddressBytesToString converts Account Address bytes to string","operationId":"EvidenceQuery_AddressBytesToString","parameters":[{"type":"string","format":"byte","name":"address_bytes","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.auth.v1beta1.AddressBytesToStringResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/auth/v1beta1/bech32/{address_string}":{"get":{"description":"Since: cosmos-sdk 0.46","tags":["Query"],"summary":"AddressStringToBytes converts Address string to bytes","operationId":"EvidenceQuery_AddressStringToBytes","parameters":[{"type":"string","name":"address_string","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.auth.v1beta1.AddressStringToBytesResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/auth/v1beta1/module_accounts":{"get":{"description":"Since: cosmos-sdk 0.46","tags":["Query"],"summary":"ModuleAccounts returns all the existing module accounts.","operationId":"EvidenceQuery_ModuleAccounts","responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.auth.v1beta1.QueryModuleAccountsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/auth/v1beta1/module_accounts/{name}":{"get":{"tags":["Query"],"summary":"ModuleAccountByName returns the module account info by module name","operationId":"EvidenceQuery_ModuleAccountByName","parameters":[{"type":"string","name":"name","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.auth.v1beta1.QueryModuleAccountByNameResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/auth/v1beta1/params":{"get":{"tags":["Query"],"summary":"Params queries all parameters.","operationId":"EvidenceQuery_Params","responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.auth.v1beta1.QueryParamsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/authz/v1beta1/grants":{"get":{"tags":["Query"],"summary":"Returns list of `Authorization`, granted to the grantee by the granter.","operationId":"EvidenceQuery_Grants","parameters":[{"type":"string","name":"granter","in":"query"},{"type":"string","name":"grantee","in":"query"},{"type":"string","description":"Optional, msg_type_url, when set, will query only grants matching given msg type.","name":"msg_type_url","in":"query"},{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.authz.v1beta1.QueryGrantsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/authz/v1beta1/grants/grantee/{grantee}":{"get":{"description":"Since: cosmos-sdk 0.46","tags":["Query"],"summary":"GranteeGrants returns a list of `GrantAuthorization` by grantee.","operationId":"EvidenceQuery_GranteeGrants","parameters":[{"type":"string","name":"grantee","in":"path","required":true},{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.authz.v1beta1.QueryGranteeGrantsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/authz/v1beta1/grants/granter/{granter}":{"get":{"description":"Since: cosmos-sdk 0.46","tags":["Query"],"summary":"GranterGrants returns list of `GrantAuthorization`, granted by granter.","operationId":"EvidenceQuery_GranterGrants","parameters":[{"type":"string","name":"granter","in":"path","required":true},{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.authz.v1beta1.QueryGranterGrantsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/bank/v1beta1/balances/{address}":{"get":{"description":"When called from another module, this query might consume a high amount of\ngas if the pagination field is incorrectly set.","tags":["Query"],"summary":"AllBalances queries the balance of all coins for a single account.","operationId":"EvidenceQuery_AllBalances","parameters":[{"type":"string","description":"address is the address to query balances for.","name":"address","in":"path","required":true},{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"},{"type":"boolean","description":"resolve_denom is the flag to resolve the denom into a human-readable form from the metadata.\n\nSince: cosmos-sdk 0.50","name":"resolve_denom","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.bank.v1beta1.QueryAllBalancesResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/bank/v1beta1/balances/{address}/by_denom":{"get":{"tags":["Query"],"summary":"Balance queries the balance of a single coin for a single account.","operationId":"EvidenceQuery_Balance","parameters":[{"type":"string","description":"address is the address to query balances for.","name":"address","in":"path","required":true},{"type":"string","description":"denom is the coin denom to query balances for.","name":"denom","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.bank.v1beta1.QueryBalanceResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/bank/v1beta1/denom_owners/{denom}":{"get":{"description":"When called from another module, this query might consume a high amount of\ngas if the pagination field is incorrectly set.\n\nSince: cosmos-sdk 0.46","tags":["Query"],"summary":"DenomOwners queries for all account addresses that own a particular token\ndenomination.","operationId":"EvidenceQuery_DenomOwners","parameters":[{"type":"string","description":"denom defines the coin denomination to query all account holders for.","name":"denom","in":"path","required":true},{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.bank.v1beta1.QueryDenomOwnersResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/bank/v1beta1/denom_owners_by_query":{"get":{"description":"Since: cosmos-sdk 0.50.3","tags":["Query"],"summary":"DenomOwnersByQuery queries for all account addresses that own a particular token\ndenomination.","operationId":"EvidenceQuery_DenomOwnersByQuery","parameters":[{"type":"string","description":"denom defines the coin denomination to query all account holders for.","name":"denom","in":"query"},{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.bank.v1beta1.QueryDenomOwnersByQueryResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/bank/v1beta1/denoms_metadata":{"get":{"tags":["Query"],"summary":"DenomsMetadata queries the client metadata for all registered coin\ndenominations.","operationId":"EvidenceQuery_DenomsMetadata","parameters":[{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.bank.v1beta1.QueryDenomsMetadataResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/bank/v1beta1/denoms_metadata/{denom}":{"get":{"tags":["Query"],"summary":"DenomMetadata queries the client metadata of a given coin denomination.","operationId":"EvidenceQuery_DenomMetadata","parameters":[{"type":"string","description":"denom is the coin denom to query the metadata for.","name":"denom","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.bank.v1beta1.QueryDenomMetadataResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/bank/v1beta1/denoms_metadata_by_query_string":{"get":{"tags":["Query"],"summary":"DenomMetadataByQueryString queries the client metadata of a given coin denomination.","operationId":"EvidenceQuery_DenomMetadataByQueryString","parameters":[{"type":"string","description":"denom is the coin denom to query the metadata for.","name":"denom","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.bank.v1beta1.QueryDenomMetadataByQueryStringResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/bank/v1beta1/params":{"get":{"tags":["Query"],"summary":"Params queries the parameters of x/bank module.","operationId":"EvidenceQuery_ParamsMixin59","responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.bank.v1beta1.QueryParamsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/bank/v1beta1/send_enabled":{"get":{"description":"This query only returns denominations that have specific SendEnabled settings.\nAny denomination that does not have a specific setting will use the default\nparams.default_send_enabled, and will not be returned by this query.\n\nSince: cosmos-sdk 0.47","tags":["Query"],"summary":"SendEnabled queries for SendEnabled entries.","operationId":"EvidenceQuery_SendEnabled","parameters":[{"type":"array","items":{"type":"string"},"collectionFormat":"multi","description":"denoms is the specific denoms you want look up. Leave empty to get all entries.","name":"denoms","in":"query"},{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.bank.v1beta1.QuerySendEnabledResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/bank/v1beta1/spendable_balances/{address}":{"get":{"description":"When called from another module, this query might consume a high amount of\ngas if the pagination field is incorrectly set.\n\nSince: cosmos-sdk 0.46","tags":["Query"],"summary":"SpendableBalances queries the spendable balance of all coins for a single\naccount.","operationId":"EvidenceQuery_SpendableBalances","parameters":[{"type":"string","description":"address is the address to query spendable balances for.","name":"address","in":"path","required":true},{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.bank.v1beta1.QuerySpendableBalancesResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/bank/v1beta1/spendable_balances/{address}/by_denom":{"get":{"description":"When called from another module, this query might consume a high amount of\ngas if the pagination field is incorrectly set.\n\nSince: cosmos-sdk 0.47","tags":["Query"],"summary":"SpendableBalanceByDenom queries the spendable balance of a single denom for\na single account.","operationId":"EvidenceQuery_SpendableBalanceByDenom","parameters":[{"type":"string","description":"address is the address to query balances for.","name":"address","in":"path","required":true},{"type":"string","description":"denom is the coin denom to query balances for.","name":"denom","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.bank.v1beta1.QuerySpendableBalanceByDenomResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/bank/v1beta1/supply":{"get":{"description":"When called from another module, this query might consume a high amount of\ngas if the pagination field is incorrectly set.","tags":["Query"],"summary":"TotalSupply queries the total supply of all coins.","operationId":"EvidenceQuery_TotalSupply","parameters":[{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.bank.v1beta1.QueryTotalSupplyResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/bank/v1beta1/supply/by_denom":{"get":{"description":"When called from another module, this query might consume a high amount of\ngas if the pagination field is incorrectly set.","tags":["Query"],"summary":"SupplyOf queries the supply of a single coin.","operationId":"EvidenceQuery_SupplyOf","parameters":[{"type":"string","description":"denom is the coin denom to query balances for.","name":"denom","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.bank.v1beta1.QuerySupplyOfResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/base/node/v1beta1/config":{"get":{"tags":["Service"],"summary":"Config queries for the operator configuration.","operationId":"EvidenceService_Config","responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.base.node.v1beta1.ConfigResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/base/node/v1beta1/status":{"get":{"tags":["Service"],"summary":"Status queries for the node status.","operationId":"EvidenceService_Status","responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.base.node.v1beta1.StatusResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/base/reflection/v1beta1/app_descriptor/authn":{"get":{"tags":["ReflectionService"],"summary":"GetAuthnDescriptor returns information on how to authenticate transactions in the application\nNOTE: this RPC is still experimental and might be subject to breaking changes or removal in\nfuture releases of the cosmos-sdk.","operationId":"EvidenceReflectionService_GetAuthnDescriptor","responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/base/reflection/v1beta1/app_descriptor/chain":{"get":{"tags":["ReflectionService"],"summary":"GetChainDescriptor returns the description of the chain","operationId":"EvidenceReflectionService_GetChainDescriptor","responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/base/reflection/v1beta1/app_descriptor/codec":{"get":{"tags":["ReflectionService"],"summary":"GetCodecDescriptor returns the descriptor of the codec of the application","operationId":"EvidenceReflectionService_GetCodecDescriptor","responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/base/reflection/v1beta1/app_descriptor/configuration":{"get":{"tags":["ReflectionService"],"summary":"GetConfigurationDescriptor returns the descriptor for the sdk.Config of the application","operationId":"EvidenceReflectionService_GetConfigurationDescriptor","responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/base/reflection/v1beta1/app_descriptor/query_services":{"get":{"tags":["ReflectionService"],"summary":"GetQueryServicesDescriptor returns the available gRPC queryable services of the application","operationId":"EvidenceReflectionService_GetQueryServicesDescriptor","responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/base/reflection/v1beta1/app_descriptor/tx_descriptor":{"get":{"tags":["ReflectionService"],"summary":"GetTxDescriptor returns information on the used transaction object and available msgs that can be used","operationId":"EvidenceReflectionService_GetTxDescriptor","responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.base.reflection.v2alpha1.GetTxDescriptorResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/base/reflection/v1beta1/interfaces":{"get":{"tags":["ReflectionService"],"summary":"ListAllInterfaces lists all the interfaces registered in the interface\nregistry.","operationId":"EvidenceReflectionService_ListAllInterfaces","responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.base.reflection.v1beta1.ListAllInterfacesResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/base/reflection/v1beta1/interfaces/{interface_name}/implementations":{"get":{"tags":["ReflectionService"],"summary":"ListImplementations list all the concrete types that implement a given\ninterface.","operationId":"EvidenceReflectionService_ListImplementations","parameters":[{"type":"string","description":"interface_name defines the interface to query the implementations for.","name":"interface_name","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.base.reflection.v1beta1.ListImplementationsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/base/tendermint/v1beta1/abci_query":{"get":{"description":"Since: cosmos-sdk 0.46","tags":["Service"],"summary":"ABCIQuery defines a query handler that supports ABCI queries directly to the\napplication, bypassing Tendermint completely. The ABCI query must contain\na valid and supported path, including app, custom, p2p, and store.","operationId":"EvidenceService_ABCIQuery","parameters":[{"type":"string","format":"byte","name":"data","in":"query"},{"type":"string","name":"path","in":"query"},{"type":"string","format":"int64","name":"height","in":"query"},{"type":"boolean","name":"prove","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.base.tendermint.v1beta1.ABCIQueryResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/base/tendermint/v1beta1/blocks/latest":{"get":{"tags":["Service"],"summary":"GetLatestBlock returns the latest block.","operationId":"EvidenceService_GetLatestBlock","responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.base.tendermint.v1beta1.GetLatestBlockResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/base/tendermint/v1beta1/blocks/{height}":{"get":{"tags":["Service"],"summary":"GetBlockByHeight queries block for given height.","operationId":"EvidenceService_GetBlockByHeight","parameters":[{"type":"string","format":"int64","name":"height","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.base.tendermint.v1beta1.GetBlockByHeightResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/base/tendermint/v1beta1/node_info":{"get":{"tags":["Service"],"summary":"GetNodeInfo queries the current node info.","operationId":"EvidenceService_GetNodeInfo","responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.base.tendermint.v1beta1.GetNodeInfoResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/base/tendermint/v1beta1/syncing":{"get":{"tags":["Service"],"summary":"GetSyncing queries node syncing.","operationId":"EvidenceService_GetSyncing","responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.base.tendermint.v1beta1.GetSyncingResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/base/tendermint/v1beta1/validatorsets/latest":{"get":{"tags":["Service"],"summary":"GetLatestValidatorSet queries latest validator-set.","operationId":"EvidenceService_GetLatestValidatorSet","parameters":[{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.base.tendermint.v1beta1.GetLatestValidatorSetResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/base/tendermint/v1beta1/validatorsets/{height}":{"get":{"tags":["Service"],"summary":"GetValidatorSetByHeight queries validator-set at a given height.","operationId":"EvidenceService_GetValidatorSetByHeight","parameters":[{"type":"string","format":"int64","name":"height","in":"path","required":true},{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.base.tendermint.v1beta1.GetValidatorSetByHeightResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/circuit/v1/accounts":{"get":{"tags":["Query"],"summary":"Account returns account permissions.","operationId":"EvidenceQuery_AccountsMixin69","parameters":[{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.circuit.v1.AccountsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/circuit/v1/accounts/{address}":{"get":{"tags":["Query"],"summary":"Account returns account permissions.","operationId":"EvidenceQuery_AccountMixin69","parameters":[{"type":"string","name":"address","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.circuit.v1.AccountResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/circuit/v1/disable_list":{"get":{"tags":["Query"],"summary":"DisabledList returns a list of disabled message urls","operationId":"EvidenceQuery_DisabledList","responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.circuit.v1.DisabledListResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/consensus/v1/params":{"get":{"tags":["Query"],"summary":"Params queries the parameters of x/consensus module.","operationId":"EvidenceQuery_ParamsMixin72","responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.consensus.v1.QueryParamsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/distribution/v1beta1/community_pool":{"get":{"tags":["Query"],"summary":"CommunityPool queries the community pool coins.","operationId":"EvidenceQuery_CommunityPool","responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.distribution.v1beta1.QueryCommunityPoolResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards":{"get":{"tags":["Query"],"summary":"DelegationTotalRewards queries the total rewards accrued by each\nvalidator.","operationId":"EvidenceQuery_DelegationTotalRewards","parameters":[{"type":"string","description":"delegator_address defines the delegator address to query for.","name":"delegator_address","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.distribution.v1beta1.QueryDelegationTotalRewardsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards/{validator_address}":{"get":{"tags":["Query"],"summary":"DelegationRewards queries the total rewards accrued by a delegation.","operationId":"EvidenceQuery_DelegationRewards","parameters":[{"type":"string","description":"delegator_address defines the delegator address to query for.","name":"delegator_address","in":"path","required":true},{"type":"string","description":"validator_address defines the validator address to query for.","name":"validator_address","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.distribution.v1beta1.QueryDelegationRewardsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/distribution/v1beta1/delegators/{delegator_address}/validators":{"get":{"tags":["Query"],"summary":"DelegatorValidators queries the validators of a delegator.","operationId":"EvidenceQuery_DelegatorValidators","parameters":[{"type":"string","description":"delegator_address defines the delegator address to query for.","name":"delegator_address","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.distribution.v1beta1.QueryDelegatorValidatorsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/distribution/v1beta1/delegators/{delegator_address}/withdraw_address":{"get":{"tags":["Query"],"summary":"DelegatorWithdrawAddress queries withdraw address of a delegator.","operationId":"EvidenceQuery_DelegatorWithdrawAddress","parameters":[{"type":"string","description":"delegator_address defines the delegator address to query for.","name":"delegator_address","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.distribution.v1beta1.QueryDelegatorWithdrawAddressResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/distribution/v1beta1/params":{"get":{"tags":["Query"],"summary":"Params queries params of the distribution module.","operationId":"EvidenceQuery_ParamsMixin85","responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.distribution.v1beta1.QueryParamsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/distribution/v1beta1/validators/{validator_address}":{"get":{"tags":["Query"],"summary":"ValidatorDistributionInfo queries validator commission and self-delegation rewards for validator","operationId":"EvidenceQuery_ValidatorDistributionInfo","parameters":[{"type":"string","description":"validator_address defines the validator address to query for.","name":"validator_address","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.distribution.v1beta1.QueryValidatorDistributionInfoResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/distribution/v1beta1/validators/{validator_address}/commission":{"get":{"tags":["Query"],"summary":"ValidatorCommission queries accumulated commission for a validator.","operationId":"EvidenceQuery_ValidatorCommission","parameters":[{"type":"string","description":"validator_address defines the validator address to query for.","name":"validator_address","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.distribution.v1beta1.QueryValidatorCommissionResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/distribution/v1beta1/validators/{validator_address}/outstanding_rewards":{"get":{"tags":["Query"],"summary":"ValidatorOutstandingRewards queries rewards of a validator address.","operationId":"EvidenceQuery_ValidatorOutstandingRewards","parameters":[{"type":"string","description":"validator_address defines the validator address to query for.","name":"validator_address","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.distribution.v1beta1.QueryValidatorOutstandingRewardsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/distribution/v1beta1/validators/{validator_address}/slashes":{"get":{"tags":["Query"],"summary":"ValidatorSlashes queries slash events of a validator.","operationId":"EvidenceQuery_ValidatorSlashes","parameters":[{"type":"string","description":"validator_address defines the validator address to query for.","name":"validator_address","in":"path","required":true},{"type":"string","format":"uint64","description":"starting_height defines the optional starting height to query the slashes.","name":"starting_height","in":"query"},{"type":"string","format":"uint64","description":"starting_height defines the optional ending height to query the slashes.","name":"ending_height","in":"query"},{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.distribution.v1beta1.QueryValidatorSlashesResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/evidence/v1beta1/evidence":{"get":{"tags":["Query"],"summary":"AllEvidence queries all evidence.","operationId":"EvidenceQuery_AllEvidence","parameters":[{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.evidence.v1beta1.QueryAllEvidenceResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/evidence/v1beta1/evidence/{hash}":{"get":{"tags":["Query"],"summary":"Evidence queries evidence based on evidence hash.","operationId":"EvidenceQuery_Evidence","parameters":[{"type":"string","description":"hash defines the evidence hash of the requested evidence.\n\nSince: cosmos-sdk 0.47","name":"hash","in":"path","required":true},{"type":"string","format":"byte","description":"evidence_hash defines the hash of the requested evidence.\nDeprecated: Use hash, a HEX encoded string, instead.","name":"evidence_hash","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.evidence.v1beta1.QueryEvidenceResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/feegrant/v1beta1/allowance/{granter}/{grantee}":{"get":{"tags":["Query"],"summary":"Allowance returns granted allwance to the grantee by the granter.","operationId":"EvidenceQuery_Allowance","parameters":[{"type":"string","description":"granter is the address of the user granting an allowance of their funds.","name":"granter","in":"path","required":true},{"type":"string","description":"grantee is the address of the user being granted an allowance of another user's funds.","name":"grantee","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.feegrant.v1beta1.QueryAllowanceResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/feegrant/v1beta1/allowances/{grantee}":{"get":{"tags":["Query"],"summary":"Allowances returns all the grants for the given grantee address.","operationId":"EvidenceQuery_Allowances","parameters":[{"type":"string","name":"grantee","in":"path","required":true},{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.feegrant.v1beta1.QueryAllowancesResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/feegrant/v1beta1/issued/{granter}":{"get":{"description":"Since: cosmos-sdk 0.46","tags":["Query"],"summary":"AllowancesByGranter returns all the grants given by an address","operationId":"EvidenceQuery_AllowancesByGranter","parameters":[{"type":"string","name":"granter","in":"path","required":true},{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.feegrant.v1beta1.QueryAllowancesByGranterResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/gov/v1/constitution":{"get":{"tags":["Query"],"summary":"Constitution queries the chain's constitution.","operationId":"EvidenceQuery_Constitution","responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.gov.v1.QueryConstitutionResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/gov/v1/params/{params_type}":{"get":{"tags":["Query"],"summary":"Params queries all parameters of the gov module.","operationId":"EvidenceQuery_ParamsMixin98","parameters":[{"type":"string","description":"params_type defines which parameters to query for, can be one of \"voting\",\n\"tallying\" or \"deposit\".","name":"params_type","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.gov.v1.QueryParamsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/gov/v1/proposals":{"get":{"tags":["Query"],"summary":"Proposals queries all proposals based on given status.","operationId":"EvidenceQuery_Proposals","parameters":[{"enum":["PROPOSAL_STATUS_UNSPECIFIED","PROPOSAL_STATUS_DEPOSIT_PERIOD","PROPOSAL_STATUS_VOTING_PERIOD","PROPOSAL_STATUS_PASSED","PROPOSAL_STATUS_REJECTED","PROPOSAL_STATUS_FAILED"],"type":"string","default":"PROPOSAL_STATUS_UNSPECIFIED","description":"proposal_status defines the status of the proposals.\n\n - PROPOSAL_STATUS_UNSPECIFIED: PROPOSAL_STATUS_UNSPECIFIED defines the default proposal status.\n - PROPOSAL_STATUS_DEPOSIT_PERIOD: PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit\nperiod.\n - PROPOSAL_STATUS_VOTING_PERIOD: PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting\nperiod.\n - PROPOSAL_STATUS_PASSED: PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has\npassed.\n - PROPOSAL_STATUS_REJECTED: PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has\nbeen rejected.\n - PROPOSAL_STATUS_FAILED: PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has\nfailed.","name":"proposal_status","in":"query"},{"type":"string","description":"voter defines the voter address for the proposals.","name":"voter","in":"query"},{"type":"string","description":"depositor defines the deposit addresses from the proposals.","name":"depositor","in":"query"},{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.gov.v1.QueryProposalsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/gov/v1/proposals/{proposal_id}":{"get":{"tags":["Query"],"summary":"Proposal queries proposal details based on ProposalID.","operationId":"EvidenceQuery_Proposal","parameters":[{"type":"string","format":"uint64","description":"proposal_id defines the unique id of the proposal.","name":"proposal_id","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.gov.v1.QueryProposalResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/gov/v1/proposals/{proposal_id}/deposits":{"get":{"tags":["Query"],"summary":"Deposits queries all deposits of a single proposal.","operationId":"EvidenceQuery_Deposits","parameters":[{"type":"string","format":"uint64","description":"proposal_id defines the unique id of the proposal.","name":"proposal_id","in":"path","required":true},{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.gov.v1.QueryDepositsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/gov/v1/proposals/{proposal_id}/deposits/{depositor}":{"get":{"tags":["Query"],"summary":"Deposit queries single deposit information based on proposalID, depositAddr.","operationId":"EvidenceQuery_Deposit","parameters":[{"type":"string","format":"uint64","description":"proposal_id defines the unique id of the proposal.","name":"proposal_id","in":"path","required":true},{"type":"string","description":"depositor defines the deposit addresses from the proposals.","name":"depositor","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.gov.v1.QueryDepositResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/gov/v1/proposals/{proposal_id}/tally":{"get":{"tags":["Query"],"summary":"TallyResult queries the tally of a proposal vote.","operationId":"EvidenceQuery_TallyResult","parameters":[{"type":"string","format":"uint64","description":"proposal_id defines the unique id of the proposal.","name":"proposal_id","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.gov.v1.QueryTallyResultResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/gov/v1/proposals/{proposal_id}/votes":{"get":{"tags":["Query"],"summary":"Votes queries votes of a given proposal.","operationId":"EvidenceQuery_Votes","parameters":[{"type":"string","format":"uint64","description":"proposal_id defines the unique id of the proposal.","name":"proposal_id","in":"path","required":true},{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.gov.v1.QueryVotesResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/gov/v1/proposals/{proposal_id}/votes/{voter}":{"get":{"tags":["Query"],"summary":"Vote queries voted information based on proposalID, voterAddr.","operationId":"EvidenceQuery_Vote","parameters":[{"type":"string","format":"uint64","description":"proposal_id defines the unique id of the proposal.","name":"proposal_id","in":"path","required":true},{"type":"string","description":"voter defines the voter address for the proposals.","name":"voter","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.gov.v1.QueryVoteResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/gov/v1beta1/params/{params_type}":{"get":{"tags":["Query"],"summary":"Params queries all parameters of the gov module.","operationId":"EvidenceQuery_ParamsMixin102","parameters":[{"type":"string","description":"params_type defines which parameters to query for, can be one of \"voting\",\n\"tallying\" or \"deposit\".","name":"params_type","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.gov.v1beta1.QueryParamsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/gov/v1beta1/proposals":{"get":{"tags":["Query"],"summary":"Proposals queries all proposals based on given status.","operationId":"EvidenceQuery_ProposalsMixin102","parameters":[{"enum":["PROPOSAL_STATUS_UNSPECIFIED","PROPOSAL_STATUS_DEPOSIT_PERIOD","PROPOSAL_STATUS_VOTING_PERIOD","PROPOSAL_STATUS_PASSED","PROPOSAL_STATUS_REJECTED","PROPOSAL_STATUS_FAILED"],"type":"string","default":"PROPOSAL_STATUS_UNSPECIFIED","description":"proposal_status defines the status of the proposals.\n\n - PROPOSAL_STATUS_UNSPECIFIED: PROPOSAL_STATUS_UNSPECIFIED defines the default proposal status.\n - PROPOSAL_STATUS_DEPOSIT_PERIOD: PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit\nperiod.\n - PROPOSAL_STATUS_VOTING_PERIOD: PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting\nperiod.\n - PROPOSAL_STATUS_PASSED: PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has\npassed.\n - PROPOSAL_STATUS_REJECTED: PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has\nbeen rejected.\n - PROPOSAL_STATUS_FAILED: PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has\nfailed.","name":"proposal_status","in":"query"},{"type":"string","description":"voter defines the voter address for the proposals.","name":"voter","in":"query"},{"type":"string","description":"depositor defines the deposit addresses from the proposals.","name":"depositor","in":"query"},{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.gov.v1beta1.QueryProposalsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/gov/v1beta1/proposals/{proposal_id}":{"get":{"tags":["Query"],"summary":"Proposal queries proposal details based on ProposalID.","operationId":"EvidenceQuery_ProposalMixin102","parameters":[{"type":"string","format":"uint64","description":"proposal_id defines the unique id of the proposal.","name":"proposal_id","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.gov.v1beta1.QueryProposalResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits":{"get":{"tags":["Query"],"summary":"Deposits queries all deposits of a single proposal.","operationId":"EvidenceQuery_DepositsMixin102","parameters":[{"type":"string","format":"uint64","description":"proposal_id defines the unique id of the proposal.","name":"proposal_id","in":"path","required":true},{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.gov.v1beta1.QueryDepositsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits/{depositor}":{"get":{"tags":["Query"],"summary":"Deposit queries single deposit information based on proposalID, depositor address.","operationId":"EvidenceQuery_DepositMixin102","parameters":[{"type":"string","format":"uint64","description":"proposal_id defines the unique id of the proposal.","name":"proposal_id","in":"path","required":true},{"type":"string","description":"depositor defines the deposit addresses from the proposals.","name":"depositor","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.gov.v1beta1.QueryDepositResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/gov/v1beta1/proposals/{proposal_id}/tally":{"get":{"tags":["Query"],"summary":"TallyResult queries the tally of a proposal vote.","operationId":"EvidenceQuery_TallyResultMixin102","parameters":[{"type":"string","format":"uint64","description":"proposal_id defines the unique id of the proposal.","name":"proposal_id","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.gov.v1beta1.QueryTallyResultResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/gov/v1beta1/proposals/{proposal_id}/votes":{"get":{"tags":["Query"],"summary":"Votes queries votes of a given proposal.","operationId":"EvidenceQuery_VotesMixin102","parameters":[{"type":"string","format":"uint64","description":"proposal_id defines the unique id of the proposal.","name":"proposal_id","in":"path","required":true},{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.gov.v1beta1.QueryVotesResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/gov/v1beta1/proposals/{proposal_id}/votes/{voter}":{"get":{"tags":["Query"],"summary":"Vote queries voted information based on proposalID, voterAddr.","operationId":"EvidenceQuery_VoteMixin102","parameters":[{"type":"string","format":"uint64","description":"proposal_id defines the unique id of the proposal.","name":"proposal_id","in":"path","required":true},{"type":"string","description":"voter defines the voter address for the proposals.","name":"voter","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.gov.v1beta1.QueryVoteResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/group/v1/group_info/{group_id}":{"get":{"tags":["Query"],"summary":"GroupInfo queries group info based on group id.","operationId":"EvidenceQuery_GroupInfo","parameters":[{"type":"string","format":"uint64","description":"group_id is the unique ID of the group.","name":"group_id","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.group.v1.QueryGroupInfoResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/group/v1/group_members/{group_id}":{"get":{"tags":["Query"],"summary":"GroupMembers queries members of a group by group id.","operationId":"EvidenceQuery_GroupMembers","parameters":[{"type":"string","format":"uint64","description":"group_id is the unique ID of the group.","name":"group_id","in":"path","required":true},{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.group.v1.QueryGroupMembersResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/group/v1/group_policies_by_admin/{admin}":{"get":{"tags":["Query"],"summary":"GroupPoliciesByAdmin queries group policies by admin address.","operationId":"EvidenceQuery_GroupPoliciesByAdmin","parameters":[{"type":"string","description":"admin is the admin address of the group policy.","name":"admin","in":"path","required":true},{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.group.v1.QueryGroupPoliciesByAdminResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/group/v1/group_policies_by_group/{group_id}":{"get":{"tags":["Query"],"summary":"GroupPoliciesByGroup queries group policies by group id.","operationId":"EvidenceQuery_GroupPoliciesByGroup","parameters":[{"type":"string","format":"uint64","description":"group_id is the unique ID of the group policy's group.","name":"group_id","in":"path","required":true},{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.group.v1.QueryGroupPoliciesByGroupResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/group/v1/group_policy_info/{address}":{"get":{"tags":["Query"],"summary":"GroupPolicyInfo queries group policy info based on account address of group policy.","operationId":"EvidenceQuery_GroupPolicyInfo","parameters":[{"type":"string","description":"address is the account address of the group policy.","name":"address","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.group.v1.QueryGroupPolicyInfoResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/group/v1/groups":{"get":{"description":"Since: cosmos-sdk 0.47.1","tags":["Query"],"summary":"Groups queries all groups in state.","operationId":"EvidenceQuery_Groups","parameters":[{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.group.v1.QueryGroupsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/group/v1/groups_by_admin/{admin}":{"get":{"tags":["Query"],"summary":"GroupsByAdmin queries groups by admin address.","operationId":"EvidenceQuery_GroupsByAdmin","parameters":[{"type":"string","description":"admin is the account address of a group's admin.","name":"admin","in":"path","required":true},{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.group.v1.QueryGroupsByAdminResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/group/v1/groups_by_member/{address}":{"get":{"tags":["Query"],"summary":"GroupsByMember queries groups by member address.","operationId":"EvidenceQuery_GroupsByMember","parameters":[{"type":"string","description":"address is the group member address.","name":"address","in":"path","required":true},{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.group.v1.QueryGroupsByMemberResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/group/v1/proposal/{proposal_id}":{"get":{"tags":["Query"],"summary":"Proposal queries a proposal based on proposal id.","operationId":"EvidenceQuery_ProposalMixin106","parameters":[{"type":"string","format":"uint64","description":"proposal_id is the unique ID of a proposal.","name":"proposal_id","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.group.v1.QueryProposalResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/group/v1/proposals/{proposal_id}/tally":{"get":{"tags":["Query"],"summary":"TallyResult returns the tally result of a proposal. If the proposal is\nstill in voting period, then this query computes the current tally state,\nwhich might not be final. On the other hand, if the proposal is final,\nthen it simply returns the `final_tally_result` state stored in the\nproposal itself.","operationId":"EvidenceQuery_TallyResultMixin106","parameters":[{"type":"string","format":"uint64","description":"proposal_id is the unique id of a proposal.","name":"proposal_id","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.group.v1.QueryTallyResultResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/group/v1/proposals_by_group_policy/{address}":{"get":{"tags":["Query"],"summary":"ProposalsByGroupPolicy queries proposals based on account address of group policy.","operationId":"EvidenceQuery_ProposalsByGroupPolicy","parameters":[{"type":"string","description":"address is the account address of the group policy related to proposals.","name":"address","in":"path","required":true},{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.group.v1.QueryProposalsByGroupPolicyResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/group/v1/vote_by_proposal_voter/{proposal_id}/{voter}":{"get":{"tags":["Query"],"summary":"VoteByProposalVoter queries a vote by proposal id and voter.","operationId":"EvidenceQuery_VoteByProposalVoter","parameters":[{"type":"string","format":"uint64","description":"proposal_id is the unique ID of a proposal.","name":"proposal_id","in":"path","required":true},{"type":"string","description":"voter is a proposal voter account address.","name":"voter","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.group.v1.QueryVoteByProposalVoterResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/group/v1/votes_by_proposal/{proposal_id}":{"get":{"tags":["Query"],"summary":"VotesByProposal queries a vote by proposal id.","operationId":"EvidenceQuery_VotesByProposal","parameters":[{"type":"string","format":"uint64","description":"proposal_id is the unique ID of a proposal.","name":"proposal_id","in":"path","required":true},{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.group.v1.QueryVotesByProposalResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/group/v1/votes_by_voter/{voter}":{"get":{"tags":["Query"],"summary":"VotesByVoter queries a vote by voter.","operationId":"EvidenceQuery_VotesByVoter","parameters":[{"type":"string","description":"voter is a proposal voter account address.","name":"voter","in":"path","required":true},{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.group.v1.QueryVotesByVoterResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/mint/v1beta1/annual_provisions":{"get":{"tags":["Query"],"summary":"AnnualProvisions current minting annual provisions value.","operationId":"EvidenceQuery_AnnualProvisions","responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.mint.v1beta1.QueryAnnualProvisionsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/mint/v1beta1/inflation":{"get":{"tags":["Query"],"summary":"Inflation returns the current minting inflation value.","operationId":"EvidenceQuery_Inflation","responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.mint.v1beta1.QueryInflationResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/mint/v1beta1/params":{"get":{"tags":["Query"],"summary":"Params returns the total set of minting parameters.","operationId":"EvidenceQuery_ParamsMixin111","responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.mint.v1beta1.QueryParamsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/nft/v1beta1/balance/{owner}/{class_id}":{"get":{"tags":["Query"],"summary":"Balance queries the number of NFTs of a given class owned by the owner, same as balanceOf in ERC721","operationId":"EvidenceQuery_BalanceMixin117","parameters":[{"type":"string","description":"owner is the owner address of the nft","name":"owner","in":"path","required":true},{"type":"string","description":"class_id associated with the nft","name":"class_id","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.nft.v1beta1.QueryBalanceResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/nft/v1beta1/classes":{"get":{"tags":["Query"],"summary":"Classes queries all NFT classes","operationId":"EvidenceQuery_Classes","parameters":[{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.nft.v1beta1.QueryClassesResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/nft/v1beta1/classes/{class_id}":{"get":{"tags":["Query"],"summary":"Class queries an NFT class based on its id","operationId":"EvidenceQuery_Class","parameters":[{"type":"string","description":"class_id associated with the nft","name":"class_id","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.nft.v1beta1.QueryClassResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/nft/v1beta1/nfts":{"get":{"tags":["Query"],"summary":"NFTs queries all NFTs of a given class or owner,choose at least one of the two, similar to tokenByIndex in\nERC721Enumerable","operationId":"EvidenceQuery_NFTs","parameters":[{"type":"string","description":"class_id associated with the nft","name":"class_id","in":"query"},{"type":"string","description":"owner is the owner address of the nft","name":"owner","in":"query"},{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.nft.v1beta1.QueryNFTsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/nft/v1beta1/nfts/{class_id}/{id}":{"get":{"tags":["Query"],"summary":"NFT queries an NFT based on its class and id.","operationId":"EvidenceQuery_NFT","parameters":[{"type":"string","description":"class_id associated with the nft","name":"class_id","in":"path","required":true},{"type":"string","description":"id is a unique identifier of the NFT","name":"id","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.nft.v1beta1.QueryNFTResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/nft/v1beta1/owner/{class_id}/{id}":{"get":{"tags":["Query"],"summary":"Owner queries the owner of the NFT based on its class and id, same as ownerOf in ERC721","operationId":"EvidenceQuery_Owner","parameters":[{"type":"string","description":"class_id associated with the nft","name":"class_id","in":"path","required":true},{"type":"string","description":"id is a unique identifier of the NFT","name":"id","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.nft.v1beta1.QueryOwnerResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/nft/v1beta1/supply/{class_id}":{"get":{"tags":["Query"],"summary":"Supply queries the number of NFTs from the given class, same as totalSupply of ERC721.","operationId":"EvidenceQuery_Supply","parameters":[{"type":"string","description":"class_id associated with the nft","name":"class_id","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.nft.v1beta1.QuerySupplyResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/params/v1beta1/params":{"get":{"tags":["Query"],"summary":"Params queries a specific parameter of a module, given its subspace and\nkey.","operationId":"EvidenceQuery_ParamsMixin120","parameters":[{"type":"string","description":"subspace defines the module to query the parameter for.","name":"subspace","in":"query"},{"type":"string","description":"key defines the key of the parameter in the subspace.","name":"key","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.params.v1beta1.QueryParamsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/params/v1beta1/subspaces":{"get":{"description":"Since: cosmos-sdk 0.46","tags":["Query"],"summary":"Subspaces queries for all registered subspaces and all keys for a subspace.","operationId":"EvidenceQuery_Subspaces","responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.params.v1beta1.QuerySubspacesResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/slashing/v1beta1/params":{"get":{"tags":["Query"],"summary":"Params queries the parameters of slashing module","operationId":"EvidenceQuery_ParamsMixin123","responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.slashing.v1beta1.QueryParamsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/slashing/v1beta1/signing_infos":{"get":{"tags":["Query"],"summary":"SigningInfos queries signing info of all validators","operationId":"EvidenceQuery_SigningInfos","parameters":[{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.slashing.v1beta1.QuerySigningInfosResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/slashing/v1beta1/signing_infos/{cons_address}":{"get":{"tags":["Query"],"summary":"SigningInfo queries the signing info of given cons address","operationId":"EvidenceQuery_SigningInfo","parameters":[{"type":"string","description":"cons_address is the address to query signing info of","name":"cons_address","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.slashing.v1beta1.QuerySigningInfoResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/staking/v1beta1/delegations/{delegator_addr}":{"get":{"description":"When called from another module, this query might consume a high amount of\ngas if the pagination field is incorrectly set.","tags":["Query"],"summary":"DelegatorDelegations queries all delegations of a given delegator address.","operationId":"EvidenceQuery_DelegatorDelegations","parameters":[{"type":"string","description":"delegator_addr defines the delegator address to query for.","name":"delegator_addr","in":"path","required":true},{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.staking.v1beta1.QueryDelegatorDelegationsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/staking/v1beta1/delegators/{delegator_addr}/redelegations":{"get":{"description":"When called from another module, this query might consume a high amount of\ngas if the pagination field is incorrectly set.","tags":["Query"],"summary":"Redelegations queries redelegations of given address.","operationId":"EvidenceQuery_Redelegations","parameters":[{"type":"string","description":"delegator_addr defines the delegator address to query for.","name":"delegator_addr","in":"path","required":true},{"type":"string","description":"src_validator_addr defines the validator address to redelegate from.","name":"src_validator_addr","in":"query"},{"type":"string","description":"dst_validator_addr defines the validator address to redelegate to.","name":"dst_validator_addr","in":"query"},{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.staking.v1beta1.QueryRedelegationsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/staking/v1beta1/delegators/{delegator_addr}/unbonding_delegations":{"get":{"description":"When called from another module, this query might consume a high amount of\ngas if the pagination field is incorrectly set.","tags":["Query"],"summary":"DelegatorUnbondingDelegations queries all unbonding delegations of a given\ndelegator address.","operationId":"EvidenceQuery_DelegatorUnbondingDelegations","parameters":[{"type":"string","description":"delegator_addr defines the delegator address to query for.","name":"delegator_addr","in":"path","required":true},{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.staking.v1beta1.QueryDelegatorUnbondingDelegationsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/staking/v1beta1/delegators/{delegator_addr}/validators":{"get":{"description":"When called from another module, this query might consume a high amount of\ngas if the pagination field is incorrectly set.","tags":["Query"],"summary":"DelegatorValidators queries all validators info for given delegator\naddress.","operationId":"EvidenceQuery_DelegatorValidatorsMixin128","parameters":[{"type":"string","description":"delegator_addr defines the delegator address to query for.","name":"delegator_addr","in":"path","required":true},{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.staking.v1beta1.QueryDelegatorValidatorsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/staking/v1beta1/delegators/{delegator_addr}/validators/{validator_addr}":{"get":{"tags":["Query"],"summary":"DelegatorValidator queries validator info for given delegator validator\npair.","operationId":"EvidenceQuery_DelegatorValidator","parameters":[{"type":"string","description":"delegator_addr defines the delegator address to query for.","name":"delegator_addr","in":"path","required":true},{"type":"string","description":"validator_addr defines the validator address to query for.","name":"validator_addr","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.staking.v1beta1.QueryDelegatorValidatorResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/staking/v1beta1/historical_info/{height}":{"get":{"tags":["Query"],"summary":"HistoricalInfo queries the historical info for given height.","operationId":"EvidenceQuery_HistoricalInfo","parameters":[{"type":"string","format":"int64","description":"height defines at which height to query the historical info.","name":"height","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.staking.v1beta1.QueryHistoricalInfoResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/staking/v1beta1/params":{"get":{"tags":["Query"],"summary":"Parameters queries the staking parameters.","operationId":"EvidenceQuery_ParamsMixin128","responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.staking.v1beta1.QueryParamsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/staking/v1beta1/pool":{"get":{"tags":["Query"],"summary":"Pool queries the pool info.","operationId":"EvidenceQuery_Pool","responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.staking.v1beta1.QueryPoolResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/staking/v1beta1/validators":{"get":{"description":"When called from another module, this query might consume a high amount of\ngas if the pagination field is incorrectly set.","tags":["Query"],"summary":"Validators queries all validators that match the given status.","operationId":"EvidenceQuery_Validators","parameters":[{"type":"string","description":"status enables to query for validators matching a given status.","name":"status","in":"query"},{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.staking.v1beta1.QueryValidatorsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/staking/v1beta1/validators/{validator_addr}":{"get":{"tags":["Query"],"summary":"Validator queries validator info for given validator address.","operationId":"EvidenceQuery_Validator","parameters":[{"type":"string","description":"validator_addr defines the validator address to query for.","name":"validator_addr","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.staking.v1beta1.QueryValidatorResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/staking/v1beta1/validators/{validator_addr}/delegations":{"get":{"description":"When called from another module, this query might consume a high amount of\ngas if the pagination field is incorrectly set.","tags":["Query"],"summary":"ValidatorDelegations queries delegate info for given validator.","operationId":"EvidenceQuery_ValidatorDelegations","parameters":[{"type":"string","description":"validator_addr defines the validator address to query for.","name":"validator_addr","in":"path","required":true},{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.staking.v1beta1.QueryValidatorDelegationsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}":{"get":{"tags":["Query"],"summary":"Delegation queries delegate info for given validator delegator pair.","operationId":"EvidenceQuery_Delegation","parameters":[{"type":"string","description":"validator_addr defines the validator address to query for.","name":"validator_addr","in":"path","required":true},{"type":"string","description":"delegator_addr defines the delegator address to query for.","name":"delegator_addr","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.staking.v1beta1.QueryDelegationResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}/unbonding_delegation":{"get":{"tags":["Query"],"summary":"UnbondingDelegation queries unbonding info for given validator delegator\npair.","operationId":"EvidenceQuery_UnbondingDelegation","parameters":[{"type":"string","description":"validator_addr defines the validator address to query for.","name":"validator_addr","in":"path","required":true},{"type":"string","description":"delegator_addr defines the delegator address to query for.","name":"delegator_addr","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.staking.v1beta1.QueryUnbondingDelegationResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/staking/v1beta1/validators/{validator_addr}/unbonding_delegations":{"get":{"description":"When called from another module, this query might consume a high amount of\ngas if the pagination field is incorrectly set.","tags":["Query"],"summary":"ValidatorUnbondingDelegations queries unbonding delegations of a validator.","operationId":"EvidenceQuery_ValidatorUnbondingDelegations","parameters":[{"type":"string","description":"validator_addr defines the validator address to query for.","name":"validator_addr","in":"path","required":true},{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.staking.v1beta1.QueryValidatorUnbondingDelegationsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/tx/v1beta1/decode":{"post":{"description":"Since: cosmos-sdk 0.47","tags":["Service"],"summary":"TxDecode decodes the transaction.","operationId":"EvidenceService_TxDecode","parameters":[{"description":"TxDecodeRequest is the request type for the Service.TxDecode\nRPC method.\n\nSince: cosmos-sdk 0.47","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.tx.v1beta1.TxDecodeRequest"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.tx.v1beta1.TxDecodeResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/tx/v1beta1/decode/amino":{"post":{"description":"Since: cosmos-sdk 0.47","tags":["Service"],"summary":"TxDecodeAmino decodes an Amino transaction from encoded bytes to JSON.","operationId":"EvidenceService_TxDecodeAmino","parameters":[{"description":"TxDecodeAminoRequest is the request type for the Service.TxDecodeAmino\nRPC method.\n\nSince: cosmos-sdk 0.47","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.tx.v1beta1.TxDecodeAminoRequest"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.tx.v1beta1.TxDecodeAminoResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/tx/v1beta1/encode":{"post":{"description":"Since: cosmos-sdk 0.47","tags":["Service"],"summary":"TxEncode encodes the transaction.","operationId":"EvidenceService_TxEncode","parameters":[{"description":"TxEncodeRequest is the request type for the Service.TxEncode\nRPC method.\n\nSince: cosmos-sdk 0.47","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.tx.v1beta1.TxEncodeRequest"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.tx.v1beta1.TxEncodeResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/tx/v1beta1/encode/amino":{"post":{"description":"Since: cosmos-sdk 0.47","tags":["Service"],"summary":"TxEncodeAmino encodes an Amino transaction from JSON to encoded bytes.","operationId":"EvidenceService_TxEncodeAmino","parameters":[{"description":"TxEncodeAminoRequest is the request type for the Service.TxEncodeAmino\nRPC method.\n\nSince: cosmos-sdk 0.47","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.tx.v1beta1.TxEncodeAminoRequest"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.tx.v1beta1.TxEncodeAminoResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/tx/v1beta1/simulate":{"post":{"tags":["Service"],"summary":"Simulate simulates executing a transaction for estimating gas usage.","operationId":"EvidenceService_Simulate","parameters":[{"description":"SimulateRequest is the request type for the Service.Simulate\nRPC method.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.tx.v1beta1.SimulateRequest"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.tx.v1beta1.SimulateResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/tx/v1beta1/txs":{"get":{"tags":["Service"],"summary":"GetTxsEvent fetches txs by event.","operationId":"EvidenceService_GetTxsEvent","parameters":[{"type":"array","items":{"type":"string"},"collectionFormat":"multi","description":"events is the list of transaction event type.\nDeprecated post v0.47.x: use query instead, which should contain a valid\nevents query.","name":"events","in":"query"},{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"},{"enum":["ORDER_BY_UNSPECIFIED","ORDER_BY_ASC","ORDER_BY_DESC"],"type":"string","default":"ORDER_BY_UNSPECIFIED","description":" - ORDER_BY_UNSPECIFIED: ORDER_BY_UNSPECIFIED specifies an unknown sorting order. OrderBy defaults\nto ASC in this case.\n - ORDER_BY_ASC: ORDER_BY_ASC defines ascending order\n - ORDER_BY_DESC: ORDER_BY_DESC defines descending order","name":"order_by","in":"query"},{"type":"string","format":"uint64","description":"page is the page number to query, starts at 1. If not provided, will\ndefault to first page.","name":"page","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"limit","in":"query"},{"type":"string","description":"query defines the transaction event query that is proxied to Tendermint's\nTxSearch RPC method. The query must be valid.\n\nSince cosmos-sdk 0.50","name":"query","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.tx.v1beta1.GetTxsEventResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}},"post":{"tags":["Service"],"summary":"BroadcastTx broadcast transaction.","operationId":"EvidenceService_BroadcastTx","parameters":[{"description":"BroadcastTxRequest is the request type for the Service.BroadcastTxRequest\nRPC method.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cosmos.tx.v1beta1.BroadcastTxRequest"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.tx.v1beta1.BroadcastTxResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/tx/v1beta1/txs/block/{height}":{"get":{"description":"Since: cosmos-sdk 0.45.2","tags":["Service"],"summary":"GetBlockWithTxs fetches a block with decoded txs.","operationId":"EvidenceService_GetBlockWithTxs","parameters":[{"type":"string","format":"int64","description":"height is the height of the block to query.","name":"height","in":"path","required":true},{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.tx.v1beta1.GetBlockWithTxsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/tx/v1beta1/txs/{hash}":{"get":{"tags":["Service"],"summary":"GetTx fetches a tx by hash.","operationId":"EvidenceService_GetTx","parameters":[{"type":"string","description":"hash is the tx hash to query, encoded as a hex string.","name":"hash","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.tx.v1beta1.GetTxResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/upgrade/v1beta1/applied_plan/{name}":{"get":{"tags":["Query"],"summary":"AppliedPlan queries a previously applied upgrade plan by its name.","operationId":"EvidenceQuery_AppliedPlan","parameters":[{"type":"string","description":"name is the name of the applied plan to query for.","name":"name","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.upgrade.v1beta1.QueryAppliedPlanResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/upgrade/v1beta1/authority":{"get":{"description":"Since: cosmos-sdk 0.46","tags":["Query"],"summary":"Returns the account with authority to conduct upgrades","operationId":"EvidenceQuery_Authority","responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.upgrade.v1beta1.QueryAuthorityResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/upgrade/v1beta1/current_plan":{"get":{"tags":["Query"],"summary":"CurrentPlan queries the current upgrade plan.","operationId":"EvidenceQuery_CurrentPlan","responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.upgrade.v1beta1.QueryCurrentPlanResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/upgrade/v1beta1/module_versions":{"get":{"description":"Since: cosmos-sdk 0.43","tags":["Query"],"summary":"ModuleVersions queries the list of module versions from state.","operationId":"EvidenceQuery_ModuleVersions","parameters":[{"type":"string","description":"module_name is a field to query a specific module\nconsensus version from state. Leaving this empty will\nfetch the full list of module versions from state","name":"module_name","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.upgrade.v1beta1.QueryModuleVersionsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cosmos/upgrade/v1beta1/upgraded_consensus_state/{last_height}":{"get":{"tags":["Query"],"summary":"UpgradedConsensusState queries the consensus state that will serve\nas a trusted kernel for the next version of this chain. It will only be\nstored at the last height of this chain.\nUpgradedConsensusState RPC not supported with legacy querier\nThis rpc is deprecated now that IBC has its own replacement\n(https://github.com/cosmos/ibc-go/blob/2c880a22e9f9cc75f62b527ca94aa75ce1106001/proto/ibc/core/client/v1/query.proto#L54)","operationId":"EvidenceQuery_UpgradedConsensusState","parameters":[{"type":"string","format":"int64","description":"last height of the current chain must be sent in request\nas this is the height under which next consensus state is stored","name":"last_height","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cosmos.upgrade.v1beta1.QueryUpgradedConsensusStateResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc.applications.fee.v1.Msg/PayPacketFee":{"post":{"tags":["Msg"],"summary":"PayPacketFee defines a rpc handler method for MsgPayPacketFee\nPayPacketFee is an open callback that may be called by any module/user that wishes to escrow funds in order to\nincentivize the relaying of the packet at the next sequence\nNOTE: This method is intended to be used within a multi msg transaction, where the subsequent msg that follows\ninitiates the lifecycle of the incentivized packet","operationId":"FeeMsg_PayPacketFee","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/ibc.applications.fee.v1.MsgPayPacketFee"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.applications.fee.v1.MsgPayPacketFeeResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc.applications.fee.v1.Msg/PayPacketFeeAsync":{"post":{"tags":["Msg"],"summary":"PayPacketFeeAsync defines a rpc handler method for MsgPayPacketFeeAsync\nPayPacketFeeAsync is an open callback that may be called by any module/user that wishes to escrow funds in order to\nincentivize the relaying of a known packet (i.e. at a particular sequence)","operationId":"FeeMsg_PayPacketFeeAsync","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/ibc.applications.fee.v1.MsgPayPacketFeeAsync"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.applications.fee.v1.MsgPayPacketFeeAsyncResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc.applications.fee.v1.Msg/RegisterCounterpartyPayee":{"post":{"tags":["Msg"],"summary":"RegisterCounterpartyPayee defines a rpc handler method for MsgRegisterCounterpartyPayee\nRegisterCounterpartyPayee is called by the relayer on each channelEnd and allows them to specify the counterparty\npayee address before relaying. This ensures they will be properly compensated for forward relaying since\nthe destination chain must include the registered counterparty payee address in the acknowledgement. This function\nmay be called more than once by a relayer, in which case, the latest counterparty payee address is always used.","operationId":"FeeMsg_RegisterCounterpartyPayee","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/ibc.applications.fee.v1.MsgRegisterCounterpartyPayee"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.applications.fee.v1.MsgRegisterCounterpartyPayeeResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc.applications.fee.v1.Msg/RegisterPayee":{"post":{"tags":["Msg"],"summary":"RegisterPayee defines a rpc handler method for MsgRegisterPayee\nRegisterPayee is called by the relayer on each channelEnd and allows them to set an optional\npayee to which reverse and timeout relayer packet fees will be paid out. The payee should be registered on\nthe source chain from which packets originate as this is where fee distribution takes place. This function may be\ncalled more than once by a relayer, in which case, the latest payee is always used.","operationId":"FeeMsg_RegisterPayee","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/ibc.applications.fee.v1.MsgRegisterPayee"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.applications.fee.v1.MsgRegisterPayeeResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc.applications.interchain_accounts.controller.v1.Msg/RegisterInterchainAccount":{"post":{"tags":["Msg"],"summary":"RegisterInterchainAccount defines a rpc handler for MsgRegisterInterchainAccount.","operationId":"FeeMsg_RegisterInterchainAccount","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/ibc.applications.interchain_accounts.controller.v1.MsgRegisterInterchainAccount"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.applications.interchain_accounts.controller.v1.MsgRegisterInterchainAccountResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc.applications.interchain_accounts.controller.v1.Msg/SendTx":{"post":{"tags":["Msg"],"summary":"SendTx defines a rpc handler for MsgSendTx.","operationId":"FeeMsg_SendTx","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/ibc.applications.interchain_accounts.controller.v1.MsgSendTx"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.applications.interchain_accounts.controller.v1.MsgSendTxResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc.applications.interchain_accounts.controller.v1.Msg/UpdateParams":{"post":{"tags":["Msg"],"summary":"UpdateParams defines a rpc handler for MsgUpdateParams.","operationId":"FeeMsg_UpdateParams","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/ibc.applications.interchain_accounts.controller.v1.MsgUpdateParams"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.applications.interchain_accounts.controller.v1.MsgUpdateParamsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc.applications.interchain_accounts.host.v1.Msg/UpdateParams":{"post":{"tags":["Msg"],"summary":"UpdateParams defines a rpc handler for MsgUpdateParams.","operationId":"FeeMsg_UpdateParamsMixin169","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/ibc.applications.interchain_accounts.host.v1.MsgUpdateParams"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.applications.interchain_accounts.host.v1.MsgUpdateParamsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc.applications.transfer.v1.Msg/Transfer":{"post":{"tags":["Msg"],"summary":"Transfer defines a rpc handler method for MsgTransfer.","operationId":"FeeMsg_Transfer","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/ibc.applications.transfer.v1.MsgTransfer"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.applications.transfer.v1.MsgTransferResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc.applications.transfer.v1.Msg/UpdateParams":{"post":{"tags":["Msg"],"summary":"UpdateParams defines a rpc handler for MsgUpdateParams.","operationId":"FeeMsg_UpdateParamsMixin177","parameters":[{"description":"MsgUpdateParams is the Msg/UpdateParams request type.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/ibc.applications.transfer.v1.MsgUpdateParams"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.applications.transfer.v1.MsgUpdateParamsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc.core.channel.v1.Msg/Acknowledgement":{"post":{"tags":["Msg"],"summary":"Acknowledgement defines a rpc handler method for MsgAcknowledgement.","operationId":"FeeMsg_Acknowledgement","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/ibc.core.channel.v1.MsgAcknowledgement"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.core.channel.v1.MsgAcknowledgementResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc.core.channel.v1.Msg/ChannelCloseConfirm":{"post":{"tags":["Msg"],"summary":"ChannelCloseConfirm defines a rpc handler method for\nMsgChannelCloseConfirm.","operationId":"FeeMsg_ChannelCloseConfirm","parameters":[{"description":"MsgChannelCloseConfirm defines a msg sent by a Relayer to Chain B\nto acknowledge the change of channel state to CLOSED on Chain A.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/ibc.core.channel.v1.MsgChannelCloseConfirm"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.core.channel.v1.MsgChannelCloseConfirmResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc.core.channel.v1.Msg/ChannelCloseInit":{"post":{"tags":["Msg"],"summary":"ChannelCloseInit defines a rpc handler method for MsgChannelCloseInit.","operationId":"FeeMsg_ChannelCloseInit","parameters":[{"description":"MsgChannelCloseInit defines a msg sent by a Relayer to Chain A\nto close a channel with Chain B.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/ibc.core.channel.v1.MsgChannelCloseInit"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.core.channel.v1.MsgChannelCloseInitResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc.core.channel.v1.Msg/ChannelOpenAck":{"post":{"tags":["Msg"],"summary":"ChannelOpenAck defines a rpc handler method for MsgChannelOpenAck.","operationId":"FeeMsg_ChannelOpenAck","parameters":[{"description":"MsgChannelOpenAck defines a msg sent by a Relayer to Chain A to acknowledge\nthe change of channel state to TRYOPEN on Chain B.\nWARNING: a channel upgrade MUST NOT initialize an upgrade for this channel\nin the same block as executing this message otherwise the counterparty will\nbe incapable of opening.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/ibc.core.channel.v1.MsgChannelOpenAck"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.core.channel.v1.MsgChannelOpenAckResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc.core.channel.v1.Msg/ChannelOpenConfirm":{"post":{"tags":["Msg"],"summary":"ChannelOpenConfirm defines a rpc handler method for MsgChannelOpenConfirm.","operationId":"FeeMsg_ChannelOpenConfirm","parameters":[{"description":"MsgChannelOpenConfirm defines a msg sent by a Relayer to Chain B to\nacknowledge the change of channel state to OPEN on Chain A.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/ibc.core.channel.v1.MsgChannelOpenConfirm"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.core.channel.v1.MsgChannelOpenConfirmResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc.core.channel.v1.Msg/ChannelOpenInit":{"post":{"tags":["Msg"],"summary":"ChannelOpenInit defines a rpc handler method for MsgChannelOpenInit.","operationId":"FeeMsg_ChannelOpenInit","parameters":[{"description":"MsgChannelOpenInit defines an sdk.Msg to initialize a channel handshake. It\nis called by a relayer on Chain A.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/ibc.core.channel.v1.MsgChannelOpenInit"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.core.channel.v1.MsgChannelOpenInitResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc.core.channel.v1.Msg/ChannelOpenTry":{"post":{"tags":["Msg"],"summary":"ChannelOpenTry defines a rpc handler method for MsgChannelOpenTry.","operationId":"FeeMsg_ChannelOpenTry","parameters":[{"description":"MsgChannelOpenInit defines a msg sent by a Relayer to try to open a channel\non Chain B. The version field within the Channel field has been deprecated. Its\nvalue will be ignored by core IBC.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/ibc.core.channel.v1.MsgChannelOpenTry"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.core.channel.v1.MsgChannelOpenTryResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc.core.channel.v1.Msg/ChannelUpgradeAck":{"post":{"tags":["Msg"],"summary":"ChannelUpgradeAck defines a rpc handler method for MsgChannelUpgradeAck.","operationId":"FeeMsg_ChannelUpgradeAck","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/ibc.core.channel.v1.MsgChannelUpgradeAck"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.core.channel.v1.MsgChannelUpgradeAckResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc.core.channel.v1.Msg/ChannelUpgradeCancel":{"post":{"tags":["Msg"],"summary":"ChannelUpgradeCancel defines a rpc handler method for MsgChannelUpgradeCancel.","operationId":"FeeMsg_ChannelUpgradeCancel","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/ibc.core.channel.v1.MsgChannelUpgradeCancel"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.core.channel.v1.MsgChannelUpgradeCancelResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc.core.channel.v1.Msg/ChannelUpgradeConfirm":{"post":{"tags":["Msg"],"summary":"ChannelUpgradeConfirm defines a rpc handler method for MsgChannelUpgradeConfirm.","operationId":"FeeMsg_ChannelUpgradeConfirm","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/ibc.core.channel.v1.MsgChannelUpgradeConfirm"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.core.channel.v1.MsgChannelUpgradeConfirmResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc.core.channel.v1.Msg/ChannelUpgradeInit":{"post":{"tags":["Msg"],"summary":"ChannelUpgradeInit defines a rpc handler method for MsgChannelUpgradeInit.","operationId":"FeeMsg_ChannelUpgradeInit","parameters":[{"description":"MsgChannelUpgradeInit defines the request type for the ChannelUpgradeInit rpc\nWARNING: Initializing a channel upgrade in the same block as opening the channel\nmay result in the counterparty being incapable of opening.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/ibc.core.channel.v1.MsgChannelUpgradeInit"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.core.channel.v1.MsgChannelUpgradeInitResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc.core.channel.v1.Msg/ChannelUpgradeOpen":{"post":{"tags":["Msg"],"summary":"ChannelUpgradeOpen defines a rpc handler method for MsgChannelUpgradeOpen.","operationId":"FeeMsg_ChannelUpgradeOpen","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/ibc.core.channel.v1.MsgChannelUpgradeOpen"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.core.channel.v1.MsgChannelUpgradeOpenResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc.core.channel.v1.Msg/ChannelUpgradeTimeout":{"post":{"tags":["Msg"],"summary":"ChannelUpgradeTimeout defines a rpc handler method for MsgChannelUpgradeTimeout.","operationId":"FeeMsg_ChannelUpgradeTimeout","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/ibc.core.channel.v1.MsgChannelUpgradeTimeout"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.core.channel.v1.MsgChannelUpgradeTimeoutResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc.core.channel.v1.Msg/ChannelUpgradeTry":{"post":{"tags":["Msg"],"summary":"ChannelUpgradeTry defines a rpc handler method for MsgChannelUpgradeTry.","operationId":"FeeMsg_ChannelUpgradeTry","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/ibc.core.channel.v1.MsgChannelUpgradeTry"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.core.channel.v1.MsgChannelUpgradeTryResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc.core.channel.v1.Msg/PruneAcknowledgements":{"post":{"tags":["Msg"],"summary":"PruneAcknowledgements defines a rpc handler method for MsgPruneAcknowledgements.","operationId":"FeeMsg_PruneAcknowledgements","parameters":[{"description":"MsgPruneAcknowledgements defines the request type for the PruneAcknowledgements rpc.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/ibc.core.channel.v1.MsgPruneAcknowledgements"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.core.channel.v1.MsgPruneAcknowledgementsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc.core.channel.v1.Msg/RecvPacket":{"post":{"tags":["Msg"],"summary":"RecvPacket defines a rpc handler method for MsgRecvPacket.","operationId":"FeeMsg_RecvPacket","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/ibc.core.channel.v1.MsgRecvPacket"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.core.channel.v1.MsgRecvPacketResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc.core.channel.v1.Msg/Timeout":{"post":{"tags":["Msg"],"summary":"Timeout defines a rpc handler method for MsgTimeout.","operationId":"FeeMsg_Timeout","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/ibc.core.channel.v1.MsgTimeout"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.core.channel.v1.MsgTimeoutResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc.core.channel.v1.Msg/TimeoutOnClose":{"post":{"tags":["Msg"],"summary":"TimeoutOnClose defines a rpc handler method for MsgTimeoutOnClose.","operationId":"FeeMsg_TimeoutOnClose","parameters":[{"description":"MsgTimeoutOnClose timed-out packet upon counterparty channel closure.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/ibc.core.channel.v1.MsgTimeoutOnClose"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.core.channel.v1.MsgTimeoutOnCloseResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc.core.channel.v1.Msg/UpdateChannelParams":{"post":{"tags":["Msg"],"summary":"UpdateChannelParams defines a rpc handler method for MsgUpdateParams.","operationId":"FeeMsg_UpdateChannelParams","parameters":[{"description":"MsgUpdateParams is the MsgUpdateParams request type.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/ibc.core.channel.v1.MsgUpdateParams"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.core.channel.v1.MsgUpdateParamsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc.core.client.v1.Msg/CreateClient":{"post":{"tags":["Msg"],"summary":"CreateClient defines a rpc handler method for MsgCreateClient.","operationId":"FeeMsg_CreateClient","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/ibc.core.client.v1.MsgCreateClient"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.core.client.v1.MsgCreateClientResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc.core.client.v1.Msg/IBCSoftwareUpgrade":{"post":{"tags":["Msg"],"summary":"IBCSoftwareUpgrade defines a rpc handler method for MsgIBCSoftwareUpgrade.","operationId":"FeeMsg_IBCSoftwareUpgrade","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/ibc.core.client.v1.MsgIBCSoftwareUpgrade"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.core.client.v1.MsgIBCSoftwareUpgradeResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc.core.client.v1.Msg/RecoverClient":{"post":{"tags":["Msg"],"summary":"RecoverClient defines a rpc handler method for MsgRecoverClient.","operationId":"FeeMsg_RecoverClient","parameters":[{"description":"MsgRecoverClient defines the message used to recover a frozen or expired client.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/ibc.core.client.v1.MsgRecoverClient"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.core.client.v1.MsgRecoverClientResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc.core.client.v1.Msg/SubmitMisbehaviour":{"post":{"tags":["Msg"],"summary":"SubmitMisbehaviour defines a rpc handler method for MsgSubmitMisbehaviour.","operationId":"FeeMsg_SubmitMisbehaviour","parameters":[{"description":"MsgSubmitMisbehaviour defines an sdk.Msg type that submits Evidence for\nlight client misbehaviour.\nThis message has been deprecated. Use MsgUpdateClient instead.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/ibc.core.client.v1.MsgSubmitMisbehaviour"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.core.client.v1.MsgSubmitMisbehaviourResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc.core.client.v1.Msg/UpdateClient":{"post":{"tags":["Msg"],"summary":"UpdateClient defines a rpc handler method for MsgUpdateClient.","operationId":"FeeMsg_UpdateClient","parameters":[{"description":"MsgUpdateClient defines an sdk.Msg to update a IBC client state using\nthe given client message.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/ibc.core.client.v1.MsgUpdateClient"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.core.client.v1.MsgUpdateClientResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc.core.client.v1.Msg/UpdateClientParams":{"post":{"tags":["Msg"],"summary":"UpdateClientParams defines a rpc handler method for MsgUpdateParams.","operationId":"FeeMsg_UpdateClientParams","parameters":[{"description":"MsgUpdateParams defines the sdk.Msg type to update the client parameters.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/ibc.core.client.v1.MsgUpdateParams"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.core.client.v1.MsgUpdateParamsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc.core.client.v1.Msg/UpgradeClient":{"post":{"tags":["Msg"],"summary":"UpgradeClient defines a rpc handler method for MsgUpgradeClient.","operationId":"FeeMsg_UpgradeClient","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/ibc.core.client.v1.MsgUpgradeClient"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.core.client.v1.MsgUpgradeClientResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc.core.connection.v1.Msg/ConnectionOpenAck":{"post":{"tags":["Msg"],"summary":"ConnectionOpenAck defines a rpc handler method for MsgConnectionOpenAck.","operationId":"FeeMsg_ConnectionOpenAck","parameters":[{"description":"MsgConnectionOpenAck defines a msg sent by a Relayer to Chain A to\nacknowledge the change of connection state to TRYOPEN on Chain B.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/ibc.core.connection.v1.MsgConnectionOpenAck"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.core.connection.v1.MsgConnectionOpenAckResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc.core.connection.v1.Msg/ConnectionOpenConfirm":{"post":{"tags":["Msg"],"summary":"ConnectionOpenConfirm defines a rpc handler method for\nMsgConnectionOpenConfirm.","operationId":"FeeMsg_ConnectionOpenConfirm","parameters":[{"description":"MsgConnectionOpenConfirm defines a msg sent by a Relayer to Chain B to\nacknowledge the change of connection state to OPEN on Chain A.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/ibc.core.connection.v1.MsgConnectionOpenConfirm"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.core.connection.v1.MsgConnectionOpenConfirmResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc.core.connection.v1.Msg/ConnectionOpenInit":{"post":{"tags":["Msg"],"summary":"ConnectionOpenInit defines a rpc handler method for MsgConnectionOpenInit.","operationId":"FeeMsg_ConnectionOpenInit","parameters":[{"description":"MsgConnectionOpenInit defines the msg sent by an account on Chain A to\ninitialize a connection with Chain B.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/ibc.core.connection.v1.MsgConnectionOpenInit"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.core.connection.v1.MsgConnectionOpenInitResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc.core.connection.v1.Msg/ConnectionOpenTry":{"post":{"tags":["Msg"],"summary":"ConnectionOpenTry defines a rpc handler method for MsgConnectionOpenTry.","operationId":"FeeMsg_ConnectionOpenTry","parameters":[{"description":"MsgConnectionOpenTry defines a msg sent by a Relayer to try to open a\nconnection on Chain B.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/ibc.core.connection.v1.MsgConnectionOpenTry"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.core.connection.v1.MsgConnectionOpenTryResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc.core.connection.v1.Msg/UpdateConnectionParams":{"post":{"tags":["Msg"],"summary":"UpdateConnectionParams defines a rpc handler method for\nMsgUpdateParams.","operationId":"FeeMsg_UpdateConnectionParams","parameters":[{"description":"MsgUpdateParams defines the sdk.Msg type to update the connection parameters.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/ibc.core.connection.v1.MsgUpdateParams"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.core.connection.v1.MsgUpdateParamsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc.lightclients.wasm.v1.Msg/MigrateContract":{"post":{"tags":["Msg"],"summary":"MigrateContract defines a rpc handler method for MsgMigrateContract.","operationId":"FeeMsg_MigrateContract","parameters":[{"description":"MsgMigrateContract defines the request type for the MigrateContract rpc.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/ibc.lightclients.wasm.v1.MsgMigrateContract"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.lightclients.wasm.v1.MsgMigrateContractResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc.lightclients.wasm.v1.Msg/RemoveChecksum":{"post":{"tags":["Msg"],"summary":"RemoveChecksum defines a rpc handler method for MsgRemoveChecksum.","operationId":"FeeMsg_RemoveChecksum","parameters":[{"description":"MsgRemoveChecksum defines the request type for the MsgRemoveChecksum rpc.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/ibc.lightclients.wasm.v1.MsgRemoveChecksum"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.lightclients.wasm.v1.MsgRemoveChecksumResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc.lightclients.wasm.v1.Msg/StoreCode":{"post":{"tags":["Msg"],"summary":"StoreCode defines a rpc handler method for MsgStoreCode.","operationId":"FeeMsg_StoreCode","parameters":[{"description":"MsgStoreCode defines the request type for the StoreCode rpc.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/ibc.lightclients.wasm.v1.MsgStoreCode"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.lightclients.wasm.v1.MsgStoreCodeResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc/apps/fee/v1/channels/{channel_id}/ports/{port_id}/fee_enabled":{"get":{"tags":["Query"],"summary":"FeeEnabledChannel returns true if the provided port and channel identifiers belong to a fee enabled channel","operationId":"FeeQuery_FeeEnabledChannel","parameters":[{"type":"string","description":"unique channel identifier","name":"channel_id","in":"path","required":true},{"type":"string","description":"unique port identifier","name":"port_id","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.applications.fee.v1.QueryFeeEnabledChannelResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc/apps/fee/v1/channels/{channel_id}/ports/{port_id}/incentivized_packets":{"get":{"tags":["Query"],"summary":"Gets all incentivized packets for a specific channel","operationId":"FeeQuery_IncentivizedPacketsForChannel","parameters":[{"type":"string","name":"channel_id","in":"path","required":true},{"type":"string","name":"port_id","in":"path","required":true},{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"},{"type":"string","format":"uint64","description":"Height to query at","name":"query_height","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.applications.fee.v1.QueryIncentivizedPacketsForChannelResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc/apps/fee/v1/channels/{channel_id}/relayers/{relayer}/counterparty_payee":{"get":{"tags":["Query"],"summary":"CounterpartyPayee returns the registered counterparty payee for forward relaying","operationId":"FeeQuery_CounterpartyPayee","parameters":[{"type":"string","description":"unique channel identifier","name":"channel_id","in":"path","required":true},{"type":"string","description":"the relayer address to which the counterparty is registered","name":"relayer","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.applications.fee.v1.QueryCounterpartyPayeeResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc/apps/fee/v1/channels/{channel_id}/relayers/{relayer}/payee":{"get":{"tags":["Query"],"summary":"Payee returns the registered payee address for a specific channel given the relayer address","operationId":"FeeQuery_Payee","parameters":[{"type":"string","description":"unique channel identifier","name":"channel_id","in":"path","required":true},{"type":"string","description":"the relayer address to which the distribution address is registered","name":"relayer","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.applications.fee.v1.QueryPayeeResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/incentivized_packet":{"get":{"tags":["Query"],"summary":"IncentivizedPacket returns all packet fees for a packet given its identifier","operationId":"FeeQuery_IncentivizedPacket","parameters":[{"type":"string","description":"channel unique identifier","name":"packet_id.channel_id","in":"path","required":true},{"type":"string","description":"channel port identifier","name":"packet_id.port_id","in":"path","required":true},{"type":"string","format":"uint64","description":"packet sequence","name":"packet_id.sequence","in":"path","required":true},{"type":"string","format":"uint64","description":"block height at which to query","name":"query_height","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.applications.fee.v1.QueryIncentivizedPacketResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/total_ack_fees":{"get":{"tags":["Query"],"summary":"TotalAckFees returns the total acknowledgement fees for a packet given its identifier","operationId":"FeeQuery_TotalAckFees","parameters":[{"type":"string","description":"channel unique identifier","name":"packet_id.channel_id","in":"path","required":true},{"type":"string","description":"channel port identifier","name":"packet_id.port_id","in":"path","required":true},{"type":"string","format":"uint64","description":"packet sequence","name":"packet_id.sequence","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.applications.fee.v1.QueryTotalAckFeesResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/total_recv_fees":{"get":{"tags":["Query"],"summary":"TotalRecvFees returns the total receive fees for a packet given its identifier","operationId":"FeeQuery_TotalRecvFees","parameters":[{"type":"string","description":"channel unique identifier","name":"packet_id.channel_id","in":"path","required":true},{"type":"string","description":"channel port identifier","name":"packet_id.port_id","in":"path","required":true},{"type":"string","format":"uint64","description":"packet sequence","name":"packet_id.sequence","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.applications.fee.v1.QueryTotalRecvFeesResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/total_timeout_fees":{"get":{"tags":["Query"],"summary":"TotalTimeoutFees returns the total timeout fees for a packet given its identifier","operationId":"FeeQuery_TotalTimeoutFees","parameters":[{"type":"string","description":"channel unique identifier","name":"packet_id.channel_id","in":"path","required":true},{"type":"string","description":"channel port identifier","name":"packet_id.port_id","in":"path","required":true},{"type":"string","format":"uint64","description":"packet sequence","name":"packet_id.sequence","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.applications.fee.v1.QueryTotalTimeoutFeesResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc/apps/fee/v1/fee_enabled":{"get":{"tags":["Query"],"summary":"FeeEnabledChannels returns a list of all fee enabled channels","operationId":"FeeQuery_FeeEnabledChannels","parameters":[{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"},{"type":"string","format":"uint64","description":"block height at which to query","name":"query_height","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.applications.fee.v1.QueryFeeEnabledChannelsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc/apps/fee/v1/incentivized_packets":{"get":{"tags":["Query"],"summary":"IncentivizedPackets returns all incentivized packets and their associated fees","operationId":"FeeQuery_IncentivizedPackets","parameters":[{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"},{"type":"string","format":"uint64","description":"block height at which to query","name":"query_height","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.applications.fee.v1.QueryIncentivizedPacketsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc/apps/interchain_accounts/controller/v1/owners/{owner}/connections/{connection_id}":{"get":{"tags":["Query"],"summary":"InterchainAccount returns the interchain account address for a given owner address on a given connection","operationId":"FeeQuery_InterchainAccount","parameters":[{"type":"string","name":"owner","in":"path","required":true},{"type":"string","name":"connection_id","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.applications.interchain_accounts.controller.v1.QueryInterchainAccountResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc/apps/interchain_accounts/controller/v1/params":{"get":{"tags":["Query"],"summary":"Params queries all parameters of the ICA controller submodule.","operationId":"FeeQuery_Params","responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.applications.interchain_accounts.controller.v1.QueryParamsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc/apps/interchain_accounts/host/v1/params":{"get":{"tags":["Query"],"summary":"Params queries all parameters of the ICA host submodule.","operationId":"FeeQuery_ParamsMixin168","responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.applications.interchain_accounts.host.v1.QueryParamsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc/apps/transfer/v1/channels/{channel_id}/ports/{port_id}/escrow_address":{"get":{"tags":["Query"],"summary":"EscrowAddress returns the escrow address for a particular port and channel id.","operationId":"FeeQuery_EscrowAddress","parameters":[{"type":"string","description":"unique channel identifier","name":"channel_id","in":"path","required":true},{"type":"string","description":"unique port identifier","name":"port_id","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.applications.transfer.v1.QueryEscrowAddressResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc/apps/transfer/v1/denom_hashes/{trace}":{"get":{"tags":["Query"],"summary":"DenomHash queries a denomination hash information.","operationId":"FeeQuery_DenomHash","parameters":[{"pattern":".+","type":"string","description":"The denomination trace ([port_id]/[channel_id])+/[denom]","name":"trace","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.applications.transfer.v1.QueryDenomHashResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc/apps/transfer/v1/denom_traces":{"get":{"tags":["Query"],"summary":"DenomTraces queries all denomination traces.","operationId":"FeeQuery_DenomTraces","parameters":[{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.applications.transfer.v1.QueryDenomTracesResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc/apps/transfer/v1/denom_traces/{hash}":{"get":{"tags":["Query"],"summary":"DenomTrace queries a denomination trace information.","operationId":"FeeQuery_DenomTrace","parameters":[{"pattern":".+","type":"string","description":"hash (in hex format) or denom (full denom with ibc prefix) of the denomination trace information.","name":"hash","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.applications.transfer.v1.QueryDenomTraceResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc/apps/transfer/v1/denoms/{denom}/total_escrow":{"get":{"tags":["Query"],"summary":"TotalEscrowForDenom returns the total amount of tokens in escrow based on the denom.","operationId":"FeeQuery_TotalEscrowForDenom","parameters":[{"pattern":".+","type":"string","name":"denom","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.applications.transfer.v1.QueryTotalEscrowForDenomResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc/apps/transfer/v1/params":{"get":{"tags":["Query"],"summary":"Params queries all parameters of the ibc-transfer module.","operationId":"FeeQuery_ParamsMixin175","responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.applications.transfer.v1.QueryParamsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc/core/channel/v1/channels":{"get":{"tags":["Query"],"summary":"Channels queries all the IBC channels of a chain.","operationId":"FeeQuery_Channels","parameters":[{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.core.channel.v1.QueryChannelsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}":{"get":{"tags":["Query"],"summary":"Channel queries an IBC Channel.","operationId":"FeeQuery_Channel","parameters":[{"type":"string","description":"channel unique identifier","name":"channel_id","in":"path","required":true},{"type":"string","description":"port unique identifier","name":"port_id","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.core.channel.v1.QueryChannelResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/client_state":{"get":{"tags":["Query"],"summary":"ChannelClientState queries for the client state for the channel associated\nwith the provided channel identifiers.","operationId":"FeeQuery_ChannelClientState","parameters":[{"type":"string","description":"channel unique identifier","name":"channel_id","in":"path","required":true},{"type":"string","description":"port unique identifier","name":"port_id","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.core.channel.v1.QueryChannelClientStateResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/consensus_state/revision/{revision_number}/height/{revision_height}":{"get":{"tags":["Query"],"summary":"ChannelConsensusState queries for the consensus state for the channel\nassociated with the provided channel identifiers.","operationId":"FeeQuery_ChannelConsensusState","parameters":[{"type":"string","description":"channel unique identifier","name":"channel_id","in":"path","required":true},{"type":"string","description":"port unique identifier","name":"port_id","in":"path","required":true},{"type":"string","format":"uint64","description":"revision number of the consensus state","name":"revision_number","in":"path","required":true},{"type":"string","format":"uint64","description":"revision height of the consensus state","name":"revision_height","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.core.channel.v1.QueryChannelConsensusStateResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/next_sequence":{"get":{"tags":["Query"],"summary":"NextSequenceReceive returns the next receive sequence for a given channel.","operationId":"FeeQuery_NextSequenceReceive","parameters":[{"type":"string","description":"channel unique identifier","name":"channel_id","in":"path","required":true},{"type":"string","description":"port unique identifier","name":"port_id","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.core.channel.v1.QueryNextSequenceReceiveResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/next_sequence_send":{"get":{"tags":["Query"],"summary":"NextSequenceSend returns the next send sequence for a given channel.","operationId":"FeeQuery_NextSequenceSend","parameters":[{"type":"string","description":"channel unique identifier","name":"channel_id","in":"path","required":true},{"type":"string","description":"port unique identifier","name":"port_id","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.core.channel.v1.QueryNextSequenceSendResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_acknowledgements":{"get":{"tags":["Query"],"summary":"PacketAcknowledgements returns all the packet acknowledgements associated\nwith a channel.","operationId":"FeeQuery_PacketAcknowledgements","parameters":[{"type":"string","description":"channel unique identifier","name":"channel_id","in":"path","required":true},{"type":"string","description":"port unique identifier","name":"port_id","in":"path","required":true},{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"},{"type":"array","items":{"type":"string","format":"uint64"},"collectionFormat":"multi","description":"list of packet sequences","name":"packet_commitment_sequences","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.core.channel.v1.QueryPacketAcknowledgementsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_acks/{sequence}":{"get":{"tags":["Query"],"summary":"PacketAcknowledgement queries a stored packet acknowledgement hash.","operationId":"FeeQuery_PacketAcknowledgement","parameters":[{"type":"string","description":"channel unique identifier","name":"channel_id","in":"path","required":true},{"type":"string","description":"port unique identifier","name":"port_id","in":"path","required":true},{"type":"string","format":"uint64","description":"packet sequence","name":"sequence","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.core.channel.v1.QueryPacketAcknowledgementResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments":{"get":{"tags":["Query"],"summary":"PacketCommitments returns all the packet commitments hashes associated\nwith a channel.","operationId":"FeeQuery_PacketCommitments","parameters":[{"type":"string","description":"channel unique identifier","name":"channel_id","in":"path","required":true},{"type":"string","description":"port unique identifier","name":"port_id","in":"path","required":true},{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.core.channel.v1.QueryPacketCommitmentsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{packet_ack_sequences}/unreceived_acks":{"get":{"tags":["Query"],"summary":"UnreceivedAcks returns all the unreceived IBC acknowledgements associated\nwith a channel and sequences.","operationId":"FeeQuery_UnreceivedAcks","parameters":[{"type":"string","description":"channel unique identifier","name":"channel_id","in":"path","required":true},{"type":"string","description":"port unique identifier","name":"port_id","in":"path","required":true},{"minItems":1,"type":"array","items":{"type":"string","format":"uint64"},"collectionFormat":"csv","description":"list of acknowledgement sequences","name":"packet_ack_sequences","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.core.channel.v1.QueryUnreceivedAcksResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{packet_commitment_sequences}/unreceived_packets":{"get":{"tags":["Query"],"summary":"UnreceivedPackets returns all the unreceived IBC packets associated with a\nchannel and sequences.","operationId":"FeeQuery_UnreceivedPackets","parameters":[{"type":"string","description":"channel unique identifier","name":"channel_id","in":"path","required":true},{"type":"string","description":"port unique identifier","name":"port_id","in":"path","required":true},{"minItems":1,"type":"array","items":{"type":"string","format":"uint64"},"collectionFormat":"csv","description":"list of packet sequences","name":"packet_commitment_sequences","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.core.channel.v1.QueryUnreceivedPacketsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{sequence}":{"get":{"tags":["Query"],"summary":"PacketCommitment queries a stored packet commitment hash.","operationId":"FeeQuery_PacketCommitment","parameters":[{"type":"string","description":"channel unique identifier","name":"channel_id","in":"path","required":true},{"type":"string","description":"port unique identifier","name":"port_id","in":"path","required":true},{"type":"string","format":"uint64","description":"packet sequence","name":"sequence","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.core.channel.v1.QueryPacketCommitmentResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_receipts/{sequence}":{"get":{"tags":["Query"],"summary":"PacketReceipt queries if a given packet sequence has been received on the\nqueried chain","operationId":"FeeQuery_PacketReceipt","parameters":[{"type":"string","description":"channel unique identifier","name":"channel_id","in":"path","required":true},{"type":"string","description":"port unique identifier","name":"port_id","in":"path","required":true},{"type":"string","format":"uint64","description":"packet sequence","name":"sequence","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.core.channel.v1.QueryPacketReceiptResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/upgrade":{"get":{"tags":["Query"],"summary":"Upgrade returns the upgrade for a given port and channel id.","operationId":"FeeQuery_Upgrade","parameters":[{"type":"string","name":"channel_id","in":"path","required":true},{"type":"string","name":"port_id","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.core.channel.v1.QueryUpgradeResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/upgrade_error":{"get":{"tags":["Query"],"summary":"UpgradeError returns the error receipt if the upgrade handshake failed.","operationId":"FeeQuery_UpgradeError","parameters":[{"type":"string","name":"channel_id","in":"path","required":true},{"type":"string","name":"port_id","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.core.channel.v1.QueryUpgradeErrorResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc/core/channel/v1/connections/{connection}/channels":{"get":{"tags":["Query"],"summary":"ConnectionChannels queries all the channels associated with a connection\nend.","operationId":"FeeQuery_ConnectionChannels","parameters":[{"type":"string","description":"connection unique identifier","name":"connection","in":"path","required":true},{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.core.channel.v1.QueryConnectionChannelsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc/core/channel/v1/params":{"get":{"tags":["Query"],"summary":"ChannelParams queries all parameters of the ibc channel submodule.","operationId":"FeeQuery_ChannelParams","responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.core.channel.v1.QueryChannelParamsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc/core/client/v1/client_states":{"get":{"tags":["Query"],"summary":"ClientStates queries all the IBC light clients of a chain.","operationId":"FeeQuery_ClientStates","parameters":[{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.core.client.v1.QueryClientStatesResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc/core/client/v1/client_states/{client_id}":{"get":{"tags":["Query"],"summary":"ClientState queries an IBC light client.","operationId":"FeeQuery_ClientState","parameters":[{"type":"string","description":"client state unique identifier","name":"client_id","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.core.client.v1.QueryClientStateResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc/core/client/v1/client_status/{client_id}":{"get":{"tags":["Query"],"summary":"Status queries the status of an IBC client.","operationId":"FeeQuery_ClientStatus","parameters":[{"type":"string","description":"client unique identifier","name":"client_id","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.core.client.v1.QueryClientStatusResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc/core/client/v1/consensus_states/{client_id}":{"get":{"tags":["Query"],"summary":"ConsensusStates queries all the consensus state associated with a given\nclient.","operationId":"FeeQuery_ConsensusStates","parameters":[{"type":"string","description":"client identifier","name":"client_id","in":"path","required":true},{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.core.client.v1.QueryConsensusStatesResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc/core/client/v1/consensus_states/{client_id}/heights":{"get":{"tags":["Query"],"summary":"ConsensusStateHeights queries the height of every consensus states associated with a given client.","operationId":"FeeQuery_ConsensusStateHeights","parameters":[{"type":"string","description":"client identifier","name":"client_id","in":"path","required":true},{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.core.client.v1.QueryConsensusStateHeightsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc/core/client/v1/consensus_states/{client_id}/revision/{revision_number}/height/{revision_height}":{"get":{"tags":["Query"],"summary":"ConsensusState queries a consensus state associated with a client state at\na given height.","operationId":"FeeQuery_ConsensusState","parameters":[{"type":"string","description":"client identifier","name":"client_id","in":"path","required":true},{"type":"string","format":"uint64","description":"consensus state revision number","name":"revision_number","in":"path","required":true},{"type":"string","format":"uint64","description":"consensus state revision height","name":"revision_height","in":"path","required":true},{"type":"boolean","description":"latest_height overrrides the height field and queries the latest stored\nConsensusState","name":"latest_height","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.core.client.v1.QueryConsensusStateResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc/core/client/v1/params":{"get":{"tags":["Query"],"summary":"ClientParams queries all parameters of the ibc client submodule.","operationId":"FeeQuery_ClientParams","responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.core.client.v1.QueryClientParamsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc/core/client/v1/upgraded_client_states":{"get":{"tags":["Query"],"summary":"UpgradedClientState queries an Upgraded IBC light client.","operationId":"FeeQuery_UpgradedClientState","responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.core.client.v1.QueryUpgradedClientStateResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc/core/client/v1/upgraded_consensus_states":{"get":{"tags":["Query"],"summary":"UpgradedConsensusState queries an Upgraded IBC consensus state.","operationId":"FeeQuery_UpgradedConsensusState","responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.core.client.v1.QueryUpgradedConsensusStateResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc/core/connection/v1/client_connections/{client_id}":{"get":{"tags":["Query"],"summary":"ClientConnections queries the connection paths associated with a client\nstate.","operationId":"FeeQuery_ClientConnections","parameters":[{"type":"string","description":"client identifier associated with a connection","name":"client_id","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.core.connection.v1.QueryClientConnectionsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc/core/connection/v1/connections":{"get":{"tags":["Query"],"summary":"Connections queries all the IBC connections of a chain.","operationId":"FeeQuery_Connections","parameters":[{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.core.connection.v1.QueryConnectionsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc/core/connection/v1/connections/{connection_id}":{"get":{"tags":["Query"],"summary":"Connection queries an IBC connection end.","operationId":"FeeQuery_Connection","parameters":[{"type":"string","description":"connection unique identifier","name":"connection_id","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.core.connection.v1.QueryConnectionResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc/core/connection/v1/connections/{connection_id}/client_state":{"get":{"tags":["Query"],"summary":"ConnectionClientState queries the client state associated with the\nconnection.","operationId":"FeeQuery_ConnectionClientState","parameters":[{"type":"string","description":"connection identifier","name":"connection_id","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.core.connection.v1.QueryConnectionClientStateResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc/core/connection/v1/connections/{connection_id}/consensus_state/revision/{revision_number}/height/{revision_height}":{"get":{"tags":["Query"],"summary":"ConnectionConsensusState queries the consensus state associated with the\nconnection.","operationId":"FeeQuery_ConnectionConsensusState","parameters":[{"type":"string","description":"connection identifier","name":"connection_id","in":"path","required":true},{"type":"string","format":"uint64","name":"revision_number","in":"path","required":true},{"type":"string","format":"uint64","name":"revision_height","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.core.connection.v1.QueryConnectionConsensusStateResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc/core/connection/v1/params":{"get":{"tags":["Query"],"summary":"ConnectionParams queries all parameters of the ibc connection submodule.","operationId":"FeeQuery_ConnectionParams","responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.core.connection.v1.QueryConnectionParamsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc/lightclients/wasm/v1/checksums":{"get":{"tags":["Query"],"summary":"Get all Wasm checksums","operationId":"FeeQuery_Checksums","parameters":[{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.lightclients.wasm.v1.QueryChecksumsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/ibc/lightclients/wasm/v1/checksums/{checksum}/code":{"get":{"tags":["Query"],"summary":"Get Wasm code for given checksum","operationId":"FeeQuery_Code","parameters":[{"type":"string","description":"checksum is a hex encoded string of the code stored.","name":"checksum","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/ibc.lightclients.wasm.v1.QueryCodeResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/pokt-network/poktroll/application/application":{"get":{"tags":["Query"],"operationId":"GithubCompoktNetworkpoktrollQuery_AllApplications","parameters":[{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/poktroll.application.QueryAllApplicationsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/pokt-network/poktroll/application/application/{address}":{"get":{"tags":["Query"],"summary":"Queries a list of Application items.","operationId":"GithubCompoktNetworkpoktrollQuery_Application","parameters":[{"type":"string","name":"address","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/poktroll.application.QueryGetApplicationResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/pokt-network/poktroll/application/params":{"get":{"tags":["Query"],"summary":"Parameters queries the parameters of the module.","operationId":"GithubCompoktNetworkpoktrollQuery_Params","responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/poktroll.application.QueryParamsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/pokt-network/poktroll/gateway/gateway":{"get":{"tags":["Query"],"operationId":"GithubCompoktNetworkpoktrollQuery_AllGateways","parameters":[{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/poktroll.gateway.QueryAllGatewaysResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/pokt-network/poktroll/gateway/gateway/{address}":{"get":{"tags":["Query"],"summary":"Queries a list of Gateway items.","operationId":"GithubCompoktNetworkpoktrollQuery_Gateway","parameters":[{"type":"string","name":"address","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/poktroll.gateway.QueryGetGatewayResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/pokt-network/poktroll/gateway/params":{"get":{"tags":["Query"],"summary":"Parameters queries the parameters of the module.","operationId":"GithubCompoktNetworkpoktrollQuery_ParamsMixin9","responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/poktroll.gateway.QueryParamsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/pokt-network/poktroll/proof/claim":{"get":{"tags":["Query"],"operationId":"GithubCompoktNetworkpoktrollQuery_AllClaims","parameters":[{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"},{"type":"string","name":"supplier_operator_address","in":"query"},{"type":"string","name":"session_id","in":"query"},{"type":"string","format":"uint64","name":"session_end_height","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/poktroll.proof.QueryAllClaimsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/pokt-network/poktroll/proof/claim/{session_id}/{supplier_operator_address}":{"get":{"tags":["Query"],"summary":"Queries a list of Claim items.","operationId":"GithubCompoktNetworkpoktrollQuery_Claim","parameters":[{"type":"string","name":"session_id","in":"path","required":true},{"type":"string","name":"supplier_operator_address","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/poktroll.proof.QueryGetClaimResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/pokt-network/poktroll/proof/params":{"get":{"tags":["Query"],"summary":"Parameters queries the parameters of the module.","operationId":"GithubCompoktNetworkpoktrollQuery_ParamsMixin15","responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/poktroll.proof.QueryParamsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/pokt-network/poktroll/proof/proof":{"get":{"tags":["Query"],"operationId":"GithubCompoktNetworkpoktrollQuery_AllProofs","parameters":[{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"},{"type":"string","name":"supplier_operator_address","in":"query"},{"type":"string","name":"session_id","in":"query"},{"type":"string","format":"uint64","name":"session_end_height","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/poktroll.proof.QueryAllProofsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/pokt-network/poktroll/proof/proof/{session_id}/{supplier_operator_address}":{"get":{"tags":["Query"],"summary":"Queries a list of Proof items.","operationId":"GithubCompoktNetworkpoktrollQuery_Proof","parameters":[{"type":"string","name":"session_id","in":"path","required":true},{"type":"string","name":"supplier_operator_address","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/poktroll.proof.QueryGetProofResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/pokt-network/poktroll/service/params":{"get":{"tags":["Query"],"summary":"Parameters queries the parameters of the module.","operationId":"GithubCompoktNetworkpoktrollQuery_ParamsMixin20","responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/poktroll.service.QueryParamsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/pokt-network/poktroll/service/service":{"get":{"tags":["Query"],"operationId":"GithubCompoktNetworkpoktrollQuery_AllServices","parameters":[{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/poktroll.service.QueryAllServicesResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/pokt-network/poktroll/service/service/{id}":{"get":{"tags":["Query"],"summary":"Queries a list of Service items.","operationId":"GithubCompoktNetworkpoktrollQuery_Service","parameters":[{"type":"string","description":"TODO_IMPROVE: We could support getting services by name.","name":"id","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/poktroll.service.QueryGetServiceResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/pokt-network/poktroll/session/get_session":{"get":{"tags":["Query"],"summary":"Queries the session given app_address, service and block_height.","operationId":"GithubCompoktNetworkpoktrollQuery_GetSession","parameters":[{"type":"string","description":"The Bech32 address of the application.","name":"application_address","in":"query"},{"type":"string","description":"For example, what if we want to request a session for a certain service but with some additional configs that identify it?\n\nUnique identifier for the service","name":"service.id","in":"query"},{"type":"string","description":"TODO_MAINNET: Remove this.\n\n(Optional) Semantic human readable name for the service","name":"service.name","in":"query"},{"type":"string","format":"uint64","description":"The cost of a single relay for this service in terms of compute units.\nMust be used alongside the global 'compute_units_to_tokens_multipler' to calculate the cost of a relay for this service.\ncost_per_relay_for_specific_service = compute_units_per_relay_for_specific_service * compute_units_to_tokens_multipler_global_value\n\nCompute units required per relay for this service","name":"service.compute_units_per_relay","in":"query"},{"type":"string","description":"The owner address that created the service.\nIt is the address that receives rewards based on the Service's on-chain usage\nIt is the only address that can update the service configuration (e.g. compute_units_per_relay),\nor make other updates to it.\n\nThe Bech32 address of the service owner / creator","name":"service.owner_address","in":"query"},{"type":"string","format":"int64","description":"The block height to query the session for","name":"block_height","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/poktroll.session.QueryGetSessionResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/pokt-network/poktroll/session/params":{"get":{"tags":["Query"],"summary":"Parameters queries the parameters of the module.","operationId":"GithubCompoktNetworkpoktrollQuery_ParamsMixin25","responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/poktroll.session.QueryParamsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/pokt-network/poktroll/shared/params":{"get":{"tags":["Query"],"summary":"Parameters queries the parameters of the module.","operationId":"GithubCompoktNetworkpoktrollQuery_ParamsMixin30","responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/poktroll.shared.QueryParamsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/pokt-network/poktroll/supplier/params":{"get":{"tags":["Query"],"summary":"Parameters queries the parameters of the module.","operationId":"GithubCompoktNetworkpoktrollQuery_ParamsMixin36","responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/poktroll.supplier.QueryParamsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/pokt-network/poktroll/supplier/supplier":{"get":{"tags":["Query"],"operationId":"GithubCompoktNetworkpoktrollQuery_AllSuppliers","parameters":[{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/poktroll.supplier.QueryAllSuppliersResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/pokt-network/poktroll/supplier/supplier/{operator_address}":{"get":{"tags":["Query"],"summary":"Queries a list of Supplier items.","operationId":"GithubCompoktNetworkpoktrollQuery_Supplier","parameters":[{"type":"string","name":"operator_address","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/poktroll.supplier.QueryGetSupplierResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/pokt-network/poktroll/tokenomics/params":{"get":{"tags":["Query"],"summary":"Parameters queries the parameters of the module.","operationId":"GithubCompoktNetworkpoktrollQuery_ParamsMixin41","responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/poktroll.tokenomics.QueryParamsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/pokt-network/poktroll/tokenomics/relay_mining_difficulty":{"get":{"tags":["Query"],"operationId":"GithubCompoktNetworkpoktrollQuery_RelayMiningDifficultyAll","parameters":[{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/poktroll.tokenomics.QueryAllRelayMiningDifficultyResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/pokt-network/poktroll/tokenomics/relay_mining_difficulty/{serviceId}":{"get":{"tags":["Query"],"summary":"Queries a list of RelayMiningDifficulty items.","operationId":"GithubCompoktNetworkpoktrollQuery_RelayMiningDifficulty","parameters":[{"type":"string","name":"serviceId","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/poktroll.tokenomics.QueryGetRelayMiningDifficultyResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/poktroll.application.Msg/DelegateToGateway":{"post":{"tags":["Msg"],"operationId":"GithubCompoktNetworkpoktrollMsg_DelegateToGateway","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/poktroll.application.MsgDelegateToGateway"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/poktroll.application.MsgDelegateToGatewayResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/poktroll.application.Msg/StakeApplication":{"post":{"tags":["Msg"],"operationId":"GithubCompoktNetworkpoktrollMsg_StakeApplication","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/poktroll.application.MsgStakeApplication"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/poktroll.application.MsgStakeApplicationResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/poktroll.application.Msg/UndelegateFromGateway":{"post":{"tags":["Msg"],"operationId":"GithubCompoktNetworkpoktrollMsg_UndelegateFromGateway","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/poktroll.application.MsgUndelegateFromGateway"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/poktroll.application.MsgUndelegateFromGatewayResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/poktroll.application.Msg/UnstakeApplication":{"post":{"tags":["Msg"],"operationId":"GithubCompoktNetworkpoktrollMsg_UnstakeApplication","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/poktroll.application.MsgUnstakeApplication"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/poktroll.application.MsgUnstakeApplicationResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/poktroll.application.Msg/UpdateParams":{"post":{"tags":["Msg"],"summary":"UpdateParams defines a (governance) operation for updating the module\nparameters. The authority defaults to the x/gov module account.","operationId":"GithubCompoktNetworkpoktrollMsg_UpdateParams","parameters":[{"description":"MsgUpdateParams is the Msg/UpdateParams request type.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/poktroll.application.MsgUpdateParams"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/poktroll.application.MsgUpdateParamsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/poktroll.gateway.Msg/StakeGateway":{"post":{"tags":["Msg"],"operationId":"GithubCompoktNetworkpoktrollMsg_StakeGateway","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/poktroll.gateway.MsgStakeGateway"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/poktroll.gateway.MsgStakeGatewayResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/poktroll.gateway.Msg/UnstakeGateway":{"post":{"tags":["Msg"],"operationId":"GithubCompoktNetworkpoktrollMsg_UnstakeGateway","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/poktroll.gateway.MsgUnstakeGateway"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/poktroll.gateway.MsgUnstakeGatewayResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/poktroll.gateway.Msg/UpdateParams":{"post":{"tags":["Msg"],"summary":"UpdateParams defines a (governance) operation for updating the module\nparameters. The authority defaults to the x/gov module account.","operationId":"GithubCompoktNetworkpoktrollMsg_UpdateParamsMixin10","parameters":[{"description":"MsgUpdateParams is the Msg/UpdateParams request type.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/poktroll.gateway.MsgUpdateParams"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/poktroll.gateway.MsgUpdateParamsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/poktroll.proof.Msg/CreateClaim":{"post":{"tags":["Msg"],"operationId":"GithubCompoktNetworkpoktrollMsg_CreateClaim","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/poktroll.proof.MsgCreateClaim"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/poktroll.proof.MsgCreateClaimResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/poktroll.proof.Msg/SubmitProof":{"post":{"tags":["Msg"],"operationId":"GithubCompoktNetworkpoktrollMsg_SubmitProof","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/poktroll.proof.MsgSubmitProof"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/poktroll.proof.MsgSubmitProofResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/poktroll.proof.Msg/UpdateParam":{"post":{"tags":["Msg"],"operationId":"GithubCompoktNetworkpoktrollMsg_UpdateParam","parameters":[{"description":"MsgUpdateParam is the Msg/UpdateParam request type to update a single param.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/poktroll.proof.MsgUpdateParam"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/poktroll.proof.MsgUpdateParamResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/poktroll.proof.Msg/UpdateParams":{"post":{"tags":["Msg"],"summary":"UpdateParams defines a (governance) operation for updating the module\nparameters. The authority defaults to the x/gov module account.","operationId":"GithubCompoktNetworkpoktrollMsg_UpdateParamsMixin16","parameters":[{"description":"MsgUpdateParams is the Msg/UpdateParams request type to update all params at once.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/poktroll.proof.MsgUpdateParams"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/poktroll.proof.MsgUpdateParamsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/poktroll.service.Msg/AddService":{"post":{"tags":["Msg"],"operationId":"GithubCompoktNetworkpoktrollMsg_AddService","parameters":[{"description":"MsgAddService defines a message for adding a new message to the network.\nServices can be added by any actor in the network making them truly\npermissionless.\nTODO_BETA: Add Champions / Sources once its fully defined.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/poktroll.service.MsgAddService"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/poktroll.service.MsgAddServiceResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/poktroll.service.Msg/UpdateParams":{"post":{"tags":["Msg"],"summary":"UpdateParams defines a (governance) operation for updating the module\nparameters. The authority defaults to the x/gov module account.","operationId":"GithubCompoktNetworkpoktrollMsg_UpdateParamsMixin22","parameters":[{"description":"MsgUpdateParams is the Msg/UpdateParams request type.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/poktroll.service.MsgUpdateParams"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/poktroll.service.MsgUpdateParamsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/poktroll.session.Msg/UpdateParams":{"post":{"tags":["Msg"],"summary":"UpdateParams defines a (governance) operation for updating the module\nparameters. The authority defaults to the x/gov module account.","operationId":"GithubCompoktNetworkpoktrollMsg_UpdateParamsMixin26","parameters":[{"description":"MsgUpdateParams is the Msg/UpdateParams request type.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/poktroll.session.MsgUpdateParams"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/poktroll.session.MsgUpdateParamsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/poktroll.shared.Msg/UpdateParam":{"post":{"tags":["Msg"],"operationId":"GithubCompoktNetworkpoktrollMsg_UpdateParamMixin33","parameters":[{"description":"MsgUpdateParam is the Msg/UpdateParam request type to update a single param.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/poktroll.shared.MsgUpdateParam"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/poktroll.shared.MsgUpdateParamResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/poktroll.shared.Msg/UpdateParams":{"post":{"tags":["Msg"],"summary":"UpdateParams defines a (governance) operation for updating the module\nparameters. The authority defaults to the x/gov module account.","operationId":"GithubCompoktNetworkpoktrollMsg_UpdateParamsMixin33","parameters":[{"description":"MsgUpdateParams is the Msg/UpdateParams request type.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/poktroll.shared.MsgUpdateParams"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/poktroll.shared.MsgUpdateParamsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/poktroll.supplier.Msg/StakeSupplier":{"post":{"tags":["Msg"],"operationId":"GithubCompoktNetworkpoktrollMsg_StakeSupplier","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/poktroll.supplier.MsgStakeSupplier"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/poktroll.supplier.MsgStakeSupplierResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/poktroll.supplier.Msg/UnstakeSupplier":{"post":{"tags":["Msg"],"operationId":"GithubCompoktNetworkpoktrollMsg_UnstakeSupplier","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/poktroll.supplier.MsgUnstakeSupplier"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/poktroll.supplier.MsgUnstakeSupplierResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/poktroll.supplier.Msg/UpdateParams":{"post":{"tags":["Msg"],"summary":"UpdateParams defines a (governance) operation for updating the module\nparameters. The authority defaults to the x/gov module account.","operationId":"GithubCompoktNetworkpoktrollMsg_UpdateParamsMixin37","parameters":[{"description":"MsgUpdateParams is the Msg/UpdateParams request type.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/poktroll.supplier.MsgUpdateParams"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/poktroll.supplier.MsgUpdateParamsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/poktroll.tokenomics.Msg/UpdateParam":{"post":{"tags":["Msg"],"operationId":"GithubCompoktNetworkpoktrollMsg_UpdateParamMixin43","parameters":[{"description":"MsgUpdateParam is the Msg/UpdateParam request type to update a single param.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/poktroll.tokenomics.MsgUpdateParam"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/poktroll.tokenomics.MsgUpdateParamResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/poktroll.tokenomics.Msg/UpdateParams":{"post":{"tags":["Msg"],"summary":"UpdateParams defines a (governance) operation for updating the module\nparameters. The authority defaults to the x/gov module account.","operationId":"GithubCompoktNetworkpoktrollMsg_UpdateParamsMixin43","parameters":[{"description":"MsgUpdateParams is the Msg/UpdateParams request type to update all params at once.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/poktroll.tokenomics.MsgUpdateParams"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/poktroll.tokenomics.MsgUpdateParamsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/tendermint.abci.ABCI/ApplySnapshotChunk":{"post":{"tags":["ABCI"],"operationId":"EvidenceABCI_ApplySnapshotChunk","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/tendermint.abci.RequestApplySnapshotChunk"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/tendermint.abci.ResponseApplySnapshotChunk"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/tendermint.abci.ABCI/CheckTx":{"post":{"tags":["ABCI"],"operationId":"EvidenceABCI_CheckTx","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/tendermint.abci.RequestCheckTx"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/tendermint.abci.ResponseCheckTx"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/tendermint.abci.ABCI/Commit":{"post":{"tags":["ABCI"],"operationId":"EvidenceABCI_Commit","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/tendermint.abci.RequestCommit"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/tendermint.abci.ResponseCommit"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/tendermint.abci.ABCI/Echo":{"post":{"tags":["ABCI"],"operationId":"EvidenceABCI_Echo","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/tendermint.abci.RequestEcho"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/tendermint.abci.ResponseEcho"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/tendermint.abci.ABCI/ExtendVote":{"post":{"tags":["ABCI"],"operationId":"EvidenceABCI_ExtendVote","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/tendermint.abci.RequestExtendVote"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/tendermint.abci.ResponseExtendVote"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/tendermint.abci.ABCI/FinalizeBlock":{"post":{"tags":["ABCI"],"operationId":"EvidenceABCI_FinalizeBlock","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/tendermint.abci.RequestFinalizeBlock"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/tendermint.abci.ResponseFinalizeBlock"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/tendermint.abci.ABCI/Flush":{"post":{"tags":["ABCI"],"operationId":"EvidenceABCI_Flush","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/tendermint.abci.RequestFlush"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/tendermint.abci.ResponseFlush"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/tendermint.abci.ABCI/Info":{"post":{"tags":["ABCI"],"operationId":"EvidenceABCI_Info","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/tendermint.abci.RequestInfo"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/tendermint.abci.ResponseInfo"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/tendermint.abci.ABCI/InitChain":{"post":{"tags":["ABCI"],"operationId":"EvidenceABCI_InitChain","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/tendermint.abci.RequestInitChain"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/tendermint.abci.ResponseInitChain"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/tendermint.abci.ABCI/ListSnapshots":{"post":{"tags":["ABCI"],"operationId":"EvidenceABCI_ListSnapshots","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/tendermint.abci.RequestListSnapshots"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/tendermint.abci.ResponseListSnapshots"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/tendermint.abci.ABCI/LoadSnapshotChunk":{"post":{"tags":["ABCI"],"operationId":"EvidenceABCI_LoadSnapshotChunk","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/tendermint.abci.RequestLoadSnapshotChunk"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/tendermint.abci.ResponseLoadSnapshotChunk"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/tendermint.abci.ABCI/OfferSnapshot":{"post":{"tags":["ABCI"],"operationId":"EvidenceABCI_OfferSnapshot","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/tendermint.abci.RequestOfferSnapshot"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/tendermint.abci.ResponseOfferSnapshot"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/tendermint.abci.ABCI/PrepareProposal":{"post":{"tags":["ABCI"],"operationId":"EvidenceABCI_PrepareProposal","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/tendermint.abci.RequestPrepareProposal"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/tendermint.abci.ResponsePrepareProposal"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/tendermint.abci.ABCI/ProcessProposal":{"post":{"tags":["ABCI"],"operationId":"EvidenceABCI_ProcessProposal","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/tendermint.abci.RequestProcessProposal"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/tendermint.abci.ResponseProcessProposal"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/tendermint.abci.ABCI/Query":{"post":{"tags":["ABCI"],"operationId":"EvidenceABCI_Query","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/tendermint.abci.RequestQuery"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/tendermint.abci.ResponseQuery"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/tendermint.abci.ABCI/VerifyVoteExtension":{"post":{"tags":["ABCI"],"operationId":"EvidenceABCI_VerifyVoteExtension","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/tendermint.abci.RequestVerifyVoteExtension"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/tendermint.abci.ResponseVerifyVoteExtension"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}}},"definitions":{"cosmos.auth.v1beta1.AddressBytesToStringResponse":{"description":"AddressBytesToStringResponse is the response type for AddressString rpc method.\n\nSince: cosmos-sdk 0.46","type":"object","properties":{"address_string":{"type":"string"}}},"cosmos.auth.v1beta1.AddressStringToBytesResponse":{"description":"AddressStringToBytesResponse is the response type for AddressBytes rpc method.\n\nSince: cosmos-sdk 0.46","type":"object","properties":{"address_bytes":{"type":"string","format":"byte"}}},"cosmos.auth.v1beta1.BaseAccount":{"description":"BaseAccount defines a base account type. It contains all the necessary fields\nfor basic account functionality. Any custom account type should extend this\ntype for additional functionality (e.g. vesting).","type":"object","properties":{"account_number":{"type":"string","format":"uint64"},"address":{"type":"string"},"pub_key":{"$ref":"#/definitions/google.protobuf.Any"},"sequence":{"type":"string","format":"uint64"}}},"cosmos.auth.v1beta1.Bech32PrefixResponse":{"description":"Bech32PrefixResponse is the response type for Bech32Prefix rpc method.\n\nSince: cosmos-sdk 0.46","type":"object","properties":{"bech32_prefix":{"type":"string"}}},"cosmos.auth.v1beta1.MsgUpdateParams":{"description":"MsgUpdateParams is the Msg/UpdateParams request type.\n\nSince: cosmos-sdk 0.47","type":"object","properties":{"authority":{"description":"authority is the address that controls the module (defaults to x/gov unless overwritten).","type":"string"},"params":{"description":"params defines the x/auth parameters to update.\n\nNOTE: All parameters must be supplied.","$ref":"#/definitions/cosmos.auth.v1beta1.Params"}}},"cosmos.auth.v1beta1.MsgUpdateParamsResponse":{"description":"MsgUpdateParamsResponse defines the response structure for executing a\nMsgUpdateParams message.\n\nSince: cosmos-sdk 0.47","type":"object"},"cosmos.auth.v1beta1.Params":{"description":"Params defines the parameters for the auth module.","type":"object","properties":{"max_memo_characters":{"type":"string","format":"uint64"},"sig_verify_cost_ed25519":{"type":"string","format":"uint64"},"sig_verify_cost_secp256k1":{"type":"string","format":"uint64"},"tx_sig_limit":{"type":"string","format":"uint64"},"tx_size_cost_per_byte":{"type":"string","format":"uint64"}}},"cosmos.auth.v1beta1.QueryAccountAddressByIDResponse":{"description":"Since: cosmos-sdk 0.46.2","type":"object","title":"QueryAccountAddressByIDResponse is the response type for AccountAddressByID rpc method","properties":{"account_address":{"type":"string"}}},"cosmos.auth.v1beta1.QueryAccountInfoResponse":{"description":"QueryAccountInfoResponse is the Query/AccountInfo response type.\n\nSince: cosmos-sdk 0.47","type":"object","properties":{"info":{"description":"info is the account info which is represented by BaseAccount.","$ref":"#/definitions/cosmos.auth.v1beta1.BaseAccount"}}},"cosmos.auth.v1beta1.QueryAccountResponse":{"description":"QueryAccountResponse is the response type for the Query/Account RPC method.","type":"object","properties":{"account":{"description":"account defines the account of the corresponding address.","$ref":"#/definitions/google.protobuf.Any"}}},"cosmos.auth.v1beta1.QueryAccountsResponse":{"description":"QueryAccountsResponse is the response type for the Query/Accounts RPC method.\n\nSince: cosmos-sdk 0.43","type":"object","properties":{"accounts":{"type":"array","title":"accounts are the existing accounts","items":{"type":"object","$ref":"#/definitions/google.protobuf.Any"}},"pagination":{"description":"pagination defines the pagination in the response.","$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"}}},"cosmos.auth.v1beta1.QueryModuleAccountByNameResponse":{"description":"QueryModuleAccountByNameResponse is the response type for the Query/ModuleAccountByName RPC method.","type":"object","properties":{"account":{"$ref":"#/definitions/google.protobuf.Any"}}},"cosmos.auth.v1beta1.QueryModuleAccountsResponse":{"description":"QueryModuleAccountsResponse is the response type for the Query/ModuleAccounts RPC method.\n\nSince: cosmos-sdk 0.46","type":"object","properties":{"accounts":{"type":"array","items":{"type":"object","$ref":"#/definitions/google.protobuf.Any"}}}},"cosmos.auth.v1beta1.QueryParamsResponse":{"description":"QueryParamsResponse is the response type for the Query/Params RPC method.","type":"object","properties":{"params":{"description":"params defines the parameters of the module.","$ref":"#/definitions/cosmos.auth.v1beta1.Params"}}},"cosmos.authz.v1beta1.Grant":{"description":"Grant gives permissions to execute\nthe provide method with expiration time.","type":"object","properties":{"authorization":{"$ref":"#/definitions/google.protobuf.Any"},"expiration":{"type":"string","format":"date-time","title":"time when the grant will expire and will be pruned. If null, then the grant\ndoesn't have a time expiration (other conditions in `authorization`\nmay apply to invalidate the grant)"}}},"cosmos.authz.v1beta1.GrantAuthorization":{"type":"object","title":"GrantAuthorization extends a grant with both the addresses of the grantee and granter.\nIt is used in genesis.proto and query.proto","properties":{"authorization":{"$ref":"#/definitions/google.protobuf.Any"},"expiration":{"type":"string","format":"date-time"},"grantee":{"type":"string"},"granter":{"type":"string"}}},"cosmos.authz.v1beta1.MsgExec":{"description":"MsgExec attempts to execute the provided messages using\nauthorizations granted to the grantee. Each message should have only\none signer corresponding to the granter of the authorization.","type":"object","properties":{"grantee":{"type":"string"},"msgs":{"description":"Execute Msg.\nThe x/authz will try to find a grant matching (msg.signers[0], grantee, MsgTypeURL(msg))\ntriple and validate it.","type":"array","items":{"type":"object","$ref":"#/definitions/google.protobuf.Any"}}}},"cosmos.authz.v1beta1.MsgExecResponse":{"description":"MsgExecResponse defines the Msg/MsgExecResponse response type.","type":"object","properties":{"results":{"type":"array","items":{"type":"string","format":"byte"}}}},"cosmos.authz.v1beta1.MsgGrant":{"description":"MsgGrant is a request type for Grant method. It declares authorization to the grantee\non behalf of the granter with the provided expiration time.","type":"object","properties":{"grant":{"$ref":"#/definitions/cosmos.authz.v1beta1.Grant"},"grantee":{"type":"string"},"granter":{"type":"string"}}},"cosmos.authz.v1beta1.MsgGrantResponse":{"description":"MsgGrantResponse defines the Msg/MsgGrant response type.","type":"object"},"cosmos.authz.v1beta1.MsgRevoke":{"description":"MsgRevoke revokes any authorization with the provided sdk.Msg type on the\ngranter's account with that has been granted to the grantee.","type":"object","properties":{"grantee":{"type":"string"},"granter":{"type":"string"},"msg_type_url":{"type":"string"}}},"cosmos.authz.v1beta1.MsgRevokeResponse":{"description":"MsgRevokeResponse defines the Msg/MsgRevokeResponse response type.","type":"object"},"cosmos.authz.v1beta1.QueryGranteeGrantsResponse":{"description":"QueryGranteeGrantsResponse is the response type for the Query/GranteeGrants RPC method.","type":"object","properties":{"grants":{"description":"grants is a list of grants granted to the grantee.","type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.authz.v1beta1.GrantAuthorization"}},"pagination":{"description":"pagination defines an pagination for the response.","$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"}}},"cosmos.authz.v1beta1.QueryGranterGrantsResponse":{"description":"QueryGranterGrantsResponse is the response type for the Query/GranterGrants RPC method.","type":"object","properties":{"grants":{"description":"grants is a list of grants granted by the granter.","type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.authz.v1beta1.GrantAuthorization"}},"pagination":{"description":"pagination defines an pagination for the response.","$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"}}},"cosmos.authz.v1beta1.QueryGrantsResponse":{"description":"QueryGrantsResponse is the response type for the Query/Authorizations RPC method.","type":"object","properties":{"grants":{"description":"authorizations is a list of grants granted for grantee by granter.","type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.authz.v1beta1.Grant"}},"pagination":{"description":"pagination defines an pagination for the response.","$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"}}},"cosmos.autocli.v1.AppOptionsRequest":{"description":"AppOptionsRequest is the RemoteInfoService/AppOptions request type.","type":"object"},"cosmos.autocli.v1.AppOptionsResponse":{"description":"AppOptionsResponse is the RemoteInfoService/AppOptions response type.","type":"object","properties":{"module_options":{"description":"module_options is a map of module name to autocli module options.","type":"object","additionalProperties":{"$ref":"#/definitions/cosmos.autocli.v1.ModuleOptions"}}}},"cosmos.autocli.v1.FlagOptions":{"description":"FlagOptions are options for flags generated from rpc request fields.\nBy default, all request fields are configured as flags based on the\nkebab-case name of the field. Fields can be turned into positional arguments\ninstead by using RpcCommandOptions.positional_args.","type":"object","properties":{"default_value":{"description":"default_value is the default value as text.","type":"string"},"deprecated":{"description":"deprecated is the usage text to show if this flag is deprecated.","type":"string"},"hidden":{"type":"boolean","title":"hidden hides the flag from help/usage text"},"name":{"description":"name is an alternate name to use for the field flag.","type":"string"},"shorthand":{"description":"shorthand is a one-letter abbreviated flag.","type":"string"},"shorthand_deprecated":{"description":"shorthand_deprecated is the usage text to show if the shorthand of this flag is deprecated.","type":"string"},"usage":{"description":"usage is the help message.","type":"string"}}},"cosmos.autocli.v1.ModuleOptions":{"description":"ModuleOptions describes the CLI options for a Cosmos SDK module.","type":"object","properties":{"query":{"description":"query describes the queries commands for the module.","$ref":"#/definitions/cosmos.autocli.v1.ServiceCommandDescriptor"},"tx":{"description":"tx describes the tx commands for the module.","$ref":"#/definitions/cosmos.autocli.v1.ServiceCommandDescriptor"}}},"cosmos.autocli.v1.PositionalArgDescriptor":{"description":"PositionalArgDescriptor describes a positional argument.","type":"object","properties":{"proto_field":{"description":"proto_field specifies the proto field to use as the positional arg. Any\nfields used as positional args will not have a flag generated.","type":"string"},"varargs":{"description":"varargs makes a positional parameter a varargs parameter. This can only be\napplied to last positional parameter and the proto_field must a repeated\nfield.","type":"boolean"}}},"cosmos.autocli.v1.RpcCommandOptions":{"description":"RpcCommandOptions specifies options for commands generated from protobuf\nrpc methods.","type":"object","properties":{"alias":{"description":"alias is an array of aliases that can be used instead of the first word in Use.","type":"array","items":{"type":"string"}},"deprecated":{"description":"deprecated defines, if this command is deprecated and should print this string when used.","type":"string"},"example":{"description":"example is examples of how to use the command.","type":"string"},"flag_options":{"description":"flag_options are options for flags generated from rpc request fields.\nBy default all request fields are configured as flags. They can\nalso be configured as positional args instead using positional_args.","type":"object","additionalProperties":{"$ref":"#/definitions/cosmos.autocli.v1.FlagOptions"}},"long":{"description":"long is the long message shown in the 'help \u003cthis-command\u003e' output.","type":"string"},"positional_args":{"description":"positional_args specifies positional arguments for the command.","type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.autocli.v1.PositionalArgDescriptor"}},"rpc_method":{"description":"rpc_method is short name of the protobuf rpc method that this command is\ngenerated from.","type":"string"},"short":{"description":"short is the short description shown in the 'help' output.","type":"string"},"skip":{"description":"skip specifies whether to skip this rpc method when generating commands.","type":"boolean"},"suggest_for":{"description":"suggest_for is an array of command names for which this command will be suggested -\nsimilar to aliases but only suggests.","type":"array","items":{"type":"string"}},"use":{"description":"use is the one-line usage method. It also allows specifying an alternate\nname for the command as the first word of the usage text.\n\nBy default the name of an rpc command is the kebab-case short name of the\nrpc method.","type":"string"},"version":{"description":"version defines the version for this command. If this value is non-empty and the command does not\ndefine a \"version\" flag, a \"version\" boolean flag will be added to the command and, if specified,\nwill print content of the \"Version\" variable. A shorthand \"v\" flag will also be added if the\ncommand does not define one.","type":"string"}}},"cosmos.autocli.v1.ServiceCommandDescriptor":{"description":"ServiceCommandDescriptor describes a CLI command based on a protobuf service.","type":"object","properties":{"rpc_command_options":{"description":"rpc_command_options are options for commands generated from rpc methods.\nIf no options are specified for a given rpc method on the service, a\ncommand will be generated for that method with the default options.","type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.autocli.v1.RpcCommandOptions"}},"service":{"description":"service is the fully qualified name of the protobuf service to build\nthe command from. It can be left empty if sub_commands are used instead\nwhich may be the case if a module provides multiple tx and/or query services.","type":"string"},"sub_commands":{"description":"sub_commands is a map of optional sub-commands for this command based on\ndifferent protobuf services. The map key is used as the name of the\nsub-command.","type":"object","additionalProperties":{"$ref":"#/definitions/cosmos.autocli.v1.ServiceCommandDescriptor"}}}},"cosmos.bank.v1beta1.DenomOwner":{"description":"DenomOwner defines structure representing an account that owns or holds a\nparticular denominated token. It contains the account address and account\nbalance of the denominated token.\n\nSince: cosmos-sdk 0.46","type":"object","properties":{"address":{"description":"address defines the address that owns a particular denomination.","type":"string"},"balance":{"description":"balance is the balance of the denominated coin for an account.","$ref":"#/definitions/cosmos.base.v1beta1.Coin"}}},"cosmos.bank.v1beta1.DenomUnit":{"description":"DenomUnit represents a struct that describes a given\ndenomination unit of the basic token.","type":"object","properties":{"aliases":{"type":"array","title":"aliases is a list of string aliases for the given denom","items":{"type":"string"}},"denom":{"description":"denom represents the string name of the given denom unit (e.g uatom).","type":"string"},"exponent":{"description":"exponent represents power of 10 exponent that one must\nraise the base_denom to in order to equal the given DenomUnit's denom\n1 denom = 10^exponent base_denom\n(e.g. with a base_denom of uatom, one can create a DenomUnit of 'atom' with\nexponent = 6, thus: 1 atom = 10^6 uatom).","type":"integer","format":"int64"}}},"cosmos.bank.v1beta1.Input":{"description":"Input models transaction input.","type":"object","properties":{"address":{"type":"string"},"coins":{"type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.base.v1beta1.Coin"}}}},"cosmos.bank.v1beta1.Metadata":{"description":"Metadata represents a struct that describes\na basic token.","type":"object","properties":{"base":{"description":"base represents the base denom (should be the DenomUnit with exponent = 0).","type":"string"},"denom_units":{"type":"array","title":"denom_units represents the list of DenomUnit's for a given coin","items":{"type":"object","$ref":"#/definitions/cosmos.bank.v1beta1.DenomUnit"}},"description":{"type":"string"},"display":{"description":"display indicates the suggested denom that should be\ndisplayed in clients.","type":"string"},"name":{"description":"Since: cosmos-sdk 0.43","type":"string","title":"name defines the name of the token (eg: Cosmos Atom)"},"symbol":{"description":"symbol is the token symbol usually shown on exchanges (eg: ATOM). This can\nbe the same as the display.\n\nSince: cosmos-sdk 0.43","type":"string"},"uri":{"description":"URI to a document (on or off-chain) that contains additional information. Optional.\n\nSince: cosmos-sdk 0.46","type":"string"},"uri_hash":{"description":"URIHash is a sha256 hash of a document pointed by URI. It's used to verify that\nthe document didn't change. Optional.\n\nSince: cosmos-sdk 0.46","type":"string"}}},"cosmos.bank.v1beta1.MsgMultiSend":{"description":"MsgMultiSend represents an arbitrary multi-in, multi-out send message.","type":"object","properties":{"inputs":{"description":"Inputs, despite being `repeated`, only allows one sender input. This is\nchecked in MsgMultiSend's ValidateBasic.","type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.bank.v1beta1.Input"}},"outputs":{"type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.bank.v1beta1.Output"}}}},"cosmos.bank.v1beta1.MsgMultiSendResponse":{"description":"MsgMultiSendResponse defines the Msg/MultiSend response type.","type":"object"},"cosmos.bank.v1beta1.MsgSend":{"description":"MsgSend represents a message to send coins from one account to another.","type":"object","properties":{"amount":{"type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.base.v1beta1.Coin"}},"from_address":{"type":"string"},"to_address":{"type":"string"}}},"cosmos.bank.v1beta1.MsgSendResponse":{"description":"MsgSendResponse defines the Msg/Send response type.","type":"object"},"cosmos.bank.v1beta1.MsgSetSendEnabled":{"description":"MsgSetSendEnabled is the Msg/SetSendEnabled request type.\n\nOnly entries to add/update/delete need to be included.\nExisting SendEnabled entries that are not included in this\nmessage are left unchanged.\n\nSince: cosmos-sdk 0.47","type":"object","properties":{"authority":{"description":"authority is the address that controls the module.","type":"string"},"send_enabled":{"description":"send_enabled is the list of entries to add or update.","type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.bank.v1beta1.SendEnabled"}},"use_default_for":{"description":"use_default_for is a list of denoms that should use the params.default_send_enabled value.\nDenoms listed here will have their SendEnabled entries deleted.\nIf a denom is included that doesn't have a SendEnabled entry,\nit will be ignored.","type":"array","items":{"type":"string"}}}},"cosmos.bank.v1beta1.MsgSetSendEnabledResponse":{"description":"MsgSetSendEnabledResponse defines the Msg/SetSendEnabled response type.\n\nSince: cosmos-sdk 0.47","type":"object"},"cosmos.bank.v1beta1.MsgUpdateParams":{"description":"MsgUpdateParams is the Msg/UpdateParams request type.\n\nSince: cosmos-sdk 0.47","type":"object","properties":{"authority":{"description":"authority is the address that controls the module (defaults to x/gov unless overwritten).","type":"string"},"params":{"description":"params defines the x/bank parameters to update.\n\nNOTE: All parameters must be supplied.","$ref":"#/definitions/cosmos.bank.v1beta1.Params"}}},"cosmos.bank.v1beta1.MsgUpdateParamsResponse":{"description":"MsgUpdateParamsResponse defines the response structure for executing a\nMsgUpdateParams message.\n\nSince: cosmos-sdk 0.47","type":"object"},"cosmos.bank.v1beta1.Output":{"description":"Output models transaction outputs.","type":"object","properties":{"address":{"type":"string"},"coins":{"type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.base.v1beta1.Coin"}}}},"cosmos.bank.v1beta1.Params":{"description":"Params defines the parameters for the bank module.","type":"object","properties":{"default_send_enabled":{"type":"boolean"},"send_enabled":{"description":"Deprecated: Use of SendEnabled in params is deprecated.\nFor genesis, use the newly added send_enabled field in the genesis object.\nStorage, lookup, and manipulation of this information is now in the keeper.\n\nAs of cosmos-sdk 0.47, this only exists for backwards compatibility of genesis files.","type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.bank.v1beta1.SendEnabled"}}}},"cosmos.bank.v1beta1.QueryAllBalancesResponse":{"description":"QueryAllBalancesResponse is the response type for the Query/AllBalances RPC\nmethod.","type":"object","properties":{"balances":{"description":"balances is the balances of all the coins.","type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.base.v1beta1.Coin"}},"pagination":{"description":"pagination defines the pagination in the response.","$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"}}},"cosmos.bank.v1beta1.QueryBalanceResponse":{"description":"QueryBalanceResponse is the response type for the Query/Balance RPC method.","type":"object","properties":{"balance":{"description":"balance is the balance of the coin.","$ref":"#/definitions/cosmos.base.v1beta1.Coin"}}},"cosmos.bank.v1beta1.QueryDenomMetadataByQueryStringResponse":{"description":"QueryDenomMetadataByQueryStringResponse is the response type for the Query/DenomMetadata RPC\nmethod. Identical with QueryDenomMetadataResponse but receives denom as query string in request.","type":"object","properties":{"metadata":{"description":"metadata describes and provides all the client information for the requested token.","$ref":"#/definitions/cosmos.bank.v1beta1.Metadata"}}},"cosmos.bank.v1beta1.QueryDenomMetadataResponse":{"description":"QueryDenomMetadataResponse is the response type for the Query/DenomMetadata RPC\nmethod.","type":"object","properties":{"metadata":{"description":"metadata describes and provides all the client information for the requested token.","$ref":"#/definitions/cosmos.bank.v1beta1.Metadata"}}},"cosmos.bank.v1beta1.QueryDenomOwnersByQueryResponse":{"description":"QueryDenomOwnersByQueryResponse defines the RPC response of a DenomOwnersByQuery RPC query.\n\nSince: cosmos-sdk 0.50.3","type":"object","properties":{"denom_owners":{"type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.bank.v1beta1.DenomOwner"}},"pagination":{"description":"pagination defines the pagination in the response.","$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"}}},"cosmos.bank.v1beta1.QueryDenomOwnersResponse":{"description":"QueryDenomOwnersResponse defines the RPC response of a DenomOwners RPC query.\n\nSince: cosmos-sdk 0.46","type":"object","properties":{"denom_owners":{"type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.bank.v1beta1.DenomOwner"}},"pagination":{"description":"pagination defines the pagination in the response.","$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"}}},"cosmos.bank.v1beta1.QueryDenomsMetadataResponse":{"description":"QueryDenomsMetadataResponse is the response type for the Query/DenomsMetadata RPC\nmethod.","type":"object","properties":{"metadatas":{"description":"metadata provides the client information for all the registered tokens.","type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.bank.v1beta1.Metadata"}},"pagination":{"description":"pagination defines the pagination in the response.","$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"}}},"cosmos.bank.v1beta1.QueryParamsResponse":{"description":"QueryParamsResponse defines the response type for querying x/bank parameters.","type":"object","properties":{"params":{"description":"params provides the parameters of the bank module.","$ref":"#/definitions/cosmos.bank.v1beta1.Params"}}},"cosmos.bank.v1beta1.QuerySendEnabledResponse":{"description":"QuerySendEnabledResponse defines the RPC response of a SendEnable query.\n\nSince: cosmos-sdk 0.47","type":"object","properties":{"pagination":{"description":"pagination defines the pagination in the response. This field is only\npopulated if the denoms field in the request is empty.","$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"},"send_enabled":{"type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.bank.v1beta1.SendEnabled"}}}},"cosmos.bank.v1beta1.QuerySpendableBalanceByDenomResponse":{"description":"QuerySpendableBalanceByDenomResponse defines the gRPC response structure for\nquerying an account's spendable balance for a specific denom.\n\nSince: cosmos-sdk 0.47","type":"object","properties":{"balance":{"description":"balance is the balance of the coin.","$ref":"#/definitions/cosmos.base.v1beta1.Coin"}}},"cosmos.bank.v1beta1.QuerySpendableBalancesResponse":{"description":"QuerySpendableBalancesResponse defines the gRPC response structure for querying\nan account's spendable balances.\n\nSince: cosmos-sdk 0.46","type":"object","properties":{"balances":{"description":"balances is the spendable balances of all the coins.","type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.base.v1beta1.Coin"}},"pagination":{"description":"pagination defines the pagination in the response.","$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"}}},"cosmos.bank.v1beta1.QuerySupplyOfResponse":{"description":"QuerySupplyOfResponse is the response type for the Query/SupplyOf RPC method.","type":"object","properties":{"amount":{"description":"amount is the supply of the coin.","$ref":"#/definitions/cosmos.base.v1beta1.Coin"}}},"cosmos.bank.v1beta1.QueryTotalSupplyResponse":{"type":"object","title":"QueryTotalSupplyResponse is the response type for the Query/TotalSupply RPC\nmethod","properties":{"pagination":{"description":"pagination defines the pagination in the response.\n\nSince: cosmos-sdk 0.43","$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"},"supply":{"type":"array","title":"supply is the supply of the coins","items":{"type":"object","$ref":"#/definitions/cosmos.base.v1beta1.Coin"}}}},"cosmos.bank.v1beta1.SendEnabled":{"description":"SendEnabled maps coin denom to a send_enabled status (whether a denom is\nsendable).","type":"object","properties":{"denom":{"type":"string"},"enabled":{"type":"boolean"}}},"cosmos.base.abci.v1beta1.ABCIMessageLog":{"description":"ABCIMessageLog defines a structure containing an indexed tx ABCI message log.","type":"object","properties":{"events":{"description":"Events contains a slice of Event objects that were emitted during some\nexecution.","type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.base.abci.v1beta1.StringEvent"}},"log":{"type":"string"},"msg_index":{"type":"integer","format":"int64"}}},"cosmos.base.abci.v1beta1.Attribute":{"description":"Attribute defines an attribute wrapper where the key and value are\nstrings instead of raw bytes.","type":"object","properties":{"key":{"type":"string"},"value":{"type":"string"}}},"cosmos.base.abci.v1beta1.GasInfo":{"description":"GasInfo defines tx execution gas context.","type":"object","properties":{"gas_used":{"description":"GasUsed is the amount of gas actually consumed.","type":"string","format":"uint64"},"gas_wanted":{"description":"GasWanted is the maximum units of work we allow this tx to perform.","type":"string","format":"uint64"}}},"cosmos.base.abci.v1beta1.Result":{"description":"Result is the union of ResponseFormat and ResponseCheckTx.","type":"object","properties":{"data":{"description":"Data is any data returned from message or handler execution. It MUST be\nlength prefixed in order to separate data from multiple message executions.\nDeprecated. This field is still populated, but prefer msg_response instead\nbecause it also contains the Msg response typeURL.","type":"string","format":"byte"},"events":{"description":"Events contains a slice of Event objects that were emitted during message\nor handler execution.","type":"array","items":{"type":"object","$ref":"#/definitions/tendermint.abci.Event"}},"log":{"description":"Log contains the log information from message or handler execution.","type":"string"},"msg_responses":{"description":"msg_responses contains the Msg handler responses type packed in Anys.\n\nSince: cosmos-sdk 0.46","type":"array","items":{"type":"object","$ref":"#/definitions/google.protobuf.Any"}}}},"cosmos.base.abci.v1beta1.StringEvent":{"description":"StringEvent defines en Event object wrapper where all the attributes\ncontain key/value pairs that are strings instead of raw bytes.","type":"object","properties":{"attributes":{"type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.base.abci.v1beta1.Attribute"}},"type":{"type":"string"}}},"cosmos.base.abci.v1beta1.TxResponse":{"description":"TxResponse defines a structure containing relevant tx data and metadata. The\ntags are stringified and the log is JSON decoded.","type":"object","properties":{"code":{"description":"Response code.","type":"integer","format":"int64"},"codespace":{"type":"string","title":"Namespace for the Code"},"data":{"description":"Result bytes, if any.","type":"string"},"events":{"description":"Events defines all the events emitted by processing a transaction. Note,\nthese events include those emitted by processing all the messages and those\nemitted from the ante. Whereas Logs contains the events, with\nadditional metadata, emitted only by processing the messages.\n\nSince: cosmos-sdk 0.42.11, 0.44.5, 0.45","type":"array","items":{"type":"object","$ref":"#/definitions/tendermint.abci.Event"}},"gas_used":{"description":"Amount of gas consumed by transaction.","type":"string","format":"int64"},"gas_wanted":{"description":"Amount of gas requested for transaction.","type":"string","format":"int64"},"height":{"type":"string","format":"int64","title":"The block height"},"info":{"description":"Additional information. May be non-deterministic.","type":"string"},"logs":{"description":"The output of the application's logger (typed). May be non-deterministic.","type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.base.abci.v1beta1.ABCIMessageLog"}},"raw_log":{"description":"The output of the application's logger (raw string). May be\nnon-deterministic.","type":"string"},"timestamp":{"description":"Time of the previous block. For heights \u003e 1, it's the weighted median of\nthe timestamps of the valid votes in the block.LastCommit. For height == 1,\nit's genesis time.","type":"string"},"tx":{"description":"The request transaction bytes.","$ref":"#/definitions/google.protobuf.Any"},"txhash":{"description":"The transaction hash.","type":"string"}}},"cosmos.base.node.v1beta1.ConfigResponse":{"description":"ConfigResponse defines the response structure for the Config gRPC query.","type":"object","properties":{"halt_height":{"type":"string","format":"uint64"},"minimum_gas_price":{"type":"string"},"pruning_interval":{"type":"string"},"pruning_keep_recent":{"type":"string"}}},"cosmos.base.node.v1beta1.StatusResponse":{"description":"StateResponse defines the response structure for the status of a node.","type":"object","properties":{"app_hash":{"type":"string","format":"byte","title":"app hash of the current block"},"earliest_store_height":{"type":"string","format":"uint64","title":"earliest block height available in the store"},"height":{"type":"string","format":"uint64","title":"current block height"},"timestamp":{"type":"string","format":"date-time","title":"block height timestamp"},"validator_hash":{"type":"string","format":"byte","title":"validator hash provided by the consensus header"}}},"cosmos.base.query.v1beta1.PageRequest":{"description":"message SomeRequest {\n Foo some_parameter = 1;\n PageRequest pagination = 2;\n }","type":"object","title":"PageRequest is to be embedded in gRPC request messages for efficient\npagination. Ex:","properties":{"count_total":{"description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","type":"boolean"},"key":{"description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","type":"string","format":"byte"},"limit":{"description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","type":"string","format":"uint64"},"offset":{"description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","type":"string","format":"uint64"},"reverse":{"description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","type":"boolean"}}},"cosmos.base.query.v1beta1.PageResponse":{"description":"PageResponse is to be embedded in gRPC response messages where the\ncorresponding request message has used PageRequest.\n\n message SomeResponse {\n repeated Bar results = 1;\n PageResponse page = 2;\n }","type":"object","properties":{"next_key":{"description":"next_key is the key to be passed to PageRequest.key to\nquery the next page most efficiently. It will be empty if\nthere are no more results.","type":"string","format":"byte"},"total":{"type":"string","format":"uint64","title":"total is total number of results available if PageRequest.count_total\nwas set, its value is undefined otherwise"}}},"cosmos.base.reflection.v1beta1.ListAllInterfacesResponse":{"description":"ListAllInterfacesResponse is the response type of the ListAllInterfaces RPC.","type":"object","properties":{"interface_names":{"description":"interface_names is an array of all the registered interfaces.","type":"array","items":{"type":"string"}}}},"cosmos.base.reflection.v1beta1.ListImplementationsResponse":{"description":"ListImplementationsResponse is the response type of the ListImplementations\nRPC.","type":"object","properties":{"implementation_message_names":{"type":"array","items":{"type":"string"}}}},"cosmos.base.reflection.v2alpha1.AuthnDescriptor":{"type":"object","title":"AuthnDescriptor provides information on how to sign transactions without relying\non the online RPCs GetTxMetadata and CombineUnsignedTxAndSignatures","properties":{"sign_modes":{"type":"array","title":"sign_modes defines the supported signature algorithm","items":{"type":"object","$ref":"#/definitions/cosmos.base.reflection.v2alpha1.SigningModeDescriptor"}}}},"cosmos.base.reflection.v2alpha1.ChainDescriptor":{"type":"object","title":"ChainDescriptor describes chain information of the application","properties":{"id":{"type":"string","title":"id is the chain id"}}},"cosmos.base.reflection.v2alpha1.CodecDescriptor":{"type":"object","title":"CodecDescriptor describes the registered interfaces and provides metadata information on the types","properties":{"interfaces":{"type":"array","title":"interfaces is a list of the registerted interfaces descriptors","items":{"type":"object","$ref":"#/definitions/cosmos.base.reflection.v2alpha1.InterfaceDescriptor"}}}},"cosmos.base.reflection.v2alpha1.ConfigurationDescriptor":{"type":"object","title":"ConfigurationDescriptor contains metadata information on the sdk.Config","properties":{"bech32_account_address_prefix":{"type":"string","title":"bech32_account_address_prefix is the account address prefix"}}},"cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse":{"type":"object","title":"GetAuthnDescriptorResponse is the response returned by the GetAuthnDescriptor RPC","properties":{"authn":{"title":"authn describes how to authenticate to the application when sending transactions","$ref":"#/definitions/cosmos.base.reflection.v2alpha1.AuthnDescriptor"}}},"cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse":{"type":"object","title":"GetChainDescriptorResponse is the response returned by the GetChainDescriptor RPC","properties":{"chain":{"title":"chain describes application chain information","$ref":"#/definitions/cosmos.base.reflection.v2alpha1.ChainDescriptor"}}},"cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse":{"type":"object","title":"GetCodecDescriptorResponse is the response returned by the GetCodecDescriptor RPC","properties":{"codec":{"title":"codec describes the application codec such as registered interfaces and implementations","$ref":"#/definitions/cosmos.base.reflection.v2alpha1.CodecDescriptor"}}},"cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorResponse":{"type":"object","title":"GetConfigurationDescriptorResponse is the response returned by the GetConfigurationDescriptor RPC","properties":{"config":{"title":"config describes the application's sdk.Config","$ref":"#/definitions/cosmos.base.reflection.v2alpha1.ConfigurationDescriptor"}}},"cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorResponse":{"type":"object","title":"GetQueryServicesDescriptorResponse is the response returned by the GetQueryServicesDescriptor RPC","properties":{"queries":{"title":"queries provides information on the available queryable services","$ref":"#/definitions/cosmos.base.reflection.v2alpha1.QueryServicesDescriptor"}}},"cosmos.base.reflection.v2alpha1.GetTxDescriptorResponse":{"type":"object","title":"GetTxDescriptorResponse is the response returned by the GetTxDescriptor RPC","properties":{"tx":{"title":"tx provides information on msgs that can be forwarded to the application\nalongside the accepted transaction protobuf type","$ref":"#/definitions/cosmos.base.reflection.v2alpha1.TxDescriptor"}}},"cosmos.base.reflection.v2alpha1.InterfaceAcceptingMessageDescriptor":{"type":"object","title":"InterfaceAcceptingMessageDescriptor describes a protobuf message which contains\nan interface represented as a google.protobuf.Any","properties":{"field_descriptor_names":{"type":"array","title":"field_descriptor_names is a list of the protobuf name (not fullname) of the field\nwhich contains the interface as google.protobuf.Any (the interface is the same, but\nit can be in multiple fields of the same proto message)","items":{"type":"string"}},"fullname":{"type":"string","title":"fullname is the protobuf fullname of the type containing the interface"}}},"cosmos.base.reflection.v2alpha1.InterfaceDescriptor":{"type":"object","title":"InterfaceDescriptor describes the implementation of an interface","properties":{"fullname":{"type":"string","title":"fullname is the name of the interface"},"interface_accepting_messages":{"type":"array","title":"interface_accepting_messages contains information regarding the proto messages which contain the interface as\ngoogle.protobuf.Any field","items":{"type":"object","$ref":"#/definitions/cosmos.base.reflection.v2alpha1.InterfaceAcceptingMessageDescriptor"}},"interface_implementers":{"type":"array","title":"interface_implementers is a list of the descriptors of the interface implementers","items":{"type":"object","$ref":"#/definitions/cosmos.base.reflection.v2alpha1.InterfaceImplementerDescriptor"}}}},"cosmos.base.reflection.v2alpha1.InterfaceImplementerDescriptor":{"type":"object","title":"InterfaceImplementerDescriptor describes an interface implementer","properties":{"fullname":{"type":"string","title":"fullname is the protobuf queryable name of the interface implementer"},"type_url":{"type":"string","title":"type_url defines the type URL used when marshalling the type as any\nthis is required so we can provide type safe google.protobuf.Any marshalling and\nunmarshalling, making sure that we don't accept just 'any' type\nin our interface fields"}}},"cosmos.base.reflection.v2alpha1.MsgDescriptor":{"type":"object","title":"MsgDescriptor describes a cosmos-sdk message that can be delivered with a transaction","properties":{"msg_type_url":{"description":"msg_type_url contains the TypeURL of a sdk.Msg.","type":"string"}}},"cosmos.base.reflection.v2alpha1.QueryMethodDescriptor":{"type":"object","title":"QueryMethodDescriptor describes a queryable method of a query service\nno other info is provided beside method name and tendermint queryable path\nbecause it would be redundant with the grpc reflection service","properties":{"full_query_path":{"type":"string","title":"full_query_path is the path that can be used to query\nthis method via tendermint abci.Query"},"name":{"type":"string","title":"name is the protobuf name (not fullname) of the method"}}},"cosmos.base.reflection.v2alpha1.QueryServiceDescriptor":{"type":"object","title":"QueryServiceDescriptor describes a cosmos-sdk queryable service","properties":{"fullname":{"type":"string","title":"fullname is the protobuf fullname of the service descriptor"},"is_module":{"type":"boolean","title":"is_module describes if this service is actually exposed by an application's module"},"methods":{"type":"array","title":"methods provides a list of query service methods","items":{"type":"object","$ref":"#/definitions/cosmos.base.reflection.v2alpha1.QueryMethodDescriptor"}}}},"cosmos.base.reflection.v2alpha1.QueryServicesDescriptor":{"type":"object","title":"QueryServicesDescriptor contains the list of cosmos-sdk queriable services","properties":{"query_services":{"type":"array","title":"query_services is a list of cosmos-sdk QueryServiceDescriptor","items":{"type":"object","$ref":"#/definitions/cosmos.base.reflection.v2alpha1.QueryServiceDescriptor"}}}},"cosmos.base.reflection.v2alpha1.SigningModeDescriptor":{"type":"object","title":"SigningModeDescriptor provides information on a signing flow of the application\nNOTE(fdymylja): here we could go as far as providing an entire flow on how\nto sign a message given a SigningModeDescriptor, but it's better to think about\nthis another time","properties":{"authn_info_provider_method_fullname":{"type":"string","title":"authn_info_provider_method_fullname defines the fullname of the method to call to get\nthe metadata required to authenticate using the provided sign_modes"},"name":{"type":"string","title":"name defines the unique name of the signing mode"},"number":{"type":"integer","format":"int32","title":"number is the unique int32 identifier for the sign_mode enum"}}},"cosmos.base.reflection.v2alpha1.TxDescriptor":{"type":"object","title":"TxDescriptor describes the accepted transaction type","properties":{"fullname":{"description":"fullname is the protobuf fullname of the raw transaction type (for instance the tx.Tx type)\nit is not meant to support polymorphism of transaction types, it is supposed to be used by\nreflection clients to understand if they can handle a specific transaction type in an application.","type":"string"},"msgs":{"type":"array","title":"msgs lists the accepted application messages (sdk.Msg)","items":{"type":"object","$ref":"#/definitions/cosmos.base.reflection.v2alpha1.MsgDescriptor"}}}},"cosmos.base.tendermint.v1beta1.ABCIQueryResponse":{"description":"ABCIQueryResponse defines the response structure for the ABCIQuery gRPC query.\n\nNote: This type is a duplicate of the ResponseQuery proto type defined in\nTendermint.","type":"object","properties":{"code":{"type":"integer","format":"int64"},"codespace":{"type":"string"},"height":{"type":"string","format":"int64"},"index":{"type":"string","format":"int64"},"info":{"type":"string","title":"nondeterministic"},"key":{"type":"string","format":"byte"},"log":{"type":"string","title":"nondeterministic"},"proof_ops":{"$ref":"#/definitions/cosmos.base.tendermint.v1beta1.ProofOps"},"value":{"type":"string","format":"byte"}}},"cosmos.base.tendermint.v1beta1.Block":{"description":"Block is tendermint type Block, with the Header proposer address\nfield converted to bech32 string.","type":"object","properties":{"data":{"$ref":"#/definitions/tendermint.types.Data"},"evidence":{"$ref":"#/definitions/tendermint.types.EvidenceList"},"header":{"$ref":"#/definitions/cosmos.base.tendermint.v1beta1.Header"},"last_commit":{"$ref":"#/definitions/tendermint.types.Commit"}}},"cosmos.base.tendermint.v1beta1.GetBlockByHeightResponse":{"description":"GetBlockByHeightResponse is the response type for the Query/GetBlockByHeight RPC method.","type":"object","properties":{"block":{"title":"Deprecated: please use `sdk_block` instead","$ref":"#/definitions/tendermint.types.Block"},"block_id":{"$ref":"#/definitions/tendermint.types.BlockID"},"sdk_block":{"title":"Since: cosmos-sdk 0.47","$ref":"#/definitions/cosmos.base.tendermint.v1beta1.Block"}}},"cosmos.base.tendermint.v1beta1.GetLatestBlockResponse":{"description":"GetLatestBlockResponse is the response type for the Query/GetLatestBlock RPC method.","type":"object","properties":{"block":{"title":"Deprecated: please use `sdk_block` instead","$ref":"#/definitions/tendermint.types.Block"},"block_id":{"$ref":"#/definitions/tendermint.types.BlockID"},"sdk_block":{"title":"Since: cosmos-sdk 0.47","$ref":"#/definitions/cosmos.base.tendermint.v1beta1.Block"}}},"cosmos.base.tendermint.v1beta1.GetLatestValidatorSetResponse":{"description":"GetLatestValidatorSetResponse is the response type for the Query/GetValidatorSetByHeight RPC method.","type":"object","properties":{"block_height":{"type":"string","format":"int64"},"pagination":{"description":"pagination defines an pagination for the response.","$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"},"validators":{"type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.base.tendermint.v1beta1.Validator"}}}},"cosmos.base.tendermint.v1beta1.GetNodeInfoResponse":{"description":"GetNodeInfoResponse is the response type for the Query/GetNodeInfo RPC method.","type":"object","properties":{"application_version":{"$ref":"#/definitions/cosmos.base.tendermint.v1beta1.VersionInfo"},"default_node_info":{"$ref":"#/definitions/tendermint.p2p.DefaultNodeInfo"}}},"cosmos.base.tendermint.v1beta1.GetSyncingResponse":{"description":"GetSyncingResponse is the response type for the Query/GetSyncing RPC method.","type":"object","properties":{"syncing":{"type":"boolean"}}},"cosmos.base.tendermint.v1beta1.GetValidatorSetByHeightResponse":{"description":"GetValidatorSetByHeightResponse is the response type for the Query/GetValidatorSetByHeight RPC method.","type":"object","properties":{"block_height":{"type":"string","format":"int64"},"pagination":{"description":"pagination defines an pagination for the response.","$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"},"validators":{"type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.base.tendermint.v1beta1.Validator"}}}},"cosmos.base.tendermint.v1beta1.Header":{"description":"Header defines the structure of a Tendermint block header.","type":"object","properties":{"app_hash":{"type":"string","format":"byte","title":"state after txs from the previous block"},"chain_id":{"type":"string"},"consensus_hash":{"type":"string","format":"byte","title":"consensus params for current block"},"data_hash":{"type":"string","format":"byte","title":"transactions"},"evidence_hash":{"description":"evidence included in the block","type":"string","format":"byte","title":"consensus info"},"height":{"type":"string","format":"int64"},"last_block_id":{"title":"prev block info","$ref":"#/definitions/tendermint.types.BlockID"},"last_commit_hash":{"description":"commit from validators from the last block","type":"string","format":"byte","title":"hashes of block data"},"last_results_hash":{"type":"string","format":"byte","title":"root hash of all results from the txs from the previous block"},"next_validators_hash":{"type":"string","format":"byte","title":"validators for the next block"},"proposer_address":{"description":"proposer_address is the original block proposer address, formatted as a Bech32 string.\nIn Tendermint, this type is `bytes`, but in the SDK, we convert it to a Bech32 string\nfor better UX.\n\noriginal proposer of the block","type":"string"},"time":{"type":"string","format":"date-time"},"validators_hash":{"description":"validators for the current block","type":"string","format":"byte","title":"hashes from the app output from the prev block"},"version":{"title":"basic block info","$ref":"#/definitions/tendermint.version.Consensus"}}},"cosmos.base.tendermint.v1beta1.Module":{"type":"object","title":"Module is the type for VersionInfo","properties":{"path":{"type":"string","title":"module path"},"sum":{"type":"string","title":"checksum"},"version":{"type":"string","title":"module version"}}},"cosmos.base.tendermint.v1beta1.ProofOp":{"description":"ProofOp defines an operation used for calculating Merkle root. The data could\nbe arbitrary format, providing necessary data for example neighbouring node\nhash.\n\nNote: This type is a duplicate of the ProofOp proto type defined in Tendermint.","type":"object","properties":{"data":{"type":"string","format":"byte"},"key":{"type":"string","format":"byte"},"type":{"type":"string"}}},"cosmos.base.tendermint.v1beta1.ProofOps":{"description":"ProofOps is Merkle proof defined by the list of ProofOps.\n\nNote: This type is a duplicate of the ProofOps proto type defined in Tendermint.","type":"object","properties":{"ops":{"type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.base.tendermint.v1beta1.ProofOp"}}}},"cosmos.base.tendermint.v1beta1.Validator":{"description":"Validator is the type for the validator-set.","type":"object","properties":{"address":{"type":"string"},"proposer_priority":{"type":"string","format":"int64"},"pub_key":{"$ref":"#/definitions/google.protobuf.Any"},"voting_power":{"type":"string","format":"int64"}}},"cosmos.base.tendermint.v1beta1.VersionInfo":{"description":"VersionInfo is the type for the GetNodeInfoResponse message.","type":"object","properties":{"app_name":{"type":"string"},"build_deps":{"type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.base.tendermint.v1beta1.Module"}},"build_tags":{"type":"string"},"cosmos_sdk_version":{"type":"string","title":"Since: cosmos-sdk 0.43"},"git_commit":{"type":"string"},"go_version":{"type":"string"},"name":{"type":"string"},"version":{"type":"string"}}},"cosmos.base.v1beta1.Coin":{"description":"Coin defines a token with a denomination and an amount.\n\nNOTE: The amount field is an Int which implements the custom method\nsignatures required by gogoproto.","type":"object","properties":{"amount":{"type":"string"},"denom":{"type":"string"}}},"cosmos.base.v1beta1.DecCoin":{"description":"DecCoin defines a token with a denomination and a decimal amount.\n\nNOTE: The amount field is an Dec which implements the custom method\nsignatures required by gogoproto.","type":"object","properties":{"amount":{"type":"string"},"denom":{"type":"string"}}},"cosmos.circuit.v1.AccountResponse":{"description":"AccountResponse is the response type for the Query/Account RPC method.","type":"object","properties":{"permission":{"$ref":"#/definitions/cosmos.circuit.v1.Permissions"}}},"cosmos.circuit.v1.AccountsResponse":{"description":"AccountsResponse is the response type for the Query/Accounts RPC method.","type":"object","properties":{"accounts":{"type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.circuit.v1.GenesisAccountPermissions"}},"pagination":{"description":"pagination defines the pagination in the response.","$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"}}},"cosmos.circuit.v1.DisabledListResponse":{"description":"DisabledListResponse is the response type for the Query/DisabledList RPC method.","type":"object","properties":{"disabled_list":{"type":"array","items":{"type":"string"}}}},"cosmos.circuit.v1.GenesisAccountPermissions":{"type":"object","title":"GenesisAccountPermissions is the account permissions for the circuit breaker in genesis","properties":{"address":{"type":"string"},"permissions":{"$ref":"#/definitions/cosmos.circuit.v1.Permissions"}}},"cosmos.circuit.v1.MsgAuthorizeCircuitBreaker":{"description":"MsgAuthorizeCircuitBreaker defines the Msg/AuthorizeCircuitBreaker request type.","type":"object","properties":{"grantee":{"description":"grantee is the account authorized with the provided permissions.","type":"string"},"granter":{"description":"granter is the granter of the circuit breaker permissions and must have\nLEVEL_SUPER_ADMIN.","type":"string"},"permissions":{"description":"permissions are the circuit breaker permissions that the grantee receives.\nThese will overwrite any existing permissions. LEVEL_NONE_UNSPECIFIED can\nbe specified to revoke all permissions.","$ref":"#/definitions/cosmos.circuit.v1.Permissions"}}},"cosmos.circuit.v1.MsgAuthorizeCircuitBreakerResponse":{"description":"MsgAuthorizeCircuitBreakerResponse defines the Msg/AuthorizeCircuitBreaker response type.","type":"object","properties":{"success":{"type":"boolean"}}},"cosmos.circuit.v1.MsgResetCircuitBreaker":{"description":"MsgResetCircuitBreaker defines the Msg/ResetCircuitBreaker request type.","type":"object","properties":{"authority":{"description":"authority is the account authorized to trip or reset the circuit breaker.","type":"string"},"msg_type_urls":{"description":"msg_type_urls specifies a list of Msg type URLs to resume processing. If\nit is left empty all Msg processing for type URLs that the account is\nauthorized to trip will resume.","type":"array","items":{"type":"string"}}}},"cosmos.circuit.v1.MsgResetCircuitBreakerResponse":{"description":"MsgResetCircuitBreakerResponse defines the Msg/ResetCircuitBreaker response type.","type":"object","properties":{"success":{"type":"boolean"}}},"cosmos.circuit.v1.MsgTripCircuitBreaker":{"description":"MsgTripCircuitBreaker defines the Msg/TripCircuitBreaker request type.","type":"object","properties":{"authority":{"description":"authority is the account authorized to trip the circuit breaker.","type":"string"},"msg_type_urls":{"description":"msg_type_urls specifies a list of type URLs to immediately stop processing.\nIF IT IS LEFT EMPTY, ALL MSG PROCESSING WILL STOP IMMEDIATELY.\nThis value is validated against the authority's permissions and if the\nauthority does not have permissions to trip the specified msg type URLs\n(or all URLs), the operation will fail.","type":"array","items":{"type":"string"}}}},"cosmos.circuit.v1.MsgTripCircuitBreakerResponse":{"description":"MsgTripCircuitBreakerResponse defines the Msg/TripCircuitBreaker response type.","type":"object","properties":{"success":{"type":"boolean"}}},"cosmos.circuit.v1.Permissions":{"description":"Permissions are the permissions that an account has to trip\nor reset the circuit breaker.","type":"object","properties":{"level":{"description":"level is the level of permissions granted to this account.","$ref":"#/definitions/cosmos.circuit.v1.Permissions.Level"},"limit_type_urls":{"description":"limit_type_urls is used with LEVEL_SOME_MSGS to limit the lists of Msg type\nURLs that the account can trip. It is an error to use limit_type_urls with\na level other than LEVEL_SOME_MSGS.","type":"array","items":{"type":"string"}}}},"cosmos.circuit.v1.Permissions.Level":{"description":"Level is the permission level.\n\n - LEVEL_NONE_UNSPECIFIED: LEVEL_NONE_UNSPECIFIED indicates that the account will have no circuit\nbreaker permissions.\n - LEVEL_SOME_MSGS: LEVEL_SOME_MSGS indicates that the account will have permission to\ntrip or reset the circuit breaker for some Msg type URLs. If this level\nis chosen, a non-empty list of Msg type URLs must be provided in\nlimit_type_urls.\n - LEVEL_ALL_MSGS: LEVEL_ALL_MSGS indicates that the account can trip or reset the circuit\nbreaker for Msg's of all type URLs.\n - LEVEL_SUPER_ADMIN: LEVEL_SUPER_ADMIN indicates that the account can take all circuit breaker\nactions and can grant permissions to other accounts.","type":"string","default":"LEVEL_NONE_UNSPECIFIED","enum":["LEVEL_NONE_UNSPECIFIED","LEVEL_SOME_MSGS","LEVEL_ALL_MSGS","LEVEL_SUPER_ADMIN"]},"cosmos.consensus.v1.MsgUpdateParams":{"description":"MsgUpdateParams is the Msg/UpdateParams request type.","type":"object","properties":{"abci":{"title":"Since: cosmos-sdk 0.50","$ref":"#/definitions/tendermint.types.ABCIParams"},"authority":{"description":"authority is the address that controls the module (defaults to x/gov unless overwritten).","type":"string"},"block":{"description":"params defines the x/consensus parameters to update.\nVersionsParams is not included in this Msg because it is tracked\nsepararately in x/upgrade.\n\nNOTE: All parameters must be supplied.","$ref":"#/definitions/tendermint.types.BlockParams"},"evidence":{"$ref":"#/definitions/tendermint.types.EvidenceParams"},"validator":{"$ref":"#/definitions/tendermint.types.ValidatorParams"}}},"cosmos.consensus.v1.MsgUpdateParamsResponse":{"description":"MsgUpdateParamsResponse defines the response structure for executing a\nMsgUpdateParams message.","type":"object"},"cosmos.consensus.v1.QueryParamsResponse":{"description":"QueryParamsResponse defines the response type for querying x/consensus parameters.","type":"object","properties":{"params":{"description":"params are the tendermint consensus params stored in the consensus module.\nPlease note that `params.version` is not populated in this response, it is\ntracked separately in the x/upgrade module.","$ref":"#/definitions/tendermint.types.ConsensusParams"}}},"cosmos.crisis.v1beta1.MsgUpdateParams":{"description":"MsgUpdateParams is the Msg/UpdateParams request type.\n\nSince: cosmos-sdk 0.47","type":"object","properties":{"authority":{"description":"authority is the address that controls the module (defaults to x/gov unless overwritten).","type":"string"},"constant_fee":{"description":"constant_fee defines the x/crisis parameter.","$ref":"#/definitions/cosmos.base.v1beta1.Coin"}}},"cosmos.crisis.v1beta1.MsgUpdateParamsResponse":{"description":"MsgUpdateParamsResponse defines the response structure for executing a\nMsgUpdateParams message.\n\nSince: cosmos-sdk 0.47","type":"object"},"cosmos.crisis.v1beta1.MsgVerifyInvariant":{"description":"MsgVerifyInvariant represents a message to verify a particular invariance.","type":"object","properties":{"invariant_module_name":{"description":"name of the invariant module.","type":"string"},"invariant_route":{"description":"invariant_route is the msg's invariant route.","type":"string"},"sender":{"description":"sender is the account address of private key to send coins to fee collector account.","type":"string"}}},"cosmos.crisis.v1beta1.MsgVerifyInvariantResponse":{"description":"MsgVerifyInvariantResponse defines the Msg/VerifyInvariant response type.","type":"object"},"cosmos.crypto.multisig.v1beta1.CompactBitArray":{"description":"CompactBitArray is an implementation of a space efficient bit array.\nThis is used to ensure that the encoded data takes up a minimal amount of\nspace after proto encoding.\nThis is not thread safe, and is not intended for concurrent usage.","type":"object","properties":{"elems":{"type":"string","format":"byte"},"extra_bits_stored":{"type":"integer","format":"int64"}}},"cosmos.distribution.v1beta1.DelegationDelegatorReward":{"description":"DelegationDelegatorReward represents the properties\nof a delegator's delegation reward.","type":"object","properties":{"reward":{"type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.base.v1beta1.DecCoin"}},"validator_address":{"type":"string"}}},"cosmos.distribution.v1beta1.MsgCommunityPoolSpend":{"description":"MsgCommunityPoolSpend defines a message for sending tokens from the community\npool to another account. This message is typically executed via a governance\nproposal with the governance module being the executing authority.\n\nSince: cosmos-sdk 0.47","type":"object","properties":{"amount":{"type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.base.v1beta1.Coin"}},"authority":{"description":"authority is the address that controls the module (defaults to x/gov unless overwritten).","type":"string"},"recipient":{"type":"string"}}},"cosmos.distribution.v1beta1.MsgCommunityPoolSpendResponse":{"description":"MsgCommunityPoolSpendResponse defines the response to executing a\nMsgCommunityPoolSpend message.\n\nSince: cosmos-sdk 0.47","type":"object"},"cosmos.distribution.v1beta1.MsgDepositValidatorRewardsPool":{"description":"DepositValidatorRewardsPool defines the request structure to provide\nadditional rewards to delegators from a specific validator.\n\nSince: cosmos-sdk 0.50","type":"object","properties":{"amount":{"type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.base.v1beta1.Coin"}},"depositor":{"type":"string"},"validator_address":{"type":"string"}}},"cosmos.distribution.v1beta1.MsgDepositValidatorRewardsPoolResponse":{"description":"MsgDepositValidatorRewardsPoolResponse defines the response to executing a\nMsgDepositValidatorRewardsPool message.\n\nSince: cosmos-sdk 0.50","type":"object"},"cosmos.distribution.v1beta1.MsgFundCommunityPool":{"description":"MsgFundCommunityPool allows an account to directly\nfund the community pool.","type":"object","properties":{"amount":{"type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.base.v1beta1.Coin"}},"depositor":{"type":"string"}}},"cosmos.distribution.v1beta1.MsgFundCommunityPoolResponse":{"description":"MsgFundCommunityPoolResponse defines the Msg/FundCommunityPool response type.","type":"object"},"cosmos.distribution.v1beta1.MsgSetWithdrawAddress":{"description":"MsgSetWithdrawAddress sets the withdraw address for\na delegator (or validator self-delegation).","type":"object","properties":{"delegator_address":{"type":"string"},"withdraw_address":{"type":"string"}}},"cosmos.distribution.v1beta1.MsgSetWithdrawAddressResponse":{"description":"MsgSetWithdrawAddressResponse defines the Msg/SetWithdrawAddress response\ntype.","type":"object"},"cosmos.distribution.v1beta1.MsgUpdateParams":{"description":"MsgUpdateParams is the Msg/UpdateParams request type.\n\nSince: cosmos-sdk 0.47","type":"object","properties":{"authority":{"description":"authority is the address that controls the module (defaults to x/gov unless overwritten).","type":"string"},"params":{"description":"params defines the x/distribution parameters to update.\n\nNOTE: All parameters must be supplied.","$ref":"#/definitions/cosmos.distribution.v1beta1.Params"}}},"cosmos.distribution.v1beta1.MsgUpdateParamsResponse":{"description":"MsgUpdateParamsResponse defines the response structure for executing a\nMsgUpdateParams message.\n\nSince: cosmos-sdk 0.47","type":"object"},"cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward":{"description":"MsgWithdrawDelegatorReward represents delegation withdrawal to a delegator\nfrom a single validator.","type":"object","properties":{"delegator_address":{"type":"string"},"validator_address":{"type":"string"}}},"cosmos.distribution.v1beta1.MsgWithdrawDelegatorRewardResponse":{"description":"MsgWithdrawDelegatorRewardResponse defines the Msg/WithdrawDelegatorReward\nresponse type.","type":"object","properties":{"amount":{"type":"array","title":"Since: cosmos-sdk 0.46","items":{"type":"object","$ref":"#/definitions/cosmos.base.v1beta1.Coin"}}}},"cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission":{"description":"MsgWithdrawValidatorCommission withdraws the full commission to the validator\naddress.","type":"object","properties":{"validator_address":{"type":"string"}}},"cosmos.distribution.v1beta1.MsgWithdrawValidatorCommissionResponse":{"description":"MsgWithdrawValidatorCommissionResponse defines the\nMsg/WithdrawValidatorCommission response type.","type":"object","properties":{"amount":{"type":"array","title":"Since: cosmos-sdk 0.46","items":{"type":"object","$ref":"#/definitions/cosmos.base.v1beta1.Coin"}}}},"cosmos.distribution.v1beta1.Params":{"description":"Params defines the set of params for the distribution module.","type":"object","properties":{"base_proposer_reward":{"description":"Deprecated: The base_proposer_reward field is deprecated and is no longer used\nin the x/distribution module's reward mechanism.","type":"string"},"bonus_proposer_reward":{"description":"Deprecated: The bonus_proposer_reward field is deprecated and is no longer used\nin the x/distribution module's reward mechanism.","type":"string"},"community_tax":{"type":"string"},"withdraw_addr_enabled":{"type":"boolean"}}},"cosmos.distribution.v1beta1.QueryCommunityPoolResponse":{"description":"QueryCommunityPoolResponse is the response type for the Query/CommunityPool\nRPC method.","type":"object","properties":{"pool":{"description":"pool defines community pool's coins.","type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.base.v1beta1.DecCoin"}}}},"cosmos.distribution.v1beta1.QueryDelegationRewardsResponse":{"description":"QueryDelegationRewardsResponse is the response type for the\nQuery/DelegationRewards RPC method.","type":"object","properties":{"rewards":{"description":"rewards defines the rewards accrued by a delegation.","type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.base.v1beta1.DecCoin"}}}},"cosmos.distribution.v1beta1.QueryDelegationTotalRewardsResponse":{"description":"QueryDelegationTotalRewardsResponse is the response type for the\nQuery/DelegationTotalRewards RPC method.","type":"object","properties":{"rewards":{"description":"rewards defines all the rewards accrued by a delegator.","type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.distribution.v1beta1.DelegationDelegatorReward"}},"total":{"description":"total defines the sum of all the rewards.","type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.base.v1beta1.DecCoin"}}}},"cosmos.distribution.v1beta1.QueryDelegatorValidatorsResponse":{"description":"QueryDelegatorValidatorsResponse is the response type for the\nQuery/DelegatorValidators RPC method.","type":"object","properties":{"validators":{"description":"validators defines the validators a delegator is delegating for.","type":"array","items":{"type":"string"}}}},"cosmos.distribution.v1beta1.QueryDelegatorWithdrawAddressResponse":{"description":"QueryDelegatorWithdrawAddressResponse is the response type for the\nQuery/DelegatorWithdrawAddress RPC method.","type":"object","properties":{"withdraw_address":{"description":"withdraw_address defines the delegator address to query for.","type":"string"}}},"cosmos.distribution.v1beta1.QueryParamsResponse":{"description":"QueryParamsResponse is the response type for the Query/Params RPC method.","type":"object","properties":{"params":{"description":"params defines the parameters of the module.","$ref":"#/definitions/cosmos.distribution.v1beta1.Params"}}},"cosmos.distribution.v1beta1.QueryValidatorCommissionResponse":{"type":"object","title":"QueryValidatorCommissionResponse is the response type for the\nQuery/ValidatorCommission RPC method","properties":{"commission":{"description":"commission defines the commission the validator received.","$ref":"#/definitions/cosmos.distribution.v1beta1.ValidatorAccumulatedCommission"}}},"cosmos.distribution.v1beta1.QueryValidatorDistributionInfoResponse":{"description":"QueryValidatorDistributionInfoResponse is the response type for the Query/ValidatorDistributionInfo RPC method.","type":"object","properties":{"commission":{"description":"commission defines the commission the validator received.","type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.base.v1beta1.DecCoin"}},"operator_address":{"description":"operator_address defines the validator operator address.","type":"string"},"self_bond_rewards":{"description":"self_bond_rewards defines the self delegations rewards.","type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.base.v1beta1.DecCoin"}}}},"cosmos.distribution.v1beta1.QueryValidatorOutstandingRewardsResponse":{"description":"QueryValidatorOutstandingRewardsResponse is the response type for the\nQuery/ValidatorOutstandingRewards RPC method.","type":"object","properties":{"rewards":{"$ref":"#/definitions/cosmos.distribution.v1beta1.ValidatorOutstandingRewards"}}},"cosmos.distribution.v1beta1.QueryValidatorSlashesResponse":{"description":"QueryValidatorSlashesResponse is the response type for the\nQuery/ValidatorSlashes RPC method.","type":"object","properties":{"pagination":{"description":"pagination defines the pagination in the response.","$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"},"slashes":{"description":"slashes defines the slashes the validator received.","type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.distribution.v1beta1.ValidatorSlashEvent"}}}},"cosmos.distribution.v1beta1.ValidatorAccumulatedCommission":{"description":"ValidatorAccumulatedCommission represents accumulated commission\nfor a validator kept as a running counter, can be withdrawn at any time.","type":"object","properties":{"commission":{"type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.base.v1beta1.DecCoin"}}}},"cosmos.distribution.v1beta1.ValidatorOutstandingRewards":{"description":"ValidatorOutstandingRewards represents outstanding (un-withdrawn) rewards\nfor a validator inexpensive to track, allows simple sanity checks.","type":"object","properties":{"rewards":{"type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.base.v1beta1.DecCoin"}}}},"cosmos.distribution.v1beta1.ValidatorSlashEvent":{"description":"ValidatorSlashEvent represents a validator slash event.\nHeight is implicit within the store key.\nThis is needed to calculate appropriate amount of staking tokens\nfor delegations which are withdrawn after a slash has occurred.","type":"object","properties":{"fraction":{"type":"string"},"validator_period":{"type":"string","format":"uint64"}}},"cosmos.evidence.v1beta1.MsgSubmitEvidence":{"description":"MsgSubmitEvidence represents a message that supports submitting arbitrary\nEvidence of misbehavior such as equivocation or counterfactual signing.","type":"object","properties":{"evidence":{"description":"evidence defines the evidence of misbehavior.","$ref":"#/definitions/google.protobuf.Any"},"submitter":{"description":"submitter is the signer account address of evidence.","type":"string"}}},"cosmos.evidence.v1beta1.MsgSubmitEvidenceResponse":{"description":"MsgSubmitEvidenceResponse defines the Msg/SubmitEvidence response type.","type":"object","properties":{"hash":{"description":"hash defines the hash of the evidence.","type":"string","format":"byte"}}},"cosmos.evidence.v1beta1.QueryAllEvidenceResponse":{"description":"QueryAllEvidenceResponse is the response type for the Query/AllEvidence RPC\nmethod.","type":"object","properties":{"evidence":{"description":"evidence returns all evidences.","type":"array","items":{"type":"object","$ref":"#/definitions/google.protobuf.Any"}},"pagination":{"description":"pagination defines the pagination in the response.","$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"}}},"cosmos.evidence.v1beta1.QueryEvidenceResponse":{"description":"QueryEvidenceResponse is the response type for the Query/Evidence RPC method.","type":"object","properties":{"evidence":{"description":"evidence returns the requested evidence.","$ref":"#/definitions/google.protobuf.Any"}}},"cosmos.feegrant.v1beta1.Grant":{"type":"object","title":"Grant is stored in the KVStore to record a grant with full context","properties":{"allowance":{"description":"allowance can be any of basic, periodic, allowed fee allowance.","$ref":"#/definitions/google.protobuf.Any"},"grantee":{"description":"grantee is the address of the user being granted an allowance of another user's funds.","type":"string"},"granter":{"description":"granter is the address of the user granting an allowance of their funds.","type":"string"}}},"cosmos.feegrant.v1beta1.MsgGrantAllowance":{"description":"MsgGrantAllowance adds permission for Grantee to spend up to Allowance\nof fees from the account of Granter.","type":"object","properties":{"allowance":{"description":"allowance can be any of basic, periodic, allowed fee allowance.","$ref":"#/definitions/google.protobuf.Any"},"grantee":{"description":"grantee is the address of the user being granted an allowance of another user's funds.","type":"string"},"granter":{"description":"granter is the address of the user granting an allowance of their funds.","type":"string"}}},"cosmos.feegrant.v1beta1.MsgGrantAllowanceResponse":{"description":"MsgGrantAllowanceResponse defines the Msg/GrantAllowanceResponse response type.","type":"object"},"cosmos.feegrant.v1beta1.MsgPruneAllowances":{"description":"MsgPruneAllowances prunes expired fee allowances.\n\nSince cosmos-sdk 0.50","type":"object","properties":{"pruner":{"description":"pruner is the address of the user pruning expired allowances.","type":"string"}}},"cosmos.feegrant.v1beta1.MsgPruneAllowancesResponse":{"description":"MsgPruneAllowancesResponse defines the Msg/PruneAllowancesResponse response type.\n\nSince cosmos-sdk 0.50","type":"object"},"cosmos.feegrant.v1beta1.MsgRevokeAllowance":{"description":"MsgRevokeAllowance removes any existing Allowance from Granter to Grantee.","type":"object","properties":{"grantee":{"description":"grantee is the address of the user being granted an allowance of another user's funds.","type":"string"},"granter":{"description":"granter is the address of the user granting an allowance of their funds.","type":"string"}}},"cosmos.feegrant.v1beta1.MsgRevokeAllowanceResponse":{"description":"MsgRevokeAllowanceResponse defines the Msg/RevokeAllowanceResponse response type.","type":"object"},"cosmos.feegrant.v1beta1.QueryAllowanceResponse":{"description":"QueryAllowanceResponse is the response type for the Query/Allowance RPC method.","type":"object","properties":{"allowance":{"description":"allowance is a allowance granted for grantee by granter.","$ref":"#/definitions/cosmos.feegrant.v1beta1.Grant"}}},"cosmos.feegrant.v1beta1.QueryAllowancesByGranterResponse":{"description":"QueryAllowancesByGranterResponse is the response type for the Query/AllowancesByGranter RPC method.\n\nSince: cosmos-sdk 0.46","type":"object","properties":{"allowances":{"description":"allowances that have been issued by the granter.","type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.feegrant.v1beta1.Grant"}},"pagination":{"description":"pagination defines an pagination for the response.","$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"}}},"cosmos.feegrant.v1beta1.QueryAllowancesResponse":{"description":"QueryAllowancesResponse is the response type for the Query/Allowances RPC method.","type":"object","properties":{"allowances":{"description":"allowances are allowance's granted for grantee by granter.","type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.feegrant.v1beta1.Grant"}},"pagination":{"description":"pagination defines an pagination for the response.","$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"}}},"cosmos.gov.v1.Deposit":{"description":"Deposit defines an amount deposited by an account address to an active\nproposal.","type":"object","properties":{"amount":{"description":"amount to be deposited by depositor.","type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.base.v1beta1.Coin"}},"depositor":{"description":"depositor defines the deposit addresses from the proposals.","type":"string"},"proposal_id":{"description":"proposal_id defines the unique id of the proposal.","type":"string","format":"uint64"}}},"cosmos.gov.v1.DepositParams":{"description":"DepositParams defines the params for deposits on governance proposals.","type":"object","properties":{"max_deposit_period":{"description":"Maximum period for Atom holders to deposit on a proposal. Initial value: 2\nmonths.","type":"string"},"min_deposit":{"description":"Minimum deposit for a proposal to enter voting period.","type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.base.v1beta1.Coin"}}}},"cosmos.gov.v1.MsgCancelProposal":{"description":"MsgCancelProposal is the Msg/CancelProposal request type.\n\nSince: cosmos-sdk 0.50","type":"object","properties":{"proposal_id":{"description":"proposal_id defines the unique id of the proposal.","type":"string","format":"uint64"},"proposer":{"description":"proposer is the account address of the proposer.","type":"string"}}},"cosmos.gov.v1.MsgCancelProposalResponse":{"description":"MsgCancelProposalResponse defines the response structure for executing a\nMsgCancelProposal message.\n\nSince: cosmos-sdk 0.50","type":"object","properties":{"canceled_height":{"description":"canceled_height defines the block height at which the proposal is canceled.","type":"string","format":"uint64"},"canceled_time":{"description":"canceled_time is the time when proposal is canceled.","type":"string","format":"date-time"},"proposal_id":{"description":"proposal_id defines the unique id of the proposal.","type":"string","format":"uint64"}}},"cosmos.gov.v1.MsgDeposit":{"description":"MsgDeposit defines a message to submit a deposit to an existing proposal.","type":"object","properties":{"amount":{"description":"amount to be deposited by depositor.","type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.base.v1beta1.Coin"}},"depositor":{"description":"depositor defines the deposit addresses from the proposals.","type":"string"},"proposal_id":{"description":"proposal_id defines the unique id of the proposal.","type":"string","format":"uint64"}}},"cosmos.gov.v1.MsgDepositResponse":{"description":"MsgDepositResponse defines the Msg/Deposit response type.","type":"object"},"cosmos.gov.v1.MsgExecLegacyContent":{"description":"MsgExecLegacyContent is used to wrap the legacy content field into a message.\nThis ensures backwards compatibility with v1beta1.MsgSubmitProposal.","type":"object","properties":{"authority":{"description":"authority must be the gov module address.","type":"string"},"content":{"description":"content is the proposal's content.","$ref":"#/definitions/google.protobuf.Any"}}},"cosmos.gov.v1.MsgExecLegacyContentResponse":{"description":"MsgExecLegacyContentResponse defines the Msg/ExecLegacyContent response type.","type":"object"},"cosmos.gov.v1.MsgSubmitProposal":{"description":"MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary\nproposal Content.","type":"object","properties":{"expedited":{"description":"Since: cosmos-sdk 0.50","type":"boolean","title":"expedited defines if the proposal is expedited or not"},"initial_deposit":{"description":"initial_deposit is the deposit value that must be paid at proposal submission.","type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.base.v1beta1.Coin"}},"messages":{"description":"messages are the arbitrary messages to be executed if proposal passes.","type":"array","items":{"type":"object","$ref":"#/definitions/google.protobuf.Any"}},"metadata":{"description":"metadata is any arbitrary metadata attached to the proposal.","type":"string"},"proposer":{"description":"proposer is the account address of the proposer.","type":"string"},"summary":{"description":"Since: cosmos-sdk 0.47","type":"string","title":"summary is the summary of the proposal"},"title":{"description":"title is the title of the proposal.\n\nSince: cosmos-sdk 0.47","type":"string"}}},"cosmos.gov.v1.MsgSubmitProposalResponse":{"description":"MsgSubmitProposalResponse defines the Msg/SubmitProposal response type.","type":"object","properties":{"proposal_id":{"description":"proposal_id defines the unique id of the proposal.","type":"string","format":"uint64"}}},"cosmos.gov.v1.MsgUpdateParams":{"description":"MsgUpdateParams is the Msg/UpdateParams request type.\n\nSince: cosmos-sdk 0.47","type":"object","properties":{"authority":{"description":"authority is the address that controls the module (defaults to x/gov unless overwritten).","type":"string"},"params":{"description":"params defines the x/gov parameters to update.\n\nNOTE: All parameters must be supplied.","$ref":"#/definitions/cosmos.gov.v1.Params"}}},"cosmos.gov.v1.MsgUpdateParamsResponse":{"description":"MsgUpdateParamsResponse defines the response structure for executing a\nMsgUpdateParams message.\n\nSince: cosmos-sdk 0.47","type":"object"},"cosmos.gov.v1.MsgVote":{"description":"MsgVote defines a message to cast a vote.","type":"object","properties":{"metadata":{"description":"metadata is any arbitrary metadata attached to the Vote.","type":"string"},"option":{"description":"option defines the vote option.","$ref":"#/definitions/cosmos.gov.v1.VoteOption"},"proposal_id":{"description":"proposal_id defines the unique id of the proposal.","type":"string","format":"uint64"},"voter":{"description":"voter is the voter address for the proposal.","type":"string"}}},"cosmos.gov.v1.MsgVoteResponse":{"description":"MsgVoteResponse defines the Msg/Vote response type.","type":"object"},"cosmos.gov.v1.MsgVoteWeighted":{"description":"MsgVoteWeighted defines a message to cast a vote.","type":"object","properties":{"metadata":{"description":"metadata is any arbitrary metadata attached to the VoteWeighted.","type":"string"},"options":{"description":"options defines the weighted vote options.","type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.gov.v1.WeightedVoteOption"}},"proposal_id":{"description":"proposal_id defines the unique id of the proposal.","type":"string","format":"uint64"},"voter":{"description":"voter is the voter address for the proposal.","type":"string"}}},"cosmos.gov.v1.MsgVoteWeightedResponse":{"description":"MsgVoteWeightedResponse defines the Msg/VoteWeighted response type.","type":"object"},"cosmos.gov.v1.Params":{"description":"Params defines the parameters for the x/gov module.\n\nSince: cosmos-sdk 0.47","type":"object","properties":{"burn_proposal_deposit_prevote":{"type":"boolean","title":"burn deposits if the proposal does not enter voting period"},"burn_vote_quorum":{"type":"boolean","title":"burn deposits if a proposal does not meet quorum"},"burn_vote_veto":{"type":"boolean","title":"burn deposits if quorum with vote type no_veto is met"},"expedited_min_deposit":{"description":"Minimum expedited deposit for a proposal to enter voting period.","type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.base.v1beta1.Coin"}},"expedited_threshold":{"description":"Minimum proportion of Yes votes for proposal to pass. Default value: 0.67.\n\nSince: cosmos-sdk 0.50","type":"string"},"expedited_voting_period":{"description":"Duration of the voting period of an expedited proposal.\n\nSince: cosmos-sdk 0.50","type":"string"},"max_deposit_period":{"description":"Maximum period for Atom holders to deposit on a proposal. Initial value: 2\nmonths.","type":"string"},"min_deposit":{"description":"Minimum deposit for a proposal to enter voting period.","type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.base.v1beta1.Coin"}},"min_deposit_ratio":{"description":"The ratio representing the proportion of the deposit value minimum that must be met when making a deposit.\nDefault value: 0.01. Meaning that for a chain with a min_deposit of 100stake, a deposit of 1stake would be\nrequired.\n\nSince: cosmos-sdk 0.50","type":"string"},"min_initial_deposit_ratio":{"description":"The ratio representing the proportion of the deposit value that must be paid at proposal submission.","type":"string"},"proposal_cancel_dest":{"description":"The address which will receive (proposal_cancel_ratio * deposit) proposal deposits.\nIf empty, the (proposal_cancel_ratio * deposit) proposal deposits will be burned.\n\nSince: cosmos-sdk 0.50","type":"string"},"proposal_cancel_ratio":{"description":"The cancel ratio which will not be returned back to the depositors when a proposal is cancelled.\n\nSince: cosmos-sdk 0.50","type":"string"},"quorum":{"description":"Minimum percentage of total stake needed to vote for a result to be\n considered valid.","type":"string"},"threshold":{"description":"Minimum proportion of Yes votes for proposal to pass. Default value: 0.5.","type":"string"},"veto_threshold":{"description":"Minimum value of Veto votes to Total votes ratio for proposal to be\n vetoed. Default value: 1/3.","type":"string"},"voting_period":{"description":"Duration of the voting period.","type":"string"}}},"cosmos.gov.v1.Proposal":{"description":"Proposal defines the core field members of a governance proposal.","type":"object","properties":{"deposit_end_time":{"description":"deposit_end_time is the end time for deposition.","type":"string","format":"date-time"},"expedited":{"description":"Since: cosmos-sdk 0.50","type":"boolean","title":"expedited defines if the proposal is expedited"},"failed_reason":{"description":"Since: cosmos-sdk 0.50","type":"string","title":"failed_reason defines the reason why the proposal failed"},"final_tally_result":{"description":"final_tally_result is the final tally result of the proposal. When\nquerying a proposal via gRPC, this field is not populated until the\nproposal's voting period has ended.","$ref":"#/definitions/cosmos.gov.v1.TallyResult"},"id":{"description":"id defines the unique id of the proposal.","type":"string","format":"uint64"},"messages":{"description":"messages are the arbitrary messages to be executed if the proposal passes.","type":"array","items":{"type":"object","$ref":"#/definitions/google.protobuf.Any"}},"metadata":{"type":"string","title":"metadata is any arbitrary metadata attached to the proposal.\nthe recommended format of the metadata is to be found here:\nhttps://docs.cosmos.network/v0.47/modules/gov#proposal-3"},"proposer":{"description":"Since: cosmos-sdk 0.47","type":"string","title":"proposer is the address of the proposal sumbitter"},"status":{"description":"status defines the proposal status.","$ref":"#/definitions/cosmos.gov.v1.ProposalStatus"},"submit_time":{"description":"submit_time is the time of proposal submission.","type":"string","format":"date-time"},"summary":{"description":"Since: cosmos-sdk 0.47","type":"string","title":"summary is a short summary of the proposal"},"title":{"description":"Since: cosmos-sdk 0.47","type":"string","title":"title is the title of the proposal"},"total_deposit":{"description":"total_deposit is the total deposit on the proposal.","type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.base.v1beta1.Coin"}},"voting_end_time":{"description":"voting_end_time is the end time of voting on a proposal.","type":"string","format":"date-time"},"voting_start_time":{"description":"voting_start_time is the starting time to vote on a proposal.","type":"string","format":"date-time"}}},"cosmos.gov.v1.ProposalStatus":{"description":"ProposalStatus enumerates the valid statuses of a proposal.\n\n - PROPOSAL_STATUS_UNSPECIFIED: PROPOSAL_STATUS_UNSPECIFIED defines the default proposal status.\n - PROPOSAL_STATUS_DEPOSIT_PERIOD: PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit\nperiod.\n - PROPOSAL_STATUS_VOTING_PERIOD: PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting\nperiod.\n - PROPOSAL_STATUS_PASSED: PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has\npassed.\n - PROPOSAL_STATUS_REJECTED: PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has\nbeen rejected.\n - PROPOSAL_STATUS_FAILED: PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has\nfailed.","type":"string","default":"PROPOSAL_STATUS_UNSPECIFIED","enum":["PROPOSAL_STATUS_UNSPECIFIED","PROPOSAL_STATUS_DEPOSIT_PERIOD","PROPOSAL_STATUS_VOTING_PERIOD","PROPOSAL_STATUS_PASSED","PROPOSAL_STATUS_REJECTED","PROPOSAL_STATUS_FAILED"]},"cosmos.gov.v1.QueryConstitutionResponse":{"type":"object","title":"QueryConstitutionResponse is the response type for the Query/Constitution RPC method","properties":{"constitution":{"type":"string"}}},"cosmos.gov.v1.QueryDepositResponse":{"description":"QueryDepositResponse is the response type for the Query/Deposit RPC method.","type":"object","properties":{"deposit":{"description":"deposit defines the requested deposit.","$ref":"#/definitions/cosmos.gov.v1.Deposit"}}},"cosmos.gov.v1.QueryDepositsResponse":{"description":"QueryDepositsResponse is the response type for the Query/Deposits RPC method.","type":"object","properties":{"deposits":{"description":"deposits defines the requested deposits.","type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.gov.v1.Deposit"}},"pagination":{"description":"pagination defines the pagination in the response.","$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"}}},"cosmos.gov.v1.QueryParamsResponse":{"description":"QueryParamsResponse is the response type for the Query/Params RPC method.","type":"object","properties":{"deposit_params":{"description":"Deprecated: Prefer to use `params` instead.\ndeposit_params defines the parameters related to deposit.","$ref":"#/definitions/cosmos.gov.v1.DepositParams"},"params":{"description":"params defines all the paramaters of x/gov module.\n\nSince: cosmos-sdk 0.47","$ref":"#/definitions/cosmos.gov.v1.Params"},"tally_params":{"description":"Deprecated: Prefer to use `params` instead.\ntally_params defines the parameters related to tally.","$ref":"#/definitions/cosmos.gov.v1.TallyParams"},"voting_params":{"description":"Deprecated: Prefer to use `params` instead.\nvoting_params defines the parameters related to voting.","$ref":"#/definitions/cosmos.gov.v1.VotingParams"}}},"cosmos.gov.v1.QueryProposalResponse":{"description":"QueryProposalResponse is the response type for the Query/Proposal RPC method.","type":"object","properties":{"proposal":{"description":"proposal is the requested governance proposal.","$ref":"#/definitions/cosmos.gov.v1.Proposal"}}},"cosmos.gov.v1.QueryProposalsResponse":{"description":"QueryProposalsResponse is the response type for the Query/Proposals RPC\nmethod.","type":"object","properties":{"pagination":{"description":"pagination defines the pagination in the response.","$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"},"proposals":{"description":"proposals defines all the requested governance proposals.","type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.gov.v1.Proposal"}}}},"cosmos.gov.v1.QueryTallyResultResponse":{"description":"QueryTallyResultResponse is the response type for the Query/Tally RPC method.","type":"object","properties":{"tally":{"description":"tally defines the requested tally.","$ref":"#/definitions/cosmos.gov.v1.TallyResult"}}},"cosmos.gov.v1.QueryVoteResponse":{"description":"QueryVoteResponse is the response type for the Query/Vote RPC method.","type":"object","properties":{"vote":{"description":"vote defines the queried vote.","$ref":"#/definitions/cosmos.gov.v1.Vote"}}},"cosmos.gov.v1.QueryVotesResponse":{"description":"QueryVotesResponse is the response type for the Query/Votes RPC method.","type":"object","properties":{"pagination":{"description":"pagination defines the pagination in the response.","$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"},"votes":{"description":"votes defines the queried votes.","type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.gov.v1.Vote"}}}},"cosmos.gov.v1.TallyParams":{"description":"TallyParams defines the params for tallying votes on governance proposals.","type":"object","properties":{"quorum":{"description":"Minimum percentage of total stake needed to vote for a result to be\nconsidered valid.","type":"string"},"threshold":{"description":"Minimum proportion of Yes votes for proposal to pass. Default value: 0.5.","type":"string"},"veto_threshold":{"description":"Minimum value of Veto votes to Total votes ratio for proposal to be\nvetoed. Default value: 1/3.","type":"string"}}},"cosmos.gov.v1.TallyResult":{"description":"TallyResult defines a standard tally for a governance proposal.","type":"object","properties":{"abstain_count":{"description":"abstain_count is the number of abstain votes on a proposal.","type":"string"},"no_count":{"description":"no_count is the number of no votes on a proposal.","type":"string"},"no_with_veto_count":{"description":"no_with_veto_count is the number of no with veto votes on a proposal.","type":"string"},"yes_count":{"description":"yes_count is the number of yes votes on a proposal.","type":"string"}}},"cosmos.gov.v1.Vote":{"description":"Vote defines a vote on a governance proposal.\nA Vote consists of a proposal ID, the voter, and the vote option.","type":"object","properties":{"metadata":{"type":"string","title":"metadata is any arbitrary metadata attached to the vote.\nthe recommended format of the metadata is to be found here: https://docs.cosmos.network/v0.47/modules/gov#vote-5"},"options":{"description":"options is the weighted vote options.","type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.gov.v1.WeightedVoteOption"}},"proposal_id":{"description":"proposal_id defines the unique id of the proposal.","type":"string","format":"uint64"},"voter":{"description":"voter is the voter address of the proposal.","type":"string"}}},"cosmos.gov.v1.VoteOption":{"description":"VoteOption enumerates the valid vote options for a given governance proposal.\n\n - VOTE_OPTION_UNSPECIFIED: VOTE_OPTION_UNSPECIFIED defines a no-op vote option.\n - VOTE_OPTION_YES: VOTE_OPTION_YES defines a yes vote option.\n - VOTE_OPTION_ABSTAIN: VOTE_OPTION_ABSTAIN defines an abstain vote option.\n - VOTE_OPTION_NO: VOTE_OPTION_NO defines a no vote option.\n - VOTE_OPTION_NO_WITH_VETO: VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option.","type":"string","default":"VOTE_OPTION_UNSPECIFIED","enum":["VOTE_OPTION_UNSPECIFIED","VOTE_OPTION_YES","VOTE_OPTION_ABSTAIN","VOTE_OPTION_NO","VOTE_OPTION_NO_WITH_VETO"]},"cosmos.gov.v1.VotingParams":{"description":"VotingParams defines the params for voting on governance proposals.","type":"object","properties":{"voting_period":{"description":"Duration of the voting period.","type":"string"}}},"cosmos.gov.v1.WeightedVoteOption":{"description":"WeightedVoteOption defines a unit of vote for vote split.","type":"object","properties":{"option":{"description":"option defines the valid vote options, it must not contain duplicate vote options.","$ref":"#/definitions/cosmos.gov.v1.VoteOption"},"weight":{"description":"weight is the vote weight associated with the vote option.","type":"string"}}},"cosmos.gov.v1beta1.Deposit":{"description":"Deposit defines an amount deposited by an account address to an active\nproposal.","type":"object","properties":{"amount":{"description":"amount to be deposited by depositor.","type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.base.v1beta1.Coin"}},"depositor":{"description":"depositor defines the deposit addresses from the proposals.","type":"string"},"proposal_id":{"description":"proposal_id defines the unique id of the proposal.","type":"string","format":"uint64"}}},"cosmos.gov.v1beta1.DepositParams":{"description":"DepositParams defines the params for deposits on governance proposals.","type":"object","properties":{"max_deposit_period":{"description":"Maximum period for Atom holders to deposit on a proposal. Initial value: 2\nmonths.","type":"string"},"min_deposit":{"description":"Minimum deposit for a proposal to enter voting period.","type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.base.v1beta1.Coin"}}}},"cosmos.gov.v1beta1.MsgDeposit":{"description":"MsgDeposit defines a message to submit a deposit to an existing proposal.","type":"object","properties":{"amount":{"description":"amount to be deposited by depositor.","type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.base.v1beta1.Coin"}},"depositor":{"description":"depositor defines the deposit addresses from the proposals.","type":"string"},"proposal_id":{"description":"proposal_id defines the unique id of the proposal.","type":"string","format":"uint64"}}},"cosmos.gov.v1beta1.MsgDepositResponse":{"description":"MsgDepositResponse defines the Msg/Deposit response type.","type":"object"},"cosmos.gov.v1beta1.MsgSubmitProposal":{"description":"MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary\nproposal Content.","type":"object","properties":{"content":{"description":"content is the proposal's content.","$ref":"#/definitions/google.protobuf.Any"},"initial_deposit":{"description":"initial_deposit is the deposit value that must be paid at proposal submission.","type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.base.v1beta1.Coin"}},"proposer":{"description":"proposer is the account address of the proposer.","type":"string"}}},"cosmos.gov.v1beta1.MsgSubmitProposalResponse":{"description":"MsgSubmitProposalResponse defines the Msg/SubmitProposal response type.","type":"object","properties":{"proposal_id":{"description":"proposal_id defines the unique id of the proposal.","type":"string","format":"uint64"}}},"cosmos.gov.v1beta1.MsgVote":{"description":"MsgVote defines a message to cast a vote.","type":"object","properties":{"option":{"description":"option defines the vote option.","$ref":"#/definitions/cosmos.gov.v1beta1.VoteOption"},"proposal_id":{"description":"proposal_id defines the unique id of the proposal.","type":"string","format":"uint64"},"voter":{"description":"voter is the voter address for the proposal.","type":"string"}}},"cosmos.gov.v1beta1.MsgVoteResponse":{"description":"MsgVoteResponse defines the Msg/Vote response type.","type":"object"},"cosmos.gov.v1beta1.MsgVoteWeighted":{"description":"MsgVoteWeighted defines a message to cast a vote.\n\nSince: cosmos-sdk 0.43","type":"object","properties":{"options":{"description":"options defines the weighted vote options.","type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.gov.v1beta1.WeightedVoteOption"}},"proposal_id":{"description":"proposal_id defines the unique id of the proposal.","type":"string","format":"uint64"},"voter":{"description":"voter is the voter address for the proposal.","type":"string"}}},"cosmos.gov.v1beta1.MsgVoteWeightedResponse":{"description":"MsgVoteWeightedResponse defines the Msg/VoteWeighted response type.\n\nSince: cosmos-sdk 0.43","type":"object"},"cosmos.gov.v1beta1.Proposal":{"description":"Proposal defines the core field members of a governance proposal.","type":"object","properties":{"content":{"description":"content is the proposal's content.","$ref":"#/definitions/google.protobuf.Any"},"deposit_end_time":{"description":"deposit_end_time is the end time for deposition.","type":"string","format":"date-time"},"final_tally_result":{"description":"final_tally_result is the final tally result of the proposal. When\nquerying a proposal via gRPC, this field is not populated until the\nproposal's voting period has ended.","$ref":"#/definitions/cosmos.gov.v1beta1.TallyResult"},"proposal_id":{"description":"proposal_id defines the unique id of the proposal.","type":"string","format":"uint64"},"status":{"description":"status defines the proposal status.","$ref":"#/definitions/cosmos.gov.v1beta1.ProposalStatus"},"submit_time":{"description":"submit_time is the time of proposal submission.","type":"string","format":"date-time"},"total_deposit":{"description":"total_deposit is the total deposit on the proposal.","type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.base.v1beta1.Coin"}},"voting_end_time":{"description":"voting_end_time is the end time of voting on a proposal.","type":"string","format":"date-time"},"voting_start_time":{"description":"voting_start_time is the starting time to vote on a proposal.","type":"string","format":"date-time"}}},"cosmos.gov.v1beta1.ProposalStatus":{"description":"ProposalStatus enumerates the valid statuses of a proposal.\n\n - PROPOSAL_STATUS_UNSPECIFIED: PROPOSAL_STATUS_UNSPECIFIED defines the default proposal status.\n - PROPOSAL_STATUS_DEPOSIT_PERIOD: PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit\nperiod.\n - PROPOSAL_STATUS_VOTING_PERIOD: PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting\nperiod.\n - PROPOSAL_STATUS_PASSED: PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has\npassed.\n - PROPOSAL_STATUS_REJECTED: PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has\nbeen rejected.\n - PROPOSAL_STATUS_FAILED: PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has\nfailed.","type":"string","default":"PROPOSAL_STATUS_UNSPECIFIED","enum":["PROPOSAL_STATUS_UNSPECIFIED","PROPOSAL_STATUS_DEPOSIT_PERIOD","PROPOSAL_STATUS_VOTING_PERIOD","PROPOSAL_STATUS_PASSED","PROPOSAL_STATUS_REJECTED","PROPOSAL_STATUS_FAILED"]},"cosmos.gov.v1beta1.QueryDepositResponse":{"description":"QueryDepositResponse is the response type for the Query/Deposit RPC method.","type":"object","properties":{"deposit":{"description":"deposit defines the requested deposit.","$ref":"#/definitions/cosmos.gov.v1beta1.Deposit"}}},"cosmos.gov.v1beta1.QueryDepositsResponse":{"description":"QueryDepositsResponse is the response type for the Query/Deposits RPC method.","type":"object","properties":{"deposits":{"description":"deposits defines the requested deposits.","type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.gov.v1beta1.Deposit"}},"pagination":{"description":"pagination defines the pagination in the response.","$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"}}},"cosmos.gov.v1beta1.QueryParamsResponse":{"description":"QueryParamsResponse is the response type for the Query/Params RPC method.","type":"object","properties":{"deposit_params":{"description":"deposit_params defines the parameters related to deposit.","$ref":"#/definitions/cosmos.gov.v1beta1.DepositParams"},"tally_params":{"description":"tally_params defines the parameters related to tally.","$ref":"#/definitions/cosmos.gov.v1beta1.TallyParams"},"voting_params":{"description":"voting_params defines the parameters related to voting.","$ref":"#/definitions/cosmos.gov.v1beta1.VotingParams"}}},"cosmos.gov.v1beta1.QueryProposalResponse":{"description":"QueryProposalResponse is the response type for the Query/Proposal RPC method.","type":"object","properties":{"proposal":{"$ref":"#/definitions/cosmos.gov.v1beta1.Proposal"}}},"cosmos.gov.v1beta1.QueryProposalsResponse":{"description":"QueryProposalsResponse is the response type for the Query/Proposals RPC\nmethod.","type":"object","properties":{"pagination":{"description":"pagination defines the pagination in the response.","$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"},"proposals":{"description":"proposals defines all the requested governance proposals.","type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.gov.v1beta1.Proposal"}}}},"cosmos.gov.v1beta1.QueryTallyResultResponse":{"description":"QueryTallyResultResponse is the response type for the Query/Tally RPC method.","type":"object","properties":{"tally":{"description":"tally defines the requested tally.","$ref":"#/definitions/cosmos.gov.v1beta1.TallyResult"}}},"cosmos.gov.v1beta1.QueryVoteResponse":{"description":"QueryVoteResponse is the response type for the Query/Vote RPC method.","type":"object","properties":{"vote":{"description":"vote defines the queried vote.","$ref":"#/definitions/cosmos.gov.v1beta1.Vote"}}},"cosmos.gov.v1beta1.QueryVotesResponse":{"description":"QueryVotesResponse is the response type for the Query/Votes RPC method.","type":"object","properties":{"pagination":{"description":"pagination defines the pagination in the response.","$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"},"votes":{"description":"votes defines the queried votes.","type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.gov.v1beta1.Vote"}}}},"cosmos.gov.v1beta1.TallyParams":{"description":"TallyParams defines the params for tallying votes on governance proposals.","type":"object","properties":{"quorum":{"description":"Minimum percentage of total stake needed to vote for a result to be\nconsidered valid.","type":"string","format":"byte"},"threshold":{"description":"Minimum proportion of Yes votes for proposal to pass. Default value: 0.5.","type":"string","format":"byte"},"veto_threshold":{"description":"Minimum value of Veto votes to Total votes ratio for proposal to be\nvetoed. Default value: 1/3.","type":"string","format":"byte"}}},"cosmos.gov.v1beta1.TallyResult":{"description":"TallyResult defines a standard tally for a governance proposal.","type":"object","properties":{"abstain":{"description":"abstain is the number of abstain votes on a proposal.","type":"string"},"no":{"description":"no is the number of no votes on a proposal.","type":"string"},"no_with_veto":{"description":"no_with_veto is the number of no with veto votes on a proposal.","type":"string"},"yes":{"description":"yes is the number of yes votes on a proposal.","type":"string"}}},"cosmos.gov.v1beta1.Vote":{"description":"Vote defines a vote on a governance proposal.\nA Vote consists of a proposal ID, the voter, and the vote option.","type":"object","properties":{"option":{"description":"Deprecated: Prefer to use `options` instead. This field is set in queries\nif and only if `len(options) == 1` and that option has weight 1. In all\nother cases, this field will default to VOTE_OPTION_UNSPECIFIED.","$ref":"#/definitions/cosmos.gov.v1beta1.VoteOption"},"options":{"description":"options is the weighted vote options.\n\nSince: cosmos-sdk 0.43","type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.gov.v1beta1.WeightedVoteOption"}},"proposal_id":{"description":"proposal_id defines the unique id of the proposal.","type":"string","format":"uint64"},"voter":{"description":"voter is the voter address of the proposal.","type":"string"}}},"cosmos.gov.v1beta1.VoteOption":{"description":"VoteOption enumerates the valid vote options for a given governance proposal.\n\n - VOTE_OPTION_UNSPECIFIED: VOTE_OPTION_UNSPECIFIED defines a no-op vote option.\n - VOTE_OPTION_YES: VOTE_OPTION_YES defines a yes vote option.\n - VOTE_OPTION_ABSTAIN: VOTE_OPTION_ABSTAIN defines an abstain vote option.\n - VOTE_OPTION_NO: VOTE_OPTION_NO defines a no vote option.\n - VOTE_OPTION_NO_WITH_VETO: VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option.","type":"string","default":"VOTE_OPTION_UNSPECIFIED","enum":["VOTE_OPTION_UNSPECIFIED","VOTE_OPTION_YES","VOTE_OPTION_ABSTAIN","VOTE_OPTION_NO","VOTE_OPTION_NO_WITH_VETO"]},"cosmos.gov.v1beta1.VotingParams":{"description":"VotingParams defines the params for voting on governance proposals.","type":"object","properties":{"voting_period":{"description":"Duration of the voting period.","type":"string"}}},"cosmos.gov.v1beta1.WeightedVoteOption":{"description":"WeightedVoteOption defines a unit of vote for vote split.\n\nSince: cosmos-sdk 0.43","type":"object","properties":{"option":{"description":"option defines the valid vote options, it must not contain duplicate vote options.","$ref":"#/definitions/cosmos.gov.v1beta1.VoteOption"},"weight":{"description":"weight is the vote weight associated with the vote option.","type":"string"}}},"cosmos.group.v1.Exec":{"description":"Exec defines modes of execution of a proposal on creation or on new vote.\n\n - EXEC_UNSPECIFIED: An empty value means that there should be a separate\nMsgExec request for the proposal to execute.\n - EXEC_TRY: Try to execute the proposal immediately.\nIf the proposal is not allowed per the DecisionPolicy,\nthe proposal will still be open and could\nbe executed at a later point.","type":"string","default":"EXEC_UNSPECIFIED","enum":["EXEC_UNSPECIFIED","EXEC_TRY"]},"cosmos.group.v1.GroupInfo":{"description":"GroupInfo represents the high-level on-chain information for a group.","type":"object","properties":{"admin":{"description":"admin is the account address of the group's admin.","type":"string"},"created_at":{"description":"created_at is a timestamp specifying when a group was created.","type":"string","format":"date-time"},"id":{"description":"id is the unique ID of the group.","type":"string","format":"uint64"},"metadata":{"type":"string","title":"metadata is any arbitrary metadata to attached to the group.\nthe recommended format of the metadata is to be found here: https://docs.cosmos.network/v0.47/modules/group#group-1"},"total_weight":{"description":"total_weight is the sum of the group members' weights.","type":"string"},"version":{"type":"string","format":"uint64","title":"version is used to track changes to a group's membership structure that\nwould break existing proposals. Whenever any members weight is changed,\nor any member is added or removed this version is incremented and will\ncause proposals based on older versions of this group to fail"}}},"cosmos.group.v1.GroupMember":{"description":"GroupMember represents the relationship between a group and a member.","type":"object","properties":{"group_id":{"description":"group_id is the unique ID of the group.","type":"string","format":"uint64"},"member":{"description":"member is the member data.","$ref":"#/definitions/cosmos.group.v1.Member"}}},"cosmos.group.v1.GroupPolicyInfo":{"description":"GroupPolicyInfo represents the high-level on-chain information for a group policy.","type":"object","properties":{"address":{"description":"address is the account address of group policy.","type":"string"},"admin":{"description":"admin is the account address of the group admin.","type":"string"},"created_at":{"description":"created_at is a timestamp specifying when a group policy was created.","type":"string","format":"date-time"},"decision_policy":{"description":"decision_policy specifies the group policy's decision policy.","$ref":"#/definitions/google.protobuf.Any"},"group_id":{"description":"group_id is the unique ID of the group.","type":"string","format":"uint64"},"metadata":{"type":"string","title":"metadata is any arbitrary metadata attached to the group policy.\nthe recommended format of the metadata is to be found here:\nhttps://docs.cosmos.network/v0.47/modules/group#decision-policy-1"},"version":{"description":"version is used to track changes to a group's GroupPolicyInfo structure that\nwould create a different result on a running proposal.","type":"string","format":"uint64"}}},"cosmos.group.v1.Member":{"description":"Member represents a group member with an account address,\nnon-zero weight, metadata and added_at timestamp.","type":"object","properties":{"added_at":{"description":"added_at is a timestamp specifying when a member was added.","type":"string","format":"date-time"},"address":{"description":"address is the member's account address.","type":"string"},"metadata":{"description":"metadata is any arbitrary metadata attached to the member.","type":"string"},"weight":{"description":"weight is the member's voting weight that should be greater than 0.","type":"string"}}},"cosmos.group.v1.MemberRequest":{"description":"MemberRequest represents a group member to be used in Msg server requests.\nContrary to `Member`, it doesn't have any `added_at` field\nsince this field cannot be set as part of requests.","type":"object","properties":{"address":{"description":"address is the member's account address.","type":"string"},"metadata":{"description":"metadata is any arbitrary metadata attached to the member.","type":"string"},"weight":{"description":"weight is the member's voting weight that should be greater than 0.","type":"string"}}},"cosmos.group.v1.MsgCreateGroup":{"description":"MsgCreateGroup is the Msg/CreateGroup request type.","type":"object","properties":{"admin":{"description":"admin is the account address of the group admin.","type":"string"},"members":{"description":"members defines the group members.","type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.group.v1.MemberRequest"}},"metadata":{"description":"metadata is any arbitrary metadata to attached to the group.","type":"string"}}},"cosmos.group.v1.MsgCreateGroupPolicy":{"description":"MsgCreateGroupPolicy is the Msg/CreateGroupPolicy request type.","type":"object","properties":{"admin":{"description":"admin is the account address of the group admin.","type":"string"},"decision_policy":{"description":"decision_policy specifies the group policy's decision policy.","$ref":"#/definitions/google.protobuf.Any"},"group_id":{"description":"group_id is the unique ID of the group.","type":"string","format":"uint64"},"metadata":{"description":"metadata is any arbitrary metadata attached to the group policy.","type":"string"}}},"cosmos.group.v1.MsgCreateGroupPolicyResponse":{"description":"MsgCreateGroupPolicyResponse is the Msg/CreateGroupPolicy response type.","type":"object","properties":{"address":{"description":"address is the account address of the newly created group policy.","type":"string"}}},"cosmos.group.v1.MsgCreateGroupResponse":{"description":"MsgCreateGroupResponse is the Msg/CreateGroup response type.","type":"object","properties":{"group_id":{"description":"group_id is the unique ID of the newly created group.","type":"string","format":"uint64"}}},"cosmos.group.v1.MsgCreateGroupWithPolicy":{"description":"MsgCreateGroupWithPolicy is the Msg/CreateGroupWithPolicy request type.","type":"object","properties":{"admin":{"description":"admin is the account address of the group and group policy admin.","type":"string"},"decision_policy":{"description":"decision_policy specifies the group policy's decision policy.","$ref":"#/definitions/google.protobuf.Any"},"group_metadata":{"description":"group_metadata is any arbitrary metadata attached to the group.","type":"string"},"group_policy_as_admin":{"description":"group_policy_as_admin is a boolean field, if set to true, the group policy account address will be used as group\nand group policy admin.","type":"boolean"},"group_policy_metadata":{"description":"group_policy_metadata is any arbitrary metadata attached to the group policy.","type":"string"},"members":{"description":"members defines the group members.","type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.group.v1.MemberRequest"}}}},"cosmos.group.v1.MsgCreateGroupWithPolicyResponse":{"description":"MsgCreateGroupWithPolicyResponse is the Msg/CreateGroupWithPolicy response type.","type":"object","properties":{"group_id":{"description":"group_id is the unique ID of the newly created group with policy.","type":"string","format":"uint64"},"group_policy_address":{"description":"group_policy_address is the account address of the newly created group policy.","type":"string"}}},"cosmos.group.v1.MsgExec":{"description":"MsgExec is the Msg/Exec request type.","type":"object","properties":{"executor":{"description":"executor is the account address used to execute the proposal.","type":"string"},"proposal_id":{"description":"proposal is the unique ID of the proposal.","type":"string","format":"uint64"}}},"cosmos.group.v1.MsgExecResponse":{"description":"MsgExecResponse is the Msg/Exec request type.","type":"object","properties":{"result":{"description":"result is the final result of the proposal execution.","$ref":"#/definitions/cosmos.group.v1.ProposalExecutorResult"}}},"cosmos.group.v1.MsgLeaveGroup":{"description":"MsgLeaveGroup is the Msg/LeaveGroup request type.","type":"object","properties":{"address":{"description":"address is the account address of the group member.","type":"string"},"group_id":{"description":"group_id is the unique ID of the group.","type":"string","format":"uint64"}}},"cosmos.group.v1.MsgLeaveGroupResponse":{"description":"MsgLeaveGroupResponse is the Msg/LeaveGroup response type.","type":"object"},"cosmos.group.v1.MsgSubmitProposal":{"description":"MsgSubmitProposal is the Msg/SubmitProposal request type.","type":"object","properties":{"exec":{"description":"exec defines the mode of execution of the proposal,\nwhether it should be executed immediately on creation or not.\nIf so, proposers signatures are considered as Yes votes.","$ref":"#/definitions/cosmos.group.v1.Exec"},"group_policy_address":{"description":"group_policy_address is the account address of group policy.","type":"string"},"messages":{"description":"messages is a list of `sdk.Msg`s that will be executed if the proposal passes.","type":"array","items":{"type":"object","$ref":"#/definitions/google.protobuf.Any"}},"metadata":{"description":"metadata is any arbitrary metadata attached to the proposal.","type":"string"},"proposers":{"description":"proposers are the account addresses of the proposers.\nProposers signatures will be counted as yes votes.","type":"array","items":{"type":"string"}},"summary":{"description":"summary is the summary of the proposal.\n\nSince: cosmos-sdk 0.47","type":"string"},"title":{"description":"title is the title of the proposal.\n\nSince: cosmos-sdk 0.47","type":"string"}}},"cosmos.group.v1.MsgSubmitProposalResponse":{"description":"MsgSubmitProposalResponse is the Msg/SubmitProposal response type.","type":"object","properties":{"proposal_id":{"description":"proposal is the unique ID of the proposal.","type":"string","format":"uint64"}}},"cosmos.group.v1.MsgUpdateGroupAdmin":{"description":"MsgUpdateGroupAdmin is the Msg/UpdateGroupAdmin request type.","type":"object","properties":{"admin":{"description":"admin is the current account address of the group admin.","type":"string"},"group_id":{"description":"group_id is the unique ID of the group.","type":"string","format":"uint64"},"new_admin":{"description":"new_admin is the group new admin account address.","type":"string"}}},"cosmos.group.v1.MsgUpdateGroupAdminResponse":{"description":"MsgUpdateGroupAdminResponse is the Msg/UpdateGroupAdmin response type.","type":"object"},"cosmos.group.v1.MsgUpdateGroupMembers":{"description":"MsgUpdateGroupMembers is the Msg/UpdateGroupMembers request type.","type":"object","properties":{"admin":{"description":"admin is the account address of the group admin.","type":"string"},"group_id":{"description":"group_id is the unique ID of the group.","type":"string","format":"uint64"},"member_updates":{"description":"member_updates is the list of members to update,\nset weight to 0 to remove a member.","type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.group.v1.MemberRequest"}}}},"cosmos.group.v1.MsgUpdateGroupMembersResponse":{"description":"MsgUpdateGroupMembersResponse is the Msg/UpdateGroupMembers response type.","type":"object"},"cosmos.group.v1.MsgUpdateGroupMetadata":{"description":"MsgUpdateGroupMetadata is the Msg/UpdateGroupMetadata request type.","type":"object","properties":{"admin":{"description":"admin is the account address of the group admin.","type":"string"},"group_id":{"description":"group_id is the unique ID of the group.","type":"string","format":"uint64"},"metadata":{"description":"metadata is the updated group's metadata.","type":"string"}}},"cosmos.group.v1.MsgUpdateGroupMetadataResponse":{"description":"MsgUpdateGroupMetadataResponse is the Msg/UpdateGroupMetadata response type.","type":"object"},"cosmos.group.v1.MsgUpdateGroupPolicyAdmin":{"description":"MsgUpdateGroupPolicyAdmin is the Msg/UpdateGroupPolicyAdmin request type.","type":"object","properties":{"admin":{"description":"admin is the account address of the group admin.","type":"string"},"group_policy_address":{"description":"group_policy_address is the account address of the group policy.","type":"string"},"new_admin":{"description":"new_admin is the new group policy admin.","type":"string"}}},"cosmos.group.v1.MsgUpdateGroupPolicyAdminResponse":{"description":"MsgUpdateGroupPolicyAdminResponse is the Msg/UpdateGroupPolicyAdmin response type.","type":"object"},"cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy":{"description":"MsgUpdateGroupPolicyDecisionPolicy is the Msg/UpdateGroupPolicyDecisionPolicy request type.","type":"object","properties":{"admin":{"description":"admin is the account address of the group admin.","type":"string"},"decision_policy":{"description":"decision_policy is the updated group policy's decision policy.","$ref":"#/definitions/google.protobuf.Any"},"group_policy_address":{"description":"group_policy_address is the account address of group policy.","type":"string"}}},"cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicyResponse":{"description":"MsgUpdateGroupPolicyDecisionPolicyResponse is the Msg/UpdateGroupPolicyDecisionPolicy response type.","type":"object"},"cosmos.group.v1.MsgUpdateGroupPolicyMetadata":{"description":"MsgUpdateGroupPolicyMetadata is the Msg/UpdateGroupPolicyMetadata request type.","type":"object","properties":{"admin":{"description":"admin is the account address of the group admin.","type":"string"},"group_policy_address":{"description":"group_policy_address is the account address of group policy.","type":"string"},"metadata":{"description":"metadata is the group policy metadata to be updated.","type":"string"}}},"cosmos.group.v1.MsgUpdateGroupPolicyMetadataResponse":{"description":"MsgUpdateGroupPolicyMetadataResponse is the Msg/UpdateGroupPolicyMetadata response type.","type":"object"},"cosmos.group.v1.MsgVote":{"description":"MsgVote is the Msg/Vote request type.","type":"object","properties":{"exec":{"description":"exec defines whether the proposal should be executed\nimmediately after voting or not.","$ref":"#/definitions/cosmos.group.v1.Exec"},"metadata":{"description":"metadata is any arbitrary metadata attached to the vote.","type":"string"},"option":{"description":"option is the voter's choice on the proposal.","$ref":"#/definitions/cosmos.group.v1.VoteOption"},"proposal_id":{"description":"proposal is the unique ID of the proposal.","type":"string","format":"uint64"},"voter":{"description":"voter is the voter account address.","type":"string"}}},"cosmos.group.v1.MsgVoteResponse":{"description":"MsgVoteResponse is the Msg/Vote response type.","type":"object"},"cosmos.group.v1.MsgWithdrawProposal":{"description":"MsgWithdrawProposal is the Msg/WithdrawProposal request type.","type":"object","properties":{"address":{"description":"address is the admin of the group policy or one of the proposer of the proposal.","type":"string"},"proposal_id":{"description":"proposal is the unique ID of the proposal.","type":"string","format":"uint64"}}},"cosmos.group.v1.MsgWithdrawProposalResponse":{"description":"MsgWithdrawProposalResponse is the Msg/WithdrawProposal response type.","type":"object"},"cosmos.group.v1.Proposal":{"description":"Proposal defines a group proposal. Any member of a group can submit a proposal\nfor a group policy to decide upon.\nA proposal consists of a set of `sdk.Msg`s that will be executed if the proposal\npasses as well as some optional metadata associated with the proposal.","type":"object","properties":{"executor_result":{"description":"executor_result is the final result of the proposal execution. Initial value is NotRun.","$ref":"#/definitions/cosmos.group.v1.ProposalExecutorResult"},"final_tally_result":{"description":"final_tally_result contains the sums of all weighted votes for this\nproposal for each vote option. It is empty at submission, and only\npopulated after tallying, at voting period end or at proposal execution,\nwhichever happens first.","$ref":"#/definitions/cosmos.group.v1.TallyResult"},"group_policy_address":{"description":"group_policy_address is the account address of group policy.","type":"string"},"group_policy_version":{"description":"group_policy_version tracks the version of the group policy at proposal submission.\nWhen a decision policy is changed, existing proposals from previous policy\nversions will become invalid with the `ABORTED` status.\nThis field is here for informational purposes only.","type":"string","format":"uint64"},"group_version":{"description":"group_version tracks the version of the group at proposal submission.\nThis field is here for informational purposes only.","type":"string","format":"uint64"},"id":{"description":"id is the unique id of the proposal.","type":"string","format":"uint64"},"messages":{"description":"messages is a list of `sdk.Msg`s that will be executed if the proposal passes.","type":"array","items":{"type":"object","$ref":"#/definitions/google.protobuf.Any"}},"metadata":{"type":"string","title":"metadata is any arbitrary metadata attached to the proposal.\nthe recommended format of the metadata is to be found here:\nhttps://docs.cosmos.network/v0.47/modules/group#proposal-4"},"proposers":{"description":"proposers are the account addresses of the proposers.","type":"array","items":{"type":"string"}},"status":{"description":"status represents the high level position in the life cycle of the proposal. Initial value is Submitted.","$ref":"#/definitions/cosmos.group.v1.ProposalStatus"},"submit_time":{"description":"submit_time is a timestamp specifying when a proposal was submitted.","type":"string","format":"date-time"},"summary":{"description":"Since: cosmos-sdk 0.47","type":"string","title":"summary is a short summary of the proposal"},"title":{"description":"Since: cosmos-sdk 0.47","type":"string","title":"title is the title of the proposal"},"voting_period_end":{"description":"voting_period_end is the timestamp before which voting must be done.\nUnless a successful MsgExec is called before (to execute a proposal whose\ntally is successful before the voting period ends), tallying will be done\nat this point, and the `final_tally_result`and `status` fields will be\naccordingly updated.","type":"string","format":"date-time"}}},"cosmos.group.v1.ProposalExecutorResult":{"description":"ProposalExecutorResult defines types of proposal executor results.\n\n - PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED: An empty value is not allowed.\n - PROPOSAL_EXECUTOR_RESULT_NOT_RUN: We have not yet run the executor.\n - PROPOSAL_EXECUTOR_RESULT_SUCCESS: The executor was successful and proposed action updated state.\n - PROPOSAL_EXECUTOR_RESULT_FAILURE: The executor returned an error and proposed action didn't update state.","type":"string","default":"PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED","enum":["PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED","PROPOSAL_EXECUTOR_RESULT_NOT_RUN","PROPOSAL_EXECUTOR_RESULT_SUCCESS","PROPOSAL_EXECUTOR_RESULT_FAILURE"]},"cosmos.group.v1.ProposalStatus":{"description":"ProposalStatus defines proposal statuses.\n\n - PROPOSAL_STATUS_UNSPECIFIED: An empty value is invalid and not allowed.\n - PROPOSAL_STATUS_SUBMITTED: Initial status of a proposal when submitted.\n - PROPOSAL_STATUS_ACCEPTED: Final status of a proposal when the final tally is done and the outcome\npasses the group policy's decision policy.\n - PROPOSAL_STATUS_REJECTED: Final status of a proposal when the final tally is done and the outcome\nis rejected by the group policy's decision policy.\n - PROPOSAL_STATUS_ABORTED: Final status of a proposal when the group policy is modified before the\nfinal tally.\n - PROPOSAL_STATUS_WITHDRAWN: A proposal can be withdrawn before the voting start time by the owner.\nWhen this happens the final status is Withdrawn.","type":"string","default":"PROPOSAL_STATUS_UNSPECIFIED","enum":["PROPOSAL_STATUS_UNSPECIFIED","PROPOSAL_STATUS_SUBMITTED","PROPOSAL_STATUS_ACCEPTED","PROPOSAL_STATUS_REJECTED","PROPOSAL_STATUS_ABORTED","PROPOSAL_STATUS_WITHDRAWN"]},"cosmos.group.v1.QueryGroupInfoResponse":{"description":"QueryGroupInfoResponse is the Query/GroupInfo response type.","type":"object","properties":{"info":{"description":"info is the GroupInfo of the group.","$ref":"#/definitions/cosmos.group.v1.GroupInfo"}}},"cosmos.group.v1.QueryGroupMembersResponse":{"description":"QueryGroupMembersResponse is the Query/GroupMembersResponse response type.","type":"object","properties":{"members":{"description":"members are the members of the group with given group_id.","type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.group.v1.GroupMember"}},"pagination":{"description":"pagination defines the pagination in the response.","$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"}}},"cosmos.group.v1.QueryGroupPoliciesByAdminResponse":{"description":"QueryGroupPoliciesByAdminResponse is the Query/GroupPoliciesByAdmin response type.","type":"object","properties":{"group_policies":{"description":"group_policies are the group policies info with provided admin.","type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.group.v1.GroupPolicyInfo"}},"pagination":{"description":"pagination defines the pagination in the response.","$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"}}},"cosmos.group.v1.QueryGroupPoliciesByGroupResponse":{"description":"QueryGroupPoliciesByGroupResponse is the Query/GroupPoliciesByGroup response type.","type":"object","properties":{"group_policies":{"description":"group_policies are the group policies info associated with the provided group.","type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.group.v1.GroupPolicyInfo"}},"pagination":{"description":"pagination defines the pagination in the response.","$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"}}},"cosmos.group.v1.QueryGroupPolicyInfoResponse":{"description":"QueryGroupPolicyInfoResponse is the Query/GroupPolicyInfo response type.","type":"object","properties":{"info":{"description":"info is the GroupPolicyInfo of the group policy.","$ref":"#/definitions/cosmos.group.v1.GroupPolicyInfo"}}},"cosmos.group.v1.QueryGroupsByAdminResponse":{"description":"QueryGroupsByAdminResponse is the Query/GroupsByAdminResponse response type.","type":"object","properties":{"groups":{"description":"groups are the groups info with the provided admin.","type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.group.v1.GroupInfo"}},"pagination":{"description":"pagination defines the pagination in the response.","$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"}}},"cosmos.group.v1.QueryGroupsByMemberResponse":{"description":"QueryGroupsByMemberResponse is the Query/GroupsByMember response type.","type":"object","properties":{"groups":{"description":"groups are the groups info with the provided group member.","type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.group.v1.GroupInfo"}},"pagination":{"description":"pagination defines the pagination in the response.","$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"}}},"cosmos.group.v1.QueryGroupsResponse":{"description":"QueryGroupsResponse is the Query/Groups response type.\n\nSince: cosmos-sdk 0.47.1","type":"object","properties":{"groups":{"description":"`groups` is all the groups present in state.","type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.group.v1.GroupInfo"}},"pagination":{"description":"pagination defines the pagination in the response.","$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"}}},"cosmos.group.v1.QueryProposalResponse":{"description":"QueryProposalResponse is the Query/Proposal response type.","type":"object","properties":{"proposal":{"description":"proposal is the proposal info.","$ref":"#/definitions/cosmos.group.v1.Proposal"}}},"cosmos.group.v1.QueryProposalsByGroupPolicyResponse":{"description":"QueryProposalsByGroupPolicyResponse is the Query/ProposalByGroupPolicy response type.","type":"object","properties":{"pagination":{"description":"pagination defines the pagination in the response.","$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"},"proposals":{"description":"proposals are the proposals with given group policy.","type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.group.v1.Proposal"}}}},"cosmos.group.v1.QueryTallyResultResponse":{"description":"QueryTallyResultResponse is the Query/TallyResult response type.","type":"object","properties":{"tally":{"description":"tally defines the requested tally.","$ref":"#/definitions/cosmos.group.v1.TallyResult"}}},"cosmos.group.v1.QueryVoteByProposalVoterResponse":{"description":"QueryVoteByProposalVoterResponse is the Query/VoteByProposalVoter response type.","type":"object","properties":{"vote":{"description":"vote is the vote with given proposal_id and voter.","$ref":"#/definitions/cosmos.group.v1.Vote"}}},"cosmos.group.v1.QueryVotesByProposalResponse":{"description":"QueryVotesByProposalResponse is the Query/VotesByProposal response type.","type":"object","properties":{"pagination":{"description":"pagination defines the pagination in the response.","$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"},"votes":{"description":"votes are the list of votes for given proposal_id.","type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.group.v1.Vote"}}}},"cosmos.group.v1.QueryVotesByVoterResponse":{"description":"QueryVotesByVoterResponse is the Query/VotesByVoter response type.","type":"object","properties":{"pagination":{"description":"pagination defines the pagination in the response.","$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"},"votes":{"description":"votes are the list of votes by given voter.","type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.group.v1.Vote"}}}},"cosmos.group.v1.TallyResult":{"description":"TallyResult represents the sum of weighted votes for each vote option.","type":"object","properties":{"abstain_count":{"description":"abstain_count is the weighted sum of abstainers.","type":"string"},"no_count":{"description":"no_count is the weighted sum of no votes.","type":"string"},"no_with_veto_count":{"description":"no_with_veto_count is the weighted sum of veto.","type":"string"},"yes_count":{"description":"yes_count is the weighted sum of yes votes.","type":"string"}}},"cosmos.group.v1.Vote":{"type":"object","title":"Vote represents a vote for a proposal.string metadata","properties":{"metadata":{"type":"string","title":"metadata is any arbitrary metadata attached to the vote.\nthe recommended format of the metadata is to be found here: https://docs.cosmos.network/v0.47/modules/group#vote-2"},"option":{"description":"option is the voter's choice on the proposal.","$ref":"#/definitions/cosmos.group.v1.VoteOption"},"proposal_id":{"description":"proposal is the unique ID of the proposal.","type":"string","format":"uint64"},"submit_time":{"description":"submit_time is the timestamp when the vote was submitted.","type":"string","format":"date-time"},"voter":{"description":"voter is the account address of the voter.","type":"string"}}},"cosmos.group.v1.VoteOption":{"description":"VoteOption enumerates the valid vote options for a given proposal.\n\n - VOTE_OPTION_UNSPECIFIED: VOTE_OPTION_UNSPECIFIED defines an unspecified vote option which will\nreturn an error.\n - VOTE_OPTION_YES: VOTE_OPTION_YES defines a yes vote option.\n - VOTE_OPTION_ABSTAIN: VOTE_OPTION_ABSTAIN defines an abstain vote option.\n - VOTE_OPTION_NO: VOTE_OPTION_NO defines a no vote option.\n - VOTE_OPTION_NO_WITH_VETO: VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option.","type":"string","default":"VOTE_OPTION_UNSPECIFIED","enum":["VOTE_OPTION_UNSPECIFIED","VOTE_OPTION_YES","VOTE_OPTION_ABSTAIN","VOTE_OPTION_NO","VOTE_OPTION_NO_WITH_VETO"]},"cosmos.mint.v1beta1.MsgUpdateParams":{"description":"MsgUpdateParams is the Msg/UpdateParams request type.\n\nSince: cosmos-sdk 0.47","type":"object","properties":{"authority":{"description":"authority is the address that controls the module (defaults to x/gov unless overwritten).","type":"string"},"params":{"description":"params defines the x/mint parameters to update.\n\nNOTE: All parameters must be supplied.","$ref":"#/definitions/cosmos.mint.v1beta1.Params"}}},"cosmos.mint.v1beta1.MsgUpdateParamsResponse":{"description":"MsgUpdateParamsResponse defines the response structure for executing a\nMsgUpdateParams message.\n\nSince: cosmos-sdk 0.47","type":"object"},"cosmos.mint.v1beta1.Params":{"description":"Params defines the parameters for the x/mint module.","type":"object","properties":{"blocks_per_year":{"type":"string","format":"uint64","title":"expected blocks per year"},"goal_bonded":{"type":"string","title":"goal of percent bonded atoms"},"inflation_max":{"type":"string","title":"maximum inflation rate"},"inflation_min":{"type":"string","title":"minimum inflation rate"},"inflation_rate_change":{"type":"string","title":"maximum annual change in inflation rate"},"mint_denom":{"type":"string","title":"type of coin to mint"}}},"cosmos.mint.v1beta1.QueryAnnualProvisionsResponse":{"description":"QueryAnnualProvisionsResponse is the response type for the\nQuery/AnnualProvisions RPC method.","type":"object","properties":{"annual_provisions":{"description":"annual_provisions is the current minting annual provisions value.","type":"string","format":"byte"}}},"cosmos.mint.v1beta1.QueryInflationResponse":{"description":"QueryInflationResponse is the response type for the Query/Inflation RPC\nmethod.","type":"object","properties":{"inflation":{"description":"inflation is the current minting inflation value.","type":"string","format":"byte"}}},"cosmos.mint.v1beta1.QueryParamsResponse":{"description":"QueryParamsResponse is the response type for the Query/Params RPC method.","type":"object","properties":{"params":{"description":"params defines the parameters of the module.","$ref":"#/definitions/cosmos.mint.v1beta1.Params"}}},"cosmos.nft.v1beta1.Class":{"description":"Class defines the class of the nft type.","type":"object","properties":{"data":{"title":"data is the app specific metadata of the NFT class. Optional","$ref":"#/definitions/google.protobuf.Any"},"description":{"type":"string","title":"description is a brief description of nft classification. Optional"},"id":{"type":"string","title":"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"},"symbol":{"type":"string","title":"symbol is an abbreviated name for 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_hash":{"type":"string","title":"uri_hash is a hash of the document pointed by uri. Optional"}}},"cosmos.nft.v1beta1.MsgSend":{"description":"MsgSend represents a message to send a nft from one account to another account.","type":"object","properties":{"class_id":{"type":"string","title":"class_id defines the unique identifier of the nft classification, similar to the contract address of ERC721"},"id":{"type":"string","title":"id defines the unique identification of nft"},"receiver":{"type":"string","title":"receiver is the receiver address of nft"},"sender":{"type":"string","title":"sender is the address of the owner of nft"}}},"cosmos.nft.v1beta1.MsgSendResponse":{"description":"MsgSendResponse defines the Msg/Send response type.","type":"object"},"cosmos.nft.v1beta1.NFT":{"description":"NFT defines the NFT.","type":"object","properties":{"class_id":{"type":"string","title":"class_id associated with the NFT, similar to the contract address of ERC721"},"data":{"title":"data is an app specific data of the NFT. Optional","$ref":"#/definitions/google.protobuf.Any"},"id":{"type":"string","title":"id is a unique identifier of the NFT"},"uri":{"type":"string","title":"uri for the NFT metadata stored off chain"},"uri_hash":{"type":"string","title":"uri_hash is a hash of the document pointed by uri"}}},"cosmos.nft.v1beta1.QueryBalanceResponse":{"type":"object","title":"QueryBalanceResponse is the response type for the Query/Balance RPC method","properties":{"amount":{"type":"string","format":"uint64","title":"amount is the number of all NFTs of a given class owned by the owner"}}},"cosmos.nft.v1beta1.QueryClassResponse":{"type":"object","title":"QueryClassResponse is the response type for the Query/Class RPC method","properties":{"class":{"description":"class defines the class of the nft type.","$ref":"#/definitions/cosmos.nft.v1beta1.Class"}}},"cosmos.nft.v1beta1.QueryClassesResponse":{"type":"object","title":"QueryClassesResponse is the response type for the Query/Classes RPC method","properties":{"classes":{"description":"class defines the class of the nft type.","type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.nft.v1beta1.Class"}},"pagination":{"description":"pagination defines the pagination in the response.","$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"}}},"cosmos.nft.v1beta1.QueryNFTResponse":{"type":"object","title":"QueryNFTResponse is the response type for the Query/NFT RPC method","properties":{"nft":{"title":"owner is the owner address of the nft","$ref":"#/definitions/cosmos.nft.v1beta1.NFT"}}},"cosmos.nft.v1beta1.QueryNFTsResponse":{"type":"object","title":"QueryNFTsResponse is the response type for the Query/NFTs RPC methods","properties":{"nfts":{"type":"array","title":"NFT defines the NFT","items":{"type":"object","$ref":"#/definitions/cosmos.nft.v1beta1.NFT"}},"pagination":{"description":"pagination defines the pagination in the response.","$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"}}},"cosmos.nft.v1beta1.QueryOwnerResponse":{"type":"object","title":"QueryOwnerResponse is the response type for the Query/Owner RPC method","properties":{"owner":{"type":"string","title":"owner is the owner address of the nft"}}},"cosmos.nft.v1beta1.QuerySupplyResponse":{"type":"object","title":"QuerySupplyResponse is the response type for the Query/Supply RPC method","properties":{"amount":{"type":"string","format":"uint64","title":"amount is the number of all NFTs from the given class"}}},"cosmos.params.v1beta1.ParamChange":{"description":"ParamChange defines an individual parameter change, for use in\nParameterChangeProposal.","type":"object","properties":{"key":{"type":"string"},"subspace":{"type":"string"},"value":{"type":"string"}}},"cosmos.params.v1beta1.QueryParamsResponse":{"description":"QueryParamsResponse is response type for the Query/Params RPC method.","type":"object","properties":{"param":{"description":"param defines the queried parameter.","$ref":"#/definitions/cosmos.params.v1beta1.ParamChange"}}},"cosmos.params.v1beta1.QuerySubspacesResponse":{"description":"QuerySubspacesResponse defines the response types for querying for all\nregistered subspaces and all keys for a subspace.\n\nSince: cosmos-sdk 0.46","type":"object","properties":{"subspaces":{"type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.params.v1beta1.Subspace"}}}},"cosmos.params.v1beta1.Subspace":{"description":"Subspace defines a parameter subspace name and all the keys that exist for\nthe subspace.\n\nSince: cosmos-sdk 0.46","type":"object","properties":{"keys":{"type":"array","items":{"type":"string"}},"subspace":{"type":"string"}}},"cosmos.slashing.v1beta1.MsgUnjail":{"type":"object","title":"MsgUnjail defines the Msg/Unjail request type","properties":{"validator_addr":{"type":"string"}}},"cosmos.slashing.v1beta1.MsgUnjailResponse":{"type":"object","title":"MsgUnjailResponse defines the Msg/Unjail response type"},"cosmos.slashing.v1beta1.MsgUpdateParams":{"description":"MsgUpdateParams is the Msg/UpdateParams request type.\n\nSince: cosmos-sdk 0.47","type":"object","properties":{"authority":{"description":"authority is the address that controls the module (defaults to x/gov unless overwritten).","type":"string"},"params":{"description":"params defines the x/slashing parameters to update.\n\nNOTE: All parameters must be supplied.","$ref":"#/definitions/cosmos.slashing.v1beta1.Params"}}},"cosmos.slashing.v1beta1.MsgUpdateParamsResponse":{"description":"MsgUpdateParamsResponse defines the response structure for executing a\nMsgUpdateParams message.\n\nSince: cosmos-sdk 0.47","type":"object"},"cosmos.slashing.v1beta1.Params":{"description":"Params represents the parameters used for by the slashing module.","type":"object","properties":{"downtime_jail_duration":{"type":"string"},"min_signed_per_window":{"type":"string","format":"byte"},"signed_blocks_window":{"type":"string","format":"int64"},"slash_fraction_double_sign":{"type":"string","format":"byte"},"slash_fraction_downtime":{"type":"string","format":"byte"}}},"cosmos.slashing.v1beta1.QueryParamsResponse":{"type":"object","title":"QueryParamsResponse is the response type for the Query/Params RPC method","properties":{"params":{"$ref":"#/definitions/cosmos.slashing.v1beta1.Params"}}},"cosmos.slashing.v1beta1.QuerySigningInfoResponse":{"type":"object","title":"QuerySigningInfoResponse is the response type for the Query/SigningInfo RPC\nmethod","properties":{"val_signing_info":{"title":"val_signing_info is the signing info of requested val cons address","$ref":"#/definitions/cosmos.slashing.v1beta1.ValidatorSigningInfo"}}},"cosmos.slashing.v1beta1.QuerySigningInfosResponse":{"type":"object","title":"QuerySigningInfosResponse is the response type for the Query/SigningInfos RPC\nmethod","properties":{"info":{"type":"array","title":"info is the signing info of all validators","items":{"type":"object","$ref":"#/definitions/cosmos.slashing.v1beta1.ValidatorSigningInfo"}},"pagination":{"$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"}}},"cosmos.slashing.v1beta1.ValidatorSigningInfo":{"description":"ValidatorSigningInfo defines a validator's signing info for monitoring their\nliveness activity.","type":"object","properties":{"address":{"type":"string"},"index_offset":{"description":"Index which is incremented every time a validator is bonded in a block and\n_may_ have signed a pre-commit or not. This in conjunction with the\nsigned_blocks_window param determines the index in the missed block bitmap.","type":"string","format":"int64"},"jailed_until":{"description":"Timestamp until which the validator is jailed due to liveness downtime.","type":"string","format":"date-time"},"missed_blocks_counter":{"description":"A counter of missed (unsigned) blocks. It is used to avoid unnecessary\nreads in the missed block bitmap.","type":"string","format":"int64"},"start_height":{"type":"string","format":"int64","title":"Height at which validator was first a candidate OR was un-jailed"},"tombstoned":{"description":"Whether or not a validator has been tombstoned (killed out of validator\nset). It is set once the validator commits an equivocation or for any other\nconfigured misbehavior.","type":"boolean"}}},"cosmos.staking.v1beta1.BondStatus":{"description":"BondStatus is the status of a validator.\n\n - BOND_STATUS_UNSPECIFIED: UNSPECIFIED defines an invalid validator status.\n - BOND_STATUS_UNBONDED: UNBONDED defines a validator that is not bonded.\n - BOND_STATUS_UNBONDING: UNBONDING defines a validator that is unbonding.\n - BOND_STATUS_BONDED: BONDED defines a validator that is bonded.","type":"string","default":"BOND_STATUS_UNSPECIFIED","enum":["BOND_STATUS_UNSPECIFIED","BOND_STATUS_UNBONDED","BOND_STATUS_UNBONDING","BOND_STATUS_BONDED"]},"cosmos.staking.v1beta1.Commission":{"description":"Commission defines commission parameters for a given validator.","type":"object","properties":{"commission_rates":{"description":"commission_rates defines the initial commission rates to be used for creating a validator.","$ref":"#/definitions/cosmos.staking.v1beta1.CommissionRates"},"update_time":{"description":"update_time is the last time the commission rate was changed.","type":"string","format":"date-time"}}},"cosmos.staking.v1beta1.CommissionRates":{"description":"CommissionRates defines the initial commission rates to be used for creating\na validator.","type":"object","properties":{"max_change_rate":{"description":"max_change_rate defines the maximum daily increase of the validator commission, as a fraction.","type":"string"},"max_rate":{"description":"max_rate defines the maximum commission rate which validator can ever charge, as a fraction.","type":"string"},"rate":{"description":"rate is the commission rate charged to delegators, as a fraction.","type":"string"}}},"cosmos.staking.v1beta1.Delegation":{"description":"Delegation represents the bond with tokens held by an account. It is\nowned by one delegator, and is associated with the voting power of one\nvalidator.","type":"object","properties":{"delegator_address":{"description":"delegator_address is the encoded address of the delegator.","type":"string"},"shares":{"description":"shares define the delegation shares received.","type":"string"},"validator_address":{"description":"validator_address is the encoded address of the validator.","type":"string"}}},"cosmos.staking.v1beta1.DelegationResponse":{"description":"DelegationResponse is equivalent to Delegation except that it contains a\nbalance in addition to shares which is more suitable for client responses.","type":"object","properties":{"balance":{"$ref":"#/definitions/cosmos.base.v1beta1.Coin"},"delegation":{"$ref":"#/definitions/cosmos.staking.v1beta1.Delegation"}}},"cosmos.staking.v1beta1.Description":{"description":"Description defines a validator description.","type":"object","properties":{"details":{"description":"details define other optional details.","type":"string"},"identity":{"description":"identity defines an optional identity signature (ex. UPort or Keybase).","type":"string"},"moniker":{"description":"moniker defines a human-readable name for the validator.","type":"string"},"security_contact":{"description":"security_contact defines an optional email for security contact.","type":"string"},"website":{"description":"website defines an optional website link.","type":"string"}}},"cosmos.staking.v1beta1.HistoricalInfo":{"description":"HistoricalInfo contains header and validator information for a given block.\nIt is stored as part of staking module's state, which persists the `n` most\nrecent HistoricalInfo\n(`n` is set by the staking module's `historical_entries` parameter).","type":"object","properties":{"header":{"$ref":"#/definitions/tendermint.types.Header"},"valset":{"type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.staking.v1beta1.Validator"}}}},"cosmos.staking.v1beta1.MsgBeginRedelegate":{"description":"MsgBeginRedelegate defines a SDK message for performing a redelegation\nof coins from a delegator and source validator to a destination validator.","type":"object","properties":{"amount":{"$ref":"#/definitions/cosmos.base.v1beta1.Coin"},"delegator_address":{"type":"string"},"validator_dst_address":{"type":"string"},"validator_src_address":{"type":"string"}}},"cosmos.staking.v1beta1.MsgBeginRedelegateResponse":{"description":"MsgBeginRedelegateResponse defines the Msg/BeginRedelegate response type.","type":"object","properties":{"completion_time":{"type":"string","format":"date-time"}}},"cosmos.staking.v1beta1.MsgCancelUnbondingDelegation":{"description":"Since: cosmos-sdk 0.46","type":"object","title":"MsgCancelUnbondingDelegation defines the SDK message for performing a cancel unbonding delegation for delegator","properties":{"amount":{"title":"amount is always less than or equal to unbonding delegation entry balance","$ref":"#/definitions/cosmos.base.v1beta1.Coin"},"creation_height":{"description":"creation_height is the height which the unbonding took place.","type":"string","format":"int64"},"delegator_address":{"type":"string"},"validator_address":{"type":"string"}}},"cosmos.staking.v1beta1.MsgCancelUnbondingDelegationResponse":{"description":"Since: cosmos-sdk 0.46","type":"object","title":"MsgCancelUnbondingDelegationResponse"},"cosmos.staking.v1beta1.MsgCreateValidator":{"description":"MsgCreateValidator defines a SDK message for creating a new validator.","type":"object","properties":{"commission":{"$ref":"#/definitions/cosmos.staking.v1beta1.CommissionRates"},"delegator_address":{"description":"Deprecated: Use of Delegator Address in MsgCreateValidator is deprecated.\nThe validator address bytes and delegator address bytes refer to the same account while creating validator (defer\nonly in bech32 notation).","type":"string"},"description":{"$ref":"#/definitions/cosmos.staking.v1beta1.Description"},"min_self_delegation":{"type":"string"},"pubkey":{"$ref":"#/definitions/google.protobuf.Any"},"validator_address":{"type":"string"},"value":{"$ref":"#/definitions/cosmos.base.v1beta1.Coin"}}},"cosmos.staking.v1beta1.MsgCreateValidatorResponse":{"description":"MsgCreateValidatorResponse defines the Msg/CreateValidator response type.","type":"object"},"cosmos.staking.v1beta1.MsgDelegate":{"description":"MsgDelegate defines a SDK message for performing a delegation of coins\nfrom a delegator to a validator.","type":"object","properties":{"amount":{"$ref":"#/definitions/cosmos.base.v1beta1.Coin"},"delegator_address":{"type":"string"},"validator_address":{"type":"string"}}},"cosmos.staking.v1beta1.MsgDelegateResponse":{"description":"MsgDelegateResponse defines the Msg/Delegate response type.","type":"object"},"cosmos.staking.v1beta1.MsgEditValidator":{"description":"MsgEditValidator defines a SDK message for editing an existing validator.","type":"object","properties":{"commission_rate":{"type":"string","title":"We pass a reference to the new commission rate and min self delegation as\nit's not mandatory to update. If not updated, the deserialized rate will be\nzero with no way to distinguish if an update was intended.\nREF: #2373"},"description":{"$ref":"#/definitions/cosmos.staking.v1beta1.Description"},"min_self_delegation":{"type":"string"},"validator_address":{"type":"string"}}},"cosmos.staking.v1beta1.MsgEditValidatorResponse":{"description":"MsgEditValidatorResponse defines the Msg/EditValidator response type.","type":"object"},"cosmos.staking.v1beta1.MsgUndelegate":{"description":"MsgUndelegate defines a SDK message for performing an undelegation from a\ndelegate and a validator.","type":"object","properties":{"amount":{"$ref":"#/definitions/cosmos.base.v1beta1.Coin"},"delegator_address":{"type":"string"},"validator_address":{"type":"string"}}},"cosmos.staking.v1beta1.MsgUndelegateResponse":{"description":"MsgUndelegateResponse defines the Msg/Undelegate response type.","type":"object","properties":{"amount":{"description":"Since: cosmos-sdk 0.50","title":"amount returns the amount of undelegated coins","$ref":"#/definitions/cosmos.base.v1beta1.Coin"},"completion_time":{"type":"string","format":"date-time"}}},"cosmos.staking.v1beta1.MsgUpdateParams":{"description":"MsgUpdateParams is the Msg/UpdateParams request type.\n\nSince: cosmos-sdk 0.47","type":"object","properties":{"authority":{"description":"authority is the address that controls the module (defaults to x/gov unless overwritten).","type":"string"},"params":{"description":"params defines the x/staking parameters to update.\n\nNOTE: All parameters must be supplied.","$ref":"#/definitions/cosmos.staking.v1beta1.Params"}}},"cosmos.staking.v1beta1.MsgUpdateParamsResponse":{"description":"MsgUpdateParamsResponse defines the response structure for executing a\nMsgUpdateParams message.\n\nSince: cosmos-sdk 0.47","type":"object"},"cosmos.staking.v1beta1.Params":{"description":"Params defines the parameters for the x/staking module.","type":"object","properties":{"bond_denom":{"description":"bond_denom defines the bondable coin denomination.","type":"string"},"historical_entries":{"description":"historical_entries is the number of historical entries to persist.","type":"integer","format":"int64"},"max_entries":{"description":"max_entries is the max entries for either unbonding delegation or redelegation (per pair/trio).","type":"integer","format":"int64"},"max_validators":{"description":"max_validators is the maximum number of validators.","type":"integer","format":"int64"},"min_commission_rate":{"type":"string","title":"min_commission_rate is the chain-wide minimum commission rate that a validator can charge their delegators"},"unbonding_time":{"description":"unbonding_time is the time duration of unbonding.","type":"string"}}},"cosmos.staking.v1beta1.Pool":{"description":"Pool is used for tracking bonded and not-bonded token supply of the bond\ndenomination.","type":"object","properties":{"bonded_tokens":{"type":"string"},"not_bonded_tokens":{"type":"string"}}},"cosmos.staking.v1beta1.QueryDelegationResponse":{"description":"QueryDelegationResponse is response type for the Query/Delegation RPC method.","type":"object","properties":{"delegation_response":{"description":"delegation_responses defines the delegation info of a delegation.","$ref":"#/definitions/cosmos.staking.v1beta1.DelegationResponse"}}},"cosmos.staking.v1beta1.QueryDelegatorDelegationsResponse":{"description":"QueryDelegatorDelegationsResponse is response type for the\nQuery/DelegatorDelegations RPC method.","type":"object","properties":{"delegation_responses":{"description":"delegation_responses defines all the delegations' info of a delegator.","type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.staking.v1beta1.DelegationResponse"}},"pagination":{"description":"pagination defines the pagination in the response.","$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"}}},"cosmos.staking.v1beta1.QueryDelegatorUnbondingDelegationsResponse":{"description":"QueryUnbondingDelegatorDelegationsResponse is response type for the\nQuery/UnbondingDelegatorDelegations RPC method.","type":"object","properties":{"pagination":{"description":"pagination defines the pagination in the response.","$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"},"unbonding_responses":{"type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.staking.v1beta1.UnbondingDelegation"}}}},"cosmos.staking.v1beta1.QueryDelegatorValidatorResponse":{"description":"QueryDelegatorValidatorResponse response type for the\nQuery/DelegatorValidator RPC method.","type":"object","properties":{"validator":{"description":"validator defines the validator info.","$ref":"#/definitions/cosmos.staking.v1beta1.Validator"}}},"cosmos.staking.v1beta1.QueryDelegatorValidatorsResponse":{"description":"QueryDelegatorValidatorsResponse is response type for the\nQuery/DelegatorValidators RPC method.","type":"object","properties":{"pagination":{"description":"pagination defines the pagination in the response.","$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"},"validators":{"description":"validators defines the validators' info of a delegator.","type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.staking.v1beta1.Validator"}}}},"cosmos.staking.v1beta1.QueryHistoricalInfoResponse":{"description":"QueryHistoricalInfoResponse is response type for the Query/HistoricalInfo RPC\nmethod.","type":"object","properties":{"hist":{"description":"hist defines the historical info at the given height.","$ref":"#/definitions/cosmos.staking.v1beta1.HistoricalInfo"}}},"cosmos.staking.v1beta1.QueryParamsResponse":{"description":"QueryParamsResponse is response type for the Query/Params RPC method.","type":"object","properties":{"params":{"description":"params holds all the parameters of this module.","$ref":"#/definitions/cosmos.staking.v1beta1.Params"}}},"cosmos.staking.v1beta1.QueryPoolResponse":{"description":"QueryPoolResponse is response type for the Query/Pool RPC method.","type":"object","properties":{"pool":{"description":"pool defines the pool info.","$ref":"#/definitions/cosmos.staking.v1beta1.Pool"}}},"cosmos.staking.v1beta1.QueryRedelegationsResponse":{"description":"QueryRedelegationsResponse is response type for the Query/Redelegations RPC\nmethod.","type":"object","properties":{"pagination":{"description":"pagination defines the pagination in the response.","$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"},"redelegation_responses":{"type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.staking.v1beta1.RedelegationResponse"}}}},"cosmos.staking.v1beta1.QueryUnbondingDelegationResponse":{"description":"QueryDelegationResponse is response type for the Query/UnbondingDelegation\nRPC method.","type":"object","properties":{"unbond":{"description":"unbond defines the unbonding information of a delegation.","$ref":"#/definitions/cosmos.staking.v1beta1.UnbondingDelegation"}}},"cosmos.staking.v1beta1.QueryValidatorDelegationsResponse":{"type":"object","title":"QueryValidatorDelegationsResponse is response type for the\nQuery/ValidatorDelegations RPC method","properties":{"delegation_responses":{"type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.staking.v1beta1.DelegationResponse"}},"pagination":{"description":"pagination defines the pagination in the response.","$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"}}},"cosmos.staking.v1beta1.QueryValidatorResponse":{"type":"object","title":"QueryValidatorResponse is response type for the Query/Validator RPC method","properties":{"validator":{"description":"validator defines the validator info.","$ref":"#/definitions/cosmos.staking.v1beta1.Validator"}}},"cosmos.staking.v1beta1.QueryValidatorUnbondingDelegationsResponse":{"description":"QueryValidatorUnbondingDelegationsResponse is response type for the\nQuery/ValidatorUnbondingDelegations RPC method.","type":"object","properties":{"pagination":{"description":"pagination defines the pagination in the response.","$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"},"unbonding_responses":{"type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.staking.v1beta1.UnbondingDelegation"}}}},"cosmos.staking.v1beta1.QueryValidatorsResponse":{"type":"object","title":"QueryValidatorsResponse is response type for the Query/Validators RPC method","properties":{"pagination":{"description":"pagination defines the pagination in the response.","$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"},"validators":{"description":"validators contains all the queried validators.","type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.staking.v1beta1.Validator"}}}},"cosmos.staking.v1beta1.Redelegation":{"description":"Redelegation contains the list of a particular delegator's redelegating bonds\nfrom a particular source validator to a particular destination validator.","type":"object","properties":{"delegator_address":{"description":"delegator_address is the bech32-encoded address of the delegator.","type":"string"},"entries":{"description":"entries are the redelegation entries.\n\nredelegation entries","type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.staking.v1beta1.RedelegationEntry"}},"validator_dst_address":{"description":"validator_dst_address is the validator redelegation destination operator address.","type":"string"},"validator_src_address":{"description":"validator_src_address is the validator redelegation source operator address.","type":"string"}}},"cosmos.staking.v1beta1.RedelegationEntry":{"description":"RedelegationEntry defines a redelegation object with relevant metadata.","type":"object","properties":{"completion_time":{"description":"completion_time defines the unix time for redelegation completion.","type":"string","format":"date-time"},"creation_height":{"description":"creation_height defines the height which the redelegation took place.","type":"string","format":"int64"},"initial_balance":{"description":"initial_balance defines the initial balance when redelegation started.","type":"string"},"shares_dst":{"description":"shares_dst is the amount of destination-validator shares created by redelegation.","type":"string"},"unbonding_id":{"type":"string","format":"uint64","title":"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"}}},"cosmos.staking.v1beta1.RedelegationEntryResponse":{"description":"RedelegationEntryResponse is equivalent to a RedelegationEntry except that it\ncontains a balance in addition to shares which is more suitable for client\nresponses.","type":"object","properties":{"balance":{"type":"string"},"redelegation_entry":{"$ref":"#/definitions/cosmos.staking.v1beta1.RedelegationEntry"}}},"cosmos.staking.v1beta1.RedelegationResponse":{"description":"RedelegationResponse is equivalent to a Redelegation except that its entries\ncontain a balance in addition to shares which is more suitable for client\nresponses.","type":"object","properties":{"entries":{"type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.staking.v1beta1.RedelegationEntryResponse"}},"redelegation":{"$ref":"#/definitions/cosmos.staking.v1beta1.Redelegation"}}},"cosmos.staking.v1beta1.UnbondingDelegation":{"description":"UnbondingDelegation stores all of a single delegator's unbonding bonds\nfor a single validator in an time-ordered list.","type":"object","properties":{"delegator_address":{"description":"delegator_address is the encoded address of the delegator.","type":"string"},"entries":{"description":"entries are the unbonding delegation entries.\n\nunbonding delegation entries","type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.staking.v1beta1.UnbondingDelegationEntry"}},"validator_address":{"description":"validator_address is the encoded address of the validator.","type":"string"}}},"cosmos.staking.v1beta1.UnbondingDelegationEntry":{"description":"UnbondingDelegationEntry defines an unbonding object with relevant metadata.","type":"object","properties":{"balance":{"description":"balance defines the tokens to receive at completion.","type":"string"},"completion_time":{"description":"completion_time is the unix time for unbonding completion.","type":"string","format":"date-time"},"creation_height":{"description":"creation_height is the height which the unbonding took place.","type":"string","format":"int64"},"initial_balance":{"description":"initial_balance defines the tokens initially scheduled to receive at completion.","type":"string"},"unbonding_id":{"type":"string","format":"uint64","title":"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"}}},"cosmos.staking.v1beta1.Validator":{"description":"Validator defines a validator, together with the total amount of the\nValidator's bond shares and their exchange rate to coins. Slashing results in\na decrease in the exchange rate, allowing correct calculation of future\nundelegations without iterating over delegators. When coins are delegated to\nthis validator, the validator is credited with a delegation whose number of\nbond shares is based on the amount of coins delegated divided by the current\nexchange rate. Voting power can be calculated as total bonded shares\nmultiplied by exchange rate.","type":"object","properties":{"commission":{"description":"commission defines the commission parameters.","$ref":"#/definitions/cosmos.staking.v1beta1.Commission"},"consensus_pubkey":{"description":"consensus_pubkey is the consensus public key of the validator, as a Protobuf Any.","$ref":"#/definitions/google.protobuf.Any"},"delegator_shares":{"description":"delegator_shares defines total shares issued to a validator's delegators.","type":"string"},"description":{"description":"description defines the description terms for the validator.","$ref":"#/definitions/cosmos.staking.v1beta1.Description"},"jailed":{"description":"jailed defined whether the validator has been jailed from bonded status or not.","type":"boolean"},"min_self_delegation":{"description":"min_self_delegation is the validator's self declared minimum self delegation.\n\nSince: cosmos-sdk 0.46","type":"string"},"operator_address":{"description":"operator_address defines the address of the validator's operator; bech encoded in JSON.","type":"string"},"status":{"description":"status is the validator status (bonded/unbonding/unbonded).","$ref":"#/definitions/cosmos.staking.v1beta1.BondStatus"},"tokens":{"description":"tokens define the delegated tokens (incl. self-delegation).","type":"string"},"unbonding_height":{"description":"unbonding_height defines, if unbonding, the height at which this validator has begun unbonding.","type":"string","format":"int64"},"unbonding_ids":{"type":"array","title":"list of unbonding ids, each uniquely identifing an unbonding of this validator","items":{"type":"string","format":"uint64"}},"unbonding_on_hold_ref_count":{"type":"string","format":"int64","title":"strictly positive if this validator's unbonding has been stopped by external modules"},"unbonding_time":{"description":"unbonding_time defines, if unbonding, the min time for the validator to complete unbonding.","type":"string","format":"date-time"}}},"cosmos.store.streaming.abci.ListenCommitRequest":{"type":"object","title":"ListenCommitRequest is the request type for the ListenCommit RPC method","properties":{"block_height":{"type":"string","format":"int64","title":"explicitly pass in block height as ResponseCommit does not contain this info"},"change_set":{"type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.store.v1beta1.StoreKVPair"}},"res":{"$ref":"#/definitions/tendermint.abci.ResponseCommit"}}},"cosmos.store.streaming.abci.ListenCommitResponse":{"type":"object","title":"ListenCommitResponse is the response type for the ListenCommit RPC method"},"cosmos.store.streaming.abci.ListenFinalizeBlockRequest":{"type":"object","title":"ListenEndBlockRequest is the request type for the ListenEndBlock RPC method","properties":{"req":{"$ref":"#/definitions/tendermint.abci.RequestFinalizeBlock"},"res":{"$ref":"#/definitions/tendermint.abci.ResponseFinalizeBlock"}}},"cosmos.store.streaming.abci.ListenFinalizeBlockResponse":{"type":"object","title":"ListenEndBlockResponse is the response type for the ListenEndBlock RPC method"},"cosmos.store.v1beta1.StoreKVPair":{"description":"Since: cosmos-sdk 0.43","type":"object","title":"StoreKVPair is a KVStore KVPair used for listening to state changes (Sets and Deletes)\nIt optionally includes the StoreKey for the originating KVStore and a Boolean flag to distinguish between Sets and\nDeletes","properties":{"delete":{"type":"boolean","title":"true indicates a delete operation, false indicates a set operation"},"key":{"type":"string","format":"byte"},"store_key":{"type":"string","title":"the store key for the KVStore this pair originates from"},"value":{"type":"string","format":"byte"}}},"cosmos.tx.signing.v1beta1.SignMode":{"description":"SignMode represents a signing mode with its own security guarantees.\n\nThis enum should be considered a registry of all known sign modes\nin the Cosmos ecosystem. Apps are not expected to support all known\nsign modes. Apps that would like to support custom sign modes are\nencouraged to open a small PR against this file to add a new case\nto this SignMode enum describing their sign mode so that different\napps have a consistent version of this enum.\n\n - SIGN_MODE_UNSPECIFIED: SIGN_MODE_UNSPECIFIED specifies an unknown signing mode and will be\nrejected.\n - SIGN_MODE_DIRECT: SIGN_MODE_DIRECT specifies a signing mode which uses SignDoc and is\nverified with raw bytes from Tx.\n - SIGN_MODE_TEXTUAL: SIGN_MODE_TEXTUAL is a future signing mode that will verify some\nhuman-readable textual representation on top of the binary representation\nfrom SIGN_MODE_DIRECT.\n\nSince: cosmos-sdk 0.50\n - SIGN_MODE_DIRECT_AUX: SIGN_MODE_DIRECT_AUX specifies a signing mode which uses\nSignDocDirectAux. As opposed to SIGN_MODE_DIRECT, this sign mode does not\nrequire signers signing over other signers' `signer_info`.\n\nSince: cosmos-sdk 0.46\n - SIGN_MODE_LEGACY_AMINO_JSON: SIGN_MODE_LEGACY_AMINO_JSON is a backwards compatibility mode which uses\nAmino JSON and will be removed in the future.\n - SIGN_MODE_EIP_191: SIGN_MODE_EIP_191 specifies the sign mode for EIP 191 signing on the Cosmos\nSDK. Ref: https://eips.ethereum.org/EIPS/eip-191\n\nCurrently, SIGN_MODE_EIP_191 is registered as a SignMode enum variant,\nbut is not implemented on the SDK by default. To enable EIP-191, you need\nto pass a custom `TxConfig` that has an implementation of\n`SignModeHandler` for EIP-191. The SDK may decide to fully support\nEIP-191 in the future.\n\nSince: cosmos-sdk 0.45.2","type":"string","default":"SIGN_MODE_UNSPECIFIED","enum":["SIGN_MODE_UNSPECIFIED","SIGN_MODE_DIRECT","SIGN_MODE_TEXTUAL","SIGN_MODE_DIRECT_AUX","SIGN_MODE_LEGACY_AMINO_JSON","SIGN_MODE_EIP_191"]},"cosmos.tx.v1beta1.AuthInfo":{"description":"AuthInfo describes the fee and signer modes that are used to sign a\ntransaction.","type":"object","properties":{"fee":{"description":"Fee is the fee and gas limit for the transaction. The first signer is the\nprimary signer and the one which pays the fee. The fee can be calculated\nbased on the cost of evaluating the body and doing signature verification\nof the signers. This can be estimated via simulation.","$ref":"#/definitions/cosmos.tx.v1beta1.Fee"},"signer_infos":{"description":"signer_infos defines the signing modes for the required signers. The number\nand order of elements must match the required signers from TxBody's\nmessages. The first element is the primary signer and the one which pays\nthe fee.","type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.tx.v1beta1.SignerInfo"}},"tip":{"description":"Tip is the optional tip used for transactions fees paid in another denom.\n\nThis field is ignored if the chain didn't enable tips, i.e. didn't add the\n`TipDecorator` in its posthandler.\n\nSince: cosmos-sdk 0.46","$ref":"#/definitions/cosmos.tx.v1beta1.Tip"}}},"cosmos.tx.v1beta1.BroadcastMode":{"description":"BroadcastMode specifies the broadcast mode for the TxService.Broadcast RPC\nmethod.\n\n - BROADCAST_MODE_UNSPECIFIED: zero-value for mode ordering\n - BROADCAST_MODE_BLOCK: DEPRECATED: use BROADCAST_MODE_SYNC instead,\nBROADCAST_MODE_BLOCK is not supported by the SDK from v0.47.x onwards.\n - BROADCAST_MODE_SYNC: BROADCAST_MODE_SYNC defines a tx broadcasting mode where the client waits\nfor a CheckTx execution response only.\n - BROADCAST_MODE_ASYNC: BROADCAST_MODE_ASYNC defines a tx broadcasting mode where the client\nreturns immediately.","type":"string","default":"BROADCAST_MODE_UNSPECIFIED","enum":["BROADCAST_MODE_UNSPECIFIED","BROADCAST_MODE_BLOCK","BROADCAST_MODE_SYNC","BROADCAST_MODE_ASYNC"]},"cosmos.tx.v1beta1.BroadcastTxRequest":{"description":"BroadcastTxRequest is the request type for the Service.BroadcastTxRequest\nRPC method.","type":"object","properties":{"mode":{"$ref":"#/definitions/cosmos.tx.v1beta1.BroadcastMode"},"tx_bytes":{"description":"tx_bytes is the raw transaction.","type":"string","format":"byte"}}},"cosmos.tx.v1beta1.BroadcastTxResponse":{"description":"BroadcastTxResponse is the response type for the\nService.BroadcastTx method.","type":"object","properties":{"tx_response":{"description":"tx_response is the queried TxResponses.","$ref":"#/definitions/cosmos.base.abci.v1beta1.TxResponse"}}},"cosmos.tx.v1beta1.Fee":{"description":"Fee includes the amount of coins paid in fees and the maximum\ngas to be used by the transaction. The ratio yields an effective \"gasprice\",\nwhich must be above some miminum to be accepted into the mempool.","type":"object","properties":{"amount":{"type":"array","title":"amount is the amount of coins to be paid as a fee","items":{"type":"object","$ref":"#/definitions/cosmos.base.v1beta1.Coin"}},"gas_limit":{"type":"string","format":"uint64","title":"gas_limit is the maximum gas that can be used in transaction processing\nbefore an out of gas error occurs"},"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\nto pay fees instead of the fee payer's own balance. If an appropriate fee grant does not exist or the chain does\nnot support fee grants, this will fail"},"payer":{"description":"if unset, the first signer is responsible for paying the fees. If set, the specified account must pay the fees.\nthe payer must be a tx signer (and thus have signed this field in AuthInfo).\nsetting this field does *not* change the ordering of required signers for the transaction.","type":"string"}}},"cosmos.tx.v1beta1.GetBlockWithTxsResponse":{"description":"GetBlockWithTxsResponse is the response type for the Service.GetBlockWithTxs\nmethod.\n\nSince: cosmos-sdk 0.45.2","type":"object","properties":{"block":{"$ref":"#/definitions/tendermint.types.Block"},"block_id":{"$ref":"#/definitions/tendermint.types.BlockID"},"pagination":{"description":"pagination defines a pagination for the response.","$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"},"txs":{"description":"txs are the transactions in the block.","type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.tx.v1beta1.Tx"}}}},"cosmos.tx.v1beta1.GetTxResponse":{"description":"GetTxResponse is the response type for the Service.GetTx method.","type":"object","properties":{"tx":{"description":"tx is the queried transaction.","$ref":"#/definitions/cosmos.tx.v1beta1.Tx"},"tx_response":{"description":"tx_response is the queried TxResponses.","$ref":"#/definitions/cosmos.base.abci.v1beta1.TxResponse"}}},"cosmos.tx.v1beta1.GetTxsEventResponse":{"description":"GetTxsEventResponse is the response type for the Service.TxsByEvents\nRPC method.","type":"object","properties":{"pagination":{"description":"pagination defines a pagination for the response.\nDeprecated post v0.46.x: use total instead.","$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"},"total":{"type":"string","format":"uint64","title":"total is total number of results available"},"tx_responses":{"description":"tx_responses is the list of queried TxResponses.","type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.base.abci.v1beta1.TxResponse"}},"txs":{"description":"txs is the list of queried transactions.","type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.tx.v1beta1.Tx"}}}},"cosmos.tx.v1beta1.ModeInfo":{"description":"ModeInfo describes the signing mode of a single or nested multisig signer.","type":"object","properties":{"multi":{"title":"multi represents a nested multisig signer","$ref":"#/definitions/cosmos.tx.v1beta1.ModeInfo.Multi"},"single":{"title":"single represents a single signer","$ref":"#/definitions/cosmos.tx.v1beta1.ModeInfo.Single"}}},"cosmos.tx.v1beta1.ModeInfo.Multi":{"type":"object","title":"Multi is the mode info for a multisig public key","properties":{"bitarray":{"title":"bitarray specifies which keys within the multisig are signing","$ref":"#/definitions/cosmos.crypto.multisig.v1beta1.CompactBitArray"},"mode_infos":{"type":"array","title":"mode_infos is the corresponding modes of the signers of the multisig\nwhich could include nested multisig public keys","items":{"type":"object","$ref":"#/definitions/cosmos.tx.v1beta1.ModeInfo"}}}},"cosmos.tx.v1beta1.ModeInfo.Single":{"type":"object","title":"Single is the mode info for a single signer. It is structured as a message\nto allow for additional fields such as locale for SIGN_MODE_TEXTUAL in the\nfuture","properties":{"mode":{"title":"mode is the signing mode of the single signer","$ref":"#/definitions/cosmos.tx.signing.v1beta1.SignMode"}}},"cosmos.tx.v1beta1.OrderBy":{"description":"- ORDER_BY_UNSPECIFIED: ORDER_BY_UNSPECIFIED specifies an unknown sorting order. OrderBy defaults\nto ASC in this case.\n - ORDER_BY_ASC: ORDER_BY_ASC defines ascending order\n - ORDER_BY_DESC: ORDER_BY_DESC defines descending order","type":"string","title":"OrderBy defines the sorting order","default":"ORDER_BY_UNSPECIFIED","enum":["ORDER_BY_UNSPECIFIED","ORDER_BY_ASC","ORDER_BY_DESC"]},"cosmos.tx.v1beta1.SignerInfo":{"description":"SignerInfo describes the public key and signing mode of a single top-level\nsigner.","type":"object","properties":{"mode_info":{"title":"mode_info describes the signing mode of the signer and is a nested\nstructure to support nested multisig pubkey's","$ref":"#/definitions/cosmos.tx.v1beta1.ModeInfo"},"public_key":{"description":"public_key is the public key of the signer. It is optional for accounts\nthat already exist in state. If unset, the verifier can use the required \\\nsigner address for this position and lookup the public key.","$ref":"#/definitions/google.protobuf.Any"},"sequence":{"description":"sequence is the sequence of the account, which describes the\nnumber of committed transactions signed by a given address. It is used to\nprevent replay attacks.","type":"string","format":"uint64"}}},"cosmos.tx.v1beta1.SimulateRequest":{"description":"SimulateRequest is the request type for the Service.Simulate\nRPC method.","type":"object","properties":{"tx":{"description":"tx is the transaction to simulate.\nDeprecated. Send raw tx bytes instead.","$ref":"#/definitions/cosmos.tx.v1beta1.Tx"},"tx_bytes":{"description":"tx_bytes is the raw transaction.\n\nSince: cosmos-sdk 0.43","type":"string","format":"byte"}}},"cosmos.tx.v1beta1.SimulateResponse":{"description":"SimulateResponse is the response type for the\nService.SimulateRPC method.","type":"object","properties":{"gas_info":{"description":"gas_info is the information about gas used in the simulation.","$ref":"#/definitions/cosmos.base.abci.v1beta1.GasInfo"},"result":{"description":"result is the result of the simulation.","$ref":"#/definitions/cosmos.base.abci.v1beta1.Result"}}},"cosmos.tx.v1beta1.Tip":{"description":"Tip is the tip used for meta-transactions.\n\nSince: cosmos-sdk 0.46","type":"object","properties":{"amount":{"type":"array","title":"amount is the amount of the tip","items":{"type":"object","$ref":"#/definitions/cosmos.base.v1beta1.Coin"}},"tipper":{"type":"string","title":"tipper is the address of the account paying for the tip"}}},"cosmos.tx.v1beta1.Tx":{"description":"Tx is the standard type used for broadcasting transactions.","type":"object","properties":{"auth_info":{"title":"auth_info is the authorization related content of the transaction,\nspecifically signers, signer modes and fee","$ref":"#/definitions/cosmos.tx.v1beta1.AuthInfo"},"body":{"title":"body is the processable content of the transaction","$ref":"#/definitions/cosmos.tx.v1beta1.TxBody"},"signatures":{"description":"signatures is a list of signatures that matches the length and order of\nAuthInfo's signer_infos to allow connecting signature meta information like\npublic key and signing mode by position.","type":"array","items":{"type":"string","format":"byte"}}}},"cosmos.tx.v1beta1.TxBody":{"description":"TxBody is the body of a transaction that all signers sign over.","type":"object","properties":{"extension_options":{"type":"array","title":"extension_options are arbitrary options that can be added by chains\nwhen the default options are not sufficient. If any of these are present\nand can't be handled, the transaction will be rejected","items":{"type":"object","$ref":"#/definitions/google.protobuf.Any"}},"memo":{"description":"memo is any arbitrary note/comment to be added to the transaction.\nWARNING: in clients, any publicly exposed text should not be called memo,\nbut should be called `note` instead (see https://github.com/cosmos/cosmos-sdk/issues/9122).","type":"string"},"messages":{"description":"messages is a list of messages to be executed. The required signers of\nthose messages define the number and order of elements in AuthInfo's\nsigner_infos and Tx's signatures. Each required signer address is added to\nthe list only the first time it occurs.\nBy convention, the first required signer (usually from the first message)\nis referred to as the primary signer and pays the fee for the whole\ntransaction.","type":"array","items":{"type":"object","$ref":"#/definitions/google.protobuf.Any"}},"non_critical_extension_options":{"type":"array","title":"extension_options are arbitrary options that can be added by chains\nwhen the default options are not sufficient. If any of these are present\nand can't be handled, they will be ignored","items":{"type":"object","$ref":"#/definitions/google.protobuf.Any"}},"timeout_height":{"type":"string","format":"uint64","title":"timeout is the block height after which this transaction will not\nbe processed by the chain"}}},"cosmos.tx.v1beta1.TxDecodeAminoRequest":{"description":"TxDecodeAminoRequest is the request type for the Service.TxDecodeAmino\nRPC method.\n\nSince: cosmos-sdk 0.47","type":"object","properties":{"amino_binary":{"type":"string","format":"byte"}}},"cosmos.tx.v1beta1.TxDecodeAminoResponse":{"description":"TxDecodeAminoResponse is the response type for the Service.TxDecodeAmino\nRPC method.\n\nSince: cosmos-sdk 0.47","type":"object","properties":{"amino_json":{"type":"string"}}},"cosmos.tx.v1beta1.TxDecodeRequest":{"description":"TxDecodeRequest is the request type for the Service.TxDecode\nRPC method.\n\nSince: cosmos-sdk 0.47","type":"object","properties":{"tx_bytes":{"description":"tx_bytes is the raw transaction.","type":"string","format":"byte"}}},"cosmos.tx.v1beta1.TxDecodeResponse":{"description":"TxDecodeResponse is the response type for the\nService.TxDecode method.\n\nSince: cosmos-sdk 0.47","type":"object","properties":{"tx":{"description":"tx is the decoded transaction.","$ref":"#/definitions/cosmos.tx.v1beta1.Tx"}}},"cosmos.tx.v1beta1.TxEncodeAminoRequest":{"description":"TxEncodeAminoRequest is the request type for the Service.TxEncodeAmino\nRPC method.\n\nSince: cosmos-sdk 0.47","type":"object","properties":{"amino_json":{"type":"string"}}},"cosmos.tx.v1beta1.TxEncodeAminoResponse":{"description":"TxEncodeAminoResponse is the response type for the Service.TxEncodeAmino\nRPC method.\n\nSince: cosmos-sdk 0.47","type":"object","properties":{"amino_binary":{"type":"string","format":"byte"}}},"cosmos.tx.v1beta1.TxEncodeRequest":{"description":"TxEncodeRequest is the request type for the Service.TxEncode\nRPC method.\n\nSince: cosmos-sdk 0.47","type":"object","properties":{"tx":{"description":"tx is the transaction to encode.","$ref":"#/definitions/cosmos.tx.v1beta1.Tx"}}},"cosmos.tx.v1beta1.TxEncodeResponse":{"description":"TxEncodeResponse is the response type for the\nService.TxEncode method.\n\nSince: cosmos-sdk 0.47","type":"object","properties":{"tx_bytes":{"description":"tx_bytes is the encoded transaction bytes.","type":"string","format":"byte"}}},"cosmos.upgrade.v1beta1.ModuleVersion":{"description":"ModuleVersion specifies a module and its consensus version.\n\nSince: cosmos-sdk 0.43","type":"object","properties":{"name":{"type":"string","title":"name of the app module"},"version":{"type":"string","format":"uint64","title":"consensus version of the app module"}}},"cosmos.upgrade.v1beta1.MsgCancelUpgrade":{"description":"MsgCancelUpgrade is the Msg/CancelUpgrade request type.\n\nSince: cosmos-sdk 0.46","type":"object","properties":{"authority":{"description":"authority is the address that controls the module (defaults to x/gov unless overwritten).","type":"string"}}},"cosmos.upgrade.v1beta1.MsgCancelUpgradeResponse":{"description":"MsgCancelUpgradeResponse is the Msg/CancelUpgrade response type.\n\nSince: cosmos-sdk 0.46","type":"object"},"cosmos.upgrade.v1beta1.MsgSoftwareUpgrade":{"description":"MsgSoftwareUpgrade is the Msg/SoftwareUpgrade request type.\n\nSince: cosmos-sdk 0.46","type":"object","properties":{"authority":{"description":"authority is the address that controls the module (defaults to x/gov unless overwritten).","type":"string"},"plan":{"description":"plan is the upgrade plan.","$ref":"#/definitions/cosmos.upgrade.v1beta1.Plan"}}},"cosmos.upgrade.v1beta1.MsgSoftwareUpgradeResponse":{"description":"MsgSoftwareUpgradeResponse is the Msg/SoftwareUpgrade response type.\n\nSince: cosmos-sdk 0.46","type":"object"},"cosmos.upgrade.v1beta1.Plan":{"description":"Plan specifies information about a planned upgrade and when it should occur.","type":"object","properties":{"height":{"description":"The height at which the upgrade must be performed.","type":"string","format":"int64"},"info":{"type":"string","title":"Any application specific upgrade info to be included on-chain\nsuch as a git commit that validators could automatically upgrade to"},"name":{"description":"Sets the name for the upgrade. This name will be used by the upgraded\nversion of the software to apply any special \"on-upgrade\" commands during\nthe first BeginBlock method after the upgrade is applied. It is also used\nto detect whether a software version can handle a given upgrade. If no\nupgrade handler with this name has been set in the software, it will be\nassumed that the software is out-of-date when the upgrade Time or Height is\nreached and the software will exit.","type":"string"},"time":{"description":"Deprecated: Time based upgrades have been deprecated. Time based upgrade logic\nhas been removed from the SDK.\nIf this field is not empty, an error will be thrown.","type":"string","format":"date-time"},"upgraded_client_state":{"description":"Deprecated: UpgradedClientState field has been deprecated. IBC upgrade logic has been\nmoved to the IBC module in the sub module 02-client.\nIf this field is not empty, an error will be thrown.","$ref":"#/definitions/google.protobuf.Any"}}},"cosmos.upgrade.v1beta1.QueryAppliedPlanResponse":{"description":"QueryAppliedPlanResponse is the response type for the Query/AppliedPlan RPC\nmethod.","type":"object","properties":{"height":{"description":"height is the block height at which the plan was applied.","type":"string","format":"int64"}}},"cosmos.upgrade.v1beta1.QueryAuthorityResponse":{"description":"Since: cosmos-sdk 0.46","type":"object","title":"QueryAuthorityResponse is the response type for Query/Authority","properties":{"address":{"type":"string"}}},"cosmos.upgrade.v1beta1.QueryCurrentPlanResponse":{"description":"QueryCurrentPlanResponse is the response type for the Query/CurrentPlan RPC\nmethod.","type":"object","properties":{"plan":{"description":"plan is the current upgrade plan.","$ref":"#/definitions/cosmos.upgrade.v1beta1.Plan"}}},"cosmos.upgrade.v1beta1.QueryModuleVersionsResponse":{"description":"QueryModuleVersionsResponse is the response type for the Query/ModuleVersions\nRPC method.\n\nSince: cosmos-sdk 0.43","type":"object","properties":{"module_versions":{"description":"module_versions is a list of module names with their consensus versions.","type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.upgrade.v1beta1.ModuleVersion"}}}},"cosmos.upgrade.v1beta1.QueryUpgradedConsensusStateResponse":{"description":"QueryUpgradedConsensusStateResponse is the response type for the Query/UpgradedConsensusState\nRPC method.","type":"object","properties":{"upgraded_consensus_state":{"type":"string","format":"byte","title":"Since: cosmos-sdk 0.43"}}},"cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccount":{"description":"MsgCreateVestingAccount defines a message that enables creating a vesting\naccount.\n\nSince: cosmos-sdk 0.46","type":"object","properties":{"from_address":{"type":"string"},"start_time":{"description":"start of vesting as unix time (in seconds).","type":"string","format":"int64"},"to_address":{"type":"string"},"vesting_periods":{"type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.vesting.v1beta1.Period"}}}},"cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccountResponse":{"description":"MsgCreateVestingAccountResponse defines the Msg/CreatePeriodicVestingAccount\nresponse type.\n\nSince: cosmos-sdk 0.46","type":"object"},"cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccount":{"description":"MsgCreatePermanentLockedAccount defines a message that enables creating a permanent\nlocked account.\n\nSince: cosmos-sdk 0.46","type":"object","properties":{"amount":{"type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.base.v1beta1.Coin"}},"from_address":{"type":"string"},"to_address":{"type":"string"}}},"cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccountResponse":{"description":"MsgCreatePermanentLockedAccountResponse defines the Msg/CreatePermanentLockedAccount response type.\n\nSince: cosmos-sdk 0.46","type":"object"},"cosmos.vesting.v1beta1.MsgCreateVestingAccount":{"description":"MsgCreateVestingAccount defines a message that enables creating a vesting\naccount.","type":"object","properties":{"amount":{"type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.base.v1beta1.Coin"}},"delayed":{"type":"boolean"},"end_time":{"description":"end of vesting as unix time (in seconds).","type":"string","format":"int64"},"from_address":{"type":"string"},"to_address":{"type":"string"}}},"cosmos.vesting.v1beta1.MsgCreateVestingAccountResponse":{"description":"MsgCreateVestingAccountResponse defines the Msg/CreateVestingAccount response type.","type":"object"},"cosmos.vesting.v1beta1.Period":{"description":"Period defines a length of time and amount of coins that will vest.","type":"object","properties":{"amount":{"type":"array","items":{"type":"object","$ref":"#/definitions/cosmos.base.v1beta1.Coin"}},"length":{"description":"Period duration in seconds.","type":"string","format":"int64"}}},"google.protobuf.Any":{"type":"object","properties":{"@type":{"type":"string"}},"additionalProperties":{}},"google.rpc.Status":{"type":"object","properties":{"code":{"type":"integer","format":"int32"},"details":{"type":"array","items":{"type":"object","$ref":"#/definitions/google.protobuf.Any"}},"message":{"type":"string"}}},"ibc.applications.fee.v1.Fee":{"type":"object","title":"Fee defines the ICS29 receive, acknowledgement and timeout fees","properties":{"ack_fee":{"type":"array","title":"the packet acknowledgement fee","items":{"type":"object","$ref":"#/definitions/cosmos.base.v1beta1.Coin"}},"recv_fee":{"type":"array","title":"the packet receive fee","items":{"type":"object","$ref":"#/definitions/cosmos.base.v1beta1.Coin"}},"timeout_fee":{"type":"array","title":"the packet timeout fee","items":{"type":"object","$ref":"#/definitions/cosmos.base.v1beta1.Coin"}}}},"ibc.applications.fee.v1.FeeEnabledChannel":{"type":"object","title":"FeeEnabledChannel contains the PortID \u0026 ChannelID for a fee enabled channel","properties":{"channel_id":{"type":"string","title":"unique channel identifier"},"port_id":{"type":"string","title":"unique port identifier"}}},"ibc.applications.fee.v1.IdentifiedPacketFees":{"type":"object","title":"IdentifiedPacketFees contains a list of type PacketFee and associated PacketId","properties":{"packet_fees":{"type":"array","title":"list of packet fees","items":{"type":"object","$ref":"#/definitions/ibc.applications.fee.v1.PacketFee"}},"packet_id":{"title":"unique packet identifier comprised of the channel ID, port ID and sequence","$ref":"#/definitions/ibc.core.channel.v1.PacketId"}}},"ibc.applications.fee.v1.MsgPayPacketFee":{"type":"object","title":"MsgPayPacketFee defines the request type for the PayPacketFee rpc\nThis Msg can be used to pay for a packet at the next sequence send \u0026 should be combined with the Msg that will be\npaid for","properties":{"fee":{"title":"fee encapsulates the recv, ack and timeout fees associated with an IBC packet","$ref":"#/definitions/ibc.applications.fee.v1.Fee"},"relayers":{"type":"array","title":"optional list of relayers permitted to the receive packet fees","items":{"type":"string"}},"signer":{"type":"string","title":"account address to refund fee if necessary"},"source_channel_id":{"type":"string","title":"the source channel unique identifer"},"source_port_id":{"type":"string","title":"the source port unique identifier"}}},"ibc.applications.fee.v1.MsgPayPacketFeeAsync":{"type":"object","title":"MsgPayPacketFeeAsync defines the request type for the PayPacketFeeAsync rpc\nThis Msg can be used to pay for a packet at a specified sequence (instead of the next sequence send)","properties":{"packet_fee":{"title":"the packet fee associated with a particular IBC packet","$ref":"#/definitions/ibc.applications.fee.v1.PacketFee"},"packet_id":{"title":"unique packet identifier comprised of the channel ID, port ID and sequence","$ref":"#/definitions/ibc.core.channel.v1.PacketId"}}},"ibc.applications.fee.v1.MsgPayPacketFeeAsyncResponse":{"type":"object","title":"MsgPayPacketFeeAsyncResponse defines the response type for the PayPacketFeeAsync rpc"},"ibc.applications.fee.v1.MsgPayPacketFeeResponse":{"type":"object","title":"MsgPayPacketFeeResponse defines the response type for the PayPacketFee rpc"},"ibc.applications.fee.v1.MsgRegisterCounterpartyPayee":{"type":"object","title":"MsgRegisterCounterpartyPayee defines the request type for the RegisterCounterpartyPayee rpc","properties":{"channel_id":{"type":"string","title":"unique channel identifier"},"counterparty_payee":{"type":"string","title":"the counterparty payee address"},"port_id":{"type":"string","title":"unique port identifier"},"relayer":{"type":"string","title":"the relayer address"}}},"ibc.applications.fee.v1.MsgRegisterCounterpartyPayeeResponse":{"type":"object","title":"MsgRegisterCounterpartyPayeeResponse defines the response type for the RegisterCounterpartyPayee rpc"},"ibc.applications.fee.v1.MsgRegisterPayee":{"type":"object","title":"MsgRegisterPayee defines the request type for the RegisterPayee rpc","properties":{"channel_id":{"type":"string","title":"unique channel identifier"},"payee":{"type":"string","title":"the payee address"},"port_id":{"type":"string","title":"unique port identifier"},"relayer":{"type":"string","title":"the relayer address"}}},"ibc.applications.fee.v1.MsgRegisterPayeeResponse":{"type":"object","title":"MsgRegisterPayeeResponse defines the response type for the RegisterPayee rpc"},"ibc.applications.fee.v1.PacketFee":{"type":"object","title":"PacketFee contains ICS29 relayer fees, refund address and optional list of permitted relayers","properties":{"fee":{"title":"fee encapsulates the recv, ack and timeout fees associated with an IBC packet","$ref":"#/definitions/ibc.applications.fee.v1.Fee"},"refund_address":{"type":"string","title":"the refund address for unspent fees"},"relayers":{"type":"array","title":"optional list of relayers permitted to receive fees","items":{"type":"string"}}}},"ibc.applications.fee.v1.QueryCounterpartyPayeeResponse":{"type":"object","title":"QueryCounterpartyPayeeResponse defines the response type for the CounterpartyPayee rpc","properties":{"counterparty_payee":{"type":"string","title":"the counterparty payee address used to compensate forward relaying"}}},"ibc.applications.fee.v1.QueryFeeEnabledChannelResponse":{"type":"object","title":"QueryFeeEnabledChannelResponse defines the response type for the FeeEnabledChannel rpc","properties":{"fee_enabled":{"type":"boolean","title":"boolean flag representing the fee enabled channel status"}}},"ibc.applications.fee.v1.QueryFeeEnabledChannelsResponse":{"type":"object","title":"QueryFeeEnabledChannelsResponse defines the response type for the FeeEnabledChannels rpc","properties":{"fee_enabled_channels":{"type":"array","title":"list of fee enabled channels","items":{"type":"object","$ref":"#/definitions/ibc.applications.fee.v1.FeeEnabledChannel"}},"pagination":{"description":"pagination defines the pagination in the response.","$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"}}},"ibc.applications.fee.v1.QueryIncentivizedPacketResponse":{"type":"object","title":"QueryIncentivizedPacketsResponse defines the response type for the IncentivizedPacket rpc","properties":{"incentivized_packet":{"title":"the identified fees for the incentivized packet","$ref":"#/definitions/ibc.applications.fee.v1.IdentifiedPacketFees"}}},"ibc.applications.fee.v1.QueryIncentivizedPacketsForChannelResponse":{"type":"object","title":"QueryIncentivizedPacketsResponse defines the response type for the incentivized packets RPC","properties":{"incentivized_packets":{"type":"array","title":"Map of all incentivized_packets","items":{"type":"object","$ref":"#/definitions/ibc.applications.fee.v1.IdentifiedPacketFees"}},"pagination":{"description":"pagination defines the pagination in the response.","$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"}}},"ibc.applications.fee.v1.QueryIncentivizedPacketsResponse":{"type":"object","title":"QueryIncentivizedPacketsResponse defines the response type for the IncentivizedPackets rpc","properties":{"incentivized_packets":{"type":"array","title":"list of identified fees for incentivized packets","items":{"type":"object","$ref":"#/definitions/ibc.applications.fee.v1.IdentifiedPacketFees"}},"pagination":{"description":"pagination defines the pagination in the response.","$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"}}},"ibc.applications.fee.v1.QueryPayeeResponse":{"type":"object","title":"QueryPayeeResponse defines the response type for the Payee rpc","properties":{"payee_address":{"type":"string","title":"the payee address to which packet fees are paid out"}}},"ibc.applications.fee.v1.QueryTotalAckFeesResponse":{"type":"object","title":"QueryTotalAckFeesResponse defines the response type for the TotalAckFees rpc","properties":{"ack_fees":{"type":"array","title":"the total packet acknowledgement fees","items":{"type":"object","$ref":"#/definitions/cosmos.base.v1beta1.Coin"}}}},"ibc.applications.fee.v1.QueryTotalRecvFeesResponse":{"type":"object","title":"QueryTotalRecvFeesResponse defines the response type for the TotalRecvFees rpc","properties":{"recv_fees":{"type":"array","title":"the total packet receive fees","items":{"type":"object","$ref":"#/definitions/cosmos.base.v1beta1.Coin"}}}},"ibc.applications.fee.v1.QueryTotalTimeoutFeesResponse":{"type":"object","title":"QueryTotalTimeoutFeesResponse defines the response type for the TotalTimeoutFees rpc","properties":{"timeout_fees":{"type":"array","title":"the total packet timeout fees","items":{"type":"object","$ref":"#/definitions/cosmos.base.v1beta1.Coin"}}}},"ibc.applications.interchain_accounts.controller.v1.MsgRegisterInterchainAccount":{"type":"object","title":"MsgRegisterInterchainAccount defines the payload for Msg/RegisterAccount","properties":{"connection_id":{"type":"string"},"ordering":{"$ref":"#/definitions/ibc.core.channel.v1.Order"},"owner":{"type":"string"},"version":{"type":"string"}}},"ibc.applications.interchain_accounts.controller.v1.MsgRegisterInterchainAccountResponse":{"type":"object","title":"MsgRegisterInterchainAccountResponse defines the response for Msg/RegisterAccount","properties":{"channel_id":{"type":"string"},"port_id":{"type":"string"}}},"ibc.applications.interchain_accounts.controller.v1.MsgSendTx":{"type":"object","title":"MsgSendTx defines the payload for Msg/SendTx","properties":{"connection_id":{"type":"string"},"owner":{"type":"string"},"packet_data":{"$ref":"#/definitions/ibc.applications.interchain_accounts.v1.InterchainAccountPacketData"},"relative_timeout":{"description":"Relative timeout timestamp provided will be added to the current block time during transaction execution.\nThe timeout timestamp must be non-zero.","type":"string","format":"uint64"}}},"ibc.applications.interchain_accounts.controller.v1.MsgSendTxResponse":{"type":"object","title":"MsgSendTxResponse defines the response for MsgSendTx","properties":{"sequence":{"type":"string","format":"uint64"}}},"ibc.applications.interchain_accounts.controller.v1.MsgUpdateParams":{"type":"object","title":"MsgUpdateParams defines the payload for Msg/UpdateParams","properties":{"params":{"description":"params defines the 27-interchain-accounts/controller parameters to update.\n\nNOTE: All parameters must be supplied.","$ref":"#/definitions/ibc.applications.interchain_accounts.controller.v1.Params"},"signer":{"type":"string","title":"signer address"}}},"ibc.applications.interchain_accounts.controller.v1.MsgUpdateParamsResponse":{"type":"object","title":"MsgUpdateParamsResponse defines the response for Msg/UpdateParams"},"ibc.applications.interchain_accounts.controller.v1.Params":{"description":"Params defines the set of on-chain interchain accounts parameters.\nThe following parameters may be used to disable the controller submodule.","type":"object","properties":{"controller_enabled":{"description":"controller_enabled enables or disables the controller submodule.","type":"boolean"}}},"ibc.applications.interchain_accounts.controller.v1.QueryInterchainAccountResponse":{"description":"QueryInterchainAccountResponse the response type for the Query/InterchainAccount RPC method.","type":"object","properties":{"address":{"type":"string"}}},"ibc.applications.interchain_accounts.controller.v1.QueryParamsResponse":{"description":"QueryParamsResponse is the response type for the Query/Params RPC method.","type":"object","properties":{"params":{"description":"params defines the parameters of the module.","$ref":"#/definitions/ibc.applications.interchain_accounts.controller.v1.Params"}}},"ibc.applications.interchain_accounts.host.v1.MsgUpdateParams":{"type":"object","title":"MsgUpdateParams defines the payload for Msg/UpdateParams","properties":{"params":{"description":"params defines the 27-interchain-accounts/host parameters to update.\n\nNOTE: All parameters must be supplied.","$ref":"#/definitions/ibc.applications.interchain_accounts.host.v1.Params"},"signer":{"type":"string","title":"signer address"}}},"ibc.applications.interchain_accounts.host.v1.MsgUpdateParamsResponse":{"type":"object","title":"MsgUpdateParamsResponse defines the response for Msg/UpdateParams"},"ibc.applications.interchain_accounts.host.v1.Params":{"description":"Params defines the set of on-chain interchain accounts parameters.\nThe following parameters may be used to disable the host submodule.","type":"object","properties":{"allow_messages":{"description":"allow_messages defines a list of sdk message typeURLs allowed to be executed on a host chain.","type":"array","items":{"type":"string"}},"host_enabled":{"description":"host_enabled enables or disables the host submodule.","type":"boolean"}}},"ibc.applications.interchain_accounts.host.v1.QueryParamsResponse":{"description":"QueryParamsResponse is the response type for the Query/Params RPC method.","type":"object","properties":{"params":{"description":"params defines the parameters of the module.","$ref":"#/definitions/ibc.applications.interchain_accounts.host.v1.Params"}}},"ibc.applications.interchain_accounts.v1.InterchainAccountPacketData":{"description":"InterchainAccountPacketData is comprised of a raw transaction, type of transaction and optional memo field.","type":"object","properties":{"data":{"type":"string","format":"byte"},"memo":{"type":"string"},"type":{"$ref":"#/definitions/ibc.applications.interchain_accounts.v1.Type"}}},"ibc.applications.interchain_accounts.v1.Type":{"description":"- TYPE_UNSPECIFIED: Default zero value enumeration\n - TYPE_EXECUTE_TX: Execute a transaction on an interchain accounts host chain","type":"string","title":"Type defines a classification of message issued from a controller chain to its associated interchain accounts\nhost","default":"TYPE_UNSPECIFIED","enum":["TYPE_UNSPECIFIED","TYPE_EXECUTE_TX"]},"ibc.applications.transfer.v1.DenomTrace":{"description":"DenomTrace contains the base denomination for ICS20 fungible tokens and the\nsource tracing information path.","type":"object","properties":{"base_denom":{"description":"base denomination of the relayed fungible token.","type":"string"},"path":{"description":"path defines the chain of port/channel identifiers used for tracing the\nsource of the fungible token.","type":"string"}}},"ibc.applications.transfer.v1.MsgTransfer":{"type":"object","title":"MsgTransfer defines a msg to transfer fungible tokens (i.e Coins) between\nICS20 enabled chains. See ICS Spec here:\nhttps://github.com/cosmos/ibc/tree/master/spec/app/ics-020-fungible-token-transfer#data-structures","properties":{"memo":{"type":"string","title":"optional memo"},"receiver":{"type":"string","title":"the recipient address on the destination chain"},"sender":{"type":"string","title":"the sender address"},"source_channel":{"type":"string","title":"the channel by which the packet will be sent"},"source_port":{"type":"string","title":"the port on which the packet will be sent"},"timeout_height":{"description":"Timeout height relative to the current block height.\nThe timeout is disabled when set to 0.","$ref":"#/definitions/ibc.core.client.v1.Height"},"timeout_timestamp":{"description":"Timeout timestamp in absolute nanoseconds since unix epoch.\nThe timeout is disabled when set to 0.","type":"string","format":"uint64"},"token":{"title":"the tokens to be transferred","$ref":"#/definitions/cosmos.base.v1beta1.Coin"}}},"ibc.applications.transfer.v1.MsgTransferResponse":{"description":"MsgTransferResponse defines the Msg/Transfer response type.","type":"object","properties":{"sequence":{"type":"string","format":"uint64","title":"sequence number of the transfer packet sent"}}},"ibc.applications.transfer.v1.MsgUpdateParams":{"description":"MsgUpdateParams is the Msg/UpdateParams request type.","type":"object","properties":{"params":{"description":"params defines the transfer parameters to update.\n\nNOTE: All parameters must be supplied.","$ref":"#/definitions/ibc.applications.transfer.v1.Params"},"signer":{"type":"string","title":"signer address"}}},"ibc.applications.transfer.v1.MsgUpdateParamsResponse":{"description":"MsgUpdateParamsResponse defines the response structure for executing a\nMsgUpdateParams message.","type":"object"},"ibc.applications.transfer.v1.Params":{"description":"Params defines the set of IBC transfer parameters.\nNOTE: To prevent a single token from being transferred, set the\nTransfersEnabled parameter to true and then set the bank module's SendEnabled\nparameter for the denomination to false.","type":"object","properties":{"receive_enabled":{"description":"receive_enabled enables or disables all cross-chain token transfers to this\nchain.","type":"boolean"},"send_enabled":{"description":"send_enabled enables or disables all cross-chain token transfers from this\nchain.","type":"boolean"}}},"ibc.applications.transfer.v1.QueryDenomHashResponse":{"description":"QueryDenomHashResponse is the response type for the Query/DenomHash RPC\nmethod.","type":"object","properties":{"hash":{"description":"hash (in hex format) of the denomination trace information.","type":"string"}}},"ibc.applications.transfer.v1.QueryDenomTraceResponse":{"description":"QueryDenomTraceResponse is the response type for the Query/DenomTrace RPC\nmethod.","type":"object","properties":{"denom_trace":{"description":"denom_trace returns the requested denomination trace information.","$ref":"#/definitions/ibc.applications.transfer.v1.DenomTrace"}}},"ibc.applications.transfer.v1.QueryDenomTracesResponse":{"description":"QueryConnectionsResponse is the response type for the Query/DenomTraces RPC\nmethod.","type":"object","properties":{"denom_traces":{"description":"denom_traces returns all denominations trace information.","type":"array","items":{"type":"object","$ref":"#/definitions/ibc.applications.transfer.v1.DenomTrace"}},"pagination":{"description":"pagination defines the pagination in the response.","$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"}}},"ibc.applications.transfer.v1.QueryEscrowAddressResponse":{"description":"QueryEscrowAddressResponse is the response type of the EscrowAddress RPC method.","type":"object","properties":{"escrow_address":{"type":"string","title":"the escrow account address"}}},"ibc.applications.transfer.v1.QueryParamsResponse":{"description":"QueryParamsResponse is the response type for the Query/Params RPC method.","type":"object","properties":{"params":{"description":"params defines the parameters of the module.","$ref":"#/definitions/ibc.applications.transfer.v1.Params"}}},"ibc.applications.transfer.v1.QueryTotalEscrowForDenomResponse":{"description":"QueryTotalEscrowForDenomResponse is the response type for TotalEscrowForDenom RPC method.","type":"object","properties":{"amount":{"$ref":"#/definitions/cosmos.base.v1beta1.Coin"}}},"ibc.core.channel.v1.Channel":{"description":"Channel defines pipeline for exactly-once packet delivery between specific\nmodules on separate blockchains, which has at least one end capable of\nsending packets and one end capable of receiving packets.","type":"object","properties":{"connection_hops":{"type":"array","title":"list of connection identifiers, in order, along which packets sent on\nthis channel will travel","items":{"type":"string"}},"counterparty":{"title":"counterparty channel end","$ref":"#/definitions/ibc.core.channel.v1.Counterparty"},"ordering":{"title":"whether the channel is ordered or unordered","$ref":"#/definitions/ibc.core.channel.v1.Order"},"state":{"title":"current state of the channel end","$ref":"#/definitions/ibc.core.channel.v1.State"},"upgrade_sequence":{"type":"string","format":"uint64","title":"upgrade sequence indicates the latest upgrade attempt performed by this channel\nthe value of 0 indicates the channel has never been upgraded"},"version":{"type":"string","title":"opaque channel version, which is agreed upon during the handshake"}}},"ibc.core.channel.v1.Counterparty":{"type":"object","title":"Counterparty defines a channel end counterparty","properties":{"channel_id":{"type":"string","title":"channel end on the counterparty chain"},"port_id":{"description":"port on the counterparty chain which owns the other end of the channel.","type":"string"}}},"ibc.core.channel.v1.ErrorReceipt":{"description":"ErrorReceipt defines a type which encapsulates the upgrade sequence and error associated with the\nupgrade handshake failure. When a channel upgrade handshake is aborted both chains are expected to increment to the\nnext sequence.","type":"object","properties":{"message":{"type":"string","title":"the error message detailing the cause of failure"},"sequence":{"type":"string","format":"uint64","title":"the channel upgrade sequence"}}},"ibc.core.channel.v1.IdentifiedChannel":{"description":"IdentifiedChannel defines a channel with additional port and channel\nidentifier fields.","type":"object","properties":{"channel_id":{"type":"string","title":"channel identifier"},"connection_hops":{"type":"array","title":"list of connection identifiers, in order, along which packets sent on\nthis channel will travel","items":{"type":"string"}},"counterparty":{"title":"counterparty channel end","$ref":"#/definitions/ibc.core.channel.v1.Counterparty"},"ordering":{"title":"whether the channel is ordered or unordered","$ref":"#/definitions/ibc.core.channel.v1.Order"},"port_id":{"type":"string","title":"port identifier"},"state":{"title":"current state of the channel end","$ref":"#/definitions/ibc.core.channel.v1.State"},"upgrade_sequence":{"type":"string","format":"uint64","title":"upgrade sequence indicates the latest upgrade attempt performed by this channel\nthe value of 0 indicates the channel has never been upgraded"},"version":{"type":"string","title":"opaque channel version, which is agreed upon during the handshake"}}},"ibc.core.channel.v1.MsgAcknowledgement":{"type":"object","title":"MsgAcknowledgement receives incoming IBC acknowledgement","properties":{"acknowledgement":{"type":"string","format":"byte"},"packet":{"$ref":"#/definitions/ibc.core.channel.v1.Packet"},"proof_acked":{"type":"string","format":"byte"},"proof_height":{"$ref":"#/definitions/ibc.core.client.v1.Height"},"signer":{"type":"string"}}},"ibc.core.channel.v1.MsgAcknowledgementResponse":{"description":"MsgAcknowledgementResponse defines the Msg/Acknowledgement response type.","type":"object","properties":{"result":{"$ref":"#/definitions/ibc.core.channel.v1.ResponseResultType"}}},"ibc.core.channel.v1.MsgChannelCloseConfirm":{"description":"MsgChannelCloseConfirm defines a msg sent by a Relayer to Chain B\nto acknowledge the change of channel state to CLOSED on Chain A.","type":"object","properties":{"channel_id":{"type":"string"},"counterparty_upgrade_sequence":{"type":"string","format":"uint64"},"port_id":{"type":"string"},"proof_height":{"$ref":"#/definitions/ibc.core.client.v1.Height"},"proof_init":{"type":"string","format":"byte"},"signer":{"type":"string"}}},"ibc.core.channel.v1.MsgChannelCloseConfirmResponse":{"description":"MsgChannelCloseConfirmResponse defines the Msg/ChannelCloseConfirm response\ntype.","type":"object"},"ibc.core.channel.v1.MsgChannelCloseInit":{"description":"MsgChannelCloseInit defines a msg sent by a Relayer to Chain A\nto close a channel with Chain B.","type":"object","properties":{"channel_id":{"type":"string"},"port_id":{"type":"string"},"signer":{"type":"string"}}},"ibc.core.channel.v1.MsgChannelCloseInitResponse":{"description":"MsgChannelCloseInitResponse defines the Msg/ChannelCloseInit response type.","type":"object"},"ibc.core.channel.v1.MsgChannelOpenAck":{"description":"MsgChannelOpenAck defines a msg sent by a Relayer to Chain A to acknowledge\nthe change of channel state to TRYOPEN on Chain B.\nWARNING: a channel upgrade MUST NOT initialize an upgrade for this channel\nin the same block as executing this message otherwise the counterparty will\nbe incapable of opening.","type":"object","properties":{"channel_id":{"type":"string"},"counterparty_channel_id":{"type":"string"},"counterparty_version":{"type":"string"},"port_id":{"type":"string"},"proof_height":{"$ref":"#/definitions/ibc.core.client.v1.Height"},"proof_try":{"type":"string","format":"byte"},"signer":{"type":"string"}}},"ibc.core.channel.v1.MsgChannelOpenAckResponse":{"description":"MsgChannelOpenAckResponse defines the Msg/ChannelOpenAck response type.","type":"object"},"ibc.core.channel.v1.MsgChannelOpenConfirm":{"description":"MsgChannelOpenConfirm defines a msg sent by a Relayer to Chain B to\nacknowledge the change of channel state to OPEN on Chain A.","type":"object","properties":{"channel_id":{"type":"string"},"port_id":{"type":"string"},"proof_ack":{"type":"string","format":"byte"},"proof_height":{"$ref":"#/definitions/ibc.core.client.v1.Height"},"signer":{"type":"string"}}},"ibc.core.channel.v1.MsgChannelOpenConfirmResponse":{"description":"MsgChannelOpenConfirmResponse defines the Msg/ChannelOpenConfirm response\ntype.","type":"object"},"ibc.core.channel.v1.MsgChannelOpenInit":{"description":"MsgChannelOpenInit defines an sdk.Msg to initialize a channel handshake. It\nis called by a relayer on Chain A.","type":"object","properties":{"channel":{"$ref":"#/definitions/ibc.core.channel.v1.Channel"},"port_id":{"type":"string"},"signer":{"type":"string"}}},"ibc.core.channel.v1.MsgChannelOpenInitResponse":{"description":"MsgChannelOpenInitResponse defines the Msg/ChannelOpenInit response type.","type":"object","properties":{"channel_id":{"type":"string"},"version":{"type":"string"}}},"ibc.core.channel.v1.MsgChannelOpenTry":{"description":"MsgChannelOpenInit defines a msg sent by a Relayer to try to open a channel\non Chain B. The version field within the Channel field has been deprecated. Its\nvalue will be ignored by core IBC.","type":"object","properties":{"channel":{"description":"NOTE: the version field within the channel has been deprecated. Its value will be ignored by core IBC.","$ref":"#/definitions/ibc.core.channel.v1.Channel"},"counterparty_version":{"type":"string"},"port_id":{"type":"string"},"previous_channel_id":{"description":"Deprecated: this field is unused. Crossing hello's are no longer supported in core IBC.","type":"string"},"proof_height":{"$ref":"#/definitions/ibc.core.client.v1.Height"},"proof_init":{"type":"string","format":"byte"},"signer":{"type":"string"}}},"ibc.core.channel.v1.MsgChannelOpenTryResponse":{"description":"MsgChannelOpenTryResponse defines the Msg/ChannelOpenTry response type.","type":"object","properties":{"channel_id":{"type":"string"},"version":{"type":"string"}}},"ibc.core.channel.v1.MsgChannelUpgradeAck":{"type":"object","title":"MsgChannelUpgradeAck defines the request type for the ChannelUpgradeAck rpc","properties":{"channel_id":{"type":"string"},"counterparty_upgrade":{"$ref":"#/definitions/ibc.core.channel.v1.Upgrade"},"port_id":{"type":"string"},"proof_channel":{"type":"string","format":"byte"},"proof_height":{"$ref":"#/definitions/ibc.core.client.v1.Height"},"proof_upgrade":{"type":"string","format":"byte"},"signer":{"type":"string"}}},"ibc.core.channel.v1.MsgChannelUpgradeAckResponse":{"type":"object","title":"MsgChannelUpgradeAckResponse defines MsgChannelUpgradeAck response type","properties":{"result":{"$ref":"#/definitions/ibc.core.channel.v1.ResponseResultType"}}},"ibc.core.channel.v1.MsgChannelUpgradeCancel":{"type":"object","title":"MsgChannelUpgradeCancel defines the request type for the ChannelUpgradeCancel rpc","properties":{"channel_id":{"type":"string"},"error_receipt":{"$ref":"#/definitions/ibc.core.channel.v1.ErrorReceipt"},"port_id":{"type":"string"},"proof_error_receipt":{"type":"string","format":"byte"},"proof_height":{"$ref":"#/definitions/ibc.core.client.v1.Height"},"signer":{"type":"string"}}},"ibc.core.channel.v1.MsgChannelUpgradeCancelResponse":{"type":"object","title":"MsgChannelUpgradeCancelResponse defines the MsgChannelUpgradeCancel response type"},"ibc.core.channel.v1.MsgChannelUpgradeConfirm":{"type":"object","title":"MsgChannelUpgradeConfirm defines the request type for the ChannelUpgradeConfirm rpc","properties":{"channel_id":{"type":"string"},"counterparty_channel_state":{"$ref":"#/definitions/ibc.core.channel.v1.State"},"counterparty_upgrade":{"$ref":"#/definitions/ibc.core.channel.v1.Upgrade"},"port_id":{"type":"string"},"proof_channel":{"type":"string","format":"byte"},"proof_height":{"$ref":"#/definitions/ibc.core.client.v1.Height"},"proof_upgrade":{"type":"string","format":"byte"},"signer":{"type":"string"}}},"ibc.core.channel.v1.MsgChannelUpgradeConfirmResponse":{"type":"object","title":"MsgChannelUpgradeConfirmResponse defines MsgChannelUpgradeConfirm response type","properties":{"result":{"$ref":"#/definitions/ibc.core.channel.v1.ResponseResultType"}}},"ibc.core.channel.v1.MsgChannelUpgradeInit":{"description":"MsgChannelUpgradeInit defines the request type for the ChannelUpgradeInit rpc\nWARNING: Initializing a channel upgrade in the same block as opening the channel\nmay result in the counterparty being incapable of opening.","type":"object","properties":{"channel_id":{"type":"string"},"fields":{"$ref":"#/definitions/ibc.core.channel.v1.UpgradeFields"},"port_id":{"type":"string"},"signer":{"type":"string"}}},"ibc.core.channel.v1.MsgChannelUpgradeInitResponse":{"type":"object","title":"MsgChannelUpgradeInitResponse defines the MsgChannelUpgradeInit response type","properties":{"upgrade":{"$ref":"#/definitions/ibc.core.channel.v1.Upgrade"},"upgrade_sequence":{"type":"string","format":"uint64"}}},"ibc.core.channel.v1.MsgChannelUpgradeOpen":{"type":"object","title":"MsgChannelUpgradeOpen defines the request type for the ChannelUpgradeOpen rpc","properties":{"channel_id":{"type":"string"},"counterparty_channel_state":{"$ref":"#/definitions/ibc.core.channel.v1.State"},"counterparty_upgrade_sequence":{"type":"string","format":"uint64"},"port_id":{"type":"string"},"proof_channel":{"type":"string","format":"byte"},"proof_height":{"$ref":"#/definitions/ibc.core.client.v1.Height"},"signer":{"type":"string"}}},"ibc.core.channel.v1.MsgChannelUpgradeOpenResponse":{"type":"object","title":"MsgChannelUpgradeOpenResponse defines the MsgChannelUpgradeOpen response type"},"ibc.core.channel.v1.MsgChannelUpgradeTimeout":{"type":"object","title":"MsgChannelUpgradeTimeout defines the request type for the ChannelUpgradeTimeout rpc","properties":{"channel_id":{"type":"string"},"counterparty_channel":{"$ref":"#/definitions/ibc.core.channel.v1.Channel"},"port_id":{"type":"string"},"proof_channel":{"type":"string","format":"byte"},"proof_height":{"$ref":"#/definitions/ibc.core.client.v1.Height"},"signer":{"type":"string"}}},"ibc.core.channel.v1.MsgChannelUpgradeTimeoutResponse":{"type":"object","title":"MsgChannelUpgradeTimeoutRepsonse defines the MsgChannelUpgradeTimeout response type"},"ibc.core.channel.v1.MsgChannelUpgradeTry":{"type":"object","title":"MsgChannelUpgradeTry defines the request type for the ChannelUpgradeTry rpc","properties":{"channel_id":{"type":"string"},"counterparty_upgrade_fields":{"$ref":"#/definitions/ibc.core.channel.v1.UpgradeFields"},"counterparty_upgrade_sequence":{"type":"string","format":"uint64"},"port_id":{"type":"string"},"proof_channel":{"type":"string","format":"byte"},"proof_height":{"$ref":"#/definitions/ibc.core.client.v1.Height"},"proof_upgrade":{"type":"string","format":"byte"},"proposed_upgrade_connection_hops":{"type":"array","items":{"type":"string"}},"signer":{"type":"string"}}},"ibc.core.channel.v1.MsgChannelUpgradeTryResponse":{"type":"object","title":"MsgChannelUpgradeTryResponse defines the MsgChannelUpgradeTry response type","properties":{"result":{"$ref":"#/definitions/ibc.core.channel.v1.ResponseResultType"},"upgrade":{"$ref":"#/definitions/ibc.core.channel.v1.Upgrade"},"upgrade_sequence":{"type":"string","format":"uint64"}}},"ibc.core.channel.v1.MsgPruneAcknowledgements":{"description":"MsgPruneAcknowledgements defines the request type for the PruneAcknowledgements rpc.","type":"object","properties":{"channel_id":{"type":"string"},"limit":{"type":"string","format":"uint64"},"port_id":{"type":"string"},"signer":{"type":"string"}}},"ibc.core.channel.v1.MsgPruneAcknowledgementsResponse":{"description":"MsgPruneAcknowledgementsResponse defines the response type for the PruneAcknowledgements rpc.","type":"object","properties":{"total_pruned_sequences":{"description":"Number of sequences pruned (includes both packet acknowledgements and packet receipts where appropriate).","type":"string","format":"uint64"},"total_remaining_sequences":{"description":"Number of sequences left after pruning.","type":"string","format":"uint64"}}},"ibc.core.channel.v1.MsgRecvPacket":{"type":"object","title":"MsgRecvPacket receives incoming IBC packet","properties":{"packet":{"$ref":"#/definitions/ibc.core.channel.v1.Packet"},"proof_commitment":{"type":"string","format":"byte"},"proof_height":{"$ref":"#/definitions/ibc.core.client.v1.Height"},"signer":{"type":"string"}}},"ibc.core.channel.v1.MsgRecvPacketResponse":{"description":"MsgRecvPacketResponse defines the Msg/RecvPacket response type.","type":"object","properties":{"result":{"$ref":"#/definitions/ibc.core.channel.v1.ResponseResultType"}}},"ibc.core.channel.v1.MsgTimeout":{"type":"object","title":"MsgTimeout receives timed-out packet","properties":{"next_sequence_recv":{"type":"string","format":"uint64"},"packet":{"$ref":"#/definitions/ibc.core.channel.v1.Packet"},"proof_height":{"$ref":"#/definitions/ibc.core.client.v1.Height"},"proof_unreceived":{"type":"string","format":"byte"},"signer":{"type":"string"}}},"ibc.core.channel.v1.MsgTimeoutOnClose":{"description":"MsgTimeoutOnClose timed-out packet upon counterparty channel closure.","type":"object","properties":{"counterparty_upgrade_sequence":{"type":"string","format":"uint64"},"next_sequence_recv":{"type":"string","format":"uint64"},"packet":{"$ref":"#/definitions/ibc.core.channel.v1.Packet"},"proof_close":{"type":"string","format":"byte"},"proof_height":{"$ref":"#/definitions/ibc.core.client.v1.Height"},"proof_unreceived":{"type":"string","format":"byte"},"signer":{"type":"string"}}},"ibc.core.channel.v1.MsgTimeoutOnCloseResponse":{"description":"MsgTimeoutOnCloseResponse defines the Msg/TimeoutOnClose response type.","type":"object","properties":{"result":{"$ref":"#/definitions/ibc.core.channel.v1.ResponseResultType"}}},"ibc.core.channel.v1.MsgTimeoutResponse":{"description":"MsgTimeoutResponse defines the Msg/Timeout response type.","type":"object","properties":{"result":{"$ref":"#/definitions/ibc.core.channel.v1.ResponseResultType"}}},"ibc.core.channel.v1.MsgUpdateParams":{"description":"MsgUpdateParams is the MsgUpdateParams request type.","type":"object","properties":{"authority":{"description":"authority is the address that controls the module (defaults to x/gov unless overwritten).","type":"string"},"params":{"description":"params defines the channel parameters to update.\n\nNOTE: All parameters must be supplied.","$ref":"#/definitions/ibc.core.channel.v1.Params"}}},"ibc.core.channel.v1.MsgUpdateParamsResponse":{"description":"MsgUpdateParamsResponse defines the MsgUpdateParams response type.","type":"object"},"ibc.core.channel.v1.Order":{"description":"- ORDER_NONE_UNSPECIFIED: zero-value for channel ordering\n - ORDER_UNORDERED: packets can be delivered in any order, which may differ from the order in\nwhich they were sent.\n - ORDER_ORDERED: packets are delivered exactly in the order which they were sent","type":"string","title":"Order defines if a channel is ORDERED or UNORDERED","default":"ORDER_NONE_UNSPECIFIED","enum":["ORDER_NONE_UNSPECIFIED","ORDER_UNORDERED","ORDER_ORDERED"]},"ibc.core.channel.v1.Packet":{"type":"object","title":"Packet defines a type that carries data across different chains through IBC","properties":{"data":{"type":"string","format":"byte","title":"actual opaque bytes transferred directly to the application module"},"destination_channel":{"description":"identifies the channel end on the receiving chain.","type":"string"},"destination_port":{"description":"identifies the port on the receiving chain.","type":"string"},"sequence":{"description":"number corresponds to the order of sends and receives, where a Packet\nwith an earlier sequence number must be sent and received before a Packet\nwith a later sequence number.","type":"string","format":"uint64"},"source_channel":{"description":"identifies the channel end on the sending chain.","type":"string"},"source_port":{"description":"identifies the port on the sending chain.","type":"string"},"timeout_height":{"title":"block height after which the packet times out","$ref":"#/definitions/ibc.core.client.v1.Height"},"timeout_timestamp":{"type":"string","format":"uint64","title":"block timestamp (in nanoseconds) after which the packet times out"}}},"ibc.core.channel.v1.PacketId":{"type":"object","title":"PacketId is an identifer for a unique Packet\nSource chains refer to packets by source port/channel\nDestination chains refer to packets by destination port/channel","properties":{"channel_id":{"type":"string","title":"channel unique identifier"},"port_id":{"type":"string","title":"channel port identifier"},"sequence":{"type":"string","format":"uint64","title":"packet sequence"}}},"ibc.core.channel.v1.PacketState":{"description":"PacketState defines the generic type necessary to retrieve and store\npacket commitments, acknowledgements, and receipts.\nCaller is responsible for knowing the context necessary to interpret this\nstate as a commitment, acknowledgement, or a receipt.","type":"object","properties":{"channel_id":{"description":"channel unique identifier.","type":"string"},"data":{"description":"embedded data that represents packet state.","type":"string","format":"byte"},"port_id":{"description":"channel port identifier.","type":"string"},"sequence":{"description":"packet sequence.","type":"string","format":"uint64"}}},"ibc.core.channel.v1.Params":{"description":"Params defines the set of IBC channel parameters.","type":"object","properties":{"upgrade_timeout":{"description":"the relative timeout after which channel upgrades will time out.","$ref":"#/definitions/ibc.core.channel.v1.Timeout"}}},"ibc.core.channel.v1.QueryChannelClientStateResponse":{"type":"object","title":"QueryChannelClientStateResponse is the Response type for the\nQuery/QueryChannelClientState RPC method","properties":{"identified_client_state":{"title":"client state associated with the channel","$ref":"#/definitions/ibc.core.client.v1.IdentifiedClientState"},"proof":{"type":"string","format":"byte","title":"merkle proof of existence"},"proof_height":{"title":"height at which the proof was retrieved","$ref":"#/definitions/ibc.core.client.v1.Height"}}},"ibc.core.channel.v1.QueryChannelConsensusStateResponse":{"type":"object","title":"QueryChannelClientStateResponse is the Response type for the\nQuery/QueryChannelClientState RPC method","properties":{"client_id":{"type":"string","title":"client ID associated with the consensus state"},"consensus_state":{"title":"consensus state associated with the channel","$ref":"#/definitions/google.protobuf.Any"},"proof":{"type":"string","format":"byte","title":"merkle proof of existence"},"proof_height":{"title":"height at which the proof was retrieved","$ref":"#/definitions/ibc.core.client.v1.Height"}}},"ibc.core.channel.v1.QueryChannelParamsResponse":{"description":"QueryChannelParamsResponse is the response type for the Query/ChannelParams RPC method.","type":"object","properties":{"params":{"description":"params defines the parameters of the module.","$ref":"#/definitions/ibc.core.channel.v1.Params"}}},"ibc.core.channel.v1.QueryChannelResponse":{"description":"QueryChannelResponse is the response type for the Query/Channel RPC method.\nBesides the Channel end, it includes a proof and the height from which the\nproof was retrieved.","type":"object","properties":{"channel":{"title":"channel associated with the request identifiers","$ref":"#/definitions/ibc.core.channel.v1.Channel"},"proof":{"type":"string","format":"byte","title":"merkle proof of existence"},"proof_height":{"title":"height at which the proof was retrieved","$ref":"#/definitions/ibc.core.client.v1.Height"}}},"ibc.core.channel.v1.QueryChannelsResponse":{"description":"QueryChannelsResponse is the response type for the Query/Channels RPC method.","type":"object","properties":{"channels":{"description":"list of stored channels of the chain.","type":"array","items":{"type":"object","$ref":"#/definitions/ibc.core.channel.v1.IdentifiedChannel"}},"height":{"title":"query block height","$ref":"#/definitions/ibc.core.client.v1.Height"},"pagination":{"title":"pagination response","$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"}}},"ibc.core.channel.v1.QueryConnectionChannelsResponse":{"type":"object","title":"QueryConnectionChannelsResponse is the Response type for the\nQuery/QueryConnectionChannels RPC method","properties":{"channels":{"description":"list of channels associated with a connection.","type":"array","items":{"type":"object","$ref":"#/definitions/ibc.core.channel.v1.IdentifiedChannel"}},"height":{"title":"query block height","$ref":"#/definitions/ibc.core.client.v1.Height"},"pagination":{"title":"pagination response","$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"}}},"ibc.core.channel.v1.QueryNextSequenceReceiveResponse":{"type":"object","title":"QuerySequenceResponse is the response type for the\nQuery/QueryNextSequenceReceiveResponse RPC method","properties":{"next_sequence_receive":{"type":"string","format":"uint64","title":"next sequence receive number"},"proof":{"type":"string","format":"byte","title":"merkle proof of existence"},"proof_height":{"title":"height at which the proof was retrieved","$ref":"#/definitions/ibc.core.client.v1.Height"}}},"ibc.core.channel.v1.QueryNextSequenceSendResponse":{"type":"object","title":"QueryNextSequenceSendResponse is the request type for the\nQuery/QueryNextSequenceSend RPC method","properties":{"next_sequence_send":{"type":"string","format":"uint64","title":"next sequence send number"},"proof":{"type":"string","format":"byte","title":"merkle proof of existence"},"proof_height":{"title":"height at which the proof was retrieved","$ref":"#/definitions/ibc.core.client.v1.Height"}}},"ibc.core.channel.v1.QueryPacketAcknowledgementResponse":{"type":"object","title":"QueryPacketAcknowledgementResponse defines the client query response for a\npacket which also includes a proof and the height from which the\nproof was retrieved","properties":{"acknowledgement":{"type":"string","format":"byte","title":"packet associated with the request fields"},"proof":{"type":"string","format":"byte","title":"merkle proof of existence"},"proof_height":{"title":"height at which the proof was retrieved","$ref":"#/definitions/ibc.core.client.v1.Height"}}},"ibc.core.channel.v1.QueryPacketAcknowledgementsResponse":{"type":"object","title":"QueryPacketAcknowledgemetsResponse is the request type for the\nQuery/QueryPacketAcknowledgements RPC method","properties":{"acknowledgements":{"type":"array","items":{"type":"object","$ref":"#/definitions/ibc.core.channel.v1.PacketState"}},"height":{"title":"query block height","$ref":"#/definitions/ibc.core.client.v1.Height"},"pagination":{"title":"pagination response","$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"}}},"ibc.core.channel.v1.QueryPacketCommitmentResponse":{"type":"object","title":"QueryPacketCommitmentResponse defines the client query response for a packet\nwhich also includes a proof and the height from which the proof was\nretrieved","properties":{"commitment":{"type":"string","format":"byte","title":"packet associated with the request fields"},"proof":{"type":"string","format":"byte","title":"merkle proof of existence"},"proof_height":{"title":"height at which the proof was retrieved","$ref":"#/definitions/ibc.core.client.v1.Height"}}},"ibc.core.channel.v1.QueryPacketCommitmentsResponse":{"type":"object","title":"QueryPacketCommitmentsResponse is the request type for the\nQuery/QueryPacketCommitments RPC method","properties":{"commitments":{"type":"array","items":{"type":"object","$ref":"#/definitions/ibc.core.channel.v1.PacketState"}},"height":{"title":"query block height","$ref":"#/definitions/ibc.core.client.v1.Height"},"pagination":{"title":"pagination response","$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"}}},"ibc.core.channel.v1.QueryPacketReceiptResponse":{"type":"object","title":"QueryPacketReceiptResponse defines the client query response for a packet\nreceipt which also includes a proof, and the height from which the proof was\nretrieved","properties":{"proof":{"type":"string","format":"byte","title":"merkle proof of existence"},"proof_height":{"title":"height at which the proof was retrieved","$ref":"#/definitions/ibc.core.client.v1.Height"},"received":{"type":"boolean","title":"success flag for if receipt exists"}}},"ibc.core.channel.v1.QueryUnreceivedAcksResponse":{"type":"object","title":"QueryUnreceivedAcksResponse is the response type for the\nQuery/UnreceivedAcks RPC method","properties":{"height":{"title":"query block height","$ref":"#/definitions/ibc.core.client.v1.Height"},"sequences":{"type":"array","title":"list of unreceived acknowledgement sequences","items":{"type":"string","format":"uint64"}}}},"ibc.core.channel.v1.QueryUnreceivedPacketsResponse":{"type":"object","title":"QueryUnreceivedPacketsResponse is the response type for the\nQuery/UnreceivedPacketCommitments RPC method","properties":{"height":{"title":"query block height","$ref":"#/definitions/ibc.core.client.v1.Height"},"sequences":{"type":"array","title":"list of unreceived packet sequences","items":{"type":"string","format":"uint64"}}}},"ibc.core.channel.v1.QueryUpgradeErrorResponse":{"type":"object","title":"QueryUpgradeErrorResponse is the response type for the Query/QueryUpgradeError RPC method","properties":{"error_receipt":{"$ref":"#/definitions/ibc.core.channel.v1.ErrorReceipt"},"proof":{"type":"string","format":"byte","title":"merkle proof of existence"},"proof_height":{"title":"height at which the proof was retrieved","$ref":"#/definitions/ibc.core.client.v1.Height"}}},"ibc.core.channel.v1.QueryUpgradeResponse":{"type":"object","title":"QueryUpgradeResponse is the response type for the QueryUpgradeResponse RPC method","properties":{"proof":{"type":"string","format":"byte","title":"merkle proof of existence"},"proof_height":{"title":"height at which the proof was retrieved","$ref":"#/definitions/ibc.core.client.v1.Height"},"upgrade":{"$ref":"#/definitions/ibc.core.channel.v1.Upgrade"}}},"ibc.core.channel.v1.ResponseResultType":{"description":"- RESPONSE_RESULT_TYPE_UNSPECIFIED: Default zero value enumeration\n - RESPONSE_RESULT_TYPE_NOOP: The message did not call the IBC application callbacks (because, for example, the packet had already been relayed)\n - RESPONSE_RESULT_TYPE_SUCCESS: The message was executed successfully\n - RESPONSE_RESULT_TYPE_FAILURE: The message was executed unsuccessfully","type":"string","title":"ResponseResultType defines the possible outcomes of the execution of a message","default":"RESPONSE_RESULT_TYPE_UNSPECIFIED","enum":["RESPONSE_RESULT_TYPE_UNSPECIFIED","RESPONSE_RESULT_TYPE_NOOP","RESPONSE_RESULT_TYPE_SUCCESS","RESPONSE_RESULT_TYPE_FAILURE"]},"ibc.core.channel.v1.State":{"description":"State defines if a channel is in one of the following states:\nCLOSED, INIT, TRYOPEN, OPEN, FLUSHING, FLUSHCOMPLETE or UNINITIALIZED.\n\n - STATE_UNINITIALIZED_UNSPECIFIED: Default State\n - STATE_INIT: A channel has just started the opening handshake.\n - STATE_TRYOPEN: A channel has acknowledged the handshake step on the counterparty chain.\n - STATE_OPEN: A channel has completed the handshake. Open channels are\nready to send and receive packets.\n - STATE_CLOSED: A channel has been closed and can no longer be used to send or receive\npackets.\n - STATE_FLUSHING: A channel has just accepted the upgrade handshake attempt and is flushing in-flight packets.\n - STATE_FLUSHCOMPLETE: A channel has just completed flushing any in-flight packets.","type":"string","default":"STATE_UNINITIALIZED_UNSPECIFIED","enum":["STATE_UNINITIALIZED_UNSPECIFIED","STATE_INIT","STATE_TRYOPEN","STATE_OPEN","STATE_CLOSED","STATE_FLUSHING","STATE_FLUSHCOMPLETE"]},"ibc.core.channel.v1.Timeout":{"description":"Timeout defines an execution deadline structure for 04-channel handlers.\nThis includes packet lifecycle handlers as well as the upgrade handshake handlers.\nA valid Timeout contains either one or both of a timestamp and block height (sequence).","type":"object","properties":{"height":{"title":"block height after which the packet or upgrade times out","$ref":"#/definitions/ibc.core.client.v1.Height"},"timestamp":{"type":"string","format":"uint64","title":"block timestamp (in nanoseconds) after which the packet or upgrade times out"}}},"ibc.core.channel.v1.Upgrade":{"description":"Upgrade is a verifiable type which contains the relevant information\nfor an attempted upgrade. It provides the proposed changes to the channel\nend, the timeout for this upgrade attempt and the next packet sequence\nwhich allows the counterparty to efficiently know the highest sequence it has received.\nThe next sequence send is used for pruning and upgrading from unordered to ordered channels.","type":"object","properties":{"fields":{"$ref":"#/definitions/ibc.core.channel.v1.UpgradeFields"},"next_sequence_send":{"type":"string","format":"uint64"},"timeout":{"$ref":"#/definitions/ibc.core.channel.v1.Timeout"}}},"ibc.core.channel.v1.UpgradeFields":{"description":"UpgradeFields are the fields in a channel end which may be changed\nduring a channel upgrade.","type":"object","properties":{"connection_hops":{"type":"array","items":{"type":"string"}},"ordering":{"$ref":"#/definitions/ibc.core.channel.v1.Order"},"version":{"type":"string"}}},"ibc.core.client.v1.ConsensusStateWithHeight":{"description":"ConsensusStateWithHeight defines a consensus state with an additional height\nfield.","type":"object","properties":{"consensus_state":{"title":"consensus state","$ref":"#/definitions/google.protobuf.Any"},"height":{"title":"consensus state height","$ref":"#/definitions/ibc.core.client.v1.Height"}}},"ibc.core.client.v1.Height":{"description":"Normally the RevisionHeight is incremented at each height while keeping\nRevisionNumber the same. However some consensus algorithms may choose to\nreset the height in certain conditions e.g. hard forks, state-machine\nbreaking changes In these cases, the RevisionNumber is incremented so that\nheight continues to be monitonically increasing even as the RevisionHeight\ngets reset","type":"object","title":"Height is a monotonically increasing data type\nthat can be compared against another Height for the purposes of updating and\nfreezing clients","properties":{"revision_height":{"type":"string","format":"uint64","title":"the height within the given revision"},"revision_number":{"type":"string","format":"uint64","title":"the revision that the client is currently on"}}},"ibc.core.client.v1.IdentifiedClientState":{"description":"IdentifiedClientState defines a client state with an additional client\nidentifier field.","type":"object","properties":{"client_id":{"type":"string","title":"client identifier"},"client_state":{"title":"client state","$ref":"#/definitions/google.protobuf.Any"}}},"ibc.core.client.v1.MsgCreateClient":{"type":"object","title":"MsgCreateClient defines a message to create an IBC client","properties":{"client_state":{"title":"light client state","$ref":"#/definitions/google.protobuf.Any"},"consensus_state":{"description":"consensus state associated with the client that corresponds to a given\nheight.","$ref":"#/definitions/google.protobuf.Any"},"signer":{"type":"string","title":"signer address"}}},"ibc.core.client.v1.MsgCreateClientResponse":{"description":"MsgCreateClientResponse defines the Msg/CreateClient response type.","type":"object"},"ibc.core.client.v1.MsgIBCSoftwareUpgrade":{"type":"object","title":"MsgIBCSoftwareUpgrade defines the message used to schedule an upgrade of an IBC client using a v1 governance proposal","properties":{"plan":{"$ref":"#/definitions/cosmos.upgrade.v1beta1.Plan"},"signer":{"type":"string","title":"signer address"},"upgraded_client_state":{"description":"An UpgradedClientState must be provided to perform an IBC breaking upgrade.\nThis will make the chain commit to the correct upgraded (self) client state\nbefore the upgrade occurs, so that connecting chains can verify that the\nnew upgraded client is valid by verifying a proof on the previous version\nof the chain. This will allow IBC connections to persist smoothly across\nplanned chain upgrades. Correspondingly, the UpgradedClientState field has been\ndeprecated in the Cosmos SDK to allow for this logic to exist solely in\nthe 02-client module.","$ref":"#/definitions/google.protobuf.Any"}}},"ibc.core.client.v1.MsgIBCSoftwareUpgradeResponse":{"description":"MsgIBCSoftwareUpgradeResponse defines the Msg/IBCSoftwareUpgrade response type.","type":"object"},"ibc.core.client.v1.MsgRecoverClient":{"description":"MsgRecoverClient defines the message used to recover a frozen or expired client.","type":"object","properties":{"signer":{"type":"string","title":"signer address"},"subject_client_id":{"type":"string","title":"the client identifier for the client to be updated if the proposal passes"},"substitute_client_id":{"type":"string","title":"the substitute client identifier for the client which will replace the subject\nclient"}}},"ibc.core.client.v1.MsgRecoverClientResponse":{"description":"MsgRecoverClientResponse defines the Msg/RecoverClient response type.","type":"object"},"ibc.core.client.v1.MsgSubmitMisbehaviour":{"description":"MsgSubmitMisbehaviour defines an sdk.Msg type that submits Evidence for\nlight client misbehaviour.\nThis message has been deprecated. Use MsgUpdateClient instead.","type":"object","properties":{"client_id":{"type":"string","title":"client unique identifier"},"misbehaviour":{"title":"misbehaviour used for freezing the light client","$ref":"#/definitions/google.protobuf.Any"},"signer":{"type":"string","title":"signer address"}}},"ibc.core.client.v1.MsgSubmitMisbehaviourResponse":{"description":"MsgSubmitMisbehaviourResponse defines the Msg/SubmitMisbehaviour response\ntype.","type":"object"},"ibc.core.client.v1.MsgUpdateClient":{"description":"MsgUpdateClient defines an sdk.Msg to update a IBC client state using\nthe given client message.","type":"object","properties":{"client_id":{"type":"string","title":"client unique identifier"},"client_message":{"title":"client message to update the light client","$ref":"#/definitions/google.protobuf.Any"},"signer":{"type":"string","title":"signer address"}}},"ibc.core.client.v1.MsgUpdateClientResponse":{"description":"MsgUpdateClientResponse defines the Msg/UpdateClient response type.","type":"object"},"ibc.core.client.v1.MsgUpdateParams":{"description":"MsgUpdateParams defines the sdk.Msg type to update the client parameters.","type":"object","properties":{"params":{"description":"params defines the client parameters to update.\n\nNOTE: All parameters must be supplied.","$ref":"#/definitions/ibc.core.client.v1.Params"},"signer":{"type":"string","title":"signer address"}}},"ibc.core.client.v1.MsgUpdateParamsResponse":{"description":"MsgUpdateParamsResponse defines the MsgUpdateParams response type.","type":"object"},"ibc.core.client.v1.MsgUpgradeClient":{"type":"object","title":"MsgUpgradeClient defines an sdk.Msg to upgrade an IBC client to a new client\nstate","properties":{"client_id":{"type":"string","title":"client unique identifier"},"client_state":{"title":"upgraded client state","$ref":"#/definitions/google.protobuf.Any"},"consensus_state":{"title":"upgraded consensus state, only contains enough information to serve as a\nbasis of trust in update logic","$ref":"#/definitions/google.protobuf.Any"},"proof_upgrade_client":{"type":"string","format":"byte","title":"proof that old chain committed to new client"},"proof_upgrade_consensus_state":{"type":"string","format":"byte","title":"proof that old chain committed to new consensus state"},"signer":{"type":"string","title":"signer address"}}},"ibc.core.client.v1.MsgUpgradeClientResponse":{"description":"MsgUpgradeClientResponse defines the Msg/UpgradeClient response type.","type":"object"},"ibc.core.client.v1.Params":{"description":"Params defines the set of IBC light client parameters.","type":"object","properties":{"allowed_clients":{"description":"allowed_clients defines the list of allowed client state types which can be created\nand interacted with. If a client type is removed from the allowed clients list, usage\nof this client will be disabled until it is added again to the list.","type":"array","items":{"type":"string"}}}},"ibc.core.client.v1.QueryClientParamsResponse":{"description":"QueryClientParamsResponse is the response type for the Query/ClientParams RPC\nmethod.","type":"object","properties":{"params":{"description":"params defines the parameters of the module.","$ref":"#/definitions/ibc.core.client.v1.Params"}}},"ibc.core.client.v1.QueryClientStateResponse":{"description":"QueryClientStateResponse is the response type for the Query/ClientState RPC\nmethod. Besides the client state, it includes a proof and the height from\nwhich the proof was retrieved.","type":"object","properties":{"client_state":{"title":"client state associated with the request identifier","$ref":"#/definitions/google.protobuf.Any"},"proof":{"type":"string","format":"byte","title":"merkle proof of existence"},"proof_height":{"title":"height at which the proof was retrieved","$ref":"#/definitions/ibc.core.client.v1.Height"}}},"ibc.core.client.v1.QueryClientStatesResponse":{"description":"QueryClientStatesResponse is the response type for the Query/ClientStates RPC\nmethod.","type":"object","properties":{"client_states":{"description":"list of stored ClientStates of the chain.","type":"array","items":{"type":"object","$ref":"#/definitions/ibc.core.client.v1.IdentifiedClientState"}},"pagination":{"title":"pagination response","$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"}}},"ibc.core.client.v1.QueryClientStatusResponse":{"description":"QueryClientStatusResponse is the response type for the Query/ClientStatus RPC\nmethod. It returns the current status of the IBC client.","type":"object","properties":{"status":{"type":"string"}}},"ibc.core.client.v1.QueryConsensusStateHeightsResponse":{"type":"object","title":"QueryConsensusStateHeightsResponse is the response type for the\nQuery/ConsensusStateHeights RPC method","properties":{"consensus_state_heights":{"type":"array","title":"consensus state heights","items":{"type":"object","$ref":"#/definitions/ibc.core.client.v1.Height"}},"pagination":{"title":"pagination response","$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"}}},"ibc.core.client.v1.QueryConsensusStateResponse":{"type":"object","title":"QueryConsensusStateResponse is the response type for the Query/ConsensusState\nRPC method","properties":{"consensus_state":{"title":"consensus state associated with the client identifier at the given height","$ref":"#/definitions/google.protobuf.Any"},"proof":{"type":"string","format":"byte","title":"merkle proof of existence"},"proof_height":{"title":"height at which the proof was retrieved","$ref":"#/definitions/ibc.core.client.v1.Height"}}},"ibc.core.client.v1.QueryConsensusStatesResponse":{"type":"object","title":"QueryConsensusStatesResponse is the response type for the\nQuery/ConsensusStates RPC method","properties":{"consensus_states":{"type":"array","title":"consensus states associated with the identifier","items":{"type":"object","$ref":"#/definitions/ibc.core.client.v1.ConsensusStateWithHeight"}},"pagination":{"title":"pagination response","$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"}}},"ibc.core.client.v1.QueryUpgradedClientStateResponse":{"description":"QueryUpgradedClientStateResponse is the response type for the\nQuery/UpgradedClientState RPC method.","type":"object","properties":{"upgraded_client_state":{"title":"client state associated with the request identifier","$ref":"#/definitions/google.protobuf.Any"}}},"ibc.core.client.v1.QueryUpgradedConsensusStateResponse":{"description":"QueryUpgradedConsensusStateResponse is the response type for the\nQuery/UpgradedConsensusState RPC method.","type":"object","properties":{"upgraded_consensus_state":{"title":"Consensus state associated with the request identifier","$ref":"#/definitions/google.protobuf.Any"}}},"ibc.core.commitment.v1.MerklePrefix":{"type":"object","title":"MerklePrefix is merkle path prefixed to the key.\nThe constructed key from the Path and the key will be append(Path.KeyPath,\nappend(Path.KeyPrefix, key...))","properties":{"key_prefix":{"type":"string","format":"byte"}}},"ibc.core.connection.v1.ConnectionEnd":{"description":"ConnectionEnd defines a stateful object on a chain connected to another\nseparate one.\nNOTE: there must only be 2 defined ConnectionEnds to establish\na connection between two chains.","type":"object","properties":{"client_id":{"description":"client associated with this connection.","type":"string"},"counterparty":{"description":"counterparty chain associated with this connection.","$ref":"#/definitions/ibc.core.connection.v1.Counterparty"},"delay_period":{"description":"delay period that must pass before a consensus state can be used for\npacket-verification NOTE: delay period logic is only implemented by some\nclients.","type":"string","format":"uint64"},"state":{"description":"current state of the connection end.","$ref":"#/definitions/ibc.core.connection.v1.State"},"versions":{"description":"IBC version which can be utilised to determine encodings or protocols for\nchannels or packets utilising this connection.","type":"array","items":{"type":"object","$ref":"#/definitions/ibc.core.connection.v1.Version"}}}},"ibc.core.connection.v1.Counterparty":{"description":"Counterparty defines the counterparty chain associated with a connection end.","type":"object","properties":{"client_id":{"description":"identifies the client on the counterparty chain associated with a given\nconnection.","type":"string"},"connection_id":{"description":"identifies the connection end on the counterparty chain associated with a\ngiven connection.","type":"string"},"prefix":{"description":"commitment merkle prefix of the counterparty chain.","$ref":"#/definitions/ibc.core.commitment.v1.MerklePrefix"}}},"ibc.core.connection.v1.IdentifiedConnection":{"description":"IdentifiedConnection defines a connection with additional connection\nidentifier field.","type":"object","properties":{"client_id":{"description":"client associated with this connection.","type":"string"},"counterparty":{"description":"counterparty chain associated with this connection.","$ref":"#/definitions/ibc.core.connection.v1.Counterparty"},"delay_period":{"description":"delay period associated with this connection.","type":"string","format":"uint64"},"id":{"description":"connection identifier.","type":"string"},"state":{"description":"current state of the connection end.","$ref":"#/definitions/ibc.core.connection.v1.State"},"versions":{"type":"array","title":"IBC version which can be utilised to determine encodings or protocols for\nchannels or packets utilising this connection","items":{"type":"object","$ref":"#/definitions/ibc.core.connection.v1.Version"}}}},"ibc.core.connection.v1.MsgConnectionOpenAck":{"description":"MsgConnectionOpenAck defines a msg sent by a Relayer to Chain A to\nacknowledge the change of connection state to TRYOPEN on Chain B.","type":"object","properties":{"client_state":{"$ref":"#/definitions/google.protobuf.Any"},"connection_id":{"type":"string"},"consensus_height":{"$ref":"#/definitions/ibc.core.client.v1.Height"},"counterparty_connection_id":{"type":"string"},"host_consensus_state_proof":{"type":"string","format":"byte","title":"optional proof data for host state machines that are unable to introspect their own consensus state"},"proof_client":{"type":"string","format":"byte","title":"proof of client state included in message"},"proof_consensus":{"type":"string","format":"byte","title":"proof of client consensus state"},"proof_height":{"$ref":"#/definitions/ibc.core.client.v1.Height"},"proof_try":{"type":"string","format":"byte","title":"proof of the initialization the connection on Chain B: `UNITIALIZED -\u003e\nTRYOPEN`"},"signer":{"type":"string"},"version":{"$ref":"#/definitions/ibc.core.connection.v1.Version"}}},"ibc.core.connection.v1.MsgConnectionOpenAckResponse":{"description":"MsgConnectionOpenAckResponse defines the Msg/ConnectionOpenAck response type.","type":"object"},"ibc.core.connection.v1.MsgConnectionOpenConfirm":{"description":"MsgConnectionOpenConfirm defines a msg sent by a Relayer to Chain B to\nacknowledge the change of connection state to OPEN on Chain A.","type":"object","properties":{"connection_id":{"type":"string"},"proof_ack":{"type":"string","format":"byte","title":"proof for the change of the connection state on Chain A: `INIT -\u003e OPEN`"},"proof_height":{"$ref":"#/definitions/ibc.core.client.v1.Height"},"signer":{"type":"string"}}},"ibc.core.connection.v1.MsgConnectionOpenConfirmResponse":{"description":"MsgConnectionOpenConfirmResponse defines the Msg/ConnectionOpenConfirm\nresponse type.","type":"object"},"ibc.core.connection.v1.MsgConnectionOpenInit":{"description":"MsgConnectionOpenInit defines the msg sent by an account on Chain A to\ninitialize a connection with Chain B.","type":"object","properties":{"client_id":{"type":"string"},"counterparty":{"$ref":"#/definitions/ibc.core.connection.v1.Counterparty"},"delay_period":{"type":"string","format":"uint64"},"signer":{"type":"string"},"version":{"$ref":"#/definitions/ibc.core.connection.v1.Version"}}},"ibc.core.connection.v1.MsgConnectionOpenInitResponse":{"description":"MsgConnectionOpenInitResponse defines the Msg/ConnectionOpenInit response\ntype.","type":"object"},"ibc.core.connection.v1.MsgConnectionOpenTry":{"description":"MsgConnectionOpenTry defines a msg sent by a Relayer to try to open a\nconnection on Chain B.","type":"object","properties":{"client_id":{"type":"string"},"client_state":{"$ref":"#/definitions/google.protobuf.Any"},"consensus_height":{"$ref":"#/definitions/ibc.core.client.v1.Height"},"counterparty":{"$ref":"#/definitions/ibc.core.connection.v1.Counterparty"},"counterparty_versions":{"type":"array","items":{"type":"object","$ref":"#/definitions/ibc.core.connection.v1.Version"}},"delay_period":{"type":"string","format":"uint64"},"host_consensus_state_proof":{"type":"string","format":"byte","title":"optional proof data for host state machines that are unable to introspect their own consensus state"},"previous_connection_id":{"description":"Deprecated: this field is unused. Crossing hellos are no longer supported in core IBC.","type":"string"},"proof_client":{"type":"string","format":"byte","title":"proof of client state included in message"},"proof_consensus":{"type":"string","format":"byte","title":"proof of client consensus state"},"proof_height":{"$ref":"#/definitions/ibc.core.client.v1.Height"},"proof_init":{"type":"string","format":"byte","title":"proof of the initialization the connection on Chain A: `UNITIALIZED -\u003e\nINIT`"},"signer":{"type":"string"}}},"ibc.core.connection.v1.MsgConnectionOpenTryResponse":{"description":"MsgConnectionOpenTryResponse defines the Msg/ConnectionOpenTry response type.","type":"object"},"ibc.core.connection.v1.MsgUpdateParams":{"description":"MsgUpdateParams defines the sdk.Msg type to update the connection parameters.","type":"object","properties":{"params":{"description":"params defines the connection parameters to update.\n\nNOTE: All parameters must be supplied.","$ref":"#/definitions/ibc.core.connection.v1.Params"},"signer":{"type":"string","title":"signer address"}}},"ibc.core.connection.v1.MsgUpdateParamsResponse":{"description":"MsgUpdateParamsResponse defines the MsgUpdateParams response type.","type":"object"},"ibc.core.connection.v1.Params":{"description":"Params defines the set of Connection parameters.","type":"object","properties":{"max_expected_time_per_block":{"description":"maximum expected time per block (in nanoseconds), used to enforce block delay. This parameter should reflect the\nlargest amount of time that the chain might reasonably take to produce the next block under normal operating\nconditions. A safe choice is 3-5x the expected time per block.","type":"string","format":"uint64"}}},"ibc.core.connection.v1.QueryClientConnectionsResponse":{"type":"object","title":"QueryClientConnectionsResponse is the response type for the\nQuery/ClientConnections RPC method","properties":{"connection_paths":{"description":"slice of all the connection paths associated with a client.","type":"array","items":{"type":"string"}},"proof":{"type":"string","format":"byte","title":"merkle proof of existence"},"proof_height":{"title":"height at which the proof was generated","$ref":"#/definitions/ibc.core.client.v1.Height"}}},"ibc.core.connection.v1.QueryConnectionClientStateResponse":{"type":"object","title":"QueryConnectionClientStateResponse is the response type for the\nQuery/ConnectionClientState RPC method","properties":{"identified_client_state":{"title":"client state associated with the channel","$ref":"#/definitions/ibc.core.client.v1.IdentifiedClientState"},"proof":{"type":"string","format":"byte","title":"merkle proof of existence"},"proof_height":{"title":"height at which the proof was retrieved","$ref":"#/definitions/ibc.core.client.v1.Height"}}},"ibc.core.connection.v1.QueryConnectionConsensusStateResponse":{"type":"object","title":"QueryConnectionConsensusStateResponse is the response type for the\nQuery/ConnectionConsensusState RPC method","properties":{"client_id":{"type":"string","title":"client ID associated with the consensus state"},"consensus_state":{"title":"consensus state associated with the channel","$ref":"#/definitions/google.protobuf.Any"},"proof":{"type":"string","format":"byte","title":"merkle proof of existence"},"proof_height":{"title":"height at which the proof was retrieved","$ref":"#/definitions/ibc.core.client.v1.Height"}}},"ibc.core.connection.v1.QueryConnectionParamsResponse":{"description":"QueryConnectionParamsResponse is the response type for the Query/ConnectionParams RPC method.","type":"object","properties":{"params":{"description":"params defines the parameters of the module.","$ref":"#/definitions/ibc.core.connection.v1.Params"}}},"ibc.core.connection.v1.QueryConnectionResponse":{"description":"QueryConnectionResponse is the response type for the Query/Connection RPC\nmethod. Besides the connection end, it includes a proof and the height from\nwhich the proof was retrieved.","type":"object","properties":{"connection":{"title":"connection associated with the request identifier","$ref":"#/definitions/ibc.core.connection.v1.ConnectionEnd"},"proof":{"type":"string","format":"byte","title":"merkle proof of existence"},"proof_height":{"title":"height at which the proof was retrieved","$ref":"#/definitions/ibc.core.client.v1.Height"}}},"ibc.core.connection.v1.QueryConnectionsResponse":{"description":"QueryConnectionsResponse is the response type for the Query/Connections RPC\nmethod.","type":"object","properties":{"connections":{"description":"list of stored connections of the chain.","type":"array","items":{"type":"object","$ref":"#/definitions/ibc.core.connection.v1.IdentifiedConnection"}},"height":{"title":"query block height","$ref":"#/definitions/ibc.core.client.v1.Height"},"pagination":{"title":"pagination response","$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"}}},"ibc.core.connection.v1.State":{"description":"State defines if a connection is in one of the following states:\nINIT, TRYOPEN, OPEN or UNINITIALIZED.\n\n - STATE_UNINITIALIZED_UNSPECIFIED: Default State\n - STATE_INIT: A connection end has just started the opening handshake.\n - STATE_TRYOPEN: A connection end has acknowledged the handshake step on the counterparty\nchain.\n - STATE_OPEN: A connection end has completed the handshake.","type":"string","default":"STATE_UNINITIALIZED_UNSPECIFIED","enum":["STATE_UNINITIALIZED_UNSPECIFIED","STATE_INIT","STATE_TRYOPEN","STATE_OPEN"]},"ibc.core.connection.v1.Version":{"description":"Version defines the versioning scheme used to negotiate the IBC verison in\nthe connection handshake.","type":"object","properties":{"features":{"type":"array","title":"list of features compatible with the specified identifier","items":{"type":"string"}},"identifier":{"type":"string","title":"unique version identifier"}}},"ibc.lightclients.wasm.v1.MsgMigrateContract":{"description":"MsgMigrateContract defines the request type for the MigrateContract rpc.","type":"object","properties":{"checksum":{"type":"string","format":"byte","title":"checksum is the sha256 hash of the new wasm byte code for the contract"},"client_id":{"type":"string","title":"the client id of the contract"},"msg":{"type":"string","format":"byte","title":"the json encoded message to be passed to the contract on migration"},"signer":{"type":"string","title":"signer address"}}},"ibc.lightclients.wasm.v1.MsgMigrateContractResponse":{"type":"object","title":"MsgMigrateContractResponse defines the response type for the MigrateContract rpc"},"ibc.lightclients.wasm.v1.MsgRemoveChecksum":{"description":"MsgRemoveChecksum defines the request type for the MsgRemoveChecksum rpc.","type":"object","properties":{"checksum":{"type":"string","format":"byte","title":"checksum is the sha256 hash to be removed from the store"},"signer":{"type":"string","title":"signer address"}}},"ibc.lightclients.wasm.v1.MsgRemoveChecksumResponse":{"type":"object","title":"MsgStoreChecksumResponse defines the response type for the StoreCode rpc"},"ibc.lightclients.wasm.v1.MsgStoreCode":{"description":"MsgStoreCode defines the request type for the StoreCode rpc.","type":"object","properties":{"signer":{"type":"string","title":"signer address"},"wasm_byte_code":{"type":"string","format":"byte","title":"wasm byte code of light client contract. It can be raw or gzip compressed"}}},"ibc.lightclients.wasm.v1.MsgStoreCodeResponse":{"type":"object","title":"MsgStoreCodeResponse defines the response type for the StoreCode rpc","properties":{"checksum":{"type":"string","format":"byte","title":"checksum is the sha256 hash of the stored code"}}},"ibc.lightclients.wasm.v1.QueryChecksumsResponse":{"description":"QueryChecksumsResponse is the response type for the Query/Checksums RPC method.","type":"object","properties":{"checksums":{"description":"checksums is a list of the hex encoded checksums of all wasm codes stored.","type":"array","items":{"type":"string"}},"pagination":{"description":"pagination defines the pagination in the response.","$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"}}},"ibc.lightclients.wasm.v1.QueryCodeResponse":{"description":"QueryCodeResponse is the response type for the Query/Code RPC method.","type":"object","properties":{"data":{"type":"string","format":"byte"}}},"poktroll.application.Application":{"type":"object","title":"Application defines the type used to store an on-chain definition and state for an application","properties":{"address":{"description":"The Bech32 address of the application.","type":"string"},"delegatee_gateway_addresses":{"description":"TODO_BETA: Rename `delegatee_gateway_addresses` to `gateway_addresses_delegated_to`.\nEnsure to rename all relevant configs, comments, variables, function names, etc as well.\n\nThe Bech32 encoded addresses for all delegatee Gateways, in a non-nullable slice","type":"array","items":{"type":"string"}},"pending_undelegations":{"description":"A map from sessionEndHeights to a list of Gateways.\nThe key is the height of the last block of the session during which the\nrespective undelegation was committed.\nThe value is a list of gateways being undelegated from.\nTODO_DOCUMENT(@red-0ne): Need to document the flow from this comment\nso its clear to everyone why this is necessary; https://github.com/pokt-network/poktroll/issues/476#issuecomment-2052639906.","type":"object","additionalProperties":{"$ref":"#/definitions/poktroll.application.UndelegatingGatewayList"}},"service_configs":{"type":"array","title":"The list of services this appliccation is configured to request service for","items":{"type":"object","$ref":"#/definitions/poktroll.shared.ApplicationServiceConfig"}},"stake":{"title":"The total amount of uPOKT the application has staked","$ref":"#/definitions/cosmos.base.v1beta1.Coin"},"unstake_session_end_height":{"description":"The end height of the session at which an application initiated its unstaking process.\nIf the application did not unstake, this value will be 0.","type":"string","format":"uint64"}}},"poktroll.application.MsgDelegateToGateway":{"type":"object","properties":{"app_address":{"description":"The Bech32 address of the application.","type":"string"},"gateway_address":{"description":"The Bech32 address of the gateway the application wants to delegate to.","type":"string"}}},"poktroll.application.MsgDelegateToGatewayResponse":{"type":"object"},"poktroll.application.MsgStakeApplication":{"type":"object","properties":{"address":{"description":"The Bech32 address of the application.","type":"string"},"services":{"type":"array","title":"The list of services this application is staked to request service for","items":{"type":"object","$ref":"#/definitions/poktroll.shared.ApplicationServiceConfig"}},"stake":{"title":"The total amount of uPOKT the application has staked. Must be ≥ to the current amount that the application has staked (if any)","$ref":"#/definitions/cosmos.base.v1beta1.Coin"}}},"poktroll.application.MsgStakeApplicationResponse":{"type":"object"},"poktroll.application.MsgUndelegateFromGateway":{"type":"object","properties":{"app_address":{"description":"The Bech32 address of the application.","type":"string"},"gateway_address":{"description":"The Bech32 address of the gateway the application wants to undelegate from.","type":"string"}}},"poktroll.application.MsgUndelegateFromGatewayResponse":{"type":"object"},"poktroll.application.MsgUnstakeApplication":{"type":"object","properties":{"address":{"type":"string"}}},"poktroll.application.MsgUnstakeApplicationResponse":{"type":"object"},"poktroll.application.MsgUpdateParams":{"description":"MsgUpdateParams is the Msg/UpdateParams request type.","type":"object","properties":{"authority":{"description":"authority is the address that controls the module (defaults to x/gov unless overwritten).","type":"string"},"params":{"description":"params defines the x/application parameters to update.\nNOTE: All parameters must be supplied.","$ref":"#/definitions/poktroll.application.Params"}}},"poktroll.application.MsgUpdateParamsResponse":{"description":"MsgUpdateParamsResponse defines the response structure for executing a\nMsgUpdateParams message.","type":"object"},"poktroll.application.Params":{"description":"Params defines the parameters for the module.","type":"object","properties":{"max_delegated_gateways":{"description":"max_delegated_gateways defines the maximum number of gateways that a single\napplication can delegate to. This is used to prevent performance issues\nin case the relay ring signature becomes too large.","type":"string","format":"uint64"}}},"poktroll.application.QueryAllApplicationsResponse":{"type":"object","properties":{"applications":{"type":"array","items":{"type":"object","$ref":"#/definitions/poktroll.application.Application"}},"pagination":{"$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"}}},"poktroll.application.QueryGetApplicationResponse":{"type":"object","properties":{"application":{"$ref":"#/definitions/poktroll.application.Application"}}},"poktroll.application.QueryParamsResponse":{"description":"QueryParamsResponse is response type for the Query/Params RPC method.","type":"object","properties":{"params":{"description":"params holds all the parameters of this module.","$ref":"#/definitions/poktroll.application.Params"}}},"poktroll.application.UndelegatingGatewayList":{"description":"UndelegatingGatewayList is used as the Value of `pending_undelegations`.\nIt is required to store a repeated list of strings as a map value.","type":"object","properties":{"gateway_addresses":{"type":"array","items":{"type":"string"}}}},"poktroll.gateway.Gateway":{"type":"object","properties":{"address":{"type":"string","title":"The Bech32 address of the gateway"},"stake":{"title":"The total amount of uPOKT the gateway has staked","$ref":"#/definitions/cosmos.base.v1beta1.Coin"}}},"poktroll.gateway.MsgStakeGateway":{"type":"object","properties":{"address":{"type":"string","title":"The Bech32 address of the gateway"},"stake":{"title":"The total amount of uPOKT the gateway is staking. Must be ≥ to the current amount that the gateway has staked (if any)","$ref":"#/definitions/cosmos.base.v1beta1.Coin"}}},"poktroll.gateway.MsgStakeGatewayResponse":{"type":"object"},"poktroll.gateway.MsgUnstakeGateway":{"type":"object","properties":{"address":{"type":"string","title":"The Bech32 address of the gateway"}}},"poktroll.gateway.MsgUnstakeGatewayResponse":{"type":"object"},"poktroll.gateway.MsgUpdateParams":{"description":"MsgUpdateParams is the Msg/UpdateParams request type.","type":"object","properties":{"authority":{"description":"authority is the address that controls the module (defaults to x/gov unless overwritten).","type":"string"},"params":{"description":"params defines the x/gateway parameters to update.\nNOTE: All parameters must be supplied.","$ref":"#/definitions/poktroll.gateway.Params"}}},"poktroll.gateway.MsgUpdateParamsResponse":{"description":"MsgUpdateParamsResponse defines the response structure for executing a\nMsgUpdateParams message.","type":"object"},"poktroll.gateway.Params":{"description":"Params defines the parameters for the module.","type":"object"},"poktroll.gateway.QueryAllGatewaysResponse":{"type":"object","properties":{"gateways":{"type":"array","items":{"type":"object","$ref":"#/definitions/poktroll.gateway.Gateway"}},"pagination":{"$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"}}},"poktroll.gateway.QueryGetGatewayResponse":{"type":"object","properties":{"gateway":{"$ref":"#/definitions/poktroll.gateway.Gateway"}}},"poktroll.gateway.QueryParamsResponse":{"description":"QueryParamsResponse is response type for the Query/Params RPC method.","type":"object","properties":{"params":{"description":"params holds all the parameters of this module.","$ref":"#/definitions/poktroll.gateway.Params"}}},"poktroll.proof.Claim":{"type":"object","title":"Claim is the serialized object stored on-chain for claims pending to be proven","properties":{"root_hash":{"description":"Root hash returned from smt.SMST#Root().","type":"string","format":"byte"},"session_header":{"description":"The session header of the session that this claim is for.","$ref":"#/definitions/poktroll.session.SessionHeader"},"supplier_operator_address":{"type":"string","title":"the address of the supplier's operator that submitted this claim"}}},"poktroll.proof.MsgCreateClaim":{"type":"object","properties":{"root_hash":{"type":"string","format":"byte","title":"root returned from smt.SMST#Root()"},"session_header":{"$ref":"#/definitions/poktroll.session.SessionHeader"},"supplier_operator_address":{"type":"string"}}},"poktroll.proof.MsgCreateClaimResponse":{"type":"object","properties":{"claim":{"$ref":"#/definitions/poktroll.proof.Claim"}}},"poktroll.proof.MsgSubmitProof":{"type":"object","properties":{"proof":{"type":"string","format":"byte","title":"serialized version of *smt.SparseMerkleClosestProof"},"session_header":{"$ref":"#/definitions/poktroll.session.SessionHeader"},"supplier_operator_address":{"type":"string"}}},"poktroll.proof.MsgSubmitProofResponse":{"type":"object","properties":{"proof":{"$ref":"#/definitions/poktroll.proof.Proof"}}},"poktroll.proof.MsgUpdateParam":{"description":"MsgUpdateParam is the Msg/UpdateParam request type to update a single param.","type":"object","properties":{"as_bytes":{"type":"string","format":"byte"},"as_coin":{"$ref":"#/definitions/cosmos.base.v1beta1.Coin"},"as_float":{"type":"number","format":"float"},"as_int64":{"type":"string","format":"int64"},"as_string":{"type":"string"},"authority":{"description":"authority is the address that controls the module (defaults to x/gov unless overwritten).","type":"string"},"name":{"type":"string","title":"The (name, as_type) tuple must match the corresponding name and type as\nspecified in the `Params`` message in `proof/params.proto.`"}}},"poktroll.proof.MsgUpdateParamResponse":{"description":"MsgUpdateParamResponse defines the response structure for executing a\nMsgUpdateParam message after a single param update.","type":"object","properties":{"params":{"$ref":"#/definitions/poktroll.proof.Params"}}},"poktroll.proof.MsgUpdateParams":{"description":"MsgUpdateParams is the Msg/UpdateParams request type to update all params at once.","type":"object","properties":{"authority":{"description":"authority is the address that controls the module (defaults to x/gov unless overwritten).","type":"string"},"params":{"description":"params defines the x/proof parameters to update.\nNOTE: All parameters must be supplied.","$ref":"#/definitions/poktroll.proof.Params"}}},"poktroll.proof.MsgUpdateParamsResponse":{"description":"MsgUpdateParamsResponse defines the response structure for executing a\nMsgUpdateParams message.","type":"object"},"poktroll.proof.Params":{"description":"Params defines the parameters for the module.","type":"object","properties":{"proof_missing_penalty":{"description":"proof_missing_penalty is the number of tokens (uPOKT) which should be slashed from a supplier\nwhen a proof is required (either via proof_requirement_threshold or proof_missing_penalty)\nbut is not provided.","$ref":"#/definitions/cosmos.base.v1beta1.Coin"},"proof_request_probability":{"description":"proof_request_probability is the probability of a session requiring a proof\nif it's cost (i.e. compute unit consumption) is below the ProofRequirementThreshold.","type":"number","format":"float"},"proof_requirement_threshold":{"description":"proof_requirement_threshold is the session cost (i.e. compute unit consumption)\nthreshold which asserts that a session MUST have a corresponding proof when its cost\nis equal to or above the threshold. This is in contrast to the this requirement\nbeing determined probabilistically via ProofRequestProbability.\n\nTODO_MAINNET: Consider renaming this to `proof_requirement_threshold_compute_units`.","type":"string","format":"uint64"},"relay_difficulty_target_hash":{"description":"TODO_FOLLOWUP(@olshansk, #690): Either delete this or change it to be named \"minimum\"\nrelay_difficulty_target_hash is the maximum value a relay hash must be less than to be volume/reward applicable.","type":"string","format":"byte"}}},"poktroll.proof.Proof":{"type":"object","properties":{"closest_merkle_proof":{"description":"The serialized SMST proof from the `#ClosestProof()` method.","type":"string","format":"byte"},"session_header":{"description":"The session header of the session that this claim is for.","$ref":"#/definitions/poktroll.session.SessionHeader"},"supplier_operator_address":{"description":"Address of the supplier's operator that submitted this proof.","type":"string"}}},"poktroll.proof.QueryAllClaimsResponse":{"type":"object","properties":{"claims":{"type":"array","items":{"type":"object","$ref":"#/definitions/poktroll.proof.Claim"}},"pagination":{"$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"}}},"poktroll.proof.QueryAllProofsResponse":{"type":"object","properties":{"pagination":{"$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"},"proofs":{"type":"array","items":{"type":"object","$ref":"#/definitions/poktroll.proof.Proof"}}}},"poktroll.proof.QueryGetClaimResponse":{"type":"object","properties":{"claim":{"$ref":"#/definitions/poktroll.proof.Claim"}}},"poktroll.proof.QueryGetProofResponse":{"type":"object","properties":{"proof":{"$ref":"#/definitions/poktroll.proof.Proof"}}},"poktroll.proof.QueryParamsResponse":{"description":"QueryParamsResponse is response type for the Query/Params RPC method.","type":"object","properties":{"params":{"description":"params holds all the parameters of this module.","$ref":"#/definitions/poktroll.proof.Params"}}},"poktroll.service.MsgAddService":{"description":"MsgAddService defines a message for adding a new message to the network.\nServices can be added by any actor in the network making them truly\npermissionless.\nTODO_BETA: Add Champions / Sources once its fully defined.","type":"object","properties":{"owner_address":{"description":"The Bech32 address of the service owner.","type":"string"},"service":{"title":"The Service being added to the network","$ref":"#/definitions/poktroll.shared.Service"}}},"poktroll.service.MsgAddServiceResponse":{"type":"object"},"poktroll.service.MsgUpdateParams":{"description":"MsgUpdateParams is the Msg/UpdateParams request type.","type":"object","properties":{"authority":{"description":"authority is the address that controls the module (defaults to x/gov unless overwritten).","type":"string"},"params":{"description":"params defines the x/service parameters to update.\nNOTE: All parameters must be supplied.","$ref":"#/definitions/poktroll.service.Params"}}},"poktroll.service.MsgUpdateParamsResponse":{"description":"MsgUpdateParamsResponse defines the response structure for executing a\nMsgUpdateParams message.","type":"object"},"poktroll.service.Params":{"description":"Params defines the parameters for the module.","type":"object","properties":{"add_service_fee":{"description":"The amount of uPOKT required to add a new service.\nThis will be deducted from the signer's account balance,\nand transferred to the pocket network foundation.","type":"string","format":"uint64"}}},"poktroll.service.QueryAllServicesResponse":{"type":"object","properties":{"pagination":{"$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"},"service":{"type":"array","items":{"type":"object","$ref":"#/definitions/poktroll.shared.Service"}}}},"poktroll.service.QueryGetServiceResponse":{"type":"object","properties":{"service":{"$ref":"#/definitions/poktroll.shared.Service"}}},"poktroll.service.QueryParamsResponse":{"description":"QueryParamsResponse is response type for the Query/Params RPC method.","type":"object","properties":{"params":{"description":"params holds all the parameters of this module.","$ref":"#/definitions/poktroll.service.Params"}}},"poktroll.session.MsgUpdateParams":{"description":"MsgUpdateParams is the Msg/UpdateParams request type.","type":"object","properties":{"authority":{"description":"authority is the address that controls the module (defaults to x/gov unless overwritten).","type":"string"},"params":{"description":"params defines the x/session parameters to update.\nNOTE: All parameters must be supplied.","$ref":"#/definitions/poktroll.session.Params"}}},"poktroll.session.MsgUpdateParamsResponse":{"description":"MsgUpdateParamsResponse defines the response structure for executing a\nMsgUpdateParams message.","type":"object"},"poktroll.session.Params":{"description":"Params defines the parameters for the module.","type":"object"},"poktroll.session.QueryGetSessionResponse":{"type":"object","properties":{"session":{"$ref":"#/definitions/poktroll.session.Session"}}},"poktroll.session.QueryParamsResponse":{"description":"QueryParamsResponse is response type for the Query/Params RPC method.","type":"object","properties":{"params":{"description":"params holds all the parameters of this module.","$ref":"#/definitions/poktroll.session.Params"}}},"poktroll.session.Session":{"description":"Session is a fully hydrated session object that contains all the information for the Session\nand its parcipants.","type":"object","properties":{"application":{"title":"A fully hydrated application object this session is for","$ref":"#/definitions/poktroll.application.Application"},"header":{"title":"The header of the session containing lightweight data","$ref":"#/definitions/poktroll.session.SessionHeader"},"num_blocks_per_session":{"type":"string","format":"int64","title":"The number of blocks per session when this session started"},"session_id":{"type":"string","title":"A unique pseudoranom ID for this session"},"session_number":{"type":"string","format":"int64","title":"The session number since genesis"},"suppliers":{"type":"array","title":"A fully hydrated set of servicers that are serving the application","items":{"type":"object","$ref":"#/definitions/poktroll.shared.Supplier"}}}},"poktroll.session.SessionHeader":{"description":"SessionHeader is a lightweight header for a session that can be passed around.\nIt is the minimal amount of data required to hydrate \u0026 retrieve all data relevant to the session.","type":"object","properties":{"application_address":{"description":"The Bech32 address of the application.","type":"string"},"service":{"title":"The service this session is for","$ref":"#/definitions/poktroll.shared.Service"},"session_end_block_height":{"description":"Note that`session_end_block_height` is a derivative of (`start` + `num_blocks_per_session`)\nas goverened by on-chain params at the time of the session start.\nIt is stored as an additional field to simplofy business logic in case\nthe number of blocks_per_session changes during the session.\n\nThe height at which this session ended, this is the last block of the session","type":"string","format":"int64"},"session_id":{"description":"A unique pseudoranom ID for this session","type":"string","title":"NOTE: session_id can be derived from the above values using on-chain but is included in the header for convenience"},"session_start_block_height":{"type":"string","format":"int64","title":"The height at which this session started"}}},"poktroll.shared.ApplicationServiceConfig":{"type":"object","title":"ApplicationServiceConfig holds the service configuration the application stakes for","properties":{"service":{"description":"TODO_MAINNET: Avoid embedding the full Service because we just need the ID.\n\nThe Service for which the application is configured","$ref":"#/definitions/poktroll.shared.Service"}}},"poktroll.shared.ConfigOption":{"type":"object","title":"Key-value wrapper for config options, as proto maps can't be keyed by enums","properties":{"key":{"title":"Config option key","$ref":"#/definitions/poktroll.shared.ConfigOptions"},"value":{"type":"string","title":"Config option value"}}},"poktroll.shared.ConfigOptions":{"description":"Enum to define configuration options\nTODO_RESEARCH: Should these be configs, SLAs or something else? There will be more discussion once we get closer to implementing on-chain QoS.\n\n - UNKNOWN_CONFIG: Undefined config option\n - TIMEOUT: Timeout setting","type":"string","default":"UNKNOWN_CONFIG","enum":["UNKNOWN_CONFIG","TIMEOUT"]},"poktroll.shared.MsgUpdateParam":{"description":"MsgUpdateParam is the Msg/UpdateParam request type to update a single param.","type":"object","properties":{"as_bytes":{"type":"string","format":"byte"},"as_int64":{"type":"string","format":"int64"},"as_string":{"type":"string"},"authority":{"description":"authority is the address that controls the module (defaults to x/gov unless overwritten).","type":"string"},"name":{"type":"string"}}},"poktroll.shared.MsgUpdateParamResponse":{"description":"MsgUpdateParamResponse defines the response structure for executing a\nMsgUpdateParam message after a single param update.","type":"object","properties":{"params":{"$ref":"#/definitions/poktroll.shared.Params"}}},"poktroll.shared.MsgUpdateParams":{"description":"MsgUpdateParams is the Msg/UpdateParams request type.","type":"object","properties":{"authority":{"description":"authority is the address that controls the module (defaults to x/gov unless overwritten).","type":"string"},"params":{"description":"NOTE: All parameters must be supplied.","$ref":"#/definitions/poktroll.shared.Params"}}},"poktroll.shared.MsgUpdateParamsResponse":{"description":"MsgUpdateParamsResponse defines the response structure for executing a\nMsgUpdateParams message.","type":"object"},"poktroll.shared.Params":{"description":"Params defines the parameters for the module.","type":"object","properties":{"application_unbonding_period_sessions":{"description":"application_unbonding_period_sessions is the number of sessions that an application must wait after\nunstaking before their staked assets are moved to their account balance.\nOn-chain business logic requires, and ensures, that the corresponding block count of the\napplication unbonding period will exceed the end of its corresponding proof window close height.","type":"string","format":"uint64"},"claim_window_close_offset_blocks":{"description":"claim_window_close_offset_blocks is the number of blocks after the claim window\nopen height, at which the claim window closes.","type":"string","format":"uint64"},"claim_window_open_offset_blocks":{"description":"claim_window_open_offset_blocks is the number of blocks after the session grace\nperiod height, at which the claim window opens.","type":"string","format":"uint64"},"grace_period_end_offset_blocks":{"description":"grace_period_end_offset_blocks is the number of blocks, after the session end height,\nduring which the supplier can still service payable relays.\nSuppliers will need to recreate a claim for the previous session (if already created) to\nget paid for the additional relays.","type":"string","format":"uint64"},"num_blocks_per_session":{"description":"num_blocks_per_session is the number of blocks between the session start \u0026 end heights.","type":"string","format":"uint64"},"proof_window_close_offset_blocks":{"description":"proof_window_close_offset_blocks is the number of blocks after the proof window\nopen height, at which the proof window closes.","type":"string","format":"uint64"},"proof_window_open_offset_blocks":{"description":"proof_window_open_offset_blocks is the number of blocks after the claim window\nclose height, at which the proof window opens.","type":"string","format":"uint64"},"supplier_unbonding_period_sessions":{"description":"supplier_unbonding_period_sessions is the number of sessions that a supplier must wait after\nunstaking before their staked assets are moved to their account balance.\nOn-chain business logic requires, and ensures, that the corresponding block count of the unbonding\nperiod will exceed the end of any active claim \u0026 proof lifecycles.","type":"string","format":"uint64"}}},"poktroll.shared.QueryParamsResponse":{"description":"QueryParamsResponse is response type for the Query/Params RPC method.","type":"object","properties":{"params":{"description":"params holds all the parameters of this module.","$ref":"#/definitions/poktroll.shared.Params"}}},"poktroll.shared.RPCType":{"description":"- UNKNOWN_RPC: Undefined RPC type\n - GRPC: gRPC\n - WEBSOCKET: WebSocket\n - JSON_RPC: JSON-RPC\n - REST: REST","type":"string","title":"Enum to define RPC types","default":"UNKNOWN_RPC","enum":["UNKNOWN_RPC","GRPC","WEBSOCKET","JSON_RPC","REST"]},"poktroll.shared.Service":{"type":"object","title":"Service message to encapsulate unique and semantic identifiers for a service on the network","properties":{"compute_units_per_relay":{"description":"Compute units required per relay for this service","type":"string","format":"uint64","title":"The cost of a single relay for this service in terms of compute units.\nMust be used alongside the global 'compute_units_to_tokens_multipler' to calculate the cost of a relay for this service.\ncost_per_relay_for_specific_service = compute_units_per_relay_for_specific_service * compute_units_to_tokens_multipler_global_value"},"id":{"description":"Unique identifier for the service","type":"string","title":"For example, what if we want to request a session for a certain service but with some additional configs that identify it?"},"name":{"description":"TODO_MAINNET: Remove this.\n\n(Optional) Semantic human readable name for the service","type":"string"},"owner_address":{"description":"The owner address that created the service.\nIt is the address that receives rewards based on the Service's on-chain usage\nIt is the only address that can update the service configuration (e.g. compute_units_per_relay),\nor make other updates to it.\n\nThe Bech32 address of the service owner / creator","type":"string"}}},"poktroll.shared.ServiceRevenueShare":{"type":"object","title":"ServiceRevenueShare message to hold revenue share configuration details","properties":{"address":{"type":"string","title":"The Bech32 address of the revenue share recipient"},"rev_share_percentage":{"type":"number","format":"float","title":"The percentage of revenue share the recipient will receive"}}},"poktroll.shared.Supplier":{"description":"Supplier is the type defining the actor in Pocket Network that provides RPC services.","type":"object","properties":{"operator_address":{"description":"The operator address of the supplier operator (i.e. the one managing the off-chain server).\nThe operator address can update the supplier's configurations excluding the owner address.\nThis property does not change over the supplier's lifespan, the supplier must be unstaked\nand re-staked to effectively update this value.\n\nBech32 cosmos address","type":"string"},"owner_address":{"description":"The address of the owner (i.e. staker, custodial) that owns the funds for staking.\nBy default, this address is the one that receives all the rewards unless owtherwise specified.\nThis property cannot be updated by the operator.\n\nBech32 cosmos address","type":"string"},"services":{"type":"array","title":"The service configs this supplier can support","items":{"type":"object","$ref":"#/definitions/poktroll.shared.SupplierServiceConfig"}},"services_activation_heights_map":{"description":"services_activation_heights_map is a map of serviceIds to the height at\nwhich the staked supplier will become active for that service.\nActivation heights are session start heights.","type":"object","additionalProperties":{"type":"string","format":"uint64"}},"stake":{"title":"The total amount of uPOKT the supplier has staked","$ref":"#/definitions/cosmos.base.v1beta1.Coin"},"unstake_session_end_height":{"description":"The session end height at which an actively unbonding supplier unbonds its stake.\nIf the supplier did not unstake, this value will be 0.","type":"string","format":"uint64"}}},"poktroll.shared.SupplierEndpoint":{"type":"object","title":"SupplierEndpoint message to hold service configuration details","properties":{"configs":{"type":"array","title":"Additional configuration options for the endpoint","items":{"type":"object","$ref":"#/definitions/poktroll.shared.ConfigOption"}},"rpc_type":{"title":"Type of RPC exposed on the url above","$ref":"#/definitions/poktroll.shared.RPCType"},"url":{"type":"string","title":"URL of the endpoint"}}},"poktroll.shared.SupplierServiceConfig":{"type":"object","title":"SupplierServiceConfig holds the service configuration the supplier stakes for","properties":{"endpoints":{"type":"array","title":"List of endpoints for the service","items":{"type":"object","$ref":"#/definitions/poktroll.shared.SupplierEndpoint"}},"rev_share":{"type":"array","title":"List of revenue share configurations for the service","items":{"type":"object","$ref":"#/definitions/poktroll.shared.ServiceRevenueShare"}},"service":{"description":"TODO_MAINNET: Avoid embedding the full Service because we just need the ID.\n\nThe Service for which the supplier is configured","$ref":"#/definitions/poktroll.shared.Service"}}},"poktroll.supplier.MsgStakeSupplier":{"type":"object","properties":{"operator_address":{"type":"string","title":"The Bech32 address of the operator (i.e. provider, non-custodial)"},"owner_address":{"type":"string","title":"The Bech32 address of the owner (i.e. custodial, staker)"},"services":{"type":"array","title":"The list of services this supplier is staked to provide service for","items":{"type":"object","$ref":"#/definitions/poktroll.shared.SupplierServiceConfig"}},"signer":{"type":"string","title":"The Bech32 address of the message signer (i.e. owner or operator)"},"stake":{"title":"The total amount of uPOKT the supplier has staked. Must be ≥ to the current amount that the supplier has staked (if any)","$ref":"#/definitions/cosmos.base.v1beta1.Coin"}}},"poktroll.supplier.MsgStakeSupplierResponse":{"type":"object"},"poktroll.supplier.MsgUnstakeSupplier":{"type":"object","properties":{"operator_address":{"type":"string","title":"The Bech32 address of the operator (i.e. provider, non-custodial)"},"signer":{"type":"string","title":"The Bech32 address of the message signer (i.e. owner or operator)"}}},"poktroll.supplier.MsgUnstakeSupplierResponse":{"type":"object"},"poktroll.supplier.MsgUpdateParams":{"description":"MsgUpdateParams is the Msg/UpdateParams request type.","type":"object","properties":{"authority":{"description":"authority is the address that controls the module (defaults to x/gov unless overwritten).","type":"string"},"params":{"description":"params defines the x/supplier parameters to update.\nNOTE: All parameters must be supplied.","$ref":"#/definitions/poktroll.supplier.Params"}}},"poktroll.supplier.MsgUpdateParamsResponse":{"description":"MsgUpdateParamsResponse defines the response structure for executing a\nMsgUpdateParams message.","type":"object"},"poktroll.supplier.Params":{"description":"Params defines the parameters for the module.","type":"object"},"poktroll.supplier.QueryAllSuppliersResponse":{"type":"object","properties":{"pagination":{"$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"},"supplier":{"type":"array","items":{"type":"object","$ref":"#/definitions/poktroll.shared.Supplier"}}}},"poktroll.supplier.QueryGetSupplierResponse":{"type":"object","properties":{"supplier":{"$ref":"#/definitions/poktroll.shared.Supplier"}}},"poktroll.supplier.QueryParamsResponse":{"description":"QueryParamsResponse is response type for the Query/Params RPC method.","type":"object","properties":{"params":{"description":"params holds all the parameters of this module.","$ref":"#/definitions/poktroll.supplier.Params"}}},"poktroll.tokenomics.MsgUpdateParam":{"description":"MsgUpdateParam is the Msg/UpdateParam request type to update a single param.","type":"object","properties":{"as_bytes":{"type":"string","format":"byte"},"as_int64":{"type":"string","format":"int64"},"as_string":{"type":"string"},"authority":{"description":"authority is the address that controls the module (defaults to x/gov unless overwritten).","type":"string"},"name":{"type":"string","title":"The (name, as_type) tuple must match the corresponding name and type as\nspecified in the `Params` message in `proof/params.proto.`"}}},"poktroll.tokenomics.MsgUpdateParamResponse":{"description":"MsgUpdateParamResponse defines the response structure for executing a\nMsgUpdateParam message after a single param update.","type":"object","properties":{"params":{"$ref":"#/definitions/poktroll.tokenomics.Params"}}},"poktroll.tokenomics.MsgUpdateParams":{"description":"MsgUpdateParams is the Msg/UpdateParams request type to update all params at once.","type":"object","properties":{"authority":{"description":"authority is the address that controls the module (defaults to x/gov unless overwritten).","type":"string"},"params":{"description":"params defines the x/tokenomics parameters to update.\nNOTE: All parameters must be supplied.","$ref":"#/definitions/poktroll.tokenomics.Params"}}},"poktroll.tokenomics.MsgUpdateParamsResponse":{"description":"MsgUpdateParamsResponse defines the response structure for executing a\nMsgUpdateParams message.","type":"object"},"poktroll.tokenomics.Params":{"description":"Params defines the parameters for the tokenomics module.","type":"object","properties":{"compute_units_to_tokens_multiplier":{"description":"The amount of upokt that a compute unit should translate to when settling a session.","type":"string","format":"uint64"}}},"poktroll.tokenomics.QueryAllRelayMiningDifficultyResponse":{"type":"object","properties":{"pagination":{"$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"},"relayMiningDifficulty":{"type":"array","items":{"type":"object","$ref":"#/definitions/poktroll.tokenomics.RelayMiningDifficulty"}}}},"poktroll.tokenomics.QueryGetRelayMiningDifficultyResponse":{"type":"object","properties":{"relayMiningDifficulty":{"$ref":"#/definitions/poktroll.tokenomics.RelayMiningDifficulty"}}},"poktroll.tokenomics.QueryParamsResponse":{"description":"QueryParamsResponse is response type for the Query/Params RPC method.","type":"object","properties":{"params":{"description":"params holds all the parameters of this module.","$ref":"#/definitions/poktroll.tokenomics.Params"}}},"poktroll.tokenomics.RelayMiningDifficulty":{"description":"RelayMiningDifficulty is a message used to store the on-chain Relay Mining\ndifficulty associated with a specific service ID.","type":"object","properties":{"block_height":{"description":"The block height at which this relay mining difficulty was computed.\nThis is needed to determine how much time has passed since the last time\nthe exponential moving average was computed.","type":"string","format":"int64"},"num_relays_ema":{"description":"The exponential moving average of the number of relays for this service.","type":"string","format":"uint64"},"service_id":{"description":"The service ID the relay mining difficulty is associated with.","type":"string"},"target_hash":{"description":"The target hash determining the difficulty to mine relays for this service.\nFor example, if we use sha256 to hash the (RelayRequest,ReqlayResponse) tuple,\nand the difficulty has 4 leading zero bits, then the target hash would be:\n0b0000111... (until 32 bytes are filled up).","type":"string","format":"byte"}}},"tendermint.abci.CheckTxType":{"type":"string","default":"NEW","enum":["NEW","RECHECK"]},"tendermint.abci.CommitInfo":{"type":"object","properties":{"round":{"type":"integer","format":"int32"},"votes":{"type":"array","items":{"type":"object","$ref":"#/definitions/tendermint.abci.VoteInfo"}}}},"tendermint.abci.Event":{"description":"Event allows application developers to attach additional information to\nResponseFinalizeBlock and ResponseCheckTx.\nLater, transactions may be queried using these events.","type":"object","properties":{"attributes":{"type":"array","items":{"type":"object","$ref":"#/definitions/tendermint.abci.EventAttribute"}},"type":{"type":"string"}}},"tendermint.abci.EventAttribute":{"description":"EventAttribute is a single key-value pair, associated with an event.","type":"object","properties":{"index":{"type":"boolean","title":"nondeterministic"},"key":{"type":"string"},"value":{"type":"string"}}},"tendermint.abci.ExecTxResult":{"description":"ExecTxResult contains results of executing one individual transaction.\n\n* Its structure is equivalent to #ResponseDeliverTx which will be deprecated/deleted","type":"object","properties":{"code":{"type":"integer","format":"int64"},"codespace":{"type":"string"},"data":{"type":"string","format":"byte"},"events":{"type":"array","title":"nondeterministic","items":{"type":"object","$ref":"#/definitions/tendermint.abci.Event"}},"gas_used":{"type":"string","format":"int64"},"gas_wanted":{"type":"string","format":"int64"},"info":{"type":"string","title":"nondeterministic"},"log":{"type":"string","title":"nondeterministic"}}},"tendermint.abci.ExtendedCommitInfo":{"description":"ExtendedCommitInfo is similar to CommitInfo except that it is only used in\nthe PrepareProposal request such that CometBFT can provide vote extensions\nto the application.","type":"object","properties":{"round":{"description":"The round at which the block proposer decided in the previous height.","type":"integer","format":"int32"},"votes":{"description":"List of validators' addresses in the last validator set with their voting\ninformation, including vote extensions.","type":"array","items":{"type":"object","$ref":"#/definitions/tendermint.abci.ExtendedVoteInfo"}}}},"tendermint.abci.ExtendedVoteInfo":{"type":"object","properties":{"block_id_flag":{"title":"block_id_flag indicates whether the validator voted for a block, nil, or did not vote at all","$ref":"#/definitions/tendermint.types.BlockIDFlag"},"extension_signature":{"type":"string","format":"byte","title":"Vote extension signature created by CometBFT"},"validator":{"description":"The validator that sent the vote.","$ref":"#/definitions/tendermint.abci.Validator"},"vote_extension":{"description":"Non-deterministic extension provided by the sending validator's application.","type":"string","format":"byte"}}},"tendermint.abci.Misbehavior":{"type":"object","properties":{"height":{"type":"string","format":"int64","title":"The height when the offense occurred"},"time":{"type":"string","format":"date-time","title":"The corresponding time where the offense occurred"},"total_voting_power":{"type":"string","format":"int64","title":"Total voting power of the validator set in case the ABCI application does\nnot store historical validators.\nhttps://github.com/tendermint/tendermint/issues/4581"},"type":{"$ref":"#/definitions/tendermint.abci.MisbehaviorType"},"validator":{"title":"The offending validator","$ref":"#/definitions/tendermint.abci.Validator"}}},"tendermint.abci.MisbehaviorType":{"type":"string","default":"UNKNOWN","enum":["UNKNOWN","DUPLICATE_VOTE","LIGHT_CLIENT_ATTACK"]},"tendermint.abci.RequestApplySnapshotChunk":{"type":"object","title":"Applies a snapshot chunk","properties":{"chunk":{"type":"string","format":"byte"},"index":{"type":"integer","format":"int64"},"sender":{"type":"string"}}},"tendermint.abci.RequestCheckTx":{"type":"object","properties":{"tx":{"type":"string","format":"byte"},"type":{"$ref":"#/definitions/tendermint.abci.CheckTxType"}}},"tendermint.abci.RequestCommit":{"type":"object"},"tendermint.abci.RequestEcho":{"type":"object","properties":{"message":{"type":"string"}}},"tendermint.abci.RequestExtendVote":{"type":"object","title":"Extends a vote with application-injected data","properties":{"hash":{"type":"string","format":"byte","title":"the hash of the block that this vote may be referring to"},"height":{"type":"string","format":"int64","title":"the height of the extended vote"},"misbehavior":{"type":"array","items":{"type":"object","$ref":"#/definitions/tendermint.abci.Misbehavior"}},"next_validators_hash":{"type":"string","format":"byte"},"proposed_last_commit":{"$ref":"#/definitions/tendermint.abci.CommitInfo"},"proposer_address":{"description":"address of the public key of the original proposer of the block.","type":"string","format":"byte"},"time":{"type":"string","format":"date-time","title":"info of the block that this vote may be referring to"},"txs":{"type":"array","items":{"type":"string","format":"byte"}}}},"tendermint.abci.RequestFinalizeBlock":{"type":"object","properties":{"decided_last_commit":{"$ref":"#/definitions/tendermint.abci.CommitInfo"},"hash":{"description":"hash is the merkle root hash of the fields of the decided block.","type":"string","format":"byte"},"height":{"type":"string","format":"int64"},"misbehavior":{"type":"array","items":{"type":"object","$ref":"#/definitions/tendermint.abci.Misbehavior"}},"next_validators_hash":{"type":"string","format":"byte"},"proposer_address":{"description":"proposer_address is the address of the public key of the original proposer of the block.","type":"string","format":"byte"},"time":{"type":"string","format":"date-time"},"txs":{"type":"array","items":{"type":"string","format":"byte"}}}},"tendermint.abci.RequestFlush":{"type":"object"},"tendermint.abci.RequestInfo":{"type":"object","properties":{"abci_version":{"type":"string"},"block_version":{"type":"string","format":"uint64"},"p2p_version":{"type":"string","format":"uint64"},"version":{"type":"string"}}},"tendermint.abci.RequestInitChain":{"type":"object","properties":{"app_state_bytes":{"type":"string","format":"byte"},"chain_id":{"type":"string"},"consensus_params":{"$ref":"#/definitions/tendermint.types.ConsensusParams"},"initial_height":{"type":"string","format":"int64"},"time":{"type":"string","format":"date-time"},"validators":{"type":"array","items":{"type":"object","$ref":"#/definitions/tendermint.abci.ValidatorUpdate"}}}},"tendermint.abci.RequestListSnapshots":{"type":"object","title":"lists available snapshots"},"tendermint.abci.RequestLoadSnapshotChunk":{"type":"object","title":"loads a snapshot chunk","properties":{"chunk":{"type":"integer","format":"int64"},"format":{"type":"integer","format":"int64"},"height":{"type":"string","format":"uint64"}}},"tendermint.abci.RequestOfferSnapshot":{"type":"object","title":"offers a snapshot to the application","properties":{"app_hash":{"type":"string","format":"byte","title":"light client-verified app hash for snapshot height"},"snapshot":{"title":"snapshot offered by peers","$ref":"#/definitions/tendermint.abci.Snapshot"}}},"tendermint.abci.RequestPrepareProposal":{"type":"object","properties":{"height":{"type":"string","format":"int64"},"local_last_commit":{"$ref":"#/definitions/tendermint.abci.ExtendedCommitInfo"},"max_tx_bytes":{"description":"the modified transactions cannot exceed this size.","type":"string","format":"int64"},"misbehavior":{"type":"array","items":{"type":"object","$ref":"#/definitions/tendermint.abci.Misbehavior"}},"next_validators_hash":{"type":"string","format":"byte"},"proposer_address":{"description":"address of the public key of the validator proposing the block.","type":"string","format":"byte"},"time":{"type":"string","format":"date-time"},"txs":{"description":"txs is an array of transactions that will be included in a block,\nsent to the app for possible modifications.","type":"array","items":{"type":"string","format":"byte"}}}},"tendermint.abci.RequestProcessProposal":{"type":"object","properties":{"hash":{"description":"hash is the merkle root hash of the fields of the proposed block.","type":"string","format":"byte"},"height":{"type":"string","format":"int64"},"misbehavior":{"type":"array","items":{"type":"object","$ref":"#/definitions/tendermint.abci.Misbehavior"}},"next_validators_hash":{"type":"string","format":"byte"},"proposed_last_commit":{"$ref":"#/definitions/tendermint.abci.CommitInfo"},"proposer_address":{"description":"address of the public key of the original proposer of the block.","type":"string","format":"byte"},"time":{"type":"string","format":"date-time"},"txs":{"type":"array","items":{"type":"string","format":"byte"}}}},"tendermint.abci.RequestQuery":{"type":"object","properties":{"data":{"type":"string","format":"byte"},"height":{"type":"string","format":"int64"},"path":{"type":"string"},"prove":{"type":"boolean"}}},"tendermint.abci.RequestVerifyVoteExtension":{"type":"object","title":"Verify the vote extension","properties":{"hash":{"type":"string","format":"byte","title":"the hash of the block that this received vote corresponds to"},"height":{"type":"string","format":"int64"},"validator_address":{"type":"string","format":"byte","title":"the validator that signed the vote extension"},"vote_extension":{"type":"string","format":"byte"}}},"tendermint.abci.ResponseApplySnapshotChunk":{"type":"object","properties":{"refetch_chunks":{"type":"array","title":"Chunks to refetch and reapply","items":{"type":"integer","format":"int64"}},"reject_senders":{"type":"array","title":"Chunk senders to reject and ban","items":{"type":"string"}},"result":{"$ref":"#/definitions/tendermint.abci.ResponseApplySnapshotChunk.Result"}}},"tendermint.abci.ResponseApplySnapshotChunk.Result":{"type":"string","title":"- UNKNOWN: Unknown result, abort all snapshot restoration\n - ACCEPT: Chunk successfully accepted\n - ABORT: Abort all snapshot restoration\n - RETRY: Retry chunk (combine with refetch and reject)\n - RETRY_SNAPSHOT: Retry snapshot (combine with refetch and reject)\n - REJECT_SNAPSHOT: Reject this snapshot, try others","default":"UNKNOWN","enum":["UNKNOWN","ACCEPT","ABORT","RETRY","RETRY_SNAPSHOT","REJECT_SNAPSHOT"]},"tendermint.abci.ResponseCheckTx":{"type":"object","properties":{"code":{"type":"integer","format":"int64"},"codespace":{"type":"string"},"data":{"type":"string","format":"byte"},"events":{"type":"array","items":{"type":"object","$ref":"#/definitions/tendermint.abci.Event"}},"gas_used":{"type":"string","format":"int64"},"gas_wanted":{"type":"string","format":"int64"},"info":{"type":"string","title":"nondeterministic"},"log":{"type":"string","title":"nondeterministic"}}},"tendermint.abci.ResponseCommit":{"type":"object","properties":{"retain_height":{"type":"string","format":"int64"}}},"tendermint.abci.ResponseEcho":{"type":"object","properties":{"message":{"type":"string"}}},"tendermint.abci.ResponseExtendVote":{"type":"object","properties":{"vote_extension":{"type":"string","format":"byte"}}},"tendermint.abci.ResponseFinalizeBlock":{"type":"object","properties":{"app_hash":{"description":"app_hash is the hash of the applications' state which is used to confirm that execution of the transactions was\ndeterministic. It is up to the application to decide which algorithm to use.","type":"string","format":"byte"},"consensus_param_updates":{"description":"updates to the consensus params, if any.","$ref":"#/definitions/tendermint.types.ConsensusParams"},"events":{"type":"array","title":"set of block events emmitted as part of executing the block","items":{"type":"object","$ref":"#/definitions/tendermint.abci.Event"}},"tx_results":{"type":"array","title":"the result of executing each transaction including the events\nthe particular transction emitted. This should match the order\nof the transactions delivered in the block itself","items":{"type":"object","$ref":"#/definitions/tendermint.abci.ExecTxResult"}},"validator_updates":{"description":"a list of updates to the validator set. These will reflect the validator set at current height + 2.","type":"array","items":{"type":"object","$ref":"#/definitions/tendermint.abci.ValidatorUpdate"}}}},"tendermint.abci.ResponseFlush":{"type":"object"},"tendermint.abci.ResponseInfo":{"type":"object","properties":{"app_version":{"type":"string","format":"uint64"},"data":{"type":"string"},"last_block_app_hash":{"type":"string","format":"byte"},"last_block_height":{"type":"string","format":"int64"},"version":{"type":"string"}}},"tendermint.abci.ResponseInitChain":{"type":"object","properties":{"app_hash":{"type":"string","format":"byte"},"consensus_params":{"$ref":"#/definitions/tendermint.types.ConsensusParams"},"validators":{"type":"array","items":{"type":"object","$ref":"#/definitions/tendermint.abci.ValidatorUpdate"}}}},"tendermint.abci.ResponseListSnapshots":{"type":"object","properties":{"snapshots":{"type":"array","items":{"type":"object","$ref":"#/definitions/tendermint.abci.Snapshot"}}}},"tendermint.abci.ResponseLoadSnapshotChunk":{"type":"object","properties":{"chunk":{"type":"string","format":"byte"}}},"tendermint.abci.ResponseOfferSnapshot":{"type":"object","properties":{"result":{"$ref":"#/definitions/tendermint.abci.ResponseOfferSnapshot.Result"}}},"tendermint.abci.ResponseOfferSnapshot.Result":{"type":"string","title":"- UNKNOWN: Unknown result, abort all snapshot restoration\n - ACCEPT: Snapshot accepted, apply chunks\n - ABORT: Abort all snapshot restoration\n - REJECT: Reject this specific snapshot, try others\n - REJECT_FORMAT: Reject all snapshots of this format, try others\n - REJECT_SENDER: Reject all snapshots from the sender(s), try others","default":"UNKNOWN","enum":["UNKNOWN","ACCEPT","ABORT","REJECT","REJECT_FORMAT","REJECT_SENDER"]},"tendermint.abci.ResponsePrepareProposal":{"type":"object","properties":{"txs":{"type":"array","items":{"type":"string","format":"byte"}}}},"tendermint.abci.ResponseProcessProposal":{"type":"object","properties":{"status":{"$ref":"#/definitions/tendermint.abci.ResponseProcessProposal.ProposalStatus"}}},"tendermint.abci.ResponseProcessProposal.ProposalStatus":{"type":"string","default":"UNKNOWN","enum":["UNKNOWN","ACCEPT","REJECT"]},"tendermint.abci.ResponseQuery":{"type":"object","properties":{"code":{"type":"integer","format":"int64"},"codespace":{"type":"string"},"height":{"type":"string","format":"int64"},"index":{"type":"string","format":"int64"},"info":{"type":"string","title":"nondeterministic"},"key":{"type":"string","format":"byte"},"log":{"description":"bytes data = 2; // use \"value\" instead.\n\nnondeterministic","type":"string"},"proof_ops":{"$ref":"#/definitions/tendermint.crypto.ProofOps"},"value":{"type":"string","format":"byte"}}},"tendermint.abci.ResponseVerifyVoteExtension":{"type":"object","properties":{"status":{"$ref":"#/definitions/tendermint.abci.ResponseVerifyVoteExtension.VerifyStatus"}}},"tendermint.abci.ResponseVerifyVoteExtension.VerifyStatus":{"description":" - REJECT: Rejecting the vote extension will reject the entire precommit by the sender.\nIncorrectly implementing this thus has liveness implications as it may affect\nCometBFT's ability to receive 2/3+ valid votes to finalize the block.\nHonest nodes should never be rejected.","type":"string","default":"UNKNOWN","enum":["UNKNOWN","ACCEPT","REJECT"]},"tendermint.abci.Snapshot":{"type":"object","properties":{"chunks":{"type":"integer","format":"int64","title":"Number of chunks in the snapshot"},"format":{"type":"integer","format":"int64","title":"The application-specific snapshot format"},"hash":{"type":"string","format":"byte","title":"Arbitrary snapshot hash, equal only if identical"},"height":{"type":"string","format":"uint64","title":"The height at which the snapshot was taken"},"metadata":{"type":"string","format":"byte","title":"Arbitrary application metadata"}}},"tendermint.abci.Validator":{"type":"object","properties":{"address":{"type":"string","format":"byte","title":"The first 20 bytes of SHA256(public key)"},"power":{"description":"The voting power","type":"string","format":"int64","title":"PubKey pub_key = 2 [(gogoproto.nullable)=false];"}}},"tendermint.abci.ValidatorUpdate":{"type":"object","properties":{"power":{"type":"string","format":"int64"},"pub_key":{"$ref":"#/definitions/tendermint.crypto.PublicKey"}}},"tendermint.abci.VoteInfo":{"type":"object","properties":{"block_id_flag":{"$ref":"#/definitions/tendermint.types.BlockIDFlag"},"validator":{"$ref":"#/definitions/tendermint.abci.Validator"}}},"tendermint.crypto.ProofOp":{"type":"object","title":"ProofOp defines an operation used for calculating Merkle root\nThe data could be arbitrary format, providing nessecary data\nfor example neighbouring node hash","properties":{"data":{"type":"string","format":"byte"},"key":{"type":"string","format":"byte"},"type":{"type":"string"}}},"tendermint.crypto.ProofOps":{"type":"object","title":"ProofOps is Merkle proof defined by the list of ProofOps","properties":{"ops":{"type":"array","items":{"type":"object","$ref":"#/definitions/tendermint.crypto.ProofOp"}}}},"tendermint.crypto.PublicKey":{"type":"object","title":"PublicKey defines the keys available for use with Validators","properties":{"ed25519":{"type":"string","format":"byte"},"secp256k1":{"type":"string","format":"byte"}}},"tendermint.p2p.DefaultNodeInfo":{"type":"object","properties":{"channels":{"type":"string","format":"byte"},"default_node_id":{"type":"string"},"listen_addr":{"type":"string"},"moniker":{"type":"string"},"network":{"type":"string"},"other":{"$ref":"#/definitions/tendermint.p2p.DefaultNodeInfoOther"},"protocol_version":{"$ref":"#/definitions/tendermint.p2p.ProtocolVersion"},"version":{"type":"string"}}},"tendermint.p2p.DefaultNodeInfoOther":{"type":"object","properties":{"rpc_address":{"type":"string"},"tx_index":{"type":"string"}}},"tendermint.p2p.ProtocolVersion":{"type":"object","properties":{"app":{"type":"string","format":"uint64"},"block":{"type":"string","format":"uint64"},"p2p":{"type":"string","format":"uint64"}}},"tendermint.types.ABCIParams":{"description":"ABCIParams configure functionality specific to the Application Blockchain Interface.","type":"object","properties":{"vote_extensions_enable_height":{"description":"vote_extensions_enable_height configures the first height during which\nvote extensions will be enabled. During this specified height, and for all\nsubsequent heights, precommit messages that do not contain valid extension data\nwill be considered invalid. Prior to this height, vote extensions will not\nbe used or accepted by validators on the network.\n\nOnce enabled, vote extensions will be created by the application in ExtendVote,\npassed to the application for validation in VerifyVoteExtension and given\nto the application to use when proposing a block during PrepareProposal.","type":"string","format":"int64"}}},"tendermint.types.Block":{"type":"object","properties":{"data":{"$ref":"#/definitions/tendermint.types.Data"},"evidence":{"$ref":"#/definitions/tendermint.types.EvidenceList"},"header":{"$ref":"#/definitions/tendermint.types.Header"},"last_commit":{"$ref":"#/definitions/tendermint.types.Commit"}}},"tendermint.types.BlockID":{"type":"object","title":"BlockID","properties":{"hash":{"type":"string","format":"byte"},"part_set_header":{"$ref":"#/definitions/tendermint.types.PartSetHeader"}}},"tendermint.types.BlockIDFlag":{"description":"- BLOCK_ID_FLAG_UNKNOWN: indicates an error condition\n - BLOCK_ID_FLAG_ABSENT: the vote was not received\n - BLOCK_ID_FLAG_COMMIT: voted for the block that received the majority\n - BLOCK_ID_FLAG_NIL: voted for nil","type":"string","title":"BlockIdFlag indicates which BlockID the signature is for","default":"BLOCK_ID_FLAG_UNKNOWN","enum":["BLOCK_ID_FLAG_UNKNOWN","BLOCK_ID_FLAG_ABSENT","BLOCK_ID_FLAG_COMMIT","BLOCK_ID_FLAG_NIL"]},"tendermint.types.BlockParams":{"description":"BlockParams contains limits on the block size.","type":"object","properties":{"max_bytes":{"type":"string","format":"int64","title":"Max block size, in bytes.\nNote: must be greater than 0"},"max_gas":{"type":"string","format":"int64","title":"Max gas per block.\nNote: must be greater or equal to -1"}}},"tendermint.types.Commit":{"description":"Commit contains the evidence that a block was committed by a set of validators.","type":"object","properties":{"block_id":{"$ref":"#/definitions/tendermint.types.BlockID"},"height":{"type":"string","format":"int64"},"round":{"type":"integer","format":"int32"},"signatures":{"type":"array","items":{"type":"object","$ref":"#/definitions/tendermint.types.CommitSig"}}}},"tendermint.types.CommitSig":{"description":"CommitSig is a part of the Vote included in a Commit.","type":"object","properties":{"block_id_flag":{"$ref":"#/definitions/tendermint.types.BlockIDFlag"},"signature":{"type":"string","format":"byte"},"timestamp":{"type":"string","format":"date-time"},"validator_address":{"type":"string","format":"byte"}}},"tendermint.types.ConsensusParams":{"description":"ConsensusParams contains consensus critical parameters that determine the\nvalidity of blocks.","type":"object","properties":{"abci":{"$ref":"#/definitions/tendermint.types.ABCIParams"},"block":{"$ref":"#/definitions/tendermint.types.BlockParams"},"evidence":{"$ref":"#/definitions/tendermint.types.EvidenceParams"},"validator":{"$ref":"#/definitions/tendermint.types.ValidatorParams"},"version":{"$ref":"#/definitions/tendermint.types.VersionParams"}}},"tendermint.types.Data":{"type":"object","title":"Data contains the set of transactions included in the block","properties":{"txs":{"description":"Txs that will be applied by state @ block.Height+1.\nNOTE: not all txs here are valid. We're just agreeing on the order first.\nThis means that block.AppHash does not include these txs.","type":"array","items":{"type":"string","format":"byte"}}}},"tendermint.types.DuplicateVoteEvidence":{"description":"DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes.","type":"object","properties":{"timestamp":{"type":"string","format":"date-time"},"total_voting_power":{"type":"string","format":"int64"},"validator_power":{"type":"string","format":"int64"},"vote_a":{"$ref":"#/definitions/tendermint.types.Vote"},"vote_b":{"$ref":"#/definitions/tendermint.types.Vote"}}},"tendermint.types.Evidence":{"type":"object","properties":{"duplicate_vote_evidence":{"$ref":"#/definitions/tendermint.types.DuplicateVoteEvidence"},"light_client_attack_evidence":{"$ref":"#/definitions/tendermint.types.LightClientAttackEvidence"}}},"tendermint.types.EvidenceList":{"type":"object","properties":{"evidence":{"type":"array","items":{"type":"object","$ref":"#/definitions/tendermint.types.Evidence"}}}},"tendermint.types.EvidenceParams":{"description":"EvidenceParams determine how we handle evidence of malfeasance.","type":"object","properties":{"max_age_duration":{"description":"Max age of evidence, in time.\n\nIt should correspond with an app's \"unbonding period\" or other similar\nmechanism for handling [Nothing-At-Stake\nattacks](https://github.com/ethereum/wiki/wiki/Proof-of-Stake-FAQ#what-is-the-nothing-at-stake-problem-and-how-can-it-be-fixed).","type":"string"},"max_age_num_blocks":{"description":"Max age of evidence, in blocks.\n\nThe basic formula for calculating this is: MaxAgeDuration / {average block\ntime}.","type":"string","format":"int64"},"max_bytes":{"type":"string","format":"int64","title":"This sets the maximum size of total evidence in bytes that can be committed in a single block.\nand should fall comfortably under the max block bytes.\nDefault is 1048576 or 1MB"}}},"tendermint.types.Header":{"description":"Header defines the structure of a block header.","type":"object","properties":{"app_hash":{"type":"string","format":"byte","title":"state after txs from the previous block"},"chain_id":{"type":"string"},"consensus_hash":{"type":"string","format":"byte","title":"consensus params for current block"},"data_hash":{"type":"string","format":"byte","title":"transactions"},"evidence_hash":{"description":"evidence included in the block","type":"string","format":"byte","title":"consensus info"},"height":{"type":"string","format":"int64"},"last_block_id":{"title":"prev block info","$ref":"#/definitions/tendermint.types.BlockID"},"last_commit_hash":{"description":"commit from validators from the last block","type":"string","format":"byte","title":"hashes of block data"},"last_results_hash":{"type":"string","format":"byte","title":"root hash of all results from the txs from the previous block"},"next_validators_hash":{"type":"string","format":"byte","title":"validators for the next block"},"proposer_address":{"type":"string","format":"byte","title":"original proposer of the block"},"time":{"type":"string","format":"date-time"},"validators_hash":{"description":"validators for the current block","type":"string","format":"byte","title":"hashes from the app output from the prev block"},"version":{"title":"basic block info","$ref":"#/definitions/tendermint.version.Consensus"}}},"tendermint.types.LightBlock":{"type":"object","properties":{"signed_header":{"$ref":"#/definitions/tendermint.types.SignedHeader"},"validator_set":{"$ref":"#/definitions/tendermint.types.ValidatorSet"}}},"tendermint.types.LightClientAttackEvidence":{"description":"LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client.","type":"object","properties":{"byzantine_validators":{"type":"array","items":{"type":"object","$ref":"#/definitions/tendermint.types.Validator"}},"common_height":{"type":"string","format":"int64"},"conflicting_block":{"$ref":"#/definitions/tendermint.types.LightBlock"},"timestamp":{"type":"string","format":"date-time"},"total_voting_power":{"type":"string","format":"int64"}}},"tendermint.types.PartSetHeader":{"type":"object","title":"PartsetHeader","properties":{"hash":{"type":"string","format":"byte"},"total":{"type":"integer","format":"int64"}}},"tendermint.types.SignedHeader":{"type":"object","properties":{"commit":{"$ref":"#/definitions/tendermint.types.Commit"},"header":{"$ref":"#/definitions/tendermint.types.Header"}}},"tendermint.types.SignedMsgType":{"description":"SignedMsgType is a type of signed message in the consensus.\n\n - SIGNED_MSG_TYPE_PREVOTE: Votes\n - SIGNED_MSG_TYPE_PROPOSAL: Proposals","type":"string","default":"SIGNED_MSG_TYPE_UNKNOWN","enum":["SIGNED_MSG_TYPE_UNKNOWN","SIGNED_MSG_TYPE_PREVOTE","SIGNED_MSG_TYPE_PRECOMMIT","SIGNED_MSG_TYPE_PROPOSAL"]},"tendermint.types.Validator":{"type":"object","properties":{"address":{"type":"string","format":"byte"},"proposer_priority":{"type":"string","format":"int64"},"pub_key":{"$ref":"#/definitions/tendermint.crypto.PublicKey"},"voting_power":{"type":"string","format":"int64"}}},"tendermint.types.ValidatorParams":{"description":"ValidatorParams restrict the public key types validators can use.\nNOTE: uses ABCI pubkey naming, not Amino names.","type":"object","properties":{"pub_key_types":{"type":"array","items":{"type":"string"}}}},"tendermint.types.ValidatorSet":{"type":"object","properties":{"proposer":{"$ref":"#/definitions/tendermint.types.Validator"},"total_voting_power":{"type":"string","format":"int64"},"validators":{"type":"array","items":{"type":"object","$ref":"#/definitions/tendermint.types.Validator"}}}},"tendermint.types.VersionParams":{"description":"VersionParams contains the ABCI application version.","type":"object","properties":{"app":{"type":"string","format":"uint64"}}},"tendermint.types.Vote":{"description":"Vote represents a prevote or precommit vote from validators for\nconsensus.","type":"object","properties":{"block_id":{"description":"zero if vote is nil.","$ref":"#/definitions/tendermint.types.BlockID"},"extension":{"description":"Vote extension provided by the application. Only valid for precommit\nmessages.","type":"string","format":"byte"},"extension_signature":{"description":"Vote extension signature by the validator if they participated in\nconsensus for the associated block.\nOnly valid for precommit messages.","type":"string","format":"byte"},"height":{"type":"string","format":"int64"},"round":{"type":"integer","format":"int32"},"signature":{"description":"Vote signature by the validator if they participated in consensus for the\nassociated block.","type":"string","format":"byte"},"timestamp":{"type":"string","format":"date-time"},"type":{"$ref":"#/definitions/tendermint.types.SignedMsgType"},"validator_address":{"type":"string","format":"byte"},"validator_index":{"type":"integer","format":"int32"}}},"tendermint.version.Consensus":{"description":"Consensus captures the consensus rules for processing a block in the blockchain,\nincluding all blockchain data structures and the rules of the application's\nstate transition machine.","type":"object","properties":{"app":{"type":"string","format":"uint64"},"block":{"type":"string","format":"uint64"}}}},"tags":[{"name":"Query"},{"name":"Msg"},{"name":"Service"},{"name":"ReflectionService"},{"name":"ABCIListenerService"},{"name":"ABCI"}]} \ No newline at end of file +id: github.com/pokt-network/poktroll +consumes: + - application/json +produces: + - application/json +swagger: "2.0" +info: + description: Chain github.com/pokt-network/poktroll REST API + title: HTTP API Console + contact: + name: github.com/pokt-network/poktroll + version: version not set +paths: + /cosmos.auth.v1beta1.Msg/UpdateParams: + post: + description: 'Since: cosmos-sdk 0.47' + tags: + - Msg + summary: |- + UpdateParams defines a (governance) operation for updating the x/auth module + parameters. The authority defaults to the x/gov module account. + operationId: CircuitMsg_UpdateParams + parameters: + - description: |- + MsgUpdateParams is the Msg/UpdateParams request type. + + Since: cosmos-sdk 0.47 + name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.auth.v1beta1.MsgUpdateParams' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.auth.v1beta1.MsgUpdateParamsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos.authz.v1beta1.Msg/Exec: + post: + tags: + - Msg + summary: |- + Exec attempts to execute the provided messages using + authorizations granted to the grantee. Each message should have only + one signer corresponding to the granter of the authorization. + operationId: CircuitMsg_Exec + parameters: + - description: |- + MsgExec attempts to execute the provided messages using + authorizations granted to the grantee. Each message should have only + one signer corresponding to the granter of the authorization. + name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.authz.v1beta1.MsgExec' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.authz.v1beta1.MsgExecResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos.authz.v1beta1.Msg/Grant: + post: + tags: + - Msg + summary: |- + Grant grants the provided authorization to the grantee on the granter's + account with the provided expiration time. If there is already a grant + for the given (granter, grantee, Authorization) triple, then the grant + will be overwritten. + operationId: CircuitMsg_Grant + parameters: + - description: |- + MsgGrant is a request type for Grant method. It declares authorization to the grantee + on behalf of the granter with the provided expiration time. + name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.authz.v1beta1.MsgGrant' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.authz.v1beta1.MsgGrantResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos.authz.v1beta1.Msg/Revoke: + post: + tags: + - Msg + summary: |- + Revoke revokes any authorization corresponding to the provided method name on the + granter's account that has been granted to the grantee. + operationId: CircuitMsg_Revoke + parameters: + - description: |- + MsgRevoke revokes any authorization with the provided sdk.Msg type on the + granter's account with that has been granted to the grantee. + name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.authz.v1beta1.MsgRevoke' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.authz.v1beta1.MsgRevokeResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos.autocli.v1.Query/AppOptions: + post: + tags: + - Query + summary: AppOptions returns the autocli options for all of the modules in an app. + operationId: CircuitQuery_AppOptions + parameters: + - description: AppOptionsRequest is the RemoteInfoService/AppOptions request type. + name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.autocli.v1.AppOptionsRequest' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.autocli.v1.AppOptionsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos.bank.v1beta1.Msg/MultiSend: + post: + tags: + - Msg + summary: MultiSend defines a method for sending coins from some accounts to other accounts. + operationId: CircuitMsg_MultiSend + parameters: + - description: MsgMultiSend represents an arbitrary multi-in, multi-out send message. + name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.bank.v1beta1.MsgMultiSend' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.bank.v1beta1.MsgMultiSendResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos.bank.v1beta1.Msg/Send: + post: + tags: + - Msg + summary: Send defines a method for sending coins from one account to another account. + operationId: CircuitMsg_Send + parameters: + - description: MsgSend represents a message to send coins from one account to another. + name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.bank.v1beta1.MsgSend' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.bank.v1beta1.MsgSendResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos.bank.v1beta1.Msg/SetSendEnabled: + post: + description: 'Since: cosmos-sdk 0.47' + tags: + - Msg + summary: |- + SetSendEnabled is a governance operation for setting the SendEnabled flag + on any number of Denoms. Only the entries to add or update should be + included. Entries that already exist in the store, but that aren't + included in this message, will be left unchanged. + operationId: CircuitMsg_SetSendEnabled + parameters: + - description: |- + MsgSetSendEnabled is the Msg/SetSendEnabled request type. + + Only entries to add/update/delete need to be included. + Existing SendEnabled entries that are not included in this + message are left unchanged. + + Since: cosmos-sdk 0.47 + name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.bank.v1beta1.MsgSetSendEnabled' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.bank.v1beta1.MsgSetSendEnabledResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos.bank.v1beta1.Msg/UpdateParams: + post: + description: 'Since: cosmos-sdk 0.47' + tags: + - Msg + summary: |- + UpdateParams defines a governance operation for updating the x/bank module parameters. + The authority is defined in the keeper. + operationId: CircuitMsg_UpdateParamsMixin63 + parameters: + - description: |- + MsgUpdateParams is the Msg/UpdateParams request type. + + Since: cosmos-sdk 0.47 + name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.bank.v1beta1.MsgUpdateParams' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.bank.v1beta1.MsgUpdateParamsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos.circuit.v1.Msg/AuthorizeCircuitBreaker: + post: + tags: + - Msg + summary: |- + AuthorizeCircuitBreaker allows a super-admin to grant (or revoke) another + account's circuit breaker permissions. + operationId: CircuitMsg_AuthorizeCircuitBreaker + parameters: + - description: MsgAuthorizeCircuitBreaker defines the Msg/AuthorizeCircuitBreaker request type. + name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.circuit.v1.MsgAuthorizeCircuitBreaker' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.circuit.v1.MsgAuthorizeCircuitBreakerResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos.circuit.v1.Msg/ResetCircuitBreaker: + post: + tags: + - Msg + summary: |- + ResetCircuitBreaker resumes processing of Msg's in the state machine that + have been been paused using TripCircuitBreaker. + operationId: CircuitMsg_ResetCircuitBreaker + parameters: + - description: MsgResetCircuitBreaker defines the Msg/ResetCircuitBreaker request type. + name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.circuit.v1.MsgResetCircuitBreaker' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.circuit.v1.MsgResetCircuitBreakerResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos.circuit.v1.Msg/TripCircuitBreaker: + post: + tags: + - Msg + summary: TripCircuitBreaker pauses processing of Msg's in the state machine. + operationId: CircuitMsg_TripCircuitBreaker + parameters: + - description: MsgTripCircuitBreaker defines the Msg/TripCircuitBreaker request type. + name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.circuit.v1.MsgTripCircuitBreaker' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.circuit.v1.MsgTripCircuitBreakerResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos.consensus.v1.Msg/UpdateParams: + post: + description: 'Since: cosmos-sdk 0.47' + tags: + - Msg + summary: |- + UpdateParams defines a governance operation for updating the x/consensus module parameters. + The authority is defined in the keeper. + operationId: CircuitMsg_UpdateParamsMixin76 + parameters: + - description: MsgUpdateParams is the Msg/UpdateParams request type. + name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.consensus.v1.MsgUpdateParams' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.consensus.v1.MsgUpdateParamsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos.crisis.v1beta1.Msg/UpdateParams: + post: + description: 'Since: cosmos-sdk 0.47' + tags: + - Msg + summary: |- + UpdateParams defines a governance operation for updating the x/crisis module + parameters. The authority is defined in the keeper. + operationId: CircuitMsg_UpdateParamsMixin78 + parameters: + - description: |- + MsgUpdateParams is the Msg/UpdateParams request type. + + Since: cosmos-sdk 0.47 + name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.crisis.v1beta1.MsgUpdateParams' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.crisis.v1beta1.MsgUpdateParamsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos.crisis.v1beta1.Msg/VerifyInvariant: + post: + tags: + - Msg + summary: VerifyInvariant defines a method to verify a particular invariant. + operationId: CircuitMsg_VerifyInvariant + parameters: + - description: MsgVerifyInvariant represents a message to verify a particular invariance. + name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.crisis.v1beta1.MsgVerifyInvariant' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.crisis.v1beta1.MsgVerifyInvariantResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos.distribution.v1beta1.Msg/CommunityPoolSpend: + post: + description: 'Since: cosmos-sdk 0.47' + tags: + - Msg + summary: |- + CommunityPoolSpend defines a governance operation for sending tokens from + the community pool in the x/distribution module to another account, which + could be the governance module itself. The authority is defined in the + keeper. + operationId: CircuitMsg_CommunityPoolSpend + parameters: + - description: |- + MsgCommunityPoolSpend defines a message for sending tokens from the community + pool to another account. This message is typically executed via a governance + proposal with the governance module being the executing authority. + + Since: cosmos-sdk 0.47 + name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.distribution.v1beta1.MsgCommunityPoolSpend' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.distribution.v1beta1.MsgCommunityPoolSpendResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos.distribution.v1beta1.Msg/DepositValidatorRewardsPool: + post: + description: 'Since: cosmos-sdk 0.50' + tags: + - Msg + summary: |- + DepositValidatorRewardsPool defines a method to provide additional rewards + to delegators to a specific validator. + operationId: CircuitMsg_DepositValidatorRewardsPool + parameters: + - description: |- + DepositValidatorRewardsPool defines the request structure to provide + additional rewards to delegators from a specific validator. + + Since: cosmos-sdk 0.50 + name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.distribution.v1beta1.MsgDepositValidatorRewardsPool' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.distribution.v1beta1.MsgDepositValidatorRewardsPoolResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos.distribution.v1beta1.Msg/FundCommunityPool: + post: + tags: + - Msg + summary: |- + FundCommunityPool defines a method to allow an account to directly + fund the community pool. + operationId: CircuitMsg_FundCommunityPool + parameters: + - description: |- + MsgFundCommunityPool allows an account to directly + fund the community pool. + name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.distribution.v1beta1.MsgFundCommunityPool' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.distribution.v1beta1.MsgFundCommunityPoolResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos.distribution.v1beta1.Msg/SetWithdrawAddress: + post: + tags: + - Msg + summary: |- + SetWithdrawAddress defines a method to change the withdraw address + for a delegator (or validator self-delegation). + operationId: CircuitMsg_SetWithdrawAddress + parameters: + - description: |- + MsgSetWithdrawAddress sets the withdraw address for + a delegator (or validator self-delegation). + name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.distribution.v1beta1.MsgSetWithdrawAddress' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.distribution.v1beta1.MsgSetWithdrawAddressResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos.distribution.v1beta1.Msg/UpdateParams: + post: + description: 'Since: cosmos-sdk 0.47' + tags: + - Msg + summary: |- + UpdateParams defines a governance operation for updating the x/distribution + module parameters. The authority is defined in the keeper. + operationId: CircuitMsg_UpdateParamsMixin89 + parameters: + - description: |- + MsgUpdateParams is the Msg/UpdateParams request type. + + Since: cosmos-sdk 0.47 + name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.distribution.v1beta1.MsgUpdateParams' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.distribution.v1beta1.MsgUpdateParamsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos.distribution.v1beta1.Msg/WithdrawDelegatorReward: + post: + tags: + - Msg + summary: |- + WithdrawDelegatorReward defines a method to withdraw rewards of delegator + from a single validator. + operationId: CircuitMsg_WithdrawDelegatorReward + parameters: + - description: |- + MsgWithdrawDelegatorReward represents delegation withdrawal to a delegator + from a single validator. + name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.distribution.v1beta1.MsgWithdrawDelegatorRewardResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos.distribution.v1beta1.Msg/WithdrawValidatorCommission: + post: + tags: + - Msg + summary: |- + WithdrawValidatorCommission defines a method to withdraw the + full commission to the validator address. + operationId: CircuitMsg_WithdrawValidatorCommission + parameters: + - description: |- + MsgWithdrawValidatorCommission withdraws the full commission to the validator + address. + name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommissionResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos.evidence.v1beta1.Msg/SubmitEvidence: + post: + tags: + - Msg + summary: |- + SubmitEvidence submits an arbitrary Evidence of misbehavior such as equivocation or + counterfactual signing. + operationId: CircuitMsg_SubmitEvidence + parameters: + - description: |- + MsgSubmitEvidence represents a message that supports submitting arbitrary + Evidence of misbehavior such as equivocation or counterfactual signing. + name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.evidence.v1beta1.MsgSubmitEvidence' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.evidence.v1beta1.MsgSubmitEvidenceResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos.feegrant.v1beta1.Msg/GrantAllowance: + post: + tags: + - Msg + summary: |- + GrantAllowance grants fee allowance to the grantee on the granter's + account with the provided expiration time. + operationId: CircuitMsg_GrantAllowance + parameters: + - description: |- + MsgGrantAllowance adds permission for Grantee to spend up to Allowance + of fees from the account of Granter. + name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.feegrant.v1beta1.MsgGrantAllowance' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.feegrant.v1beta1.MsgGrantAllowanceResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos.feegrant.v1beta1.Msg/PruneAllowances: + post: + description: Since cosmos-sdk 0.50 + tags: + - Msg + summary: PruneAllowances prunes expired fee allowances, currently up to 75 at a time. + operationId: CircuitMsg_PruneAllowances + parameters: + - description: |- + MsgPruneAllowances prunes expired fee allowances. + + Since cosmos-sdk 0.50 + name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.feegrant.v1beta1.MsgPruneAllowances' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.feegrant.v1beta1.MsgPruneAllowancesResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos.feegrant.v1beta1.Msg/RevokeAllowance: + post: + tags: + - Msg + summary: |- + RevokeAllowance revokes any fee allowance of granter's account that + has been granted to the grantee. + operationId: CircuitMsg_RevokeAllowance + parameters: + - description: MsgRevokeAllowance removes any existing Allowance from Granter to Grantee. + name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.feegrant.v1beta1.MsgRevokeAllowance' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.feegrant.v1beta1.MsgRevokeAllowanceResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos.gov.v1.Msg/CancelProposal: + post: + description: 'Since: cosmos-sdk 0.50' + tags: + - Msg + summary: CancelProposal defines a method to cancel governance proposal + operationId: CircuitMsg_CancelProposal + parameters: + - description: |- + MsgCancelProposal is the Msg/CancelProposal request type. + + Since: cosmos-sdk 0.50 + name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.gov.v1.MsgCancelProposal' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.gov.v1.MsgCancelProposalResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos.gov.v1.Msg/Deposit: + post: + tags: + - Msg + summary: Deposit defines a method to add deposit on a specific proposal. + operationId: CircuitMsg_Deposit + parameters: + - description: MsgDeposit defines a message to submit a deposit to an existing proposal. + name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.gov.v1.MsgDeposit' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.gov.v1.MsgDepositResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos.gov.v1.Msg/ExecLegacyContent: + post: + tags: + - Msg + summary: |- + ExecLegacyContent defines a Msg to be in included in a MsgSubmitProposal + to execute a legacy content-based proposal. + operationId: CircuitMsg_ExecLegacyContent + parameters: + - description: |- + MsgExecLegacyContent is used to wrap the legacy content field into a message. + This ensures backwards compatibility with v1beta1.MsgSubmitProposal. + name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.gov.v1.MsgExecLegacyContent' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.gov.v1.MsgExecLegacyContentResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos.gov.v1.Msg/SubmitProposal: + post: + tags: + - Msg + summary: SubmitProposal defines a method to create new proposal given the messages. + operationId: CircuitMsg_SubmitProposal + parameters: + - description: |- + MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary + proposal Content. + name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.gov.v1.MsgSubmitProposal' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.gov.v1.MsgSubmitProposalResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos.gov.v1.Msg/UpdateParams: + post: + description: 'Since: cosmos-sdk 0.47' + tags: + - Msg + summary: |- + UpdateParams defines a governance operation for updating the x/gov module + parameters. The authority is defined in the keeper. + operationId: CircuitMsg_UpdateParamsMixin102 + parameters: + - description: |- + MsgUpdateParams is the Msg/UpdateParams request type. + + Since: cosmos-sdk 0.47 + name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.gov.v1.MsgUpdateParams' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.gov.v1.MsgUpdateParamsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos.gov.v1.Msg/Vote: + post: + tags: + - Msg + summary: Vote defines a method to add a vote on a specific proposal. + operationId: CircuitMsg_Vote + parameters: + - description: MsgVote defines a message to cast a vote. + name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.gov.v1.MsgVote' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.gov.v1.MsgVoteResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos.gov.v1.Msg/VoteWeighted: + post: + tags: + - Msg + summary: VoteWeighted defines a method to add a weighted vote on a specific proposal. + operationId: CircuitMsg_VoteWeighted + parameters: + - description: MsgVoteWeighted defines a message to cast a vote. + name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.gov.v1.MsgVoteWeighted' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.gov.v1.MsgVoteWeightedResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos.gov.v1beta1.Msg/Deposit: + post: + tags: + - Msg + summary: Deposit defines a method to add deposit on a specific proposal. + operationId: CircuitMsg_DepositMixin106 + parameters: + - description: MsgDeposit defines a message to submit a deposit to an existing proposal. + name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.gov.v1beta1.MsgDeposit' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.gov.v1beta1.MsgDepositResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos.gov.v1beta1.Msg/SubmitProposal: + post: + tags: + - Msg + summary: SubmitProposal defines a method to create new proposal given a content. + operationId: CircuitMsg_SubmitProposalMixin106 + parameters: + - description: |- + MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary + proposal Content. + name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.gov.v1beta1.MsgSubmitProposal' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.gov.v1beta1.MsgSubmitProposalResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos.gov.v1beta1.Msg/Vote: + post: + tags: + - Msg + summary: Vote defines a method to add a vote on a specific proposal. + operationId: CircuitMsg_VoteMixin106 + parameters: + - description: MsgVote defines a message to cast a vote. + name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.gov.v1beta1.MsgVote' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.gov.v1beta1.MsgVoteResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos.gov.v1beta1.Msg/VoteWeighted: + post: + description: 'Since: cosmos-sdk 0.43' + tags: + - Msg + summary: VoteWeighted defines a method to add a weighted vote on a specific proposal. + operationId: CircuitMsg_VoteWeightedMixin106 + parameters: + - description: |- + MsgVoteWeighted defines a message to cast a vote. + + Since: cosmos-sdk 0.43 + name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.gov.v1beta1.MsgVoteWeighted' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.gov.v1beta1.MsgVoteWeightedResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos.group.v1.Msg/CreateGroup: + post: + tags: + - Msg + summary: CreateGroup creates a new group with an admin account address, a list of members and some optional metadata. + operationId: CircuitMsg_CreateGroup + parameters: + - description: MsgCreateGroup is the Msg/CreateGroup request type. + name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.group.v1.MsgCreateGroup' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.group.v1.MsgCreateGroupResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos.group.v1.Msg/CreateGroupPolicy: + post: + tags: + - Msg + summary: CreateGroupPolicy creates a new group policy using given DecisionPolicy. + operationId: CircuitMsg_CreateGroupPolicy + parameters: + - description: MsgCreateGroupPolicy is the Msg/CreateGroupPolicy request type. + name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.group.v1.MsgCreateGroupPolicy' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.group.v1.MsgCreateGroupPolicyResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos.group.v1.Msg/CreateGroupWithPolicy: + post: + tags: + - Msg + summary: CreateGroupWithPolicy creates a new group with policy. + operationId: CircuitMsg_CreateGroupWithPolicy + parameters: + - description: MsgCreateGroupWithPolicy is the Msg/CreateGroupWithPolicy request type. + name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.group.v1.MsgCreateGroupWithPolicy' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.group.v1.MsgCreateGroupWithPolicyResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos.group.v1.Msg/Exec: + post: + tags: + - Msg + summary: Exec executes a proposal. + operationId: CircuitMsg_ExecMixin110 + parameters: + - description: MsgExec is the Msg/Exec request type. + name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.group.v1.MsgExec' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.group.v1.MsgExecResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos.group.v1.Msg/LeaveGroup: + post: + tags: + - Msg + summary: LeaveGroup allows a group member to leave the group. + operationId: CircuitMsg_LeaveGroup + parameters: + - description: MsgLeaveGroup is the Msg/LeaveGroup request type. + name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.group.v1.MsgLeaveGroup' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.group.v1.MsgLeaveGroupResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos.group.v1.Msg/SubmitProposal: + post: + tags: + - Msg + summary: SubmitProposal submits a new proposal. + operationId: CircuitMsg_SubmitProposalMixin110 + parameters: + - description: MsgSubmitProposal is the Msg/SubmitProposal request type. + name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.group.v1.MsgSubmitProposal' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.group.v1.MsgSubmitProposalResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos.group.v1.Msg/UpdateGroupAdmin: + post: + tags: + - Msg + summary: UpdateGroupAdmin updates the group admin with given group id and previous admin address. + operationId: CircuitMsg_UpdateGroupAdmin + parameters: + - description: MsgUpdateGroupAdmin is the Msg/UpdateGroupAdmin request type. + name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.group.v1.MsgUpdateGroupAdmin' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.group.v1.MsgUpdateGroupAdminResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos.group.v1.Msg/UpdateGroupMembers: + post: + tags: + - Msg + summary: UpdateGroupMembers updates the group members with given group id and admin address. + operationId: CircuitMsg_UpdateGroupMembers + parameters: + - description: MsgUpdateGroupMembers is the Msg/UpdateGroupMembers request type. + name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.group.v1.MsgUpdateGroupMembers' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.group.v1.MsgUpdateGroupMembersResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos.group.v1.Msg/UpdateGroupMetadata: + post: + tags: + - Msg + summary: UpdateGroupMetadata updates the group metadata with given group id and admin address. + operationId: CircuitMsg_UpdateGroupMetadata + parameters: + - description: MsgUpdateGroupMetadata is the Msg/UpdateGroupMetadata request type. + name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.group.v1.MsgUpdateGroupMetadata' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.group.v1.MsgUpdateGroupMetadataResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos.group.v1.Msg/UpdateGroupPolicyAdmin: + post: + tags: + - Msg + summary: UpdateGroupPolicyAdmin updates a group policy admin. + operationId: CircuitMsg_UpdateGroupPolicyAdmin + parameters: + - description: MsgUpdateGroupPolicyAdmin is the Msg/UpdateGroupPolicyAdmin request type. + name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.group.v1.MsgUpdateGroupPolicyAdmin' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.group.v1.MsgUpdateGroupPolicyAdminResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos.group.v1.Msg/UpdateGroupPolicyDecisionPolicy: + post: + tags: + - Msg + summary: UpdateGroupPolicyDecisionPolicy allows a group policy's decision policy to be updated. + operationId: CircuitMsg_UpdateGroupPolicyDecisionPolicy + parameters: + - description: MsgUpdateGroupPolicyDecisionPolicy is the Msg/UpdateGroupPolicyDecisionPolicy request type. + name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicyResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos.group.v1.Msg/UpdateGroupPolicyMetadata: + post: + tags: + - Msg + summary: UpdateGroupPolicyMetadata updates a group policy metadata. + operationId: CircuitMsg_UpdateGroupPolicyMetadata + parameters: + - description: MsgUpdateGroupPolicyMetadata is the Msg/UpdateGroupPolicyMetadata request type. + name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.group.v1.MsgUpdateGroupPolicyMetadata' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.group.v1.MsgUpdateGroupPolicyMetadataResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos.group.v1.Msg/Vote: + post: + tags: + - Msg + summary: Vote allows a voter to vote on a proposal. + operationId: CircuitMsg_VoteMixin110 + parameters: + - description: MsgVote is the Msg/Vote request type. + name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.group.v1.MsgVote' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.group.v1.MsgVoteResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos.group.v1.Msg/WithdrawProposal: + post: + tags: + - Msg + summary: WithdrawProposal withdraws a proposal. + operationId: CircuitMsg_WithdrawProposal + parameters: + - description: MsgWithdrawProposal is the Msg/WithdrawProposal request type. + name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.group.v1.MsgWithdrawProposal' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.group.v1.MsgWithdrawProposalResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos.mint.v1beta1.Msg/UpdateParams: + post: + description: 'Since: cosmos-sdk 0.47' + tags: + - Msg + summary: |- + UpdateParams defines a governance operation for updating the x/mint module + parameters. The authority is defaults to the x/gov module account. + operationId: CircuitMsg_UpdateParamsMixin115 + parameters: + - description: |- + MsgUpdateParams is the Msg/UpdateParams request type. + + Since: cosmos-sdk 0.47 + name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.mint.v1beta1.MsgUpdateParams' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.mint.v1beta1.MsgUpdateParamsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos.nft.v1beta1.Msg/Send: + post: + tags: + - Msg + summary: Send defines a method to send a nft from one account to another account. + operationId: CircuitMsg_SendMixin121 + parameters: + - description: MsgSend represents a message to send a nft from one account to another account. + name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.nft.v1beta1.MsgSend' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.nft.v1beta1.MsgSendResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos.slashing.v1beta1.Msg/Unjail: + post: + tags: + - Msg + summary: |- + Unjail defines a method for unjailing a jailed validator, thus returning + them into the bonded validator set, so they can begin receiving provisions + and rewards again. + operationId: CircuitMsg_Unjail + parameters: + - name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.slashing.v1beta1.MsgUnjail' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.slashing.v1beta1.MsgUnjailResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos.slashing.v1beta1.Msg/UpdateParams: + post: + description: 'Since: cosmos-sdk 0.47' + tags: + - Msg + summary: |- + UpdateParams defines a governance operation for updating the x/slashing module + parameters. The authority defaults to the x/gov module account. + operationId: CircuitMsg_UpdateParamsMixin128 + parameters: + - description: |- + MsgUpdateParams is the Msg/UpdateParams request type. + + Since: cosmos-sdk 0.47 + name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.slashing.v1beta1.MsgUpdateParams' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.slashing.v1beta1.MsgUpdateParamsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos.staking.v1beta1.Msg/BeginRedelegate: + post: + tags: + - Msg + summary: |- + BeginRedelegate defines a method for performing a redelegation + of coins from a delegator and source validator to a destination validator. + operationId: CircuitMsg_BeginRedelegate + parameters: + - description: |- + MsgBeginRedelegate defines a SDK message for performing a redelegation + of coins from a delegator and source validator to a destination validator. + name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.staking.v1beta1.MsgBeginRedelegate' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.staking.v1beta1.MsgBeginRedelegateResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos.staking.v1beta1.Msg/CancelUnbondingDelegation: + post: + description: 'Since: cosmos-sdk 0.46' + tags: + - Msg + summary: |- + CancelUnbondingDelegation defines a method for performing canceling the unbonding delegation + and delegate back to previous validator. + operationId: CircuitMsg_CancelUnbondingDelegation + parameters: + - description: 'Since: cosmos-sdk 0.46' + name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.staking.v1beta1.MsgCancelUnbondingDelegation' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.staking.v1beta1.MsgCancelUnbondingDelegationResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos.staking.v1beta1.Msg/CreateValidator: + post: + tags: + - Msg + summary: CreateValidator defines a method for creating a new validator. + operationId: CircuitMsg_CreateValidator + parameters: + - description: MsgCreateValidator defines a SDK message for creating a new validator. + name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.staking.v1beta1.MsgCreateValidator' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.staking.v1beta1.MsgCreateValidatorResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos.staking.v1beta1.Msg/Delegate: + post: + tags: + - Msg + summary: |- + Delegate defines a method for performing a delegation of coins + from a delegator to a validator. + operationId: CircuitMsg_Delegate + parameters: + - description: |- + MsgDelegate defines a SDK message for performing a delegation of coins + from a delegator to a validator. + name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.staking.v1beta1.MsgDelegate' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.staking.v1beta1.MsgDelegateResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos.staking.v1beta1.Msg/EditValidator: + post: + tags: + - Msg + summary: EditValidator defines a method for editing an existing validator. + operationId: CircuitMsg_EditValidator + parameters: + - description: MsgEditValidator defines a SDK message for editing an existing validator. + name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.staking.v1beta1.MsgEditValidator' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.staking.v1beta1.MsgEditValidatorResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos.staking.v1beta1.Msg/Undelegate: + post: + tags: + - Msg + summary: |- + Undelegate defines a method for performing an undelegation from a + delegate and a validator. + operationId: CircuitMsg_Undelegate + parameters: + - description: |- + MsgUndelegate defines a SDK message for performing an undelegation from a + delegate and a validator. + name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.staking.v1beta1.MsgUndelegate' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.staking.v1beta1.MsgUndelegateResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos.staking.v1beta1.Msg/UpdateParams: + post: + tags: + - Msg + summary: |- + UpdateParams defines an operation for updating the x/staking module + parameters. + Since: cosmos-sdk 0.47 + operationId: CircuitMsg_UpdateParamsMixin133 + parameters: + - description: |- + MsgUpdateParams is the Msg/UpdateParams request type. + + Since: cosmos-sdk 0.47 + name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.staking.v1beta1.MsgUpdateParams' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.staking.v1beta1.MsgUpdateParamsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos.store.streaming.abci.ABCIListenerService/ListenCommit: + post: + tags: + - ABCIListenerService + summary: ListenCommit is the corresponding endpoint for ABCIListener.ListenCommit + operationId: CircuitABCIListenerService_ListenCommit + parameters: + - name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.store.streaming.abci.ListenCommitRequest' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.store.streaming.abci.ListenCommitResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos.store.streaming.abci.ABCIListenerService/ListenFinalizeBlock: + post: + tags: + - ABCIListenerService + summary: ListenFinalizeBlock is the corresponding endpoint for ABCIListener.ListenEndBlock + operationId: CircuitABCIListenerService_ListenFinalizeBlock + parameters: + - name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.store.streaming.abci.ListenFinalizeBlockRequest' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.store.streaming.abci.ListenFinalizeBlockResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos.upgrade.v1beta1.Msg/CancelUpgrade: + post: + description: 'Since: cosmos-sdk 0.46' + tags: + - Msg + summary: |- + CancelUpgrade is a governance operation for cancelling a previously + approved software upgrade. + operationId: CircuitMsg_CancelUpgrade + parameters: + - description: |- + MsgCancelUpgrade is the Msg/CancelUpgrade request type. + + Since: cosmos-sdk 0.46 + name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.upgrade.v1beta1.MsgCancelUpgrade' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.upgrade.v1beta1.MsgCancelUpgradeResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos.upgrade.v1beta1.Msg/SoftwareUpgrade: + post: + description: 'Since: cosmos-sdk 0.46' + tags: + - Msg + summary: SoftwareUpgrade is a governance operation for initiating a software upgrade. + operationId: CircuitMsg_SoftwareUpgrade + parameters: + - description: |- + MsgSoftwareUpgrade is the Msg/SoftwareUpgrade request type. + + Since: cosmos-sdk 0.46 + name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.upgrade.v1beta1.MsgSoftwareUpgrade' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.upgrade.v1beta1.MsgSoftwareUpgradeResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos.vesting.v1beta1.Msg/CreatePeriodicVestingAccount: + post: + description: 'Since: cosmos-sdk 0.46' + tags: + - Msg + summary: |- + CreatePeriodicVestingAccount defines a method that enables creating a + periodic vesting account. + operationId: CircuitMsg_CreatePeriodicVestingAccount + parameters: + - description: |- + MsgCreateVestingAccount defines a message that enables creating a vesting + account. + + Since: cosmos-sdk 0.46 + name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccount' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccountResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos.vesting.v1beta1.Msg/CreatePermanentLockedAccount: + post: + description: 'Since: cosmos-sdk 0.46' + tags: + - Msg + summary: |- + CreatePermanentLockedAccount defines a method that enables creating a permanent + locked account. + operationId: CircuitMsg_CreatePermanentLockedAccount + parameters: + - description: |- + MsgCreatePermanentLockedAccount defines a message that enables creating a permanent + locked account. + + Since: cosmos-sdk 0.46 + name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccount' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccountResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos.vesting.v1beta1.Msg/CreateVestingAccount: + post: + tags: + - Msg + summary: |- + CreateVestingAccount defines a method that enables creating a vesting + account. + operationId: CircuitMsg_CreateVestingAccount + parameters: + - description: |- + MsgCreateVestingAccount defines a message that enables creating a vesting + account. + name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.vesting.v1beta1.MsgCreateVestingAccount' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.vesting.v1beta1.MsgCreateVestingAccountResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/auth/v1beta1/account_info/{address}: + get: + description: 'Since: cosmos-sdk 0.47' + tags: + - Query + summary: AccountInfo queries account info which is common to all account types. + operationId: CircuitQuery_AccountInfo + parameters: + - type: string + description: address is the account address string. + name: address + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.auth.v1beta1.QueryAccountInfoResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/auth/v1beta1/accounts: + get: + description: |- + When called from another module, this query might consume a high amount of + gas if the pagination field is incorrectly set. + + Since: cosmos-sdk 0.43 + tags: + - Query + summary: Accounts returns all the existing accounts. + operationId: CircuitQuery_Accounts + parameters: + - type: string + format: byte + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + name: pagination.key + in: query + - type: string + format: uint64 + 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 + be set. + name: pagination.offset + in: query + - type: string + format: uint64 + description: |- + 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. + name: pagination.limit + in: query + - type: boolean + 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 + is set. + name: pagination.count_total + in: query + - type: boolean + description: |- + reverse is set to true if results are to be returned in the descending order. + + Since: cosmos-sdk 0.43 + name: pagination.reverse + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.auth.v1beta1.QueryAccountsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/auth/v1beta1/accounts/{address}: + get: + tags: + - Query + summary: Account returns account details based on address. + operationId: CircuitQuery_Account + parameters: + - type: string + description: address defines the address to query for. + name: address + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.auth.v1beta1.QueryAccountResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/auth/v1beta1/address_by_id/{id}: + get: + description: 'Since: cosmos-sdk 0.46.2' + tags: + - Query + summary: AccountAddressByID returns account address based on account number. + operationId: CircuitQuery_AccountAddressByID + parameters: + - type: string + format: int64 + description: |- + Deprecated, use account_id instead + + id is the account number of the address to be queried. This field + should have been an uint64 (like all account numbers), and will be + updated to uint64 in a future version of the auth query. + name: id + in: path + required: true + - type: string + format: uint64 + description: |- + account_id is the account number of the address to be queried. + + Since: cosmos-sdk 0.47 + name: account_id + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.auth.v1beta1.QueryAccountAddressByIDResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/auth/v1beta1/bech32: + get: + description: 'Since: cosmos-sdk 0.46' + tags: + - Query + summary: Bech32Prefix queries bech32Prefix + operationId: CircuitQuery_Bech32Prefix + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.auth.v1beta1.Bech32PrefixResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/auth/v1beta1/bech32/{address_bytes}: + get: + description: 'Since: cosmos-sdk 0.46' + tags: + - Query + summary: AddressBytesToString converts Account Address bytes to string + operationId: CircuitQuery_AddressBytesToString + parameters: + - type: string + format: byte + name: address_bytes + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.auth.v1beta1.AddressBytesToStringResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/auth/v1beta1/bech32/{address_string}: + get: + description: 'Since: cosmos-sdk 0.46' + tags: + - Query + summary: AddressStringToBytes converts Address string to bytes + operationId: CircuitQuery_AddressStringToBytes + parameters: + - type: string + name: address_string + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.auth.v1beta1.AddressStringToBytesResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/auth/v1beta1/module_accounts: + get: + description: 'Since: cosmos-sdk 0.46' + tags: + - Query + summary: ModuleAccounts returns all the existing module accounts. + operationId: CircuitQuery_ModuleAccounts + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.auth.v1beta1.QueryModuleAccountsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/auth/v1beta1/module_accounts/{name}: + get: + tags: + - Query + summary: ModuleAccountByName returns the module account info by module name + operationId: CircuitQuery_ModuleAccountByName + parameters: + - type: string + name: name + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.auth.v1beta1.QueryModuleAccountByNameResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/auth/v1beta1/params: + get: + tags: + - Query + summary: Params queries all parameters. + operationId: CircuitQuery_Params + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.auth.v1beta1.QueryParamsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/authz/v1beta1/grants: + get: + tags: + - Query + summary: Returns list of `Authorization`, granted to the grantee by the granter. + operationId: CircuitQuery_Grants + parameters: + - type: string + name: granter + in: query + - type: string + name: grantee + in: query + - type: string + description: Optional, msg_type_url, when set, will query only grants matching given msg type. + name: msg_type_url + in: query + - type: string + format: byte + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + name: pagination.key + in: query + - type: string + format: uint64 + 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 + be set. + name: pagination.offset + in: query + - type: string + format: uint64 + description: |- + 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. + name: pagination.limit + in: query + - type: boolean + 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 + is set. + name: pagination.count_total + in: query + - type: boolean + description: |- + reverse is set to true if results are to be returned in the descending order. + + Since: cosmos-sdk 0.43 + name: pagination.reverse + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.authz.v1beta1.QueryGrantsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/authz/v1beta1/grants/grantee/{grantee}: + get: + description: 'Since: cosmos-sdk 0.46' + tags: + - Query + summary: GranteeGrants returns a list of `GrantAuthorization` by grantee. + operationId: CircuitQuery_GranteeGrants + parameters: + - type: string + name: grantee + in: path + required: true + - type: string + format: byte + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + name: pagination.key + in: query + - type: string + format: uint64 + 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 + be set. + name: pagination.offset + in: query + - type: string + format: uint64 + description: |- + 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. + name: pagination.limit + in: query + - type: boolean + 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 + is set. + name: pagination.count_total + in: query + - type: boolean + description: |- + reverse is set to true if results are to be returned in the descending order. + + Since: cosmos-sdk 0.43 + name: pagination.reverse + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.authz.v1beta1.QueryGranteeGrantsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/authz/v1beta1/grants/granter/{granter}: + get: + description: 'Since: cosmos-sdk 0.46' + tags: + - Query + summary: GranterGrants returns list of `GrantAuthorization`, granted by granter. + operationId: CircuitQuery_GranterGrants + parameters: + - type: string + name: granter + in: path + required: true + - type: string + format: byte + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + name: pagination.key + in: query + - type: string + format: uint64 + 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 + be set. + name: pagination.offset + in: query + - type: string + format: uint64 + description: |- + 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. + name: pagination.limit + in: query + - type: boolean + 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 + is set. + name: pagination.count_total + in: query + - type: boolean + description: |- + reverse is set to true if results are to be returned in the descending order. + + Since: cosmos-sdk 0.43 + name: pagination.reverse + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.authz.v1beta1.QueryGranterGrantsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/bank/v1beta1/balances/{address}: + get: + description: |- + When called from another module, this query might consume a high amount of + gas if the pagination field is incorrectly set. + tags: + - Query + summary: AllBalances queries the balance of all coins for a single account. + operationId: CircuitQuery_AllBalances + parameters: + - type: string + description: address is the address to query balances for. + name: address + in: path + required: true + - type: string + format: byte + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + name: pagination.key + in: query + - type: string + format: uint64 + 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 + be set. + name: pagination.offset + in: query + - type: string + format: uint64 + description: |- + 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. + name: pagination.limit + in: query + - type: boolean + 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 + is set. + name: pagination.count_total + in: query + - type: boolean + description: |- + reverse is set to true if results are to be returned in the descending order. + + Since: cosmos-sdk 0.43 + name: pagination.reverse + in: query + - type: boolean + description: |- + resolve_denom is the flag to resolve the denom into a human-readable form from the metadata. + + Since: cosmos-sdk 0.50 + name: resolve_denom + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.bank.v1beta1.QueryAllBalancesResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/bank/v1beta1/balances/{address}/by_denom: + get: + tags: + - Query + summary: Balance queries the balance of a single coin for a single account. + operationId: CircuitQuery_Balance + parameters: + - type: string + description: address is the address to query balances for. + name: address + in: path + required: true + - type: string + description: denom is the coin denom to query balances for. + name: denom + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.bank.v1beta1.QueryBalanceResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/bank/v1beta1/denom_owners/{denom}: + get: + description: |- + When called from another module, this query might consume a high amount of + gas if the pagination field is incorrectly set. + + Since: cosmos-sdk 0.46 + tags: + - Query + summary: |- + DenomOwners queries for all account addresses that own a particular token + denomination. + operationId: CircuitQuery_DenomOwners + parameters: + - type: string + description: denom defines the coin denomination to query all account holders for. + name: denom + in: path + required: true + - type: string + format: byte + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + name: pagination.key + in: query + - type: string + format: uint64 + 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 + be set. + name: pagination.offset + in: query + - type: string + format: uint64 + description: |- + 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. + name: pagination.limit + in: query + - type: boolean + 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 + is set. + name: pagination.count_total + in: query + - type: boolean + description: |- + reverse is set to true if results are to be returned in the descending order. + + Since: cosmos-sdk 0.43 + name: pagination.reverse + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.bank.v1beta1.QueryDenomOwnersResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/bank/v1beta1/denom_owners_by_query: + get: + description: 'Since: cosmos-sdk 0.50.3' + tags: + - Query + summary: |- + DenomOwnersByQuery queries for all account addresses that own a particular token + denomination. + operationId: CircuitQuery_DenomOwnersByQuery + parameters: + - type: string + description: denom defines the coin denomination to query all account holders for. + name: denom + in: query + - type: string + format: byte + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + name: pagination.key + in: query + - type: string + format: uint64 + 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 + be set. + name: pagination.offset + in: query + - type: string + format: uint64 + description: |- + 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. + name: pagination.limit + in: query + - type: boolean + 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 + is set. + name: pagination.count_total + in: query + - type: boolean + description: |- + reverse is set to true if results are to be returned in the descending order. + + Since: cosmos-sdk 0.43 + name: pagination.reverse + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.bank.v1beta1.QueryDenomOwnersByQueryResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/bank/v1beta1/denoms_metadata: + get: + tags: + - Query + summary: |- + DenomsMetadata queries the client metadata for all registered coin + denominations. + operationId: CircuitQuery_DenomsMetadata + parameters: + - type: string + format: byte + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + name: pagination.key + in: query + - type: string + format: uint64 + 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 + be set. + name: pagination.offset + in: query + - type: string + format: uint64 + description: |- + 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. + name: pagination.limit + in: query + - type: boolean + 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 + is set. + name: pagination.count_total + in: query + - type: boolean + description: |- + reverse is set to true if results are to be returned in the descending order. + + Since: cosmos-sdk 0.43 + name: pagination.reverse + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.bank.v1beta1.QueryDenomsMetadataResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/bank/v1beta1/denoms_metadata/{denom}: + get: + tags: + - Query + summary: DenomMetadata queries the client metadata of a given coin denomination. + operationId: CircuitQuery_DenomMetadata + parameters: + - type: string + description: denom is the coin denom to query the metadata for. + name: denom + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.bank.v1beta1.QueryDenomMetadataResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/bank/v1beta1/denoms_metadata_by_query_string: + get: + tags: + - Query + summary: DenomMetadataByQueryString queries the client metadata of a given coin denomination. + operationId: CircuitQuery_DenomMetadataByQueryString + parameters: + - type: string + description: denom is the coin denom to query the metadata for. + name: denom + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.bank.v1beta1.QueryDenomMetadataByQueryStringResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/bank/v1beta1/params: + get: + tags: + - Query + summary: Params queries the parameters of x/bank module. + operationId: CircuitQuery_ParamsMixin62 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.bank.v1beta1.QueryParamsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/bank/v1beta1/send_enabled: + get: + description: |- + 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. + + Since: cosmos-sdk 0.47 + tags: + - Query + summary: SendEnabled queries for SendEnabled entries. + operationId: CircuitQuery_SendEnabled + parameters: + - type: array + items: + type: string + collectionFormat: multi + description: denoms is the specific denoms you want look up. Leave empty to get all entries. + name: denoms + in: query + - type: string + format: byte + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + name: pagination.key + in: query + - type: string + format: uint64 + 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 + be set. + name: pagination.offset + in: query + - type: string + format: uint64 + description: |- + 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. + name: pagination.limit + in: query + - type: boolean + 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 + is set. + name: pagination.count_total + in: query + - type: boolean + description: |- + reverse is set to true if results are to be returned in the descending order. + + Since: cosmos-sdk 0.43 + name: pagination.reverse + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.bank.v1beta1.QuerySendEnabledResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/bank/v1beta1/spendable_balances/{address}: + get: + description: |- + When called from another module, this query might consume a high amount of + gas if the pagination field is incorrectly set. + + Since: cosmos-sdk 0.46 + tags: + - Query + summary: |- + SpendableBalances queries the spendable balance of all coins for a single + account. + operationId: CircuitQuery_SpendableBalances + parameters: + - type: string + description: address is the address to query spendable balances for. + name: address + in: path + required: true + - type: string + format: byte + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + name: pagination.key + in: query + - type: string + format: uint64 + 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 + be set. + name: pagination.offset + in: query + - type: string + format: uint64 + description: |- + 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. + name: pagination.limit + in: query + - type: boolean + 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 + is set. + name: pagination.count_total + in: query + - type: boolean + description: |- + reverse is set to true if results are to be returned in the descending order. + + Since: cosmos-sdk 0.43 + name: pagination.reverse + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.bank.v1beta1.QuerySpendableBalancesResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/bank/v1beta1/spendable_balances/{address}/by_denom: + get: + description: |- + When called from another module, this query might consume a high amount of + gas if the pagination field is incorrectly set. + + Since: cosmos-sdk 0.47 + tags: + - Query + summary: |- + SpendableBalanceByDenom queries the spendable balance of a single denom for + a single account. + operationId: CircuitQuery_SpendableBalanceByDenom + parameters: + - type: string + description: address is the address to query balances for. + name: address + in: path + required: true + - type: string + description: denom is the coin denom to query balances for. + name: denom + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.bank.v1beta1.QuerySpendableBalanceByDenomResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/bank/v1beta1/supply: + get: + description: |- + When called from another module, this query might consume a high amount of + gas if the pagination field is incorrectly set. + tags: + - Query + summary: TotalSupply queries the total supply of all coins. + operationId: CircuitQuery_TotalSupply + parameters: + - type: string + format: byte + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + name: pagination.key + in: query + - type: string + format: uint64 + 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 + be set. + name: pagination.offset + in: query + - type: string + format: uint64 + description: |- + 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. + name: pagination.limit + in: query + - type: boolean + 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 + is set. + name: pagination.count_total + in: query + - type: boolean + description: |- + reverse is set to true if results are to be returned in the descending order. + + Since: cosmos-sdk 0.43 + name: pagination.reverse + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.bank.v1beta1.QueryTotalSupplyResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/bank/v1beta1/supply/by_denom: + get: + description: |- + When called from another module, this query might consume a high amount of + gas if the pagination field is incorrectly set. + tags: + - Query + summary: SupplyOf queries the supply of a single coin. + operationId: CircuitQuery_SupplyOf + parameters: + - type: string + description: denom is the coin denom to query balances for. + name: denom + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.bank.v1beta1.QuerySupplyOfResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/base/node/v1beta1/config: + get: + tags: + - Service + summary: Config queries for the operator configuration. + operationId: CircuitService_Config + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.base.node.v1beta1.ConfigResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/base/node/v1beta1/status: + get: + tags: + - Service + summary: Status queries for the node status. + operationId: CircuitService_Status + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.base.node.v1beta1.StatusResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/base/reflection/v1beta1/app_descriptor/authn: + get: + tags: + - ReflectionService + summary: |- + GetAuthnDescriptor returns information on how to authenticate transactions in the application + NOTE: this RPC is still experimental and might be subject to breaking changes or removal in + future releases of the cosmos-sdk. + operationId: CircuitReflectionService_GetAuthnDescriptor + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/base/reflection/v1beta1/app_descriptor/chain: + get: + tags: + - ReflectionService + summary: GetChainDescriptor returns the description of the chain + operationId: CircuitReflectionService_GetChainDescriptor + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/base/reflection/v1beta1/app_descriptor/codec: + get: + tags: + - ReflectionService + summary: GetCodecDescriptor returns the descriptor of the codec of the application + operationId: CircuitReflectionService_GetCodecDescriptor + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/base/reflection/v1beta1/app_descriptor/configuration: + get: + tags: + - ReflectionService + summary: GetConfigurationDescriptor returns the descriptor for the sdk.Config of the application + operationId: CircuitReflectionService_GetConfigurationDescriptor + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/base/reflection/v1beta1/app_descriptor/query_services: + get: + tags: + - ReflectionService + summary: GetQueryServicesDescriptor returns the available gRPC queryable services of the application + operationId: CircuitReflectionService_GetQueryServicesDescriptor + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/base/reflection/v1beta1/app_descriptor/tx_descriptor: + get: + tags: + - ReflectionService + summary: GetTxDescriptor returns information on the used transaction object and available msgs that can be used + operationId: CircuitReflectionService_GetTxDescriptor + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.base.reflection.v2alpha1.GetTxDescriptorResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/base/reflection/v1beta1/interfaces: + get: + tags: + - ReflectionService + summary: |- + ListAllInterfaces lists all the interfaces registered in the interface + registry. + operationId: CircuitReflectionService_ListAllInterfaces + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.base.reflection.v1beta1.ListAllInterfacesResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/base/reflection/v1beta1/interfaces/{interface_name}/implementations: + get: + tags: + - ReflectionService + summary: |- + ListImplementations list all the concrete types that implement a given + interface. + operationId: CircuitReflectionService_ListImplementations + parameters: + - type: string + description: interface_name defines the interface to query the implementations for. + name: interface_name + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.base.reflection.v1beta1.ListImplementationsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/base/tendermint/v1beta1/abci_query: + get: + description: 'Since: cosmos-sdk 0.46' + tags: + - Service + summary: |- + 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: CircuitService_ABCIQuery + parameters: + - type: string + format: byte + name: data + in: query + - type: string + name: path + in: query + - type: string + format: int64 + name: height + in: query + - type: boolean + name: prove + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.base.tendermint.v1beta1.ABCIQueryResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/base/tendermint/v1beta1/blocks/latest: + get: + tags: + - Service + summary: GetLatestBlock returns the latest block. + operationId: CircuitService_GetLatestBlock + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.base.tendermint.v1beta1.GetLatestBlockResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/base/tendermint/v1beta1/blocks/{height}: + get: + tags: + - Service + summary: GetBlockByHeight queries block for given height. + operationId: CircuitService_GetBlockByHeight + parameters: + - type: string + format: int64 + name: height + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.base.tendermint.v1beta1.GetBlockByHeightResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/base/tendermint/v1beta1/node_info: + get: + tags: + - Service + summary: GetNodeInfo queries the current node info. + operationId: CircuitService_GetNodeInfo + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.base.tendermint.v1beta1.GetNodeInfoResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/base/tendermint/v1beta1/syncing: + get: + tags: + - Service + summary: GetSyncing queries node syncing. + operationId: CircuitService_GetSyncing + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.base.tendermint.v1beta1.GetSyncingResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/base/tendermint/v1beta1/validatorsets/latest: + get: + tags: + - Service + summary: GetLatestValidatorSet queries latest validator-set. + operationId: CircuitService_GetLatestValidatorSet + parameters: + - type: string + format: byte + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + name: pagination.key + in: query + - type: string + format: uint64 + 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 + be set. + name: pagination.offset + in: query + - type: string + format: uint64 + description: |- + 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. + name: pagination.limit + in: query + - type: boolean + 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 + is set. + name: pagination.count_total + in: query + - type: boolean + description: |- + reverse is set to true if results are to be returned in the descending order. + + Since: cosmos-sdk 0.43 + name: pagination.reverse + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.base.tendermint.v1beta1.GetLatestValidatorSetResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/base/tendermint/v1beta1/validatorsets/{height}: + get: + tags: + - Service + summary: GetValidatorSetByHeight queries validator-set at a given height. + operationId: CircuitService_GetValidatorSetByHeight + parameters: + - type: string + format: int64 + name: height + in: path + required: true + - type: string + format: byte + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + name: pagination.key + in: query + - type: string + format: uint64 + 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 + be set. + name: pagination.offset + in: query + - type: string + format: uint64 + description: |- + 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. + name: pagination.limit + in: query + - type: boolean + 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 + is set. + name: pagination.count_total + in: query + - type: boolean + description: |- + reverse is set to true if results are to be returned in the descending order. + + Since: cosmos-sdk 0.43 + name: pagination.reverse + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.base.tendermint.v1beta1.GetValidatorSetByHeightResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/circuit/v1/accounts: + get: + tags: + - Query + summary: Account returns account permissions. + operationId: CircuitQuery_AccountsMixin72 + parameters: + - type: string + format: byte + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + name: pagination.key + in: query + - type: string + format: uint64 + 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 + be set. + name: pagination.offset + in: query + - type: string + format: uint64 + description: |- + 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. + name: pagination.limit + in: query + - type: boolean + 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 + is set. + name: pagination.count_total + in: query + - type: boolean + description: |- + reverse is set to true if results are to be returned in the descending order. + + Since: cosmos-sdk 0.43 + name: pagination.reverse + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.circuit.v1.AccountsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/circuit/v1/accounts/{address}: + get: + tags: + - Query + summary: Account returns account permissions. + operationId: CircuitQuery_AccountMixin72 + parameters: + - type: string + name: address + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.circuit.v1.AccountResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/circuit/v1/disable_list: + get: + tags: + - Query + summary: DisabledList returns a list of disabled message urls + operationId: CircuitQuery_DisabledList + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.circuit.v1.DisabledListResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/consensus/v1/params: + get: + tags: + - Query + summary: Params queries the parameters of x/consensus module. + operationId: CircuitQuery_ParamsMixin75 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.consensus.v1.QueryParamsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/distribution/v1beta1/community_pool: + get: + tags: + - Query + summary: CommunityPool queries the community pool coins. + operationId: CircuitQuery_CommunityPool + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.distribution.v1beta1.QueryCommunityPoolResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards: + get: + tags: + - Query + summary: |- + DelegationTotalRewards queries the total rewards accrued by each + validator. + operationId: CircuitQuery_DelegationTotalRewards + parameters: + - type: string + description: delegator_address defines the delegator address to query for. + name: delegator_address + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.distribution.v1beta1.QueryDelegationTotalRewardsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards/{validator_address}: + get: + tags: + - Query + summary: DelegationRewards queries the total rewards accrued by a delegation. + operationId: CircuitQuery_DelegationRewards + parameters: + - type: string + description: delegator_address defines the delegator address to query for. + name: delegator_address + in: path + required: true + - type: string + description: validator_address defines the validator address to query for. + name: validator_address + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.distribution.v1beta1.QueryDelegationRewardsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/distribution/v1beta1/delegators/{delegator_address}/validators: + get: + tags: + - Query + summary: DelegatorValidators queries the validators of a delegator. + operationId: CircuitQuery_DelegatorValidators + parameters: + - type: string + description: delegator_address defines the delegator address to query for. + name: delegator_address + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.distribution.v1beta1.QueryDelegatorValidatorsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/distribution/v1beta1/delegators/{delegator_address}/withdraw_address: + get: + tags: + - Query + summary: DelegatorWithdrawAddress queries withdraw address of a delegator. + operationId: CircuitQuery_DelegatorWithdrawAddress + parameters: + - type: string + description: delegator_address defines the delegator address to query for. + name: delegator_address + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.distribution.v1beta1.QueryDelegatorWithdrawAddressResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/distribution/v1beta1/params: + get: + tags: + - Query + summary: Params queries params of the distribution module. + operationId: CircuitQuery_ParamsMixin88 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.distribution.v1beta1.QueryParamsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/distribution/v1beta1/validators/{validator_address}: + get: + tags: + - Query + summary: ValidatorDistributionInfo queries validator commission and self-delegation rewards for validator + operationId: CircuitQuery_ValidatorDistributionInfo + parameters: + - type: string + description: validator_address defines the validator address to query for. + name: validator_address + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.distribution.v1beta1.QueryValidatorDistributionInfoResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/distribution/v1beta1/validators/{validator_address}/commission: + get: + tags: + - Query + summary: ValidatorCommission queries accumulated commission for a validator. + operationId: CircuitQuery_ValidatorCommission + parameters: + - type: string + description: validator_address defines the validator address to query for. + name: validator_address + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.distribution.v1beta1.QueryValidatorCommissionResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/distribution/v1beta1/validators/{validator_address}/outstanding_rewards: + get: + tags: + - Query + summary: ValidatorOutstandingRewards queries rewards of a validator address. + operationId: CircuitQuery_ValidatorOutstandingRewards + parameters: + - type: string + description: validator_address defines the validator address to query for. + name: validator_address + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.distribution.v1beta1.QueryValidatorOutstandingRewardsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/distribution/v1beta1/validators/{validator_address}/slashes: + get: + tags: + - Query + summary: ValidatorSlashes queries slash events of a validator. + operationId: CircuitQuery_ValidatorSlashes + parameters: + - type: string + description: validator_address defines the validator address to query for. + name: validator_address + in: path + required: true + - type: string + format: uint64 + description: starting_height defines the optional starting height to query the slashes. + name: starting_height + in: query + - type: string + format: uint64 + description: starting_height defines the optional ending height to query the slashes. + name: ending_height + in: query + - type: string + format: byte + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + name: pagination.key + in: query + - type: string + format: uint64 + 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 + be set. + name: pagination.offset + in: query + - type: string + format: uint64 + description: |- + 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. + name: pagination.limit + in: query + - type: boolean + 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 + is set. + name: pagination.count_total + in: query + - type: boolean + description: |- + reverse is set to true if results are to be returned in the descending order. + + Since: cosmos-sdk 0.43 + name: pagination.reverse + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.distribution.v1beta1.QueryValidatorSlashesResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/evidence/v1beta1/evidence: + get: + tags: + - Query + summary: AllEvidence queries all evidence. + operationId: CircuitQuery_AllEvidence + parameters: + - type: string + format: byte + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + name: pagination.key + in: query + - type: string + format: uint64 + 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 + be set. + name: pagination.offset + in: query + - type: string + format: uint64 + description: |- + 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. + name: pagination.limit + in: query + - type: boolean + 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 + is set. + name: pagination.count_total + in: query + - type: boolean + description: |- + reverse is set to true if results are to be returned in the descending order. + + Since: cosmos-sdk 0.43 + name: pagination.reverse + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.evidence.v1beta1.QueryAllEvidenceResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/evidence/v1beta1/evidence/{hash}: + get: + tags: + - Query + summary: Evidence queries evidence based on evidence hash. + operationId: CircuitQuery_Evidence + parameters: + - type: string + description: |- + hash defines the evidence hash of the requested evidence. + + Since: cosmos-sdk 0.47 + name: hash + in: path + required: true + - type: string + format: byte + description: |- + evidence_hash defines the hash of the requested evidence. + Deprecated: Use hash, a HEX encoded string, instead. + name: evidence_hash + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.evidence.v1beta1.QueryEvidenceResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/feegrant/v1beta1/allowance/{granter}/{grantee}: + get: + tags: + - Query + summary: Allowance returns granted allwance to the grantee by the granter. + operationId: CircuitQuery_Allowance + parameters: + - type: string + description: granter is the address of the user granting an allowance of their funds. + name: granter + in: path + required: true + - type: string + description: grantee is the address of the user being granted an allowance of another user's funds. + name: grantee + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.feegrant.v1beta1.QueryAllowanceResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/feegrant/v1beta1/allowances/{grantee}: + get: + tags: + - Query + summary: Allowances returns all the grants for the given grantee address. + operationId: CircuitQuery_Allowances + parameters: + - type: string + name: grantee + in: path + required: true + - type: string + format: byte + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + name: pagination.key + in: query + - type: string + format: uint64 + 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 + be set. + name: pagination.offset + in: query + - type: string + format: uint64 + description: |- + 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. + name: pagination.limit + in: query + - type: boolean + 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 + is set. + name: pagination.count_total + in: query + - type: boolean + description: |- + reverse is set to true if results are to be returned in the descending order. + + Since: cosmos-sdk 0.43 + name: pagination.reverse + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.feegrant.v1beta1.QueryAllowancesResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/feegrant/v1beta1/issued/{granter}: + get: + description: 'Since: cosmos-sdk 0.46' + tags: + - Query + summary: AllowancesByGranter returns all the grants given by an address + operationId: CircuitQuery_AllowancesByGranter + parameters: + - type: string + name: granter + in: path + required: true + - type: string + format: byte + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + name: pagination.key + in: query + - type: string + format: uint64 + 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 + be set. + name: pagination.offset + in: query + - type: string + format: uint64 + description: |- + 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. + name: pagination.limit + in: query + - type: boolean + 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 + is set. + name: pagination.count_total + in: query + - type: boolean + description: |- + reverse is set to true if results are to be returned in the descending order. + + Since: cosmos-sdk 0.43 + name: pagination.reverse + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.feegrant.v1beta1.QueryAllowancesByGranterResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/gov/v1/constitution: + get: + tags: + - Query + summary: Constitution queries the chain's constitution. + operationId: CircuitQuery_Constitution + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.gov.v1.QueryConstitutionResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/gov/v1/params/{params_type}: + get: + tags: + - Query + summary: Params queries all parameters of the gov module. + operationId: CircuitQuery_ParamsMixin101 + parameters: + - type: string + description: |- + params_type defines which parameters to query for, can be one of "voting", + "tallying" or "deposit". + name: params_type + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.gov.v1.QueryParamsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/gov/v1/proposals: + get: + tags: + - Query + summary: Proposals queries all proposals based on given status. + operationId: CircuitQuery_Proposals + parameters: + - enum: + - PROPOSAL_STATUS_UNSPECIFIED + - PROPOSAL_STATUS_DEPOSIT_PERIOD + - PROPOSAL_STATUS_VOTING_PERIOD + - PROPOSAL_STATUS_PASSED + - PROPOSAL_STATUS_REJECTED + - PROPOSAL_STATUS_FAILED + type: string + default: PROPOSAL_STATUS_UNSPECIFIED + description: |- + proposal_status defines the status of the proposals. + + - PROPOSAL_STATUS_UNSPECIFIED: PROPOSAL_STATUS_UNSPECIFIED defines the default proposal status. + - PROPOSAL_STATUS_DEPOSIT_PERIOD: PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit + period. + - PROPOSAL_STATUS_VOTING_PERIOD: PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting + period. + - PROPOSAL_STATUS_PASSED: PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has + passed. + - PROPOSAL_STATUS_REJECTED: PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has + been rejected. + - PROPOSAL_STATUS_FAILED: PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has + failed. + name: proposal_status + in: query + - type: string + description: voter defines the voter address for the proposals. + name: voter + in: query + - type: string + description: depositor defines the deposit addresses from the proposals. + name: depositor + in: query + - type: string + format: byte + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + name: pagination.key + in: query + - type: string + format: uint64 + 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 + be set. + name: pagination.offset + in: query + - type: string + format: uint64 + description: |- + 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. + name: pagination.limit + in: query + - type: boolean + 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 + is set. + name: pagination.count_total + in: query + - type: boolean + description: |- + reverse is set to true if results are to be returned in the descending order. + + Since: cosmos-sdk 0.43 + name: pagination.reverse + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.gov.v1.QueryProposalsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/gov/v1/proposals/{proposal_id}: + get: + tags: + - Query + summary: Proposal queries proposal details based on ProposalID. + operationId: CircuitQuery_Proposal + parameters: + - type: string + format: uint64 + description: proposal_id defines the unique id of the proposal. + name: proposal_id + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.gov.v1.QueryProposalResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/gov/v1/proposals/{proposal_id}/deposits: + get: + tags: + - Query + summary: Deposits queries all deposits of a single proposal. + operationId: CircuitQuery_Deposits + parameters: + - type: string + format: uint64 + description: proposal_id defines the unique id of the proposal. + name: proposal_id + in: path + required: true + - type: string + format: byte + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + name: pagination.key + in: query + - type: string + format: uint64 + 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 + be set. + name: pagination.offset + in: query + - type: string + format: uint64 + description: |- + 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. + name: pagination.limit + in: query + - type: boolean + 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 + is set. + name: pagination.count_total + in: query + - type: boolean + description: |- + reverse is set to true if results are to be returned in the descending order. + + Since: cosmos-sdk 0.43 + name: pagination.reverse + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.gov.v1.QueryDepositsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/gov/v1/proposals/{proposal_id}/deposits/{depositor}: + get: + tags: + - Query + summary: Deposit queries single deposit information based on proposalID, depositAddr. + operationId: CircuitQuery_Deposit + parameters: + - type: string + format: uint64 + description: proposal_id defines the unique id of the proposal. + name: proposal_id + in: path + required: true + - type: string + description: depositor defines the deposit addresses from the proposals. + name: depositor + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.gov.v1.QueryDepositResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/gov/v1/proposals/{proposal_id}/tally: + get: + tags: + - Query + summary: TallyResult queries the tally of a proposal vote. + operationId: CircuitQuery_TallyResult + parameters: + - type: string + format: uint64 + description: proposal_id defines the unique id of the proposal. + name: proposal_id + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.gov.v1.QueryTallyResultResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/gov/v1/proposals/{proposal_id}/votes: + get: + tags: + - Query + summary: Votes queries votes of a given proposal. + operationId: CircuitQuery_Votes + parameters: + - type: string + format: uint64 + description: proposal_id defines the unique id of the proposal. + name: proposal_id + in: path + required: true + - type: string + format: byte + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + name: pagination.key + in: query + - type: string + format: uint64 + 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 + be set. + name: pagination.offset + in: query + - type: string + format: uint64 + description: |- + 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. + name: pagination.limit + in: query + - type: boolean + 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 + is set. + name: pagination.count_total + in: query + - type: boolean + description: |- + reverse is set to true if results are to be returned in the descending order. + + Since: cosmos-sdk 0.43 + name: pagination.reverse + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.gov.v1.QueryVotesResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/gov/v1/proposals/{proposal_id}/votes/{voter}: + get: + tags: + - Query + summary: Vote queries voted information based on proposalID, voterAddr. + operationId: CircuitQuery_Vote + parameters: + - type: string + format: uint64 + description: proposal_id defines the unique id of the proposal. + name: proposal_id + in: path + required: true + - type: string + description: voter defines the voter address for the proposals. + name: voter + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.gov.v1.QueryVoteResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/gov/v1beta1/params/{params_type}: + get: + tags: + - Query + summary: Params queries all parameters of the gov module. + operationId: CircuitQuery_ParamsMixin105 + parameters: + - type: string + description: |- + params_type defines which parameters to query for, can be one of "voting", + "tallying" or "deposit". + name: params_type + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.gov.v1beta1.QueryParamsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/gov/v1beta1/proposals: + get: + tags: + - Query + summary: Proposals queries all proposals based on given status. + operationId: CircuitQuery_ProposalsMixin105 + parameters: + - enum: + - PROPOSAL_STATUS_UNSPECIFIED + - PROPOSAL_STATUS_DEPOSIT_PERIOD + - PROPOSAL_STATUS_VOTING_PERIOD + - PROPOSAL_STATUS_PASSED + - PROPOSAL_STATUS_REJECTED + - PROPOSAL_STATUS_FAILED + type: string + default: PROPOSAL_STATUS_UNSPECIFIED + description: |- + proposal_status defines the status of the proposals. + + - PROPOSAL_STATUS_UNSPECIFIED: PROPOSAL_STATUS_UNSPECIFIED defines the default proposal status. + - PROPOSAL_STATUS_DEPOSIT_PERIOD: PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit + period. + - PROPOSAL_STATUS_VOTING_PERIOD: PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting + period. + - PROPOSAL_STATUS_PASSED: PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has + passed. + - PROPOSAL_STATUS_REJECTED: PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has + been rejected. + - PROPOSAL_STATUS_FAILED: PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has + failed. + name: proposal_status + in: query + - type: string + description: voter defines the voter address for the proposals. + name: voter + in: query + - type: string + description: depositor defines the deposit addresses from the proposals. + name: depositor + in: query + - type: string + format: byte + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + name: pagination.key + in: query + - type: string + format: uint64 + 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 + be set. + name: pagination.offset + in: query + - type: string + format: uint64 + description: |- + 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. + name: pagination.limit + in: query + - type: boolean + 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 + is set. + name: pagination.count_total + in: query + - type: boolean + description: |- + reverse is set to true if results are to be returned in the descending order. + + Since: cosmos-sdk 0.43 + name: pagination.reverse + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.gov.v1beta1.QueryProposalsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/gov/v1beta1/proposals/{proposal_id}: + get: + tags: + - Query + summary: Proposal queries proposal details based on ProposalID. + operationId: CircuitQuery_ProposalMixin105 + parameters: + - type: string + format: uint64 + description: proposal_id defines the unique id of the proposal. + name: proposal_id + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.gov.v1beta1.QueryProposalResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/gov/v1beta1/proposals/{proposal_id}/deposits: + get: + tags: + - Query + summary: Deposits queries all deposits of a single proposal. + operationId: CircuitQuery_DepositsMixin105 + parameters: + - type: string + format: uint64 + description: proposal_id defines the unique id of the proposal. + name: proposal_id + in: path + required: true + - type: string + format: byte + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + name: pagination.key + in: query + - type: string + format: uint64 + 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 + be set. + name: pagination.offset + in: query + - type: string + format: uint64 + description: |- + 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. + name: pagination.limit + in: query + - type: boolean + 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 + is set. + name: pagination.count_total + in: query + - type: boolean + description: |- + reverse is set to true if results are to be returned in the descending order. + + Since: cosmos-sdk 0.43 + name: pagination.reverse + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.gov.v1beta1.QueryDepositsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/gov/v1beta1/proposals/{proposal_id}/deposits/{depositor}: + get: + tags: + - Query + summary: Deposit queries single deposit information based on proposalID, depositor address. + operationId: CircuitQuery_DepositMixin105 + parameters: + - type: string + format: uint64 + description: proposal_id defines the unique id of the proposal. + name: proposal_id + in: path + required: true + - type: string + description: depositor defines the deposit addresses from the proposals. + name: depositor + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.gov.v1beta1.QueryDepositResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/gov/v1beta1/proposals/{proposal_id}/tally: + get: + tags: + - Query + summary: TallyResult queries the tally of a proposal vote. + operationId: CircuitQuery_TallyResultMixin105 + parameters: + - type: string + format: uint64 + description: proposal_id defines the unique id of the proposal. + name: proposal_id + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.gov.v1beta1.QueryTallyResultResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/gov/v1beta1/proposals/{proposal_id}/votes: + get: + tags: + - Query + summary: Votes queries votes of a given proposal. + operationId: CircuitQuery_VotesMixin105 + parameters: + - type: string + format: uint64 + description: proposal_id defines the unique id of the proposal. + name: proposal_id + in: path + required: true + - type: string + format: byte + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + name: pagination.key + in: query + - type: string + format: uint64 + 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 + be set. + name: pagination.offset + in: query + - type: string + format: uint64 + description: |- + 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. + name: pagination.limit + in: query + - type: boolean + 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 + is set. + name: pagination.count_total + in: query + - type: boolean + description: |- + reverse is set to true if results are to be returned in the descending order. + + Since: cosmos-sdk 0.43 + name: pagination.reverse + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.gov.v1beta1.QueryVotesResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/gov/v1beta1/proposals/{proposal_id}/votes/{voter}: + get: + tags: + - Query + summary: Vote queries voted information based on proposalID, voterAddr. + operationId: CircuitQuery_VoteMixin105 + parameters: + - type: string + format: uint64 + description: proposal_id defines the unique id of the proposal. + name: proposal_id + in: path + required: true + - type: string + description: voter defines the voter address for the proposals. + name: voter + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.gov.v1beta1.QueryVoteResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/group/v1/group_info/{group_id}: + get: + tags: + - Query + summary: GroupInfo queries group info based on group id. + operationId: CircuitQuery_GroupInfo + parameters: + - type: string + format: uint64 + description: group_id is the unique ID of the group. + name: group_id + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.group.v1.QueryGroupInfoResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/group/v1/group_members/{group_id}: + get: + tags: + - Query + summary: GroupMembers queries members of a group by group id. + operationId: CircuitQuery_GroupMembers + parameters: + - type: string + format: uint64 + description: group_id is the unique ID of the group. + name: group_id + in: path + required: true + - type: string + format: byte + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + name: pagination.key + in: query + - type: string + format: uint64 + 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 + be set. + name: pagination.offset + in: query + - type: string + format: uint64 + description: |- + 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. + name: pagination.limit + in: query + - type: boolean + 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 + is set. + name: pagination.count_total + in: query + - type: boolean + description: |- + reverse is set to true if results are to be returned in the descending order. + + Since: cosmos-sdk 0.43 + name: pagination.reverse + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.group.v1.QueryGroupMembersResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/group/v1/group_policies_by_admin/{admin}: + get: + tags: + - Query + summary: GroupPoliciesByAdmin queries group policies by admin address. + operationId: CircuitQuery_GroupPoliciesByAdmin + parameters: + - type: string + description: admin is the admin address of the group policy. + name: admin + in: path + required: true + - type: string + format: byte + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + name: pagination.key + in: query + - type: string + format: uint64 + 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 + be set. + name: pagination.offset + in: query + - type: string + format: uint64 + description: |- + 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. + name: pagination.limit + in: query + - type: boolean + 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 + is set. + name: pagination.count_total + in: query + - type: boolean + description: |- + reverse is set to true if results are to be returned in the descending order. + + Since: cosmos-sdk 0.43 + name: pagination.reverse + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.group.v1.QueryGroupPoliciesByAdminResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/group/v1/group_policies_by_group/{group_id}: + get: + tags: + - Query + summary: GroupPoliciesByGroup queries group policies by group id. + operationId: CircuitQuery_GroupPoliciesByGroup + parameters: + - type: string + format: uint64 + description: group_id is the unique ID of the group policy's group. + name: group_id + in: path + required: true + - type: string + format: byte + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + name: pagination.key + in: query + - type: string + format: uint64 + 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 + be set. + name: pagination.offset + in: query + - type: string + format: uint64 + description: |- + 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. + name: pagination.limit + in: query + - type: boolean + 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 + is set. + name: pagination.count_total + in: query + - type: boolean + description: |- + reverse is set to true if results are to be returned in the descending order. + + Since: cosmos-sdk 0.43 + name: pagination.reverse + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.group.v1.QueryGroupPoliciesByGroupResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/group/v1/group_policy_info/{address}: + get: + tags: + - Query + summary: GroupPolicyInfo queries group policy info based on account address of group policy. + operationId: CircuitQuery_GroupPolicyInfo + parameters: + - type: string + description: address is the account address of the group policy. + name: address + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.group.v1.QueryGroupPolicyInfoResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/group/v1/groups: + get: + description: 'Since: cosmos-sdk 0.47.1' + tags: + - Query + summary: Groups queries all groups in state. + operationId: CircuitQuery_Groups + parameters: + - type: string + format: byte + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + name: pagination.key + in: query + - type: string + format: uint64 + 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 + be set. + name: pagination.offset + in: query + - type: string + format: uint64 + description: |- + 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. + name: pagination.limit + in: query + - type: boolean + 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 + is set. + name: pagination.count_total + in: query + - type: boolean + description: |- + reverse is set to true if results are to be returned in the descending order. + + Since: cosmos-sdk 0.43 + name: pagination.reverse + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.group.v1.QueryGroupsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/group/v1/groups_by_admin/{admin}: + get: + tags: + - Query + summary: GroupsByAdmin queries groups by admin address. + operationId: CircuitQuery_GroupsByAdmin + parameters: + - type: string + description: admin is the account address of a group's admin. + name: admin + in: path + required: true + - type: string + format: byte + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + name: pagination.key + in: query + - type: string + format: uint64 + 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 + be set. + name: pagination.offset + in: query + - type: string + format: uint64 + description: |- + 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. + name: pagination.limit + in: query + - type: boolean + 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 + is set. + name: pagination.count_total + in: query + - type: boolean + description: |- + reverse is set to true if results are to be returned in the descending order. + + Since: cosmos-sdk 0.43 + name: pagination.reverse + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.group.v1.QueryGroupsByAdminResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/group/v1/groups_by_member/{address}: + get: + tags: + - Query + summary: GroupsByMember queries groups by member address. + operationId: CircuitQuery_GroupsByMember + parameters: + - type: string + description: address is the group member address. + name: address + in: path + required: true + - type: string + format: byte + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + name: pagination.key + in: query + - type: string + format: uint64 + 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 + be set. + name: pagination.offset + in: query + - type: string + format: uint64 + description: |- + 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. + name: pagination.limit + in: query + - type: boolean + 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 + is set. + name: pagination.count_total + in: query + - type: boolean + description: |- + reverse is set to true if results are to be returned in the descending order. + + Since: cosmos-sdk 0.43 + name: pagination.reverse + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.group.v1.QueryGroupsByMemberResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/group/v1/proposal/{proposal_id}: + get: + tags: + - Query + summary: Proposal queries a proposal based on proposal id. + operationId: CircuitQuery_ProposalMixin109 + parameters: + - type: string + format: uint64 + description: proposal_id is the unique ID of a proposal. + name: proposal_id + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.group.v1.QueryProposalResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/group/v1/proposals/{proposal_id}/tally: + get: + tags: + - Query + 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, + 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: CircuitQuery_TallyResultMixin109 + parameters: + - type: string + format: uint64 + description: proposal_id is the unique id of a proposal. + name: proposal_id + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.group.v1.QueryTallyResultResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/group/v1/proposals_by_group_policy/{address}: + get: + tags: + - Query + summary: ProposalsByGroupPolicy queries proposals based on account address of group policy. + operationId: CircuitQuery_ProposalsByGroupPolicy + parameters: + - type: string + description: address is the account address of the group policy related to proposals. + name: address + in: path + required: true + - type: string + format: byte + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + name: pagination.key + in: query + - type: string + format: uint64 + 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 + be set. + name: pagination.offset + in: query + - type: string + format: uint64 + description: |- + 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. + name: pagination.limit + in: query + - type: boolean + 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 + is set. + name: pagination.count_total + in: query + - type: boolean + description: |- + reverse is set to true if results are to be returned in the descending order. + + Since: cosmos-sdk 0.43 + name: pagination.reverse + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.group.v1.QueryProposalsByGroupPolicyResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/group/v1/vote_by_proposal_voter/{proposal_id}/{voter}: + get: + tags: + - Query + summary: VoteByProposalVoter queries a vote by proposal id and voter. + operationId: CircuitQuery_VoteByProposalVoter + parameters: + - type: string + format: uint64 + description: proposal_id is the unique ID of a proposal. + name: proposal_id + in: path + required: true + - type: string + description: voter is a proposal voter account address. + name: voter + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.group.v1.QueryVoteByProposalVoterResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/group/v1/votes_by_proposal/{proposal_id}: + get: + tags: + - Query + summary: VotesByProposal queries a vote by proposal id. + operationId: CircuitQuery_VotesByProposal + parameters: + - type: string + format: uint64 + description: proposal_id is the unique ID of a proposal. + name: proposal_id + in: path + required: true + - type: string + format: byte + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + name: pagination.key + in: query + - type: string + format: uint64 + 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 + be set. + name: pagination.offset + in: query + - type: string + format: uint64 + description: |- + 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. + name: pagination.limit + in: query + - type: boolean + 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 + is set. + name: pagination.count_total + in: query + - type: boolean + description: |- + reverse is set to true if results are to be returned in the descending order. + + Since: cosmos-sdk 0.43 + name: pagination.reverse + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.group.v1.QueryVotesByProposalResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/group/v1/votes_by_voter/{voter}: + get: + tags: + - Query + summary: VotesByVoter queries a vote by voter. + operationId: CircuitQuery_VotesByVoter + parameters: + - type: string + description: voter is a proposal voter account address. + name: voter + in: path + required: true + - type: string + format: byte + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + name: pagination.key + in: query + - type: string + format: uint64 + 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 + be set. + name: pagination.offset + in: query + - type: string + format: uint64 + description: |- + 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. + name: pagination.limit + in: query + - type: boolean + 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 + is set. + name: pagination.count_total + in: query + - type: boolean + description: |- + reverse is set to true if results are to be returned in the descending order. + + Since: cosmos-sdk 0.43 + name: pagination.reverse + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.group.v1.QueryVotesByVoterResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/mint/v1beta1/annual_provisions: + get: + tags: + - Query + summary: AnnualProvisions current minting annual provisions value. + operationId: CircuitQuery_AnnualProvisions + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.mint.v1beta1.QueryAnnualProvisionsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/mint/v1beta1/inflation: + get: + tags: + - Query + summary: Inflation returns the current minting inflation value. + operationId: CircuitQuery_Inflation + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.mint.v1beta1.QueryInflationResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/mint/v1beta1/params: + get: + tags: + - Query + summary: Params returns the total set of minting parameters. + operationId: CircuitQuery_ParamsMixin114 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.mint.v1beta1.QueryParamsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/nft/v1beta1/balance/{owner}/{class_id}: + get: + tags: + - Query + summary: Balance queries the number of NFTs of a given class owned by the owner, same as balanceOf in ERC721 + operationId: CircuitQuery_BalanceMixin120 + parameters: + - type: string + description: owner is the owner address of the nft + name: owner + in: path + required: true + - type: string + description: class_id associated with the nft + name: class_id + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.nft.v1beta1.QueryBalanceResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/nft/v1beta1/classes: + get: + tags: + - Query + summary: Classes queries all NFT classes + operationId: CircuitQuery_Classes + parameters: + - type: string + format: byte + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + name: pagination.key + in: query + - type: string + format: uint64 + 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 + be set. + name: pagination.offset + in: query + - type: string + format: uint64 + description: |- + 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. + name: pagination.limit + in: query + - type: boolean + 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 + is set. + name: pagination.count_total + in: query + - type: boolean + description: |- + reverse is set to true if results are to be returned in the descending order. + + Since: cosmos-sdk 0.43 + name: pagination.reverse + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.nft.v1beta1.QueryClassesResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/nft/v1beta1/classes/{class_id}: + get: + tags: + - Query + summary: Class queries an NFT class based on its id + operationId: CircuitQuery_Class + parameters: + - type: string + description: class_id associated with the nft + name: class_id + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.nft.v1beta1.QueryClassResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/nft/v1beta1/nfts: + get: + tags: + - Query + summary: |- + NFTs queries all NFTs of a given class or owner,choose at least one of the two, similar to tokenByIndex in + ERC721Enumerable + operationId: CircuitQuery_NFTs + parameters: + - type: string + description: class_id associated with the nft + name: class_id + in: query + - type: string + description: owner is the owner address of the nft + name: owner + in: query + - type: string + format: byte + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + name: pagination.key + in: query + - type: string + format: uint64 + 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 + be set. + name: pagination.offset + in: query + - type: string + format: uint64 + description: |- + 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. + name: pagination.limit + in: query + - type: boolean + 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 + is set. + name: pagination.count_total + in: query + - type: boolean + description: |- + reverse is set to true if results are to be returned in the descending order. + + Since: cosmos-sdk 0.43 + name: pagination.reverse + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.nft.v1beta1.QueryNFTsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/nft/v1beta1/nfts/{class_id}/{id}: + get: + tags: + - Query + summary: NFT queries an NFT based on its class and id. + operationId: CircuitQuery_NFT + parameters: + - type: string + description: class_id associated with the nft + name: class_id + in: path + required: true + - type: string + description: id is a unique identifier of the NFT + name: id + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.nft.v1beta1.QueryNFTResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/nft/v1beta1/owner/{class_id}/{id}: + get: + tags: + - Query + summary: Owner queries the owner of the NFT based on its class and id, same as ownerOf in ERC721 + operationId: CircuitQuery_Owner + parameters: + - type: string + description: class_id associated with the nft + name: class_id + in: path + required: true + - type: string + description: id is a unique identifier of the NFT + name: id + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.nft.v1beta1.QueryOwnerResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/nft/v1beta1/supply/{class_id}: + get: + tags: + - Query + summary: Supply queries the number of NFTs from the given class, same as totalSupply of ERC721. + operationId: CircuitQuery_Supply + parameters: + - type: string + description: class_id associated with the nft + name: class_id + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.nft.v1beta1.QuerySupplyResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/params/v1beta1/params: + get: + tags: + - Query + summary: |- + Params queries a specific parameter of a module, given its subspace and + key. + operationId: CircuitQuery_ParamsMixin123 + parameters: + - type: string + description: subspace defines the module to query the parameter for. + name: subspace + in: query + - type: string + description: key defines the key of the parameter in the subspace. + name: key + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.params.v1beta1.QueryParamsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/params/v1beta1/subspaces: + get: + description: 'Since: cosmos-sdk 0.46' + tags: + - Query + summary: Subspaces queries for all registered subspaces and all keys for a subspace. + operationId: CircuitQuery_Subspaces + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.params.v1beta1.QuerySubspacesResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/slashing/v1beta1/params: + get: + tags: + - Query + summary: Params queries the parameters of slashing module + operationId: CircuitQuery_ParamsMixin126 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.slashing.v1beta1.QueryParamsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/slashing/v1beta1/signing_infos: + get: + tags: + - Query + summary: SigningInfos queries signing info of all validators + operationId: CircuitQuery_SigningInfos + parameters: + - type: string + format: byte + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + name: pagination.key + in: query + - type: string + format: uint64 + 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 + be set. + name: pagination.offset + in: query + - type: string + format: uint64 + description: |- + 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. + name: pagination.limit + in: query + - type: boolean + 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 + is set. + name: pagination.count_total + in: query + - type: boolean + description: |- + reverse is set to true if results are to be returned in the descending order. + + Since: cosmos-sdk 0.43 + name: pagination.reverse + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.slashing.v1beta1.QuerySigningInfosResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/slashing/v1beta1/signing_infos/{cons_address}: + get: + tags: + - Query + summary: SigningInfo queries the signing info of given cons address + operationId: CircuitQuery_SigningInfo + parameters: + - type: string + description: cons_address is the address to query signing info of + name: cons_address + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.slashing.v1beta1.QuerySigningInfoResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/staking/v1beta1/delegations/{delegator_addr}: + get: + description: |- + When called from another module, this query might consume a high amount of + gas if the pagination field is incorrectly set. + tags: + - Query + summary: DelegatorDelegations queries all delegations of a given delegator address. + operationId: CircuitQuery_DelegatorDelegations + parameters: + - type: string + description: delegator_addr defines the delegator address to query for. + name: delegator_addr + in: path + required: true + - type: string + format: byte + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + name: pagination.key + in: query + - type: string + format: uint64 + 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 + be set. + name: pagination.offset + in: query + - type: string + format: uint64 + description: |- + 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. + name: pagination.limit + in: query + - type: boolean + 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 + is set. + name: pagination.count_total + in: query + - type: boolean + description: |- + reverse is set to true if results are to be returned in the descending order. + + Since: cosmos-sdk 0.43 + name: pagination.reverse + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.staking.v1beta1.QueryDelegatorDelegationsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/staking/v1beta1/delegators/{delegator_addr}/redelegations: + get: + description: |- + When called from another module, this query might consume a high amount of + gas if the pagination field is incorrectly set. + tags: + - Query + summary: Redelegations queries redelegations of given address. + operationId: CircuitQuery_Redelegations + parameters: + - type: string + description: delegator_addr defines the delegator address to query for. + name: delegator_addr + in: path + required: true + - type: string + description: src_validator_addr defines the validator address to redelegate from. + name: src_validator_addr + in: query + - type: string + description: dst_validator_addr defines the validator address to redelegate to. + name: dst_validator_addr + in: query + - type: string + format: byte + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + name: pagination.key + in: query + - type: string + format: uint64 + 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 + be set. + name: pagination.offset + in: query + - type: string + format: uint64 + description: |- + 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. + name: pagination.limit + in: query + - type: boolean + 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 + is set. + name: pagination.count_total + in: query + - type: boolean + description: |- + reverse is set to true if results are to be returned in the descending order. + + Since: cosmos-sdk 0.43 + name: pagination.reverse + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.staking.v1beta1.QueryRedelegationsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/staking/v1beta1/delegators/{delegator_addr}/unbonding_delegations: + get: + description: |- + When called from another module, this query might consume a high amount of + gas if the pagination field is incorrectly set. + tags: + - Query + summary: |- + DelegatorUnbondingDelegations queries all unbonding delegations of a given + delegator address. + operationId: CircuitQuery_DelegatorUnbondingDelegations + parameters: + - type: string + description: delegator_addr defines the delegator address to query for. + name: delegator_addr + in: path + required: true + - type: string + format: byte + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + name: pagination.key + in: query + - type: string + format: uint64 + 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 + be set. + name: pagination.offset + in: query + - type: string + format: uint64 + description: |- + 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. + name: pagination.limit + in: query + - type: boolean + 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 + is set. + name: pagination.count_total + in: query + - type: boolean + description: |- + reverse is set to true if results are to be returned in the descending order. + + Since: cosmos-sdk 0.43 + name: pagination.reverse + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.staking.v1beta1.QueryDelegatorUnbondingDelegationsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/staking/v1beta1/delegators/{delegator_addr}/validators: + get: + description: |- + When called from another module, this query might consume a high amount of + gas if the pagination field is incorrectly set. + tags: + - Query + summary: |- + DelegatorValidators queries all validators info for given delegator + address. + operationId: CircuitQuery_DelegatorValidatorsMixin131 + parameters: + - type: string + description: delegator_addr defines the delegator address to query for. + name: delegator_addr + in: path + required: true + - type: string + format: byte + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + name: pagination.key + in: query + - type: string + format: uint64 + 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 + be set. + name: pagination.offset + in: query + - type: string + format: uint64 + description: |- + 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. + name: pagination.limit + in: query + - type: boolean + 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 + is set. + name: pagination.count_total + in: query + - type: boolean + description: |- + reverse is set to true if results are to be returned in the descending order. + + Since: cosmos-sdk 0.43 + name: pagination.reverse + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.staking.v1beta1.QueryDelegatorValidatorsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/staking/v1beta1/delegators/{delegator_addr}/validators/{validator_addr}: + get: + tags: + - Query + summary: |- + DelegatorValidator queries validator info for given delegator validator + pair. + operationId: CircuitQuery_DelegatorValidator + parameters: + - type: string + description: delegator_addr defines the delegator address to query for. + name: delegator_addr + in: path + required: true + - type: string + description: validator_addr defines the validator address to query for. + name: validator_addr + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.staking.v1beta1.QueryDelegatorValidatorResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/staking/v1beta1/historical_info/{height}: + get: + tags: + - Query + summary: HistoricalInfo queries the historical info for given height. + operationId: CircuitQuery_HistoricalInfo + parameters: + - type: string + format: int64 + description: height defines at which height to query the historical info. + name: height + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.staking.v1beta1.QueryHistoricalInfoResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/staking/v1beta1/params: + get: + tags: + - Query + summary: Parameters queries the staking parameters. + operationId: CircuitQuery_ParamsMixin131 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.staking.v1beta1.QueryParamsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/staking/v1beta1/pool: + get: + tags: + - Query + summary: Pool queries the pool info. + operationId: CircuitQuery_Pool + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.staking.v1beta1.QueryPoolResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/staking/v1beta1/validators: + get: + description: |- + When called from another module, this query might consume a high amount of + gas if the pagination field is incorrectly set. + tags: + - Query + summary: Validators queries all validators that match the given status. + operationId: CircuitQuery_Validators + parameters: + - type: string + description: status enables to query for validators matching a given status. + name: status + in: query + - type: string + format: byte + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + name: pagination.key + in: query + - type: string + format: uint64 + 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 + be set. + name: pagination.offset + in: query + - type: string + format: uint64 + description: |- + 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. + name: pagination.limit + in: query + - type: boolean + 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 + is set. + name: pagination.count_total + in: query + - type: boolean + description: |- + reverse is set to true if results are to be returned in the descending order. + + Since: cosmos-sdk 0.43 + name: pagination.reverse + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.staking.v1beta1.QueryValidatorsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/staking/v1beta1/validators/{validator_addr}: + get: + tags: + - Query + summary: Validator queries validator info for given validator address. + operationId: CircuitQuery_Validator + parameters: + - type: string + description: validator_addr defines the validator address to query for. + name: validator_addr + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.staking.v1beta1.QueryValidatorResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/staking/v1beta1/validators/{validator_addr}/delegations: + get: + description: |- + When called from another module, this query might consume a high amount of + gas if the pagination field is incorrectly set. + tags: + - Query + summary: ValidatorDelegations queries delegate info for given validator. + operationId: CircuitQuery_ValidatorDelegations + parameters: + - type: string + description: validator_addr defines the validator address to query for. + name: validator_addr + in: path + required: true + - type: string + format: byte + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + name: pagination.key + in: query + - type: string + format: uint64 + 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 + be set. + name: pagination.offset + in: query + - type: string + format: uint64 + description: |- + 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. + name: pagination.limit + in: query + - type: boolean + 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 + is set. + name: pagination.count_total + in: query + - type: boolean + description: |- + reverse is set to true if results are to be returned in the descending order. + + Since: cosmos-sdk 0.43 + name: pagination.reverse + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.staking.v1beta1.QueryValidatorDelegationsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}: + get: + tags: + - Query + summary: Delegation queries delegate info for given validator delegator pair. + operationId: CircuitQuery_Delegation + parameters: + - type: string + description: validator_addr defines the validator address to query for. + name: validator_addr + in: path + required: true + - type: string + description: delegator_addr defines the delegator address to query for. + name: delegator_addr + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.staking.v1beta1.QueryDelegationResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}/unbonding_delegation: + get: + tags: + - Query + summary: |- + UnbondingDelegation queries unbonding info for given validator delegator + pair. + operationId: CircuitQuery_UnbondingDelegation + parameters: + - type: string + description: validator_addr defines the validator address to query for. + name: validator_addr + in: path + required: true + - type: string + description: delegator_addr defines the delegator address to query for. + name: delegator_addr + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.staking.v1beta1.QueryUnbondingDelegationResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/staking/v1beta1/validators/{validator_addr}/unbonding_delegations: + get: + description: |- + When called from another module, this query might consume a high amount of + gas if the pagination field is incorrectly set. + tags: + - Query + summary: ValidatorUnbondingDelegations queries unbonding delegations of a validator. + operationId: CircuitQuery_ValidatorUnbondingDelegations + parameters: + - type: string + description: validator_addr defines the validator address to query for. + name: validator_addr + in: path + required: true + - type: string + format: byte + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + name: pagination.key + in: query + - type: string + format: uint64 + 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 + be set. + name: pagination.offset + in: query + - type: string + format: uint64 + description: |- + 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. + name: pagination.limit + in: query + - type: boolean + 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 + is set. + name: pagination.count_total + in: query + - type: boolean + description: |- + reverse is set to true if results are to be returned in the descending order. + + Since: cosmos-sdk 0.43 + name: pagination.reverse + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.staking.v1beta1.QueryValidatorUnbondingDelegationsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/tx/v1beta1/decode: + post: + description: 'Since: cosmos-sdk 0.47' + tags: + - Service + summary: TxDecode decodes the transaction. + operationId: CircuitService_TxDecode + parameters: + - description: |- + TxDecodeRequest is the request type for the Service.TxDecode + RPC method. + + Since: cosmos-sdk 0.47 + name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.tx.v1beta1.TxDecodeRequest' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.tx.v1beta1.TxDecodeResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/tx/v1beta1/decode/amino: + post: + description: 'Since: cosmos-sdk 0.47' + tags: + - Service + summary: TxDecodeAmino decodes an Amino transaction from encoded bytes to JSON. + operationId: CircuitService_TxDecodeAmino + parameters: + - description: |- + TxDecodeAminoRequest is the request type for the Service.TxDecodeAmino + RPC method. + + Since: cosmos-sdk 0.47 + name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.tx.v1beta1.TxDecodeAminoRequest' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.tx.v1beta1.TxDecodeAminoResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/tx/v1beta1/encode: + post: + description: 'Since: cosmos-sdk 0.47' + tags: + - Service + summary: TxEncode encodes the transaction. + operationId: CircuitService_TxEncode + parameters: + - description: |- + TxEncodeRequest is the request type for the Service.TxEncode + RPC method. + + Since: cosmos-sdk 0.47 + name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.tx.v1beta1.TxEncodeRequest' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.tx.v1beta1.TxEncodeResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/tx/v1beta1/encode/amino: + post: + description: 'Since: cosmos-sdk 0.47' + tags: + - Service + summary: TxEncodeAmino encodes an Amino transaction from JSON to encoded bytes. + operationId: CircuitService_TxEncodeAmino + parameters: + - description: |- + TxEncodeAminoRequest is the request type for the Service.TxEncodeAmino + RPC method. + + Since: cosmos-sdk 0.47 + name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.tx.v1beta1.TxEncodeAminoRequest' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.tx.v1beta1.TxEncodeAminoResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/tx/v1beta1/simulate: + post: + tags: + - Service + summary: Simulate simulates executing a transaction for estimating gas usage. + operationId: CircuitService_Simulate + parameters: + - description: |- + SimulateRequest is the request type for the Service.Simulate + RPC method. + name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.tx.v1beta1.SimulateRequest' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.tx.v1beta1.SimulateResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/tx/v1beta1/txs: + get: + tags: + - Service + summary: GetTxsEvent fetches txs by event. + operationId: CircuitService_GetTxsEvent + parameters: + - type: array + items: + type: string + collectionFormat: multi + description: |- + events is the list of transaction event type. + Deprecated post v0.47.x: use query instead, which should contain a valid + events query. + name: events + in: query + - type: string + format: byte + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + name: pagination.key + in: query + - type: string + format: uint64 + 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 + be set. + name: pagination.offset + in: query + - type: string + format: uint64 + description: |- + 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. + name: pagination.limit + in: query + - type: boolean + 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 + is set. + name: pagination.count_total + in: query + - type: boolean + description: |- + reverse is set to true if results are to be returned in the descending order. + + Since: cosmos-sdk 0.43 + name: pagination.reverse + in: query + - enum: + - ORDER_BY_UNSPECIFIED + - ORDER_BY_ASC + - ORDER_BY_DESC + type: string + default: ORDER_BY_UNSPECIFIED + description: |2- + - 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 + name: order_by + in: query + - type: string + format: uint64 + description: |- + page is the page number to query, starts at 1. If not provided, will + default to first page. + name: page + in: query + - type: string + format: uint64 + description: |- + 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. + name: limit + in: query + - type: string + description: |- + query defines the transaction event query that is proxied to Tendermint's + TxSearch RPC method. The query must be valid. + + Since cosmos-sdk 0.50 + name: query + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.tx.v1beta1.GetTxsEventResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + post: + tags: + - Service + summary: BroadcastTx broadcast transaction. + operationId: CircuitService_BroadcastTx + parameters: + - description: |- + BroadcastTxRequest is the request type for the Service.BroadcastTxRequest + RPC method. + name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.tx.v1beta1.BroadcastTxRequest' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.tx.v1beta1.BroadcastTxResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/tx/v1beta1/txs/block/{height}: + get: + description: 'Since: cosmos-sdk 0.45.2' + tags: + - Service + summary: GetBlockWithTxs fetches a block with decoded txs. + operationId: CircuitService_GetBlockWithTxs + parameters: + - type: string + format: int64 + description: height is the height of the block to query. + name: height + in: path + required: true + - type: string + format: byte + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + name: pagination.key + in: query + - type: string + format: uint64 + 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 + be set. + name: pagination.offset + in: query + - type: string + format: uint64 + description: |- + 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. + name: pagination.limit + in: query + - type: boolean + 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 + is set. + name: pagination.count_total + in: query + - type: boolean + description: |- + reverse is set to true if results are to be returned in the descending order. + + Since: cosmos-sdk 0.43 + name: pagination.reverse + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.tx.v1beta1.GetBlockWithTxsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/tx/v1beta1/txs/{hash}: + get: + tags: + - Service + summary: GetTx fetches a tx by hash. + operationId: CircuitService_GetTx + parameters: + - type: string + description: hash is the tx hash to query, encoded as a hex string. + name: hash + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.tx.v1beta1.GetTxResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/upgrade/v1beta1/applied_plan/{name}: + get: + tags: + - Query + summary: AppliedPlan queries a previously applied upgrade plan by its name. + operationId: CircuitQuery_AppliedPlan + parameters: + - type: string + description: name is the name of the applied plan to query for. + name: name + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.upgrade.v1beta1.QueryAppliedPlanResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/upgrade/v1beta1/authority: + get: + description: 'Since: cosmos-sdk 0.46' + tags: + - Query + summary: Returns the account with authority to conduct upgrades + operationId: CircuitQuery_Authority + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.upgrade.v1beta1.QueryAuthorityResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/upgrade/v1beta1/current_plan: + get: + tags: + - Query + summary: CurrentPlan queries the current upgrade plan. + operationId: CircuitQuery_CurrentPlan + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.upgrade.v1beta1.QueryCurrentPlanResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/upgrade/v1beta1/module_versions: + get: + description: 'Since: cosmos-sdk 0.43' + tags: + - Query + summary: ModuleVersions queries the list of module versions from state. + operationId: CircuitQuery_ModuleVersions + parameters: + - type: string + description: |- + module_name is a field to query a specific module + consensus version from state. Leaving this empty will + fetch the full list of module versions from state + name: module_name + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.upgrade.v1beta1.QueryModuleVersionsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /cosmos/upgrade/v1beta1/upgraded_consensus_state/{last_height}: + get: + tags: + - Query + 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: CircuitQuery_UpgradedConsensusState + parameters: + - type: string + format: int64 + description: |- + last height of the current chain must be sent in request + as this is the height under which next consensus state is stored + name: last_height + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/cosmos.upgrade.v1beta1.QueryUpgradedConsensusStateResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc.applications.fee.v1.Msg/PayPacketFee: + post: + tags: + - Msg + summary: |- + PayPacketFee defines a rpc handler method for MsgPayPacketFee + PayPacketFee is an open callback that may be called by any module/user that wishes to escrow funds in order to + incentivize the relaying of the packet at the next sequence + NOTE: This method is intended to be used within a multi msg transaction, where the subsequent msg that follows + initiates the lifecycle of the incentivized packet + operationId: FeeMsg_PayPacketFee + parameters: + - name: body + in: body + required: true + schema: + $ref: '#/definitions/ibc.applications.fee.v1.MsgPayPacketFee' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.applications.fee.v1.MsgPayPacketFeeResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc.applications.fee.v1.Msg/PayPacketFeeAsync: + post: + tags: + - Msg + summary: |- + PayPacketFeeAsync defines a rpc handler method for MsgPayPacketFeeAsync + PayPacketFeeAsync is an open callback that may be called by any module/user that wishes to escrow funds in order to + incentivize the relaying of a known packet (i.e. at a particular sequence) + operationId: FeeMsg_PayPacketFeeAsync + parameters: + - name: body + in: body + required: true + schema: + $ref: '#/definitions/ibc.applications.fee.v1.MsgPayPacketFeeAsync' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.applications.fee.v1.MsgPayPacketFeeAsyncResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc.applications.fee.v1.Msg/RegisterCounterpartyPayee: + post: + tags: + - Msg + summary: |- + RegisterCounterpartyPayee defines a rpc handler method for MsgRegisterCounterpartyPayee + RegisterCounterpartyPayee is called by the relayer on each channelEnd and allows them to specify the counterparty + payee address before relaying. This ensures they will be properly compensated for forward relaying since + the destination chain must include the registered counterparty payee address in the acknowledgement. This function + may be called more than once by a relayer, in which case, the latest counterparty payee address is always used. + operationId: FeeMsg_RegisterCounterpartyPayee + parameters: + - name: body + in: body + required: true + schema: + $ref: '#/definitions/ibc.applications.fee.v1.MsgRegisterCounterpartyPayee' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.applications.fee.v1.MsgRegisterCounterpartyPayeeResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc.applications.fee.v1.Msg/RegisterPayee: + post: + tags: + - Msg + summary: |- + RegisterPayee defines a rpc handler method for MsgRegisterPayee + RegisterPayee is called by the relayer on each channelEnd and allows them to set an optional + payee to which reverse and timeout relayer packet fees will be paid out. The payee should be registered on + the source chain from which packets originate as this is where fee distribution takes place. This function may be + called more than once by a relayer, in which case, the latest payee is always used. + operationId: FeeMsg_RegisterPayee + parameters: + - name: body + in: body + required: true + schema: + $ref: '#/definitions/ibc.applications.fee.v1.MsgRegisterPayee' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.applications.fee.v1.MsgRegisterPayeeResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc.applications.interchain_accounts.controller.v1.Msg/RegisterInterchainAccount: + post: + tags: + - Msg + summary: RegisterInterchainAccount defines a rpc handler for MsgRegisterInterchainAccount. + operationId: FeeMsg_RegisterInterchainAccount + parameters: + - name: body + in: body + required: true + schema: + $ref: '#/definitions/ibc.applications.interchain_accounts.controller.v1.MsgRegisterInterchainAccount' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.applications.interchain_accounts.controller.v1.MsgRegisterInterchainAccountResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc.applications.interchain_accounts.controller.v1.Msg/SendTx: + post: + tags: + - Msg + summary: SendTx defines a rpc handler for MsgSendTx. + operationId: FeeMsg_SendTx + parameters: + - name: body + in: body + required: true + schema: + $ref: '#/definitions/ibc.applications.interchain_accounts.controller.v1.MsgSendTx' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.applications.interchain_accounts.controller.v1.MsgSendTxResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc.applications.interchain_accounts.controller.v1.Msg/UpdateParams: + post: + tags: + - Msg + summary: UpdateParams defines a rpc handler for MsgUpdateParams. + operationId: FeeMsg_UpdateParams + parameters: + - name: body + in: body + required: true + schema: + $ref: '#/definitions/ibc.applications.interchain_accounts.controller.v1.MsgUpdateParams' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.applications.interchain_accounts.controller.v1.MsgUpdateParamsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc.applications.interchain_accounts.host.v1.Msg/UpdateParams: + post: + tags: + - Msg + summary: UpdateParams defines a rpc handler for MsgUpdateParams. + operationId: FeeMsg_UpdateParamsMixin172 + parameters: + - name: body + in: body + required: true + schema: + $ref: '#/definitions/ibc.applications.interchain_accounts.host.v1.MsgUpdateParams' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.applications.interchain_accounts.host.v1.MsgUpdateParamsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc.applications.transfer.v1.Msg/Transfer: + post: + tags: + - Msg + summary: Transfer defines a rpc handler method for MsgTransfer. + operationId: FeeMsg_Transfer + parameters: + - name: body + in: body + required: true + schema: + $ref: '#/definitions/ibc.applications.transfer.v1.MsgTransfer' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.applications.transfer.v1.MsgTransferResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc.applications.transfer.v1.Msg/UpdateParams: + post: + tags: + - Msg + summary: UpdateParams defines a rpc handler for MsgUpdateParams. + operationId: FeeMsg_UpdateParamsMixin180 + parameters: + - description: MsgUpdateParams is the Msg/UpdateParams request type. + name: body + in: body + required: true + schema: + $ref: '#/definitions/ibc.applications.transfer.v1.MsgUpdateParams' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.applications.transfer.v1.MsgUpdateParamsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc.core.channel.v1.Msg/Acknowledgement: + post: + tags: + - Msg + summary: Acknowledgement defines a rpc handler method for MsgAcknowledgement. + operationId: FeeMsg_Acknowledgement + parameters: + - name: body + in: body + required: true + schema: + $ref: '#/definitions/ibc.core.channel.v1.MsgAcknowledgement' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.core.channel.v1.MsgAcknowledgementResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc.core.channel.v1.Msg/ChannelCloseConfirm: + post: + tags: + - Msg + summary: |- + ChannelCloseConfirm defines a rpc handler method for + MsgChannelCloseConfirm. + operationId: FeeMsg_ChannelCloseConfirm + parameters: + - description: |- + MsgChannelCloseConfirm defines a msg sent by a Relayer to Chain B + to acknowledge the change of channel state to CLOSED on Chain A. + name: body + in: body + required: true + schema: + $ref: '#/definitions/ibc.core.channel.v1.MsgChannelCloseConfirm' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.core.channel.v1.MsgChannelCloseConfirmResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc.core.channel.v1.Msg/ChannelCloseInit: + post: + tags: + - Msg + summary: ChannelCloseInit defines a rpc handler method for MsgChannelCloseInit. + operationId: FeeMsg_ChannelCloseInit + parameters: + - description: |- + MsgChannelCloseInit defines a msg sent by a Relayer to Chain A + to close a channel with Chain B. + name: body + in: body + required: true + schema: + $ref: '#/definitions/ibc.core.channel.v1.MsgChannelCloseInit' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.core.channel.v1.MsgChannelCloseInitResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc.core.channel.v1.Msg/ChannelOpenAck: + post: + tags: + - Msg + summary: ChannelOpenAck defines a rpc handler method for MsgChannelOpenAck. + operationId: FeeMsg_ChannelOpenAck + parameters: + - description: |- + MsgChannelOpenAck defines a msg sent by a Relayer to Chain A to acknowledge + the change of channel state to TRYOPEN on Chain B. + WARNING: a channel upgrade MUST NOT initialize an upgrade for this channel + in the same block as executing this message otherwise the counterparty will + be incapable of opening. + name: body + in: body + required: true + schema: + $ref: '#/definitions/ibc.core.channel.v1.MsgChannelOpenAck' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.core.channel.v1.MsgChannelOpenAckResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc.core.channel.v1.Msg/ChannelOpenConfirm: + post: + tags: + - Msg + summary: ChannelOpenConfirm defines a rpc handler method for MsgChannelOpenConfirm. + operationId: FeeMsg_ChannelOpenConfirm + parameters: + - description: |- + MsgChannelOpenConfirm defines a msg sent by a Relayer to Chain B to + acknowledge the change of channel state to OPEN on Chain A. + name: body + in: body + required: true + schema: + $ref: '#/definitions/ibc.core.channel.v1.MsgChannelOpenConfirm' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.core.channel.v1.MsgChannelOpenConfirmResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc.core.channel.v1.Msg/ChannelOpenInit: + post: + tags: + - Msg + summary: ChannelOpenInit defines a rpc handler method for MsgChannelOpenInit. + operationId: FeeMsg_ChannelOpenInit + parameters: + - description: |- + MsgChannelOpenInit defines an sdk.Msg to initialize a channel handshake. It + is called by a relayer on Chain A. + name: body + in: body + required: true + schema: + $ref: '#/definitions/ibc.core.channel.v1.MsgChannelOpenInit' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.core.channel.v1.MsgChannelOpenInitResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc.core.channel.v1.Msg/ChannelOpenTry: + post: + tags: + - Msg + summary: ChannelOpenTry defines a rpc handler method for MsgChannelOpenTry. + operationId: FeeMsg_ChannelOpenTry + parameters: + - description: |- + MsgChannelOpenInit defines a msg sent by a Relayer to try to open a channel + on Chain B. The version field within the Channel field has been deprecated. Its + value will be ignored by core IBC. + name: body + in: body + required: true + schema: + $ref: '#/definitions/ibc.core.channel.v1.MsgChannelOpenTry' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.core.channel.v1.MsgChannelOpenTryResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc.core.channel.v1.Msg/ChannelUpgradeAck: + post: + tags: + - Msg + summary: ChannelUpgradeAck defines a rpc handler method for MsgChannelUpgradeAck. + operationId: FeeMsg_ChannelUpgradeAck + parameters: + - name: body + in: body + required: true + schema: + $ref: '#/definitions/ibc.core.channel.v1.MsgChannelUpgradeAck' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.core.channel.v1.MsgChannelUpgradeAckResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc.core.channel.v1.Msg/ChannelUpgradeCancel: + post: + tags: + - Msg + summary: ChannelUpgradeCancel defines a rpc handler method for MsgChannelUpgradeCancel. + operationId: FeeMsg_ChannelUpgradeCancel + parameters: + - name: body + in: body + required: true + schema: + $ref: '#/definitions/ibc.core.channel.v1.MsgChannelUpgradeCancel' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.core.channel.v1.MsgChannelUpgradeCancelResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc.core.channel.v1.Msg/ChannelUpgradeConfirm: + post: + tags: + - Msg + summary: ChannelUpgradeConfirm defines a rpc handler method for MsgChannelUpgradeConfirm. + operationId: FeeMsg_ChannelUpgradeConfirm + parameters: + - name: body + in: body + required: true + schema: + $ref: '#/definitions/ibc.core.channel.v1.MsgChannelUpgradeConfirm' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.core.channel.v1.MsgChannelUpgradeConfirmResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc.core.channel.v1.Msg/ChannelUpgradeInit: + post: + tags: + - Msg + summary: ChannelUpgradeInit defines a rpc handler method for MsgChannelUpgradeInit. + operationId: FeeMsg_ChannelUpgradeInit + parameters: + - description: |- + MsgChannelUpgradeInit defines the request type for the ChannelUpgradeInit rpc + WARNING: Initializing a channel upgrade in the same block as opening the channel + may result in the counterparty being incapable of opening. + name: body + in: body + required: true + schema: + $ref: '#/definitions/ibc.core.channel.v1.MsgChannelUpgradeInit' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.core.channel.v1.MsgChannelUpgradeInitResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc.core.channel.v1.Msg/ChannelUpgradeOpen: + post: + tags: + - Msg + summary: ChannelUpgradeOpen defines a rpc handler method for MsgChannelUpgradeOpen. + operationId: FeeMsg_ChannelUpgradeOpen + parameters: + - name: body + in: body + required: true + schema: + $ref: '#/definitions/ibc.core.channel.v1.MsgChannelUpgradeOpen' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.core.channel.v1.MsgChannelUpgradeOpenResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc.core.channel.v1.Msg/ChannelUpgradeTimeout: + post: + tags: + - Msg + summary: ChannelUpgradeTimeout defines a rpc handler method for MsgChannelUpgradeTimeout. + operationId: FeeMsg_ChannelUpgradeTimeout + parameters: + - name: body + in: body + required: true + schema: + $ref: '#/definitions/ibc.core.channel.v1.MsgChannelUpgradeTimeout' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.core.channel.v1.MsgChannelUpgradeTimeoutResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc.core.channel.v1.Msg/ChannelUpgradeTry: + post: + tags: + - Msg + summary: ChannelUpgradeTry defines a rpc handler method for MsgChannelUpgradeTry. + operationId: FeeMsg_ChannelUpgradeTry + parameters: + - name: body + in: body + required: true + schema: + $ref: '#/definitions/ibc.core.channel.v1.MsgChannelUpgradeTry' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.core.channel.v1.MsgChannelUpgradeTryResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc.core.channel.v1.Msg/PruneAcknowledgements: + post: + tags: + - Msg + summary: PruneAcknowledgements defines a rpc handler method for MsgPruneAcknowledgements. + operationId: FeeMsg_PruneAcknowledgements + parameters: + - description: MsgPruneAcknowledgements defines the request type for the PruneAcknowledgements rpc. + name: body + in: body + required: true + schema: + $ref: '#/definitions/ibc.core.channel.v1.MsgPruneAcknowledgements' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.core.channel.v1.MsgPruneAcknowledgementsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc.core.channel.v1.Msg/RecvPacket: + post: + tags: + - Msg + summary: RecvPacket defines a rpc handler method for MsgRecvPacket. + operationId: FeeMsg_RecvPacket + parameters: + - name: body + in: body + required: true + schema: + $ref: '#/definitions/ibc.core.channel.v1.MsgRecvPacket' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.core.channel.v1.MsgRecvPacketResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc.core.channel.v1.Msg/Timeout: + post: + tags: + - Msg + summary: Timeout defines a rpc handler method for MsgTimeout. + operationId: FeeMsg_Timeout + parameters: + - name: body + in: body + required: true + schema: + $ref: '#/definitions/ibc.core.channel.v1.MsgTimeout' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.core.channel.v1.MsgTimeoutResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc.core.channel.v1.Msg/TimeoutOnClose: + post: + tags: + - Msg + summary: TimeoutOnClose defines a rpc handler method for MsgTimeoutOnClose. + operationId: FeeMsg_TimeoutOnClose + parameters: + - description: MsgTimeoutOnClose timed-out packet upon counterparty channel closure. + name: body + in: body + required: true + schema: + $ref: '#/definitions/ibc.core.channel.v1.MsgTimeoutOnClose' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.core.channel.v1.MsgTimeoutOnCloseResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc.core.channel.v1.Msg/UpdateChannelParams: + post: + tags: + - Msg + summary: UpdateChannelParams defines a rpc handler method for MsgUpdateParams. + operationId: FeeMsg_UpdateChannelParams + parameters: + - description: MsgUpdateParams is the MsgUpdateParams request type. + name: body + in: body + required: true + schema: + $ref: '#/definitions/ibc.core.channel.v1.MsgUpdateParams' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.core.channel.v1.MsgUpdateParamsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc.core.client.v1.Msg/CreateClient: + post: + tags: + - Msg + summary: CreateClient defines a rpc handler method for MsgCreateClient. + operationId: FeeMsg_CreateClient + parameters: + - name: body + in: body + required: true + schema: + $ref: '#/definitions/ibc.core.client.v1.MsgCreateClient' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.core.client.v1.MsgCreateClientResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc.core.client.v1.Msg/IBCSoftwareUpgrade: + post: + tags: + - Msg + summary: IBCSoftwareUpgrade defines a rpc handler method for MsgIBCSoftwareUpgrade. + operationId: FeeMsg_IBCSoftwareUpgrade + parameters: + - name: body + in: body + required: true + schema: + $ref: '#/definitions/ibc.core.client.v1.MsgIBCSoftwareUpgrade' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.core.client.v1.MsgIBCSoftwareUpgradeResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc.core.client.v1.Msg/RecoverClient: + post: + tags: + - Msg + summary: RecoverClient defines a rpc handler method for MsgRecoverClient. + operationId: FeeMsg_RecoverClient + parameters: + - description: MsgRecoverClient defines the message used to recover a frozen or expired client. + name: body + in: body + required: true + schema: + $ref: '#/definitions/ibc.core.client.v1.MsgRecoverClient' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.core.client.v1.MsgRecoverClientResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc.core.client.v1.Msg/SubmitMisbehaviour: + post: + tags: + - Msg + summary: SubmitMisbehaviour defines a rpc handler method for MsgSubmitMisbehaviour. + operationId: FeeMsg_SubmitMisbehaviour + parameters: + - description: |- + MsgSubmitMisbehaviour defines an sdk.Msg type that submits Evidence for + light client misbehaviour. + This message has been deprecated. Use MsgUpdateClient instead. + name: body + in: body + required: true + schema: + $ref: '#/definitions/ibc.core.client.v1.MsgSubmitMisbehaviour' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.core.client.v1.MsgSubmitMisbehaviourResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc.core.client.v1.Msg/UpdateClient: + post: + tags: + - Msg + summary: UpdateClient defines a rpc handler method for MsgUpdateClient. + operationId: FeeMsg_UpdateClient + parameters: + - description: |- + MsgUpdateClient defines an sdk.Msg to update a IBC client state using + the given client message. + name: body + in: body + required: true + schema: + $ref: '#/definitions/ibc.core.client.v1.MsgUpdateClient' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.core.client.v1.MsgUpdateClientResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc.core.client.v1.Msg/UpdateClientParams: + post: + tags: + - Msg + summary: UpdateClientParams defines a rpc handler method for MsgUpdateParams. + operationId: FeeMsg_UpdateClientParams + parameters: + - description: MsgUpdateParams defines the sdk.Msg type to update the client parameters. + name: body + in: body + required: true + schema: + $ref: '#/definitions/ibc.core.client.v1.MsgUpdateParams' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.core.client.v1.MsgUpdateParamsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc.core.client.v1.Msg/UpgradeClient: + post: + tags: + - Msg + summary: UpgradeClient defines a rpc handler method for MsgUpgradeClient. + operationId: FeeMsg_UpgradeClient + parameters: + - name: body + in: body + required: true + schema: + $ref: '#/definitions/ibc.core.client.v1.MsgUpgradeClient' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.core.client.v1.MsgUpgradeClientResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc.core.connection.v1.Msg/ConnectionOpenAck: + post: + tags: + - Msg + summary: ConnectionOpenAck defines a rpc handler method for MsgConnectionOpenAck. + operationId: FeeMsg_ConnectionOpenAck + parameters: + - description: |- + MsgConnectionOpenAck defines a msg sent by a Relayer to Chain A to + acknowledge the change of connection state to TRYOPEN on Chain B. + name: body + in: body + required: true + schema: + $ref: '#/definitions/ibc.core.connection.v1.MsgConnectionOpenAck' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.core.connection.v1.MsgConnectionOpenAckResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc.core.connection.v1.Msg/ConnectionOpenConfirm: + post: + tags: + - Msg + summary: |- + ConnectionOpenConfirm defines a rpc handler method for + MsgConnectionOpenConfirm. + operationId: FeeMsg_ConnectionOpenConfirm + parameters: + - description: |- + MsgConnectionOpenConfirm defines a msg sent by a Relayer to Chain B to + acknowledge the change of connection state to OPEN on Chain A. + name: body + in: body + required: true + schema: + $ref: '#/definitions/ibc.core.connection.v1.MsgConnectionOpenConfirm' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.core.connection.v1.MsgConnectionOpenConfirmResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc.core.connection.v1.Msg/ConnectionOpenInit: + post: + tags: + - Msg + summary: ConnectionOpenInit defines a rpc handler method for MsgConnectionOpenInit. + operationId: FeeMsg_ConnectionOpenInit + parameters: + - description: |- + MsgConnectionOpenInit defines the msg sent by an account on Chain A to + initialize a connection with Chain B. + name: body + in: body + required: true + schema: + $ref: '#/definitions/ibc.core.connection.v1.MsgConnectionOpenInit' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.core.connection.v1.MsgConnectionOpenInitResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc.core.connection.v1.Msg/ConnectionOpenTry: + post: + tags: + - Msg + summary: ConnectionOpenTry defines a rpc handler method for MsgConnectionOpenTry. + operationId: FeeMsg_ConnectionOpenTry + parameters: + - description: |- + MsgConnectionOpenTry defines a msg sent by a Relayer to try to open a + connection on Chain B. + name: body + in: body + required: true + schema: + $ref: '#/definitions/ibc.core.connection.v1.MsgConnectionOpenTry' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.core.connection.v1.MsgConnectionOpenTryResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc.core.connection.v1.Msg/UpdateConnectionParams: + post: + tags: + - Msg + summary: |- + UpdateConnectionParams defines a rpc handler method for + MsgUpdateParams. + operationId: FeeMsg_UpdateConnectionParams + parameters: + - description: MsgUpdateParams defines the sdk.Msg type to update the connection parameters. + name: body + in: body + required: true + schema: + $ref: '#/definitions/ibc.core.connection.v1.MsgUpdateParams' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.core.connection.v1.MsgUpdateParamsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc.lightclients.wasm.v1.Msg/MigrateContract: + post: + tags: + - Msg + summary: MigrateContract defines a rpc handler method for MsgMigrateContract. + operationId: FeeMsg_MigrateContract + parameters: + - description: MsgMigrateContract defines the request type for the MigrateContract rpc. + name: body + in: body + required: true + schema: + $ref: '#/definitions/ibc.lightclients.wasm.v1.MsgMigrateContract' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.lightclients.wasm.v1.MsgMigrateContractResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc.lightclients.wasm.v1.Msg/RemoveChecksum: + post: + tags: + - Msg + summary: RemoveChecksum defines a rpc handler method for MsgRemoveChecksum. + operationId: FeeMsg_RemoveChecksum + parameters: + - description: MsgRemoveChecksum defines the request type for the MsgRemoveChecksum rpc. + name: body + in: body + required: true + schema: + $ref: '#/definitions/ibc.lightclients.wasm.v1.MsgRemoveChecksum' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.lightclients.wasm.v1.MsgRemoveChecksumResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc.lightclients.wasm.v1.Msg/StoreCode: + post: + tags: + - Msg + summary: StoreCode defines a rpc handler method for MsgStoreCode. + operationId: FeeMsg_StoreCode + parameters: + - description: MsgStoreCode defines the request type for the StoreCode rpc. + name: body + in: body + required: true + schema: + $ref: '#/definitions/ibc.lightclients.wasm.v1.MsgStoreCode' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.lightclients.wasm.v1.MsgStoreCodeResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc/apps/fee/v1/channels/{channel_id}/ports/{port_id}/fee_enabled: + get: + tags: + - Query + summary: FeeEnabledChannel returns true if the provided port and channel identifiers belong to a fee enabled channel + operationId: FeeQuery_FeeEnabledChannel + parameters: + - type: string + description: unique channel identifier + name: channel_id + in: path + required: true + - type: string + description: unique port identifier + name: port_id + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.applications.fee.v1.QueryFeeEnabledChannelResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc/apps/fee/v1/channels/{channel_id}/ports/{port_id}/incentivized_packets: + get: + tags: + - Query + summary: Gets all incentivized packets for a specific channel + operationId: FeeQuery_IncentivizedPacketsForChannel + parameters: + - type: string + name: channel_id + in: path + required: true + - type: string + name: port_id + in: path + required: true + - type: string + format: byte + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + name: pagination.key + in: query + - type: string + format: uint64 + 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 + be set. + name: pagination.offset + in: query + - type: string + format: uint64 + description: |- + 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. + name: pagination.limit + in: query + - type: boolean + 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 + is set. + name: pagination.count_total + in: query + - type: boolean + description: |- + reverse is set to true if results are to be returned in the descending order. + + Since: cosmos-sdk 0.43 + name: pagination.reverse + in: query + - type: string + format: uint64 + description: Height to query at + name: query_height + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.applications.fee.v1.QueryIncentivizedPacketsForChannelResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc/apps/fee/v1/channels/{channel_id}/relayers/{relayer}/counterparty_payee: + get: + tags: + - Query + summary: CounterpartyPayee returns the registered counterparty payee for forward relaying + operationId: FeeQuery_CounterpartyPayee + parameters: + - type: string + description: unique channel identifier + name: channel_id + in: path + required: true + - type: string + description: the relayer address to which the counterparty is registered + name: relayer + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.applications.fee.v1.QueryCounterpartyPayeeResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc/apps/fee/v1/channels/{channel_id}/relayers/{relayer}/payee: + get: + tags: + - Query + summary: Payee returns the registered payee address for a specific channel given the relayer address + operationId: FeeQuery_Payee + parameters: + - type: string + description: unique channel identifier + name: channel_id + in: path + required: true + - type: string + description: the relayer address to which the distribution address is registered + name: relayer + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.applications.fee.v1.QueryPayeeResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/incentivized_packet: + get: + tags: + - Query + summary: IncentivizedPacket returns all packet fees for a packet given its identifier + operationId: FeeQuery_IncentivizedPacket + parameters: + - type: string + description: channel unique identifier + name: packet_id.channel_id + in: path + required: true + - type: string + description: channel port identifier + name: packet_id.port_id + in: path + required: true + - type: string + format: uint64 + description: packet sequence + name: packet_id.sequence + in: path + required: true + - type: string + format: uint64 + description: block height at which to query + name: query_height + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.applications.fee.v1.QueryIncentivizedPacketResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/total_ack_fees: + get: + tags: + - Query + summary: TotalAckFees returns the total acknowledgement fees for a packet given its identifier + operationId: FeeQuery_TotalAckFees + parameters: + - type: string + description: channel unique identifier + name: packet_id.channel_id + in: path + required: true + - type: string + description: channel port identifier + name: packet_id.port_id + in: path + required: true + - type: string + format: uint64 + description: packet sequence + name: packet_id.sequence + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.applications.fee.v1.QueryTotalAckFeesResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/total_recv_fees: + get: + tags: + - Query + summary: TotalRecvFees returns the total receive fees for a packet given its identifier + operationId: FeeQuery_TotalRecvFees + parameters: + - type: string + description: channel unique identifier + name: packet_id.channel_id + in: path + required: true + - type: string + description: channel port identifier + name: packet_id.port_id + in: path + required: true + - type: string + format: uint64 + description: packet sequence + name: packet_id.sequence + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.applications.fee.v1.QueryTotalRecvFeesResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/total_timeout_fees: + get: + tags: + - Query + summary: TotalTimeoutFees returns the total timeout fees for a packet given its identifier + operationId: FeeQuery_TotalTimeoutFees + parameters: + - type: string + description: channel unique identifier + name: packet_id.channel_id + in: path + required: true + - type: string + description: channel port identifier + name: packet_id.port_id + in: path + required: true + - type: string + format: uint64 + description: packet sequence + name: packet_id.sequence + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.applications.fee.v1.QueryTotalTimeoutFeesResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc/apps/fee/v1/fee_enabled: + get: + tags: + - Query + summary: FeeEnabledChannels returns a list of all fee enabled channels + operationId: FeeQuery_FeeEnabledChannels + parameters: + - type: string + format: byte + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + name: pagination.key + in: query + - type: string + format: uint64 + 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 + be set. + name: pagination.offset + in: query + - type: string + format: uint64 + description: |- + 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. + name: pagination.limit + in: query + - type: boolean + 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 + is set. + name: pagination.count_total + in: query + - type: boolean + description: |- + reverse is set to true if results are to be returned in the descending order. + + Since: cosmos-sdk 0.43 + name: pagination.reverse + in: query + - type: string + format: uint64 + description: block height at which to query + name: query_height + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.applications.fee.v1.QueryFeeEnabledChannelsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc/apps/fee/v1/incentivized_packets: + get: + tags: + - Query + summary: IncentivizedPackets returns all incentivized packets and their associated fees + operationId: FeeQuery_IncentivizedPackets + parameters: + - type: string + format: byte + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + name: pagination.key + in: query + - type: string + format: uint64 + 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 + be set. + name: pagination.offset + in: query + - type: string + format: uint64 + description: |- + 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. + name: pagination.limit + in: query + - type: boolean + 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 + is set. + name: pagination.count_total + in: query + - type: boolean + description: |- + reverse is set to true if results are to be returned in the descending order. + + Since: cosmos-sdk 0.43 + name: pagination.reverse + in: query + - type: string + format: uint64 + description: block height at which to query + name: query_height + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.applications.fee.v1.QueryIncentivizedPacketsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc/apps/interchain_accounts/controller/v1/owners/{owner}/connections/{connection_id}: + get: + tags: + - Query + summary: InterchainAccount returns the interchain account address for a given owner address on a given connection + operationId: FeeQuery_InterchainAccount + parameters: + - type: string + name: owner + in: path + required: true + - type: string + name: connection_id + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.applications.interchain_accounts.controller.v1.QueryInterchainAccountResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc/apps/interchain_accounts/controller/v1/params: + get: + tags: + - Query + summary: Params queries all parameters of the ICA controller submodule. + operationId: FeeQuery_Params + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.applications.interchain_accounts.controller.v1.QueryParamsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc/apps/interchain_accounts/host/v1/params: + get: + tags: + - Query + summary: Params queries all parameters of the ICA host submodule. + operationId: FeeQuery_ParamsMixin171 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.applications.interchain_accounts.host.v1.QueryParamsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc/apps/transfer/v1/channels/{channel_id}/ports/{port_id}/escrow_address: + get: + tags: + - Query + summary: EscrowAddress returns the escrow address for a particular port and channel id. + operationId: FeeQuery_EscrowAddress + parameters: + - type: string + description: unique channel identifier + name: channel_id + in: path + required: true + - type: string + description: unique port identifier + name: port_id + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.applications.transfer.v1.QueryEscrowAddressResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc/apps/transfer/v1/denom_hashes/{trace}: + get: + tags: + - Query + summary: DenomHash queries a denomination hash information. + operationId: FeeQuery_DenomHash + parameters: + - pattern: .+ + type: string + description: The denomination trace ([port_id]/[channel_id])+/[denom] + name: trace + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.applications.transfer.v1.QueryDenomHashResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc/apps/transfer/v1/denom_traces: + get: + tags: + - Query + summary: DenomTraces queries all denomination traces. + operationId: FeeQuery_DenomTraces + parameters: + - type: string + format: byte + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + name: pagination.key + in: query + - type: string + format: uint64 + 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 + be set. + name: pagination.offset + in: query + - type: string + format: uint64 + description: |- + 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. + name: pagination.limit + in: query + - type: boolean + 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 + is set. + name: pagination.count_total + in: query + - type: boolean + description: |- + reverse is set to true if results are to be returned in the descending order. + + Since: cosmos-sdk 0.43 + name: pagination.reverse + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.applications.transfer.v1.QueryDenomTracesResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc/apps/transfer/v1/denom_traces/{hash}: + get: + tags: + - Query + summary: DenomTrace queries a denomination trace information. + operationId: FeeQuery_DenomTrace + parameters: + - pattern: .+ + type: string + description: hash (in hex format) or denom (full denom with ibc prefix) of the denomination trace information. + name: hash + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.applications.transfer.v1.QueryDenomTraceResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc/apps/transfer/v1/denoms/{denom}/total_escrow: + get: + tags: + - Query + summary: TotalEscrowForDenom returns the total amount of tokens in escrow based on the denom. + operationId: FeeQuery_TotalEscrowForDenom + parameters: + - pattern: .+ + type: string + name: denom + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.applications.transfer.v1.QueryTotalEscrowForDenomResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc/apps/transfer/v1/params: + get: + tags: + - Query + summary: Params queries all parameters of the ibc-transfer module. + operationId: FeeQuery_ParamsMixin178 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.applications.transfer.v1.QueryParamsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc/core/channel/v1/channels: + get: + tags: + - Query + summary: Channels queries all the IBC channels of a chain. + operationId: FeeQuery_Channels + parameters: + - type: string + format: byte + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + name: pagination.key + in: query + - type: string + format: uint64 + 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 + be set. + name: pagination.offset + in: query + - type: string + format: uint64 + description: |- + 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. + name: pagination.limit + in: query + - type: boolean + 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 + is set. + name: pagination.count_total + in: query + - type: boolean + description: |- + reverse is set to true if results are to be returned in the descending order. + + Since: cosmos-sdk 0.43 + name: pagination.reverse + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.core.channel.v1.QueryChannelsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}: + get: + tags: + - Query + summary: Channel queries an IBC Channel. + operationId: FeeQuery_Channel + parameters: + - type: string + description: channel unique identifier + name: channel_id + in: path + required: true + - type: string + description: port unique identifier + name: port_id + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.core.channel.v1.QueryChannelResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/client_state: + get: + tags: + - Query + summary: |- + ChannelClientState queries for the client state for the channel associated + with the provided channel identifiers. + operationId: FeeQuery_ChannelClientState + parameters: + - type: string + description: channel unique identifier + name: channel_id + in: path + required: true + - type: string + description: port unique identifier + name: port_id + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.core.channel.v1.QueryChannelClientStateResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/consensus_state/revision/{revision_number}/height/{revision_height}: + get: + tags: + - Query + summary: |- + ChannelConsensusState queries for the consensus state for the channel + associated with the provided channel identifiers. + operationId: FeeQuery_ChannelConsensusState + parameters: + - type: string + description: channel unique identifier + name: channel_id + in: path + required: true + - type: string + description: port unique identifier + name: port_id + in: path + required: true + - type: string + format: uint64 + description: revision number of the consensus state + name: revision_number + in: path + required: true + - type: string + format: uint64 + description: revision height of the consensus state + name: revision_height + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.core.channel.v1.QueryChannelConsensusStateResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/next_sequence: + get: + tags: + - Query + summary: NextSequenceReceive returns the next receive sequence for a given channel. + operationId: FeeQuery_NextSequenceReceive + parameters: + - type: string + description: channel unique identifier + name: channel_id + in: path + required: true + - type: string + description: port unique identifier + name: port_id + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.core.channel.v1.QueryNextSequenceReceiveResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/next_sequence_send: + get: + tags: + - Query + summary: NextSequenceSend returns the next send sequence for a given channel. + operationId: FeeQuery_NextSequenceSend + parameters: + - type: string + description: channel unique identifier + name: channel_id + in: path + required: true + - type: string + description: port unique identifier + name: port_id + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.core.channel.v1.QueryNextSequenceSendResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_acknowledgements: + get: + tags: + - Query + summary: |- + PacketAcknowledgements returns all the packet acknowledgements associated + with a channel. + operationId: FeeQuery_PacketAcknowledgements + parameters: + - type: string + description: channel unique identifier + name: channel_id + in: path + required: true + - type: string + description: port unique identifier + name: port_id + in: path + required: true + - type: string + format: byte + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + name: pagination.key + in: query + - type: string + format: uint64 + 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 + be set. + name: pagination.offset + in: query + - type: string + format: uint64 + description: |- + 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. + name: pagination.limit + in: query + - type: boolean + 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 + is set. + name: pagination.count_total + in: query + - type: boolean + description: |- + reverse is set to true if results are to be returned in the descending order. + + Since: cosmos-sdk 0.43 + name: pagination.reverse + in: query + - type: array + items: + type: string + format: uint64 + collectionFormat: multi + description: list of packet sequences + name: packet_commitment_sequences + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.core.channel.v1.QueryPacketAcknowledgementsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_acks/{sequence}: + get: + tags: + - Query + summary: PacketAcknowledgement queries a stored packet acknowledgement hash. + operationId: FeeQuery_PacketAcknowledgement + parameters: + - type: string + description: channel unique identifier + name: channel_id + in: path + required: true + - type: string + description: port unique identifier + name: port_id + in: path + required: true + - type: string + format: uint64 + description: packet sequence + name: sequence + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.core.channel.v1.QueryPacketAcknowledgementResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments: + get: + tags: + - Query + summary: |- + PacketCommitments returns all the packet commitments hashes associated + with a channel. + operationId: FeeQuery_PacketCommitments + parameters: + - type: string + description: channel unique identifier + name: channel_id + in: path + required: true + - type: string + description: port unique identifier + name: port_id + in: path + required: true + - type: string + format: byte + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + name: pagination.key + in: query + - type: string + format: uint64 + 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 + be set. + name: pagination.offset + in: query + - type: string + format: uint64 + description: |- + 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. + name: pagination.limit + in: query + - type: boolean + 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 + is set. + name: pagination.count_total + in: query + - type: boolean + description: |- + reverse is set to true if results are to be returned in the descending order. + + Since: cosmos-sdk 0.43 + name: pagination.reverse + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.core.channel.v1.QueryPacketCommitmentsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{packet_ack_sequences}/unreceived_acks: + get: + tags: + - Query + summary: |- + UnreceivedAcks returns all the unreceived IBC acknowledgements associated + with a channel and sequences. + operationId: FeeQuery_UnreceivedAcks + parameters: + - type: string + description: channel unique identifier + name: channel_id + in: path + required: true + - type: string + description: port unique identifier + name: port_id + in: path + required: true + - minItems: 1 + type: array + items: + type: string + format: uint64 + collectionFormat: csv + description: list of acknowledgement sequences + name: packet_ack_sequences + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.core.channel.v1.QueryUnreceivedAcksResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{packet_commitment_sequences}/unreceived_packets: + get: + tags: + - Query + summary: |- + UnreceivedPackets returns all the unreceived IBC packets associated with a + channel and sequences. + operationId: FeeQuery_UnreceivedPackets + parameters: + - type: string + description: channel unique identifier + name: channel_id + in: path + required: true + - type: string + description: port unique identifier + name: port_id + in: path + required: true + - minItems: 1 + type: array + items: + type: string + format: uint64 + collectionFormat: csv + description: list of packet sequences + name: packet_commitment_sequences + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.core.channel.v1.QueryUnreceivedPacketsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{sequence}: + get: + tags: + - Query + summary: PacketCommitment queries a stored packet commitment hash. + operationId: FeeQuery_PacketCommitment + parameters: + - type: string + description: channel unique identifier + name: channel_id + in: path + required: true + - type: string + description: port unique identifier + name: port_id + in: path + required: true + - type: string + format: uint64 + description: packet sequence + name: sequence + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.core.channel.v1.QueryPacketCommitmentResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_receipts/{sequence}: + get: + tags: + - Query + summary: |- + PacketReceipt queries if a given packet sequence has been received on the + queried chain + operationId: FeeQuery_PacketReceipt + parameters: + - type: string + description: channel unique identifier + name: channel_id + in: path + required: true + - type: string + description: port unique identifier + name: port_id + in: path + required: true + - type: string + format: uint64 + description: packet sequence + name: sequence + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.core.channel.v1.QueryPacketReceiptResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/upgrade: + get: + tags: + - Query + summary: Upgrade returns the upgrade for a given port and channel id. + operationId: FeeQuery_Upgrade + parameters: + - type: string + name: channel_id + in: path + required: true + - type: string + name: port_id + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.core.channel.v1.QueryUpgradeResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/upgrade_error: + get: + tags: + - Query + summary: UpgradeError returns the error receipt if the upgrade handshake failed. + operationId: FeeQuery_UpgradeError + parameters: + - type: string + name: channel_id + in: path + required: true + - type: string + name: port_id + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.core.channel.v1.QueryUpgradeErrorResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc/core/channel/v1/connections/{connection}/channels: + get: + tags: + - Query + summary: |- + ConnectionChannels queries all the channels associated with a connection + end. + operationId: FeeQuery_ConnectionChannels + parameters: + - type: string + description: connection unique identifier + name: connection + in: path + required: true + - type: string + format: byte + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + name: pagination.key + in: query + - type: string + format: uint64 + 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 + be set. + name: pagination.offset + in: query + - type: string + format: uint64 + description: |- + 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. + name: pagination.limit + in: query + - type: boolean + 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 + is set. + name: pagination.count_total + in: query + - type: boolean + description: |- + reverse is set to true if results are to be returned in the descending order. + + Since: cosmos-sdk 0.43 + name: pagination.reverse + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.core.channel.v1.QueryConnectionChannelsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc/core/channel/v1/params: + get: + tags: + - Query + summary: ChannelParams queries all parameters of the ibc channel submodule. + operationId: FeeQuery_ChannelParams + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.core.channel.v1.QueryChannelParamsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc/core/client/v1/client_states: + get: + tags: + - Query + summary: ClientStates queries all the IBC light clients of a chain. + operationId: FeeQuery_ClientStates + parameters: + - type: string + format: byte + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + name: pagination.key + in: query + - type: string + format: uint64 + 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 + be set. + name: pagination.offset + in: query + - type: string + format: uint64 + description: |- + 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. + name: pagination.limit + in: query + - type: boolean + 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 + is set. + name: pagination.count_total + in: query + - type: boolean + description: |- + reverse is set to true if results are to be returned in the descending order. + + Since: cosmos-sdk 0.43 + name: pagination.reverse + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.core.client.v1.QueryClientStatesResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc/core/client/v1/client_states/{client_id}: + get: + tags: + - Query + summary: ClientState queries an IBC light client. + operationId: FeeQuery_ClientState + parameters: + - type: string + description: client state unique identifier + name: client_id + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.core.client.v1.QueryClientStateResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc/core/client/v1/client_status/{client_id}: + get: + tags: + - Query + summary: Status queries the status of an IBC client. + operationId: FeeQuery_ClientStatus + parameters: + - type: string + description: client unique identifier + name: client_id + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.core.client.v1.QueryClientStatusResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc/core/client/v1/consensus_states/{client_id}: + get: + tags: + - Query + summary: |- + ConsensusStates queries all the consensus state associated with a given + client. + operationId: FeeQuery_ConsensusStates + parameters: + - type: string + description: client identifier + name: client_id + in: path + required: true + - type: string + format: byte + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + name: pagination.key + in: query + - type: string + format: uint64 + 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 + be set. + name: pagination.offset + in: query + - type: string + format: uint64 + description: |- + 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. + name: pagination.limit + in: query + - type: boolean + 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 + is set. + name: pagination.count_total + in: query + - type: boolean + description: |- + reverse is set to true if results are to be returned in the descending order. + + Since: cosmos-sdk 0.43 + name: pagination.reverse + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.core.client.v1.QueryConsensusStatesResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc/core/client/v1/consensus_states/{client_id}/heights: + get: + tags: + - Query + summary: ConsensusStateHeights queries the height of every consensus states associated with a given client. + operationId: FeeQuery_ConsensusStateHeights + parameters: + - type: string + description: client identifier + name: client_id + in: path + required: true + - type: string + format: byte + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + name: pagination.key + in: query + - type: string + format: uint64 + 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 + be set. + name: pagination.offset + in: query + - type: string + format: uint64 + description: |- + 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. + name: pagination.limit + in: query + - type: boolean + 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 + is set. + name: pagination.count_total + in: query + - type: boolean + description: |- + reverse is set to true if results are to be returned in the descending order. + + Since: cosmos-sdk 0.43 + name: pagination.reverse + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.core.client.v1.QueryConsensusStateHeightsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc/core/client/v1/consensus_states/{client_id}/revision/{revision_number}/height/{revision_height}: + get: + tags: + - Query + summary: |- + ConsensusState queries a consensus state associated with a client state at + a given height. + operationId: FeeQuery_ConsensusState + parameters: + - type: string + description: client identifier + name: client_id + in: path + required: true + - type: string + format: uint64 + description: consensus state revision number + name: revision_number + in: path + required: true + - type: string + format: uint64 + description: consensus state revision height + name: revision_height + in: path + required: true + - type: boolean + description: |- + latest_height overrrides the height field and queries the latest stored + ConsensusState + name: latest_height + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.core.client.v1.QueryConsensusStateResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc/core/client/v1/params: + get: + tags: + - Query + summary: ClientParams queries all parameters of the ibc client submodule. + operationId: FeeQuery_ClientParams + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.core.client.v1.QueryClientParamsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc/core/client/v1/upgraded_client_states: + get: + tags: + - Query + summary: UpgradedClientState queries an Upgraded IBC light client. + operationId: FeeQuery_UpgradedClientState + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.core.client.v1.QueryUpgradedClientStateResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc/core/client/v1/upgraded_consensus_states: + get: + tags: + - Query + summary: UpgradedConsensusState queries an Upgraded IBC consensus state. + operationId: FeeQuery_UpgradedConsensusState + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.core.client.v1.QueryUpgradedConsensusStateResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc/core/connection/v1/client_connections/{client_id}: + get: + tags: + - Query + summary: |- + ClientConnections queries the connection paths associated with a client + state. + operationId: FeeQuery_ClientConnections + parameters: + - type: string + description: client identifier associated with a connection + name: client_id + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.core.connection.v1.QueryClientConnectionsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc/core/connection/v1/connections: + get: + tags: + - Query + summary: Connections queries all the IBC connections of a chain. + operationId: FeeQuery_Connections + parameters: + - type: string + format: byte + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + name: pagination.key + in: query + - type: string + format: uint64 + 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 + be set. + name: pagination.offset + in: query + - type: string + format: uint64 + description: |- + 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. + name: pagination.limit + in: query + - type: boolean + 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 + is set. + name: pagination.count_total + in: query + - type: boolean + description: |- + reverse is set to true if results are to be returned in the descending order. + + Since: cosmos-sdk 0.43 + name: pagination.reverse + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.core.connection.v1.QueryConnectionsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc/core/connection/v1/connections/{connection_id}: + get: + tags: + - Query + summary: Connection queries an IBC connection end. + operationId: FeeQuery_Connection + parameters: + - type: string + description: connection unique identifier + name: connection_id + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.core.connection.v1.QueryConnectionResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc/core/connection/v1/connections/{connection_id}/client_state: + get: + tags: + - Query + summary: |- + ConnectionClientState queries the client state associated with the + connection. + operationId: FeeQuery_ConnectionClientState + parameters: + - type: string + description: connection identifier + name: connection_id + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.core.connection.v1.QueryConnectionClientStateResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc/core/connection/v1/connections/{connection_id}/consensus_state/revision/{revision_number}/height/{revision_height}: + get: + tags: + - Query + summary: |- + ConnectionConsensusState queries the consensus state associated with the + connection. + operationId: FeeQuery_ConnectionConsensusState + parameters: + - type: string + description: connection identifier + name: connection_id + in: path + required: true + - type: string + format: uint64 + name: revision_number + in: path + required: true + - type: string + format: uint64 + name: revision_height + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.core.connection.v1.QueryConnectionConsensusStateResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc/core/connection/v1/params: + get: + tags: + - Query + summary: ConnectionParams queries all parameters of the ibc connection submodule. + operationId: FeeQuery_ConnectionParams + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.core.connection.v1.QueryConnectionParamsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc/lightclients/wasm/v1/checksums: + get: + tags: + - Query + summary: Get all Wasm checksums + operationId: FeeQuery_Checksums + parameters: + - type: string + format: byte + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + name: pagination.key + in: query + - type: string + format: uint64 + 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 + be set. + name: pagination.offset + in: query + - type: string + format: uint64 + description: |- + 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. + name: pagination.limit + in: query + - type: boolean + 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 + is set. + name: pagination.count_total + in: query + - type: boolean + description: |- + reverse is set to true if results are to be returned in the descending order. + + Since: cosmos-sdk 0.43 + name: pagination.reverse + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.lightclients.wasm.v1.QueryChecksumsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /ibc/lightclients/wasm/v1/checksums/{checksum}/code: + get: + tags: + - Query + summary: Get Wasm code for given checksum + operationId: FeeQuery_Code + parameters: + - type: string + description: checksum is a hex encoded string of the code stored. + name: checksum + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/ibc.lightclients.wasm.v1.QueryCodeResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /pokt-network/poktroll/application/application: + get: + tags: + - Query + operationId: GithubCompoktNetworkpoktrollQuery_AllApplications + parameters: + - type: string + format: byte + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + name: pagination.key + in: query + - type: string + format: uint64 + 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 + be set. + name: pagination.offset + in: query + - type: string + format: uint64 + description: |- + 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. + name: pagination.limit + in: query + - type: boolean + 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 + is set. + name: pagination.count_total + in: query + - type: boolean + description: |- + reverse is set to true if results are to be returned in the descending order. + + Since: cosmos-sdk 0.43 + name: pagination.reverse + in: query + - type: string + description: |- + TODO_MAINNET(@adshmh): rename this field to `gateway_address_delegated_to` + delegatee_gateway_address, if specified, filters the application list to only include those with delegation to the specified gateway address. + name: delegatee_gateway_address + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/poktroll.application.QueryAllApplicationsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /pokt-network/poktroll/application/application/{address}: + get: + tags: + - Query + summary: Queries a list of Application items. + operationId: GithubCompoktNetworkpoktrollQuery_Application + parameters: + - type: string + name: address + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/poktroll.application.QueryGetApplicationResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /pokt-network/poktroll/application/params: + get: + tags: + - Query + summary: Parameters queries the parameters of the module. + operationId: GithubCompoktNetworkpoktrollQuery_Params + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/poktroll.application.QueryParamsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /pokt-network/poktroll/gateway/gateway: + get: + tags: + - Query + operationId: GithubCompoktNetworkpoktrollQuery_AllGateways + parameters: + - type: string + format: byte + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + name: pagination.key + in: query + - type: string + format: uint64 + 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 + be set. + name: pagination.offset + in: query + - type: string + format: uint64 + description: |- + 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. + name: pagination.limit + in: query + - type: boolean + 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 + is set. + name: pagination.count_total + in: query + - type: boolean + description: |- + reverse is set to true if results are to be returned in the descending order. + + Since: cosmos-sdk 0.43 + name: pagination.reverse + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/poktroll.gateway.QueryAllGatewaysResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /pokt-network/poktroll/gateway/gateway/{address}: + get: + tags: + - Query + summary: Queries a list of Gateway items. + operationId: GithubCompoktNetworkpoktrollQuery_Gateway + parameters: + - type: string + name: address + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/poktroll.gateway.QueryGetGatewayResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /pokt-network/poktroll/gateway/params: + get: + tags: + - Query + summary: Parameters queries the parameters of the module. + operationId: GithubCompoktNetworkpoktrollQuery_ParamsMixin9 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/poktroll.gateway.QueryParamsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /pokt-network/poktroll/proof/claim: + get: + tags: + - Query + operationId: GithubCompoktNetworkpoktrollQuery_AllClaims + parameters: + - type: string + format: byte + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + name: pagination.key + in: query + - type: string + format: uint64 + 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 + be set. + name: pagination.offset + in: query + - type: string + format: uint64 + description: |- + 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. + name: pagination.limit + in: query + - type: boolean + 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 + is set. + name: pagination.count_total + in: query + - type: boolean + description: |- + reverse is set to true if results are to be returned in the descending order. + + Since: cosmos-sdk 0.43 + name: pagination.reverse + in: query + - type: string + name: supplier_operator_address + in: query + - type: string + name: session_id + in: query + - type: string + format: uint64 + name: session_end_height + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/poktroll.proof.QueryAllClaimsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /pokt-network/poktroll/proof/claim/{session_id}/{supplier_operator_address}: + get: + tags: + - Query + summary: Queries a list of Claim items. + operationId: GithubCompoktNetworkpoktrollQuery_Claim + parameters: + - type: string + name: session_id + in: path + required: true + - type: string + name: supplier_operator_address + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/poktroll.proof.QueryGetClaimResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /pokt-network/poktroll/proof/params: + get: + tags: + - Query + summary: Parameters queries the parameters of the module. + operationId: GithubCompoktNetworkpoktrollQuery_ParamsMixin15 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/poktroll.proof.QueryParamsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /pokt-network/poktroll/proof/proof: + get: + tags: + - Query + operationId: GithubCompoktNetworkpoktrollQuery_AllProofs + parameters: + - type: string + format: byte + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + name: pagination.key + in: query + - type: string + format: uint64 + 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 + be set. + name: pagination.offset + in: query + - type: string + format: uint64 + description: |- + 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. + name: pagination.limit + in: query + - type: boolean + 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 + is set. + name: pagination.count_total + in: query + - type: boolean + description: |- + reverse is set to true if results are to be returned in the descending order. + + Since: cosmos-sdk 0.43 + name: pagination.reverse + in: query + - type: string + name: supplier_operator_address + in: query + - type: string + name: session_id + in: query + - type: string + format: uint64 + name: session_end_height + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/poktroll.proof.QueryAllProofsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /pokt-network/poktroll/proof/proof/{session_id}/{supplier_operator_address}: + get: + tags: + - Query + summary: Queries a list of Proof items. + operationId: GithubCompoktNetworkpoktrollQuery_Proof + parameters: + - type: string + name: session_id + in: path + required: true + - type: string + name: supplier_operator_address + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/poktroll.proof.QueryGetProofResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /pokt-network/poktroll/service/params: + get: + tags: + - Query + summary: Parameters queries the parameters of the module. + operationId: GithubCompoktNetworkpoktrollQuery_ParamsMixin21 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/poktroll.service.QueryParamsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /pokt-network/poktroll/service/relay_mining_difficulty: + get: + tags: + - Query + operationId: GithubCompoktNetworkpoktrollQuery_RelayMiningDifficultyAll + parameters: + - type: string + format: byte + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + name: pagination.key + in: query + - type: string + format: uint64 + 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 + be set. + name: pagination.offset + in: query + - type: string + format: uint64 + description: |- + 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. + name: pagination.limit + in: query + - type: boolean + 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 + is set. + name: pagination.count_total + in: query + - type: boolean + description: |- + reverse is set to true if results are to be returned in the descending order. + + Since: cosmos-sdk 0.43 + name: pagination.reverse + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/poktroll.service.QueryAllRelayMiningDifficultyResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /pokt-network/poktroll/service/relay_mining_difficulty/{serviceId}: + get: + tags: + - Query + summary: Queries a list of RelayMiningDifficulty items. + operationId: GithubCompoktNetworkpoktrollQuery_RelayMiningDifficulty + parameters: + - type: string + name: serviceId + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/poktroll.service.QueryGetRelayMiningDifficultyResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /pokt-network/poktroll/service/service: + get: + tags: + - Query + operationId: GithubCompoktNetworkpoktrollQuery_AllServices + parameters: + - type: string + format: byte + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + name: pagination.key + in: query + - type: string + format: uint64 + 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 + be set. + name: pagination.offset + in: query + - type: string + format: uint64 + description: |- + 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. + name: pagination.limit + in: query + - type: boolean + 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 + is set. + name: pagination.count_total + in: query + - type: boolean + description: |- + reverse is set to true if results are to be returned in the descending order. + + Since: cosmos-sdk 0.43 + name: pagination.reverse + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/poktroll.service.QueryAllServicesResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /pokt-network/poktroll/service/service/{id}: + get: + tags: + - Query + summary: Queries a list of Service items. + operationId: GithubCompoktNetworkpoktrollQuery_Service + parameters: + - type: string + description: 'TODO_IMPROVE: We could support getting services by name.' + name: id + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/poktroll.service.QueryGetServiceResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /pokt-network/poktroll/session/get_session: + get: + tags: + - Query + summary: Queries the session given app_address, service and block_height. + operationId: GithubCompoktNetworkpoktrollQuery_GetSession + parameters: + - type: string + description: The Bech32 address of the application. + name: application_address + in: query + - type: string + description: The service ID to query the session for + name: service_id + in: query + - type: string + format: int64 + description: The block height to query the session for + name: block_height + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/poktroll.session.QueryGetSessionResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /pokt-network/poktroll/session/params: + get: + tags: + - Query + summary: Parameters queries the parameters of the module. + operationId: GithubCompoktNetworkpoktrollQuery_ParamsMixin27 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/poktroll.session.QueryParamsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /pokt-network/poktroll/shared/params: + get: + tags: + - Query + summary: Parameters queries the parameters of the module. + operationId: GithubCompoktNetworkpoktrollQuery_ParamsMixin32 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/poktroll.shared.QueryParamsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /pokt-network/poktroll/supplier/params: + get: + tags: + - Query + summary: Parameters queries the parameters of the module. + operationId: GithubCompoktNetworkpoktrollQuery_ParamsMixin39 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/poktroll.supplier.QueryParamsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /pokt-network/poktroll/supplier/supplier: + get: + tags: + - Query + operationId: GithubCompoktNetworkpoktrollQuery_AllSuppliers + parameters: + - type: string + format: byte + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + name: pagination.key + in: query + - type: string + format: uint64 + 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 + be set. + name: pagination.offset + in: query + - type: string + format: uint64 + description: |- + 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. + name: pagination.limit + in: query + - type: boolean + 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 + is set. + name: pagination.count_total + in: query + - type: boolean + description: |- + reverse is set to true if results are to be returned in the descending order. + + Since: cosmos-sdk 0.43 + name: pagination.reverse + in: query + - type: string + description: unique service identifier to filter by + name: service_id + in: query + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/poktroll.supplier.QueryAllSuppliersResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /pokt-network/poktroll/supplier/supplier/{operator_address}: + get: + tags: + - Query + summary: Queries a list of Supplier items. + operationId: GithubCompoktNetworkpoktrollQuery_Supplier + parameters: + - type: string + description: 'TODO_TECHDEBT: Add the ability to query for a supplier by owner_id' + name: operator_address + in: path + required: true + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/poktroll.supplier.QueryGetSupplierResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /pokt-network/poktroll/tokenomics/params: + get: + tags: + - Query + summary: Parameters queries the parameters of the module. + operationId: GithubCompoktNetworkpoktrollQuery_ParamsMixin44 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/poktroll.tokenomics.QueryParamsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /poktroll.application.Msg/DelegateToGateway: + post: + tags: + - Msg + operationId: GithubCompoktNetworkpoktrollMsg_DelegateToGateway + parameters: + - name: body + in: body + required: true + schema: + $ref: '#/definitions/poktroll.application.MsgDelegateToGateway' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/poktroll.application.MsgDelegateToGatewayResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /poktroll.application.Msg/StakeApplication: + post: + tags: + - Msg + operationId: GithubCompoktNetworkpoktrollMsg_StakeApplication + parameters: + - name: body + in: body + required: true + schema: + $ref: '#/definitions/poktroll.application.MsgStakeApplication' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/poktroll.application.MsgStakeApplicationResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /poktroll.application.Msg/TransferApplication: + post: + tags: + - Msg + operationId: GithubCompoktNetworkpoktrollMsg_TransferApplication + parameters: + - name: body + in: body + required: true + schema: + $ref: '#/definitions/poktroll.application.MsgTransferApplication' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/poktroll.application.MsgTransferApplicationResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /poktroll.application.Msg/UndelegateFromGateway: + post: + tags: + - Msg + operationId: GithubCompoktNetworkpoktrollMsg_UndelegateFromGateway + parameters: + - name: body + in: body + required: true + schema: + $ref: '#/definitions/poktroll.application.MsgUndelegateFromGateway' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/poktroll.application.MsgUndelegateFromGatewayResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /poktroll.application.Msg/UnstakeApplication: + post: + tags: + - Msg + operationId: GithubCompoktNetworkpoktrollMsg_UnstakeApplication + parameters: + - name: body + in: body + required: true + schema: + $ref: '#/definitions/poktroll.application.MsgUnstakeApplication' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/poktroll.application.MsgUnstakeApplicationResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /poktroll.application.Msg/UpdateParam: + post: + tags: + - Msg + operationId: GithubCompoktNetworkpoktrollMsg_UpdateParam + parameters: + - name: body + in: body + required: true + schema: + $ref: '#/definitions/poktroll.application.MsgUpdateParam' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/poktroll.application.MsgUpdateParamResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /poktroll.application.Msg/UpdateParams: + post: + tags: + - Msg + summary: |- + UpdateParams defines a (governance) operation for updating the module + parameters. The authority defaults to the x/gov module account. + operationId: GithubCompoktNetworkpoktrollMsg_UpdateParams + parameters: + - description: MsgUpdateParams is the Msg/UpdateParams request type. + name: body + in: body + required: true + schema: + $ref: '#/definitions/poktroll.application.MsgUpdateParams' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/poktroll.application.MsgUpdateParamsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /poktroll.gateway.Msg/StakeGateway: + post: + tags: + - Msg + operationId: GithubCompoktNetworkpoktrollMsg_StakeGateway + parameters: + - name: body + in: body + required: true + schema: + $ref: '#/definitions/poktroll.gateway.MsgStakeGateway' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/poktroll.gateway.MsgStakeGatewayResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /poktroll.gateway.Msg/UnstakeGateway: + post: + tags: + - Msg + operationId: GithubCompoktNetworkpoktrollMsg_UnstakeGateway + parameters: + - name: body + in: body + required: true + schema: + $ref: '#/definitions/poktroll.gateway.MsgUnstakeGateway' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/poktroll.gateway.MsgUnstakeGatewayResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /poktroll.gateway.Msg/UpdateParam: + post: + tags: + - Msg + operationId: GithubCompoktNetworkpoktrollMsg_UpdateParamMixin10 + parameters: + - description: MsgUpdateParam is the Msg/UpdateParam request type to update a single param. + name: body + in: body + required: true + schema: + $ref: '#/definitions/poktroll.gateway.MsgUpdateParam' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/poktroll.gateway.MsgUpdateParamResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /poktroll.gateway.Msg/UpdateParams: + post: + tags: + - Msg + summary: |- + UpdateParams defines a (governance) operation for updating the module + parameters. The authority defaults to the x/gov module account. + operationId: GithubCompoktNetworkpoktrollMsg_UpdateParamsMixin10 + parameters: + - description: MsgUpdateParams is the Msg/UpdateParams request type. + name: body + in: body + required: true + schema: + $ref: '#/definitions/poktroll.gateway.MsgUpdateParams' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/poktroll.gateway.MsgUpdateParamsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /poktroll.proof.Msg/CreateClaim: + post: + tags: + - Msg + operationId: GithubCompoktNetworkpoktrollMsg_CreateClaim + parameters: + - name: body + in: body + required: true + schema: + $ref: '#/definitions/poktroll.proof.MsgCreateClaim' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/poktroll.proof.MsgCreateClaimResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /poktroll.proof.Msg/SubmitProof: + post: + tags: + - Msg + operationId: GithubCompoktNetworkpoktrollMsg_SubmitProof + parameters: + - name: body + in: body + required: true + schema: + $ref: '#/definitions/poktroll.proof.MsgSubmitProof' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/poktroll.proof.MsgSubmitProofResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /poktroll.proof.Msg/UpdateParam: + post: + tags: + - Msg + operationId: GithubCompoktNetworkpoktrollMsg_UpdateParamMixin16 + parameters: + - description: MsgUpdateParam is the Msg/UpdateParam request type to update a single param. + name: body + in: body + required: true + schema: + $ref: '#/definitions/poktroll.proof.MsgUpdateParam' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/poktroll.proof.MsgUpdateParamResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /poktroll.proof.Msg/UpdateParams: + post: + tags: + - Msg + summary: |- + UpdateParams defines a (governance) operation for updating the module + parameters. The authority defaults to the x/gov module account. + operationId: GithubCompoktNetworkpoktrollMsg_UpdateParamsMixin16 + parameters: + - description: MsgUpdateParams is the Msg/UpdateParams request type to update all params at once. + name: body + in: body + required: true + schema: + $ref: '#/definitions/poktroll.proof.MsgUpdateParams' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/poktroll.proof.MsgUpdateParamsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /poktroll.service.Msg/AddService: + post: + tags: + - Msg + operationId: GithubCompoktNetworkpoktrollMsg_AddService + parameters: + - description: |- + MsgAddService defines a message for adding a new message to the network. + Services can be added by any actor in the network making them truly + permissionless. + name: body + in: body + required: true + schema: + $ref: '#/definitions/poktroll.service.MsgAddService' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/poktroll.service.MsgAddServiceResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /poktroll.service.Msg/UpdateParam: + post: + tags: + - Msg + operationId: GithubCompoktNetworkpoktrollMsg_UpdateParamMixin24 + parameters: + - description: MsgUpdateParam is the Msg/UpdateParam request type to update a single param. + name: body + in: body + required: true + schema: + $ref: '#/definitions/poktroll.service.MsgUpdateParam' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/poktroll.service.MsgUpdateParamResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /poktroll.service.Msg/UpdateParams: + post: + tags: + - Msg + summary: |- + UpdateParams defines a (governance) operation for updating the module + parameters. The authority defaults to the x/gov module account. + operationId: GithubCompoktNetworkpoktrollMsg_UpdateParamsMixin24 + parameters: + - description: MsgUpdateParams is the Msg/UpdateParams request type. + name: body + in: body + required: true + schema: + $ref: '#/definitions/poktroll.service.MsgUpdateParams' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/poktroll.service.MsgUpdateParamsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /poktroll.session.Msg/UpdateParam: + post: + tags: + - Msg + operationId: GithubCompoktNetworkpoktrollMsg_UpdateParamMixin28 + parameters: + - name: body + in: body + required: true + schema: + $ref: '#/definitions/poktroll.session.MsgUpdateParam' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/poktroll.session.MsgUpdateParamResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /poktroll.session.Msg/UpdateParams: + post: + tags: + - Msg + summary: |- + UpdateParams defines a (governance) operation for updating the module + parameters. The authority defaults to the x/gov module account. + operationId: GithubCompoktNetworkpoktrollMsg_UpdateParamsMixin28 + parameters: + - description: MsgUpdateParams is the Msg/UpdateParams request type. + name: body + in: body + required: true + schema: + $ref: '#/definitions/poktroll.session.MsgUpdateParams' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/poktroll.session.MsgUpdateParamsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /poktroll.shared.Msg/UpdateParam: + post: + tags: + - Msg + operationId: GithubCompoktNetworkpoktrollMsg_UpdateParamMixin35 + parameters: + - description: MsgUpdateParam is the Msg/UpdateParam request type to update a single param. + name: body + in: body + required: true + schema: + $ref: '#/definitions/poktroll.shared.MsgUpdateParam' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/poktroll.shared.MsgUpdateParamResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /poktroll.shared.Msg/UpdateParams: + post: + tags: + - Msg + summary: |- + UpdateParams defines a (governance) operation for updating the module + parameters. The authority defaults to the x/gov module account. + operationId: GithubCompoktNetworkpoktrollMsg_UpdateParamsMixin35 + parameters: + - description: MsgUpdateParams is the Msg/UpdateParams request type. + name: body + in: body + required: true + schema: + $ref: '#/definitions/poktroll.shared.MsgUpdateParams' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/poktroll.shared.MsgUpdateParamsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /poktroll.supplier.Msg/StakeSupplier: + post: + tags: + - Msg + operationId: GithubCompoktNetworkpoktrollMsg_StakeSupplier + parameters: + - name: body + in: body + required: true + schema: + $ref: '#/definitions/poktroll.supplier.MsgStakeSupplier' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/poktroll.supplier.MsgStakeSupplierResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /poktroll.supplier.Msg/UnstakeSupplier: + post: + tags: + - Msg + operationId: GithubCompoktNetworkpoktrollMsg_UnstakeSupplier + parameters: + - name: body + in: body + required: true + schema: + $ref: '#/definitions/poktroll.supplier.MsgUnstakeSupplier' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/poktroll.supplier.MsgUnstakeSupplierResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /poktroll.supplier.Msg/UpdateParam: + post: + tags: + - Msg + operationId: GithubCompoktNetworkpoktrollMsg_UpdateParamMixin40 + parameters: + - description: MsgUpdateParam is the Msg/UpdateParam request type to update a single param. + name: body + in: body + required: true + schema: + $ref: '#/definitions/poktroll.supplier.MsgUpdateParam' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/poktroll.supplier.MsgUpdateParamResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /poktroll.supplier.Msg/UpdateParams: + post: + tags: + - Msg + summary: |- + UpdateParams defines a (governance) operation for updating the module + parameters. The authority defaults to the x/gov module account. + operationId: GithubCompoktNetworkpoktrollMsg_UpdateParamsMixin40 + parameters: + - description: MsgUpdateParams is the Msg/UpdateParams request type. + name: body + in: body + required: true + schema: + $ref: '#/definitions/poktroll.supplier.MsgUpdateParams' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/poktroll.supplier.MsgUpdateParamsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /poktroll.tokenomics.Msg/UpdateParam: + post: + tags: + - Msg + operationId: GithubCompoktNetworkpoktrollMsg_UpdateParamMixin45 + parameters: + - description: MsgUpdateParam is the Msg/UpdateParam request type to update a single param. + name: body + in: body + required: true + schema: + $ref: '#/definitions/poktroll.tokenomics.MsgUpdateParam' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/poktroll.tokenomics.MsgUpdateParamResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /poktroll.tokenomics.Msg/UpdateParams: + post: + tags: + - Msg + summary: |- + UpdateParams defines a (governance) operation for updating the module + parameters. The authority defaults to the x/gov module account. + operationId: GithubCompoktNetworkpoktrollMsg_UpdateParamsMixin45 + parameters: + - description: MsgUpdateParams is the Msg/UpdateParams request type to update all params at once. + name: body + in: body + required: true + schema: + $ref: '#/definitions/poktroll.tokenomics.MsgUpdateParams' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/poktroll.tokenomics.MsgUpdateParamsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /tendermint.abci.ABCI/ApplySnapshotChunk: + post: + tags: + - ABCI + operationId: CircuitABCI_ApplySnapshotChunk + parameters: + - name: body + in: body + required: true + schema: + $ref: '#/definitions/tendermint.abci.RequestApplySnapshotChunk' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/tendermint.abci.ResponseApplySnapshotChunk' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /tendermint.abci.ABCI/CheckTx: + post: + tags: + - ABCI + operationId: CircuitABCI_CheckTx + parameters: + - name: body + in: body + required: true + schema: + $ref: '#/definitions/tendermint.abci.RequestCheckTx' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/tendermint.abci.ResponseCheckTx' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /tendermint.abci.ABCI/Commit: + post: + tags: + - ABCI + operationId: CircuitABCI_Commit + parameters: + - name: body + in: body + required: true + schema: + $ref: '#/definitions/tendermint.abci.RequestCommit' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/tendermint.abci.ResponseCommit' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /tendermint.abci.ABCI/Echo: + post: + tags: + - ABCI + operationId: CircuitABCI_Echo + parameters: + - name: body + in: body + required: true + schema: + $ref: '#/definitions/tendermint.abci.RequestEcho' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/tendermint.abci.ResponseEcho' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /tendermint.abci.ABCI/ExtendVote: + post: + tags: + - ABCI + operationId: CircuitABCI_ExtendVote + parameters: + - name: body + in: body + required: true + schema: + $ref: '#/definitions/tendermint.abci.RequestExtendVote' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/tendermint.abci.ResponseExtendVote' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /tendermint.abci.ABCI/FinalizeBlock: + post: + tags: + - ABCI + operationId: CircuitABCI_FinalizeBlock + parameters: + - name: body + in: body + required: true + schema: + $ref: '#/definitions/tendermint.abci.RequestFinalizeBlock' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/tendermint.abci.ResponseFinalizeBlock' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /tendermint.abci.ABCI/Flush: + post: + tags: + - ABCI + operationId: CircuitABCI_Flush + parameters: + - name: body + in: body + required: true + schema: + $ref: '#/definitions/tendermint.abci.RequestFlush' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/tendermint.abci.ResponseFlush' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /tendermint.abci.ABCI/Info: + post: + tags: + - ABCI + operationId: CircuitABCI_Info + parameters: + - name: body + in: body + required: true + schema: + $ref: '#/definitions/tendermint.abci.RequestInfo' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/tendermint.abci.ResponseInfo' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /tendermint.abci.ABCI/InitChain: + post: + tags: + - ABCI + operationId: CircuitABCI_InitChain + parameters: + - name: body + in: body + required: true + schema: + $ref: '#/definitions/tendermint.abci.RequestInitChain' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/tendermint.abci.ResponseInitChain' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /tendermint.abci.ABCI/ListSnapshots: + post: + tags: + - ABCI + operationId: CircuitABCI_ListSnapshots + parameters: + - name: body + in: body + required: true + schema: + $ref: '#/definitions/tendermint.abci.RequestListSnapshots' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/tendermint.abci.ResponseListSnapshots' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /tendermint.abci.ABCI/LoadSnapshotChunk: + post: + tags: + - ABCI + operationId: CircuitABCI_LoadSnapshotChunk + parameters: + - name: body + in: body + required: true + schema: + $ref: '#/definitions/tendermint.abci.RequestLoadSnapshotChunk' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/tendermint.abci.ResponseLoadSnapshotChunk' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /tendermint.abci.ABCI/OfferSnapshot: + post: + tags: + - ABCI + operationId: CircuitABCI_OfferSnapshot + parameters: + - name: body + in: body + required: true + schema: + $ref: '#/definitions/tendermint.abci.RequestOfferSnapshot' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/tendermint.abci.ResponseOfferSnapshot' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /tendermint.abci.ABCI/PrepareProposal: + post: + tags: + - ABCI + operationId: CircuitABCI_PrepareProposal + parameters: + - name: body + in: body + required: true + schema: + $ref: '#/definitions/tendermint.abci.RequestPrepareProposal' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/tendermint.abci.ResponsePrepareProposal' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /tendermint.abci.ABCI/ProcessProposal: + post: + tags: + - ABCI + operationId: CircuitABCI_ProcessProposal + parameters: + - name: body + in: body + required: true + schema: + $ref: '#/definitions/tendermint.abci.RequestProcessProposal' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/tendermint.abci.ResponseProcessProposal' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /tendermint.abci.ABCI/Query: + post: + tags: + - ABCI + operationId: CircuitABCI_Query + parameters: + - name: body + in: body + required: true + schema: + $ref: '#/definitions/tendermint.abci.RequestQuery' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/tendermint.abci.ResponseQuery' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' + /tendermint.abci.ABCI/VerifyVoteExtension: + post: + tags: + - ABCI + operationId: CircuitABCI_VerifyVoteExtension + parameters: + - name: body + in: body + required: true + schema: + $ref: '#/definitions/tendermint.abci.RequestVerifyVoteExtension' + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/tendermint.abci.ResponseVerifyVoteExtension' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/google.rpc.Status' +definitions: + cosmos.auth.v1beta1.AddressBytesToStringResponse: + description: |- + AddressBytesToStringResponse is the response type for AddressString rpc method. + + Since: cosmos-sdk 0.46 + type: object + properties: + address_string: + type: string + cosmos.auth.v1beta1.AddressStringToBytesResponse: + description: |- + AddressStringToBytesResponse is the response type for AddressBytes rpc method. + + Since: cosmos-sdk 0.46 + type: object + properties: + address_bytes: + type: string + format: byte + cosmos.auth.v1beta1.BaseAccount: + description: |- + 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). + type: object + properties: + account_number: + type: string + format: uint64 + address: + type: string + pub_key: + $ref: '#/definitions/google.protobuf.Any' + sequence: + type: string + format: uint64 + cosmos.auth.v1beta1.Bech32PrefixResponse: + description: |- + Bech32PrefixResponse is the response type for Bech32Prefix rpc method. + + Since: cosmos-sdk 0.46 + type: object + properties: + bech32_prefix: + type: string + cosmos.auth.v1beta1.MsgUpdateParams: + description: |- + MsgUpdateParams is the Msg/UpdateParams request type. + + Since: cosmos-sdk 0.47 + type: object + properties: + authority: + description: authority is the address that controls the module (defaults to x/gov unless overwritten). + type: string + params: + description: |- + params defines the x/auth parameters to update. + + NOTE: All parameters must be supplied. + $ref: '#/definitions/cosmos.auth.v1beta1.Params' + cosmos.auth.v1beta1.MsgUpdateParamsResponse: + description: |- + MsgUpdateParamsResponse defines the response structure for executing a + MsgUpdateParams message. + + Since: cosmos-sdk 0.47 + type: object + cosmos.auth.v1beta1.Params: + description: Params defines the parameters for the auth module. + type: object + properties: + max_memo_characters: + type: string + format: uint64 + sig_verify_cost_ed25519: + type: string + format: uint64 + sig_verify_cost_secp256k1: + type: string + format: uint64 + tx_sig_limit: + type: string + format: uint64 + tx_size_cost_per_byte: + type: string + format: uint64 + cosmos.auth.v1beta1.QueryAccountAddressByIDResponse: + description: 'Since: cosmos-sdk 0.46.2' + type: object + title: QueryAccountAddressByIDResponse is the response type for AccountAddressByID rpc method + properties: + account_address: + type: string + cosmos.auth.v1beta1.QueryAccountInfoResponse: + description: |- + QueryAccountInfoResponse is the Query/AccountInfo response type. + + Since: cosmos-sdk 0.47 + type: object + properties: + info: + description: info is the account info which is represented by BaseAccount. + $ref: '#/definitions/cosmos.auth.v1beta1.BaseAccount' + cosmos.auth.v1beta1.QueryAccountResponse: + description: QueryAccountResponse is the response type for the Query/Account RPC method. + type: object + properties: + account: + description: account defines the account of the corresponding address. + $ref: '#/definitions/google.protobuf.Any' + cosmos.auth.v1beta1.QueryAccountsResponse: + description: |- + QueryAccountsResponse is the response type for the Query/Accounts RPC method. + + Since: cosmos-sdk 0.43 + type: object + properties: + accounts: + type: array + title: accounts are the existing accounts + items: + type: object + $ref: '#/definitions/google.protobuf.Any' + pagination: + description: pagination defines the pagination in the response. + $ref: '#/definitions/cosmos.base.query.v1beta1.PageResponse' + cosmos.auth.v1beta1.QueryModuleAccountByNameResponse: + description: QueryModuleAccountByNameResponse is the response type for the Query/ModuleAccountByName RPC method. + type: object + properties: + account: + $ref: '#/definitions/google.protobuf.Any' + cosmos.auth.v1beta1.QueryModuleAccountsResponse: + description: |- + QueryModuleAccountsResponse is the response type for the Query/ModuleAccounts RPC method. + + Since: cosmos-sdk 0.46 + type: object + properties: + accounts: + type: array + items: + type: object + $ref: '#/definitions/google.protobuf.Any' + cosmos.auth.v1beta1.QueryParamsResponse: + description: QueryParamsResponse is the response type for the Query/Params RPC method. + type: object + properties: + params: + description: params defines the parameters of the module. + $ref: '#/definitions/cosmos.auth.v1beta1.Params' + cosmos.authz.v1beta1.Grant: + description: |- + Grant gives permissions to execute + the provide method with expiration time. + type: object + properties: + authorization: + $ref: '#/definitions/google.protobuf.Any' + 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` + may apply to invalidate the grant) + cosmos.authz.v1beta1.GrantAuthorization: + type: object + title: |- + GrantAuthorization extends a grant with both the addresses of the grantee and granter. + It is used in genesis.proto and query.proto + properties: + authorization: + $ref: '#/definitions/google.protobuf.Any' + expiration: + type: string + format: date-time + grantee: + type: string + granter: + type: string + cosmos.authz.v1beta1.MsgExec: + description: |- + MsgExec attempts to execute the provided messages using + authorizations granted to the grantee. Each message should have only + one signer corresponding to the granter of the authorization. + type: object + properties: + grantee: + type: string + msgs: + description: |- + Execute Msg. + The x/authz will try to find a grant matching (msg.signers[0], grantee, MsgTypeURL(msg)) + triple and validate it. + type: array + items: + type: object + $ref: '#/definitions/google.protobuf.Any' + cosmos.authz.v1beta1.MsgExecResponse: + description: MsgExecResponse defines the Msg/MsgExecResponse response type. + type: object + properties: + results: + type: array + items: + type: string + format: byte + cosmos.authz.v1beta1.MsgGrant: + description: |- + MsgGrant is a request type for Grant method. It declares authorization to the grantee + on behalf of the granter with the provided expiration time. + type: object + properties: + grant: + $ref: '#/definitions/cosmos.authz.v1beta1.Grant' + grantee: + type: string + granter: + type: string + cosmos.authz.v1beta1.MsgGrantResponse: + description: MsgGrantResponse defines the Msg/MsgGrant response type. + type: object + cosmos.authz.v1beta1.MsgRevoke: + description: |- + MsgRevoke revokes any authorization with the provided sdk.Msg type on the + granter's account with that has been granted to the grantee. + type: object + properties: + grantee: + type: string + granter: + type: string + msg_type_url: + type: string + cosmos.authz.v1beta1.MsgRevokeResponse: + description: MsgRevokeResponse defines the Msg/MsgRevokeResponse response type. + type: object + cosmos.authz.v1beta1.QueryGranteeGrantsResponse: + description: QueryGranteeGrantsResponse is the response type for the Query/GranteeGrants RPC method. + type: object + properties: + grants: + description: grants is a list of grants granted to the grantee. + type: array + items: + type: object + $ref: '#/definitions/cosmos.authz.v1beta1.GrantAuthorization' + pagination: + description: pagination defines an pagination for the response. + $ref: '#/definitions/cosmos.base.query.v1beta1.PageResponse' + cosmos.authz.v1beta1.QueryGranterGrantsResponse: + description: QueryGranterGrantsResponse is the response type for the Query/GranterGrants RPC method. + type: object + properties: + grants: + description: grants is a list of grants granted by the granter. + type: array + items: + type: object + $ref: '#/definitions/cosmos.authz.v1beta1.GrantAuthorization' + pagination: + description: pagination defines an pagination for the response. + $ref: '#/definitions/cosmos.base.query.v1beta1.PageResponse' + cosmos.authz.v1beta1.QueryGrantsResponse: + description: QueryGrantsResponse is the response type for the Query/Authorizations RPC method. + type: object + properties: + grants: + description: authorizations is a list of grants granted for grantee by granter. + type: array + items: + type: object + $ref: '#/definitions/cosmos.authz.v1beta1.Grant' + pagination: + description: pagination defines an pagination for the response. + $ref: '#/definitions/cosmos.base.query.v1beta1.PageResponse' + cosmos.autocli.v1.AppOptionsRequest: + description: AppOptionsRequest is the RemoteInfoService/AppOptions request type. + type: object + cosmos.autocli.v1.AppOptionsResponse: + description: AppOptionsResponse is the RemoteInfoService/AppOptions response type. + type: object + properties: + module_options: + description: module_options is a map of module name to autocli module options. + type: object + additionalProperties: + $ref: '#/definitions/cosmos.autocli.v1.ModuleOptions' + cosmos.autocli.v1.FlagOptions: + description: |- + FlagOptions are options for flags generated from rpc request fields. + By default, all request fields are configured as flags based on the + kebab-case name of the field. Fields can be turned into positional arguments + instead by using RpcCommandOptions.positional_args. + type: object + properties: + default_value: + description: default_value is the default value as text. + type: string + deprecated: + description: deprecated is the usage text to show if this flag is deprecated. + type: string + hidden: + type: boolean + title: hidden hides the flag from help/usage text + name: + description: name is an alternate name to use for the field flag. + type: string + shorthand: + description: shorthand is a one-letter abbreviated flag. + type: string + shorthand_deprecated: + description: shorthand_deprecated is the usage text to show if the shorthand of this flag is deprecated. + type: string + usage: + description: usage is the help message. + type: string + cosmos.autocli.v1.ModuleOptions: + description: ModuleOptions describes the CLI options for a Cosmos SDK module. + type: object + properties: + query: + description: query describes the queries commands for the module. + $ref: '#/definitions/cosmos.autocli.v1.ServiceCommandDescriptor' + tx: + description: tx describes the tx commands for the module. + $ref: '#/definitions/cosmos.autocli.v1.ServiceCommandDescriptor' + cosmos.autocli.v1.PositionalArgDescriptor: + description: PositionalArgDescriptor describes a positional argument. + type: object + properties: + proto_field: + description: |- + proto_field specifies the proto field to use as the positional arg. Any + fields used as positional args will not have a flag generated. + type: string + varargs: + description: |- + varargs makes a positional parameter a varargs parameter. This can only be + applied to last positional parameter and the proto_field must a repeated + field. + type: boolean + cosmos.autocli.v1.RpcCommandOptions: + description: |- + RpcCommandOptions specifies options for commands generated from protobuf + rpc methods. + type: object + properties: + alias: + description: alias is an array of aliases that can be used instead of the first word in Use. + type: array + items: + type: string + deprecated: + description: deprecated defines, if this command is deprecated and should print this string when used. + type: string + example: + description: example is examples of how to use the command. + type: string + flag_options: + description: |- + flag_options are options for flags generated from rpc request fields. + By default all request fields are configured as flags. They can + also be configured as positional args instead using positional_args. + type: object + additionalProperties: + $ref: '#/definitions/cosmos.autocli.v1.FlagOptions' + long: + description: long is the long message shown in the 'help ' output. + type: string + positional_args: + description: positional_args specifies positional arguments for the command. + type: array + items: + type: object + $ref: '#/definitions/cosmos.autocli.v1.PositionalArgDescriptor' + rpc_method: + description: |- + rpc_method is short name of the protobuf rpc method that this command is + generated from. + type: string + short: + description: short is the short description shown in the 'help' output. + type: string + skip: + description: skip specifies whether to skip this rpc method when generating commands. + type: boolean + suggest_for: + description: |- + suggest_for is an array of command names for which this command will be suggested - + similar to aliases but only suggests. + type: array + items: + type: string + use: + description: |- + use is the one-line usage method. It also allows specifying an alternate + name for the command as the first word of the usage text. + + By default the name of an rpc command is the kebab-case short name of the + rpc method. + type: string + version: + description: |- + version defines the version for this command. If this value is non-empty and the command does not + define a "version" flag, a "version" boolean flag will be added to the command and, if specified, + will print content of the "Version" variable. A shorthand "v" flag will also be added if the + command does not define one. + type: string + cosmos.autocli.v1.ServiceCommandDescriptor: + description: ServiceCommandDescriptor describes a CLI command based on a protobuf service. + type: object + properties: + rpc_command_options: + description: |- + rpc_command_options are options for commands generated from rpc methods. + If no options are specified for a given rpc method on the service, a + command will be generated for that method with the default options. + type: array + items: + type: object + $ref: '#/definitions/cosmos.autocli.v1.RpcCommandOptions' + service: + description: |- + service is the fully qualified name of the protobuf service to build + the command from. It can be left empty if sub_commands are used instead + which may be the case if a module provides multiple tx and/or query services. + type: string + sub_commands: + description: |- + sub_commands is a map of optional sub-commands for this command based on + different protobuf services. The map key is used as the name of the + sub-command. + type: object + additionalProperties: + $ref: '#/definitions/cosmos.autocli.v1.ServiceCommandDescriptor' + cosmos.bank.v1beta1.DenomOwner: + description: |- + 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. + + Since: cosmos-sdk 0.46 + type: object + properties: + address: + description: address defines the address that owns a particular denomination. + type: string + balance: + description: balance is the balance of the denominated coin for an account. + $ref: '#/definitions/cosmos.base.v1beta1.Coin' + cosmos.bank.v1beta1.DenomUnit: + description: |- + DenomUnit represents a struct that describes a given + denomination unit of the basic token. + type: object + properties: + aliases: + type: array + title: aliases is a list of string aliases for the given denom + items: + type: string + denom: + description: denom represents the string name of the given denom unit (e.g uatom). + type: string + exponent: + 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 + exponent = 6, thus: 1 atom = 10^6 uatom). + type: integer + format: int64 + cosmos.bank.v1beta1.Input: + description: Input models transaction input. + type: object + properties: + address: + type: string + coins: + type: array + items: + type: object + $ref: '#/definitions/cosmos.base.v1beta1.Coin' + cosmos.bank.v1beta1.Metadata: + description: |- + Metadata represents a struct that describes + a basic token. + type: object + properties: + base: + description: base represents the base denom (should be the DenomUnit with exponent = 0). + type: string + denom_units: + type: array + title: denom_units represents the list of DenomUnit's for a given coin + items: + type: object + $ref: '#/definitions/cosmos.bank.v1beta1.DenomUnit' + description: + type: string + display: + description: |- + display indicates the suggested denom that should be + displayed in clients. + type: string + name: + description: 'Since: cosmos-sdk 0.43' + type: string + title: 'name defines the name of the token (eg: Cosmos Atom)' + symbol: + description: |- + symbol is the token symbol usually shown on exchanges (eg: ATOM). This can + be the same as the display. + + Since: cosmos-sdk 0.43 + type: string + uri: + description: |- + URI to a document (on or off-chain) that contains additional information. Optional. + + Since: cosmos-sdk 0.46 + type: string + uri_hash: + description: |- + URIHash is a sha256 hash of a document pointed by URI. It's used to verify that + the document didn't change. Optional. + + Since: cosmos-sdk 0.46 + type: string + cosmos.bank.v1beta1.MsgMultiSend: + description: MsgMultiSend represents an arbitrary multi-in, multi-out send message. + type: object + properties: + inputs: + description: |- + Inputs, despite being `repeated`, only allows one sender input. This is + checked in MsgMultiSend's ValidateBasic. + type: array + items: + type: object + $ref: '#/definitions/cosmos.bank.v1beta1.Input' + outputs: + type: array + items: + type: object + $ref: '#/definitions/cosmos.bank.v1beta1.Output' + cosmos.bank.v1beta1.MsgMultiSendResponse: + description: MsgMultiSendResponse defines the Msg/MultiSend response type. + type: object + cosmos.bank.v1beta1.MsgSend: + description: MsgSend represents a message to send coins from one account to another. + type: object + properties: + amount: + type: array + items: + type: object + $ref: '#/definitions/cosmos.base.v1beta1.Coin' + from_address: + type: string + to_address: + type: string + cosmos.bank.v1beta1.MsgSendResponse: + description: MsgSendResponse defines the Msg/Send response type. + type: object + cosmos.bank.v1beta1.MsgSetSendEnabled: + description: |- + MsgSetSendEnabled is the Msg/SetSendEnabled request type. + + Only entries to add/update/delete need to be included. + Existing SendEnabled entries that are not included in this + message are left unchanged. + + Since: cosmos-sdk 0.47 + type: object + properties: + authority: + description: authority is the address that controls the module. + type: string + send_enabled: + description: send_enabled is the list of entries to add or update. + type: array + items: + type: object + $ref: '#/definitions/cosmos.bank.v1beta1.SendEnabled' + use_default_for: + description: |- + use_default_for is a list of denoms that should use the params.default_send_enabled value. + Denoms listed here will have their SendEnabled entries deleted. + If a denom is included that doesn't have a SendEnabled entry, + it will be ignored. + type: array + items: + type: string + cosmos.bank.v1beta1.MsgSetSendEnabledResponse: + description: |- + MsgSetSendEnabledResponse defines the Msg/SetSendEnabled response type. + + Since: cosmos-sdk 0.47 + type: object + cosmos.bank.v1beta1.MsgUpdateParams: + description: |- + MsgUpdateParams is the Msg/UpdateParams request type. + + Since: cosmos-sdk 0.47 + type: object + properties: + authority: + description: authority is the address that controls the module (defaults to x/gov unless overwritten). + type: string + params: + description: |- + params defines the x/bank parameters to update. + + NOTE: All parameters must be supplied. + $ref: '#/definitions/cosmos.bank.v1beta1.Params' + cosmos.bank.v1beta1.MsgUpdateParamsResponse: + description: |- + MsgUpdateParamsResponse defines the response structure for executing a + MsgUpdateParams message. + + Since: cosmos-sdk 0.47 + type: object + cosmos.bank.v1beta1.Output: + description: Output models transaction outputs. + type: object + properties: + address: + type: string + coins: + type: array + items: + type: object + $ref: '#/definitions/cosmos.base.v1beta1.Coin' + cosmos.bank.v1beta1.Params: + description: Params defines the parameters for the bank module. + type: object + properties: + default_send_enabled: + type: boolean + send_enabled: + 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. + type: array + items: + type: object + $ref: '#/definitions/cosmos.bank.v1beta1.SendEnabled' + cosmos.bank.v1beta1.QueryAllBalancesResponse: + description: |- + QueryAllBalancesResponse is the response type for the Query/AllBalances RPC + method. + type: object + properties: + balances: + description: balances is the balances of all the coins. + type: array + items: + type: object + $ref: '#/definitions/cosmos.base.v1beta1.Coin' + pagination: + description: pagination defines the pagination in the response. + $ref: '#/definitions/cosmos.base.query.v1beta1.PageResponse' + cosmos.bank.v1beta1.QueryBalanceResponse: + description: QueryBalanceResponse is the response type for the Query/Balance RPC method. + type: object + properties: + balance: + description: balance is the balance of the coin. + $ref: '#/definitions/cosmos.base.v1beta1.Coin' + cosmos.bank.v1beta1.QueryDenomMetadataByQueryStringResponse: + description: |- + QueryDenomMetadataByQueryStringResponse is the response type for the Query/DenomMetadata RPC + method. Identical with QueryDenomMetadataResponse but receives denom as query string in request. + type: object + properties: + metadata: + description: metadata describes and provides all the client information for the requested token. + $ref: '#/definitions/cosmos.bank.v1beta1.Metadata' + cosmos.bank.v1beta1.QueryDenomMetadataResponse: + description: |- + QueryDenomMetadataResponse is the response type for the Query/DenomMetadata RPC + method. + type: object + properties: + metadata: + description: metadata describes and provides all the client information for the requested token. + $ref: '#/definitions/cosmos.bank.v1beta1.Metadata' + cosmos.bank.v1beta1.QueryDenomOwnersByQueryResponse: + description: |- + QueryDenomOwnersByQueryResponse defines the RPC response of a DenomOwnersByQuery RPC query. + + Since: cosmos-sdk 0.50.3 + type: object + properties: + denom_owners: + type: array + items: + type: object + $ref: '#/definitions/cosmos.bank.v1beta1.DenomOwner' + pagination: + description: pagination defines the pagination in the response. + $ref: '#/definitions/cosmos.base.query.v1beta1.PageResponse' + cosmos.bank.v1beta1.QueryDenomOwnersResponse: + description: |- + QueryDenomOwnersResponse defines the RPC response of a DenomOwners RPC query. + + Since: cosmos-sdk 0.46 + type: object + properties: + denom_owners: + type: array + items: + type: object + $ref: '#/definitions/cosmos.bank.v1beta1.DenomOwner' + pagination: + description: pagination defines the pagination in the response. + $ref: '#/definitions/cosmos.base.query.v1beta1.PageResponse' + cosmos.bank.v1beta1.QueryDenomsMetadataResponse: + description: |- + QueryDenomsMetadataResponse is the response type for the Query/DenomsMetadata RPC + method. + type: object + properties: + metadatas: + description: metadata provides the client information for all the registered tokens. + type: array + items: + type: object + $ref: '#/definitions/cosmos.bank.v1beta1.Metadata' + pagination: + description: pagination defines the pagination in the response. + $ref: '#/definitions/cosmos.base.query.v1beta1.PageResponse' + cosmos.bank.v1beta1.QueryParamsResponse: + description: QueryParamsResponse defines the response type for querying x/bank parameters. + type: object + properties: + params: + description: params provides the parameters of the bank module. + $ref: '#/definitions/cosmos.bank.v1beta1.Params' + cosmos.bank.v1beta1.QuerySendEnabledResponse: + description: |- + QuerySendEnabledResponse defines the RPC response of a SendEnable query. + + Since: cosmos-sdk 0.47 + type: object + properties: + pagination: + description: |- + pagination defines the pagination in the response. This field is only + populated if the denoms field in the request is empty. + $ref: '#/definitions/cosmos.base.query.v1beta1.PageResponse' + send_enabled: + type: array + items: + type: object + $ref: '#/definitions/cosmos.bank.v1beta1.SendEnabled' + cosmos.bank.v1beta1.QuerySpendableBalanceByDenomResponse: + description: |- + QuerySpendableBalanceByDenomResponse defines the gRPC response structure for + querying an account's spendable balance for a specific denom. + + Since: cosmos-sdk 0.47 + type: object + properties: + balance: + description: balance is the balance of the coin. + $ref: '#/definitions/cosmos.base.v1beta1.Coin' + cosmos.bank.v1beta1.QuerySpendableBalancesResponse: + description: |- + QuerySpendableBalancesResponse defines the gRPC response structure for querying + an account's spendable balances. + + Since: cosmos-sdk 0.46 + type: object + properties: + balances: + description: balances is the spendable balances of all the coins. + type: array + items: + type: object + $ref: '#/definitions/cosmos.base.v1beta1.Coin' + pagination: + description: pagination defines the pagination in the response. + $ref: '#/definitions/cosmos.base.query.v1beta1.PageResponse' + cosmos.bank.v1beta1.QuerySupplyOfResponse: + description: QuerySupplyOfResponse is the response type for the Query/SupplyOf RPC method. + type: object + properties: + amount: + description: amount is the supply of the coin. + $ref: '#/definitions/cosmos.base.v1beta1.Coin' + cosmos.bank.v1beta1.QueryTotalSupplyResponse: + type: object + title: |- + QueryTotalSupplyResponse is the response type for the Query/TotalSupply RPC + method + properties: + pagination: + description: |- + pagination defines the pagination in the response. + + Since: cosmos-sdk 0.43 + $ref: '#/definitions/cosmos.base.query.v1beta1.PageResponse' + supply: + type: array + title: supply is the supply of the coins + items: + type: object + $ref: '#/definitions/cosmos.base.v1beta1.Coin' + cosmos.bank.v1beta1.SendEnabled: + description: |- + SendEnabled maps coin denom to a send_enabled status (whether a denom is + sendable). + type: object + properties: + denom: + type: string + enabled: + type: boolean + cosmos.base.abci.v1beta1.ABCIMessageLog: + description: ABCIMessageLog defines a structure containing an indexed tx ABCI message log. + type: object + properties: + events: + description: |- + Events contains a slice of Event objects that were emitted during some + execution. + type: array + items: + type: object + $ref: '#/definitions/cosmos.base.abci.v1beta1.StringEvent' + log: + type: string + msg_index: + type: integer + format: int64 + cosmos.base.abci.v1beta1.Attribute: + description: |- + Attribute defines an attribute wrapper where the key and value are + strings instead of raw bytes. + type: object + properties: + key: + type: string + value: + type: string + cosmos.base.abci.v1beta1.GasInfo: + description: GasInfo defines tx execution gas context. + type: object + properties: + gas_used: + description: GasUsed is the amount of gas actually consumed. + type: string + format: uint64 + gas_wanted: + description: GasWanted is the maximum units of work we allow this tx to perform. + type: string + format: uint64 + cosmos.base.abci.v1beta1.Result: + description: Result is the union of ResponseFormat and ResponseCheckTx. + type: object + properties: + data: + 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 + because it also contains the Msg response typeURL. + type: string + format: byte + events: + description: |- + Events contains a slice of Event objects that were emitted during message + or handler execution. + type: array + items: + type: object + $ref: '#/definitions/tendermint.abci.Event' + log: + description: Log contains the log information from message or handler execution. + type: string + msg_responses: + description: |- + msg_responses contains the Msg handler responses type packed in Anys. + + Since: cosmos-sdk 0.46 + type: array + items: + type: object + $ref: '#/definitions/google.protobuf.Any' + cosmos.base.abci.v1beta1.StringEvent: + description: |- + StringEvent defines en Event object wrapper where all the attributes + contain key/value pairs that are strings instead of raw bytes. + type: object + properties: + attributes: + type: array + items: + type: object + $ref: '#/definitions/cosmos.base.abci.v1beta1.Attribute' + type: + type: string + cosmos.base.abci.v1beta1.TxResponse: + description: |- + TxResponse defines a structure containing relevant tx data and metadata. The + tags are stringified and the log is JSON decoded. + type: object + properties: + code: + description: Response code. + type: integer + format: int64 + codespace: + type: string + title: Namespace for the Code + data: + description: Result bytes, if any. + type: string + 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. + + Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 + type: array + items: + type: object + $ref: '#/definitions/tendermint.abci.Event' + gas_used: + description: Amount of gas consumed by transaction. + type: string + format: int64 + gas_wanted: + description: Amount of gas requested for transaction. + type: string + format: int64 + height: + type: string + format: int64 + title: The block height + info: + description: Additional information. May be non-deterministic. + type: string + logs: + description: The output of the application's logger (typed). May be non-deterministic. + type: array + items: + type: object + $ref: '#/definitions/cosmos.base.abci.v1beta1.ABCIMessageLog' + raw_log: + description: |- + The output of the application's logger (raw string). May be + non-deterministic. + type: string + timestamp: + 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, + it's genesis time. + type: string + tx: + description: The request transaction bytes. + $ref: '#/definitions/google.protobuf.Any' + txhash: + description: The transaction hash. + type: string + cosmos.base.node.v1beta1.ConfigResponse: + description: ConfigResponse defines the response structure for the Config gRPC query. + type: object + properties: + halt_height: + type: string + format: uint64 + minimum_gas_price: + type: string + pruning_interval: + type: string + pruning_keep_recent: + type: string + cosmos.base.node.v1beta1.StatusResponse: + description: StateResponse defines the response structure for the status of a node. + type: object + properties: + app_hash: + type: string + format: byte + title: app hash of the current block + earliest_store_height: + type: string + format: uint64 + title: earliest block height available in the store + height: + type: string + format: uint64 + title: current block height + timestamp: + type: string + format: date-time + title: block height timestamp + validator_hash: + type: string + format: byte + title: validator hash provided by the consensus header + cosmos.base.query.v1beta1.PageRequest: + description: |- + message SomeRequest { + Foo some_parameter = 1; + PageRequest pagination = 2; + } + type: object + title: |- + PageRequest is to be embedded in gRPC request messages for efficient + pagination. Ex: + properties: + 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 + is set. + type: boolean + key: + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + type: string + format: byte + limit: + description: |- + 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. + type: string + format: uint64 + 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 + be set. + type: string + format: uint64 + reverse: + description: |- + reverse is set to true if results are to be returned in the descending order. + + Since: cosmos-sdk 0.43 + type: boolean + cosmos.base.query.v1beta1.PageResponse: + 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; + } + type: object + properties: + next_key: + description: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently. It will be empty if + there are no more results. + type: string + format: byte + total: + type: string + format: uint64 + title: |- + total is total number of results available if PageRequest.count_total + was set, its value is undefined otherwise + cosmos.base.reflection.v1beta1.ListAllInterfacesResponse: + description: ListAllInterfacesResponse is the response type of the ListAllInterfaces RPC. + type: object + properties: + interface_names: + description: interface_names is an array of all the registered interfaces. + type: array + items: + type: string + cosmos.base.reflection.v1beta1.ListImplementationsResponse: + description: |- + ListImplementationsResponse is the response type of the ListImplementations + RPC. + type: object + properties: + implementation_message_names: + type: array + items: + type: string + cosmos.base.reflection.v2alpha1.AuthnDescriptor: + type: object + title: |- + AuthnDescriptor provides information on how to sign transactions without relying + on the online RPCs GetTxMetadata and CombineUnsignedTxAndSignatures + properties: + sign_modes: + type: array + title: sign_modes defines the supported signature algorithm + items: + type: object + $ref: '#/definitions/cosmos.base.reflection.v2alpha1.SigningModeDescriptor' + cosmos.base.reflection.v2alpha1.ChainDescriptor: + type: object + title: ChainDescriptor describes chain information of the application + properties: + id: + type: string + title: id is the chain id + cosmos.base.reflection.v2alpha1.CodecDescriptor: + type: object + title: CodecDescriptor describes the registered interfaces and provides metadata information on the types + properties: + interfaces: + type: array + title: interfaces is a list of the registerted interfaces descriptors + items: + type: object + $ref: '#/definitions/cosmos.base.reflection.v2alpha1.InterfaceDescriptor' + cosmos.base.reflection.v2alpha1.ConfigurationDescriptor: + type: object + title: ConfigurationDescriptor contains metadata information on the sdk.Config + properties: + bech32_account_address_prefix: + type: string + title: bech32_account_address_prefix is the account address prefix + cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse: + type: object + title: GetAuthnDescriptorResponse is the response returned by the GetAuthnDescriptor RPC + properties: + authn: + title: authn describes how to authenticate to the application when sending transactions + $ref: '#/definitions/cosmos.base.reflection.v2alpha1.AuthnDescriptor' + cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse: + type: object + title: GetChainDescriptorResponse is the response returned by the GetChainDescriptor RPC + properties: + chain: + title: chain describes application chain information + $ref: '#/definitions/cosmos.base.reflection.v2alpha1.ChainDescriptor' + cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse: + type: object + title: GetCodecDescriptorResponse is the response returned by the GetCodecDescriptor RPC + properties: + codec: + title: codec describes the application codec such as registered interfaces and implementations + $ref: '#/definitions/cosmos.base.reflection.v2alpha1.CodecDescriptor' + cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorResponse: + type: object + title: GetConfigurationDescriptorResponse is the response returned by the GetConfigurationDescriptor RPC + properties: + config: + title: config describes the application's sdk.Config + $ref: '#/definitions/cosmos.base.reflection.v2alpha1.ConfigurationDescriptor' + cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorResponse: + type: object + title: GetQueryServicesDescriptorResponse is the response returned by the GetQueryServicesDescriptor RPC + properties: + queries: + title: queries provides information on the available queryable services + $ref: '#/definitions/cosmos.base.reflection.v2alpha1.QueryServicesDescriptor' + cosmos.base.reflection.v2alpha1.GetTxDescriptorResponse: + type: object + title: GetTxDescriptorResponse is the response returned by the GetTxDescriptor RPC + properties: + tx: + title: |- + tx provides information on msgs that can be forwarded to the application + alongside the accepted transaction protobuf type + $ref: '#/definitions/cosmos.base.reflection.v2alpha1.TxDescriptor' + cosmos.base.reflection.v2alpha1.InterfaceAcceptingMessageDescriptor: + type: object + title: |- + InterfaceAcceptingMessageDescriptor describes a protobuf message which contains + an interface represented as a google.protobuf.Any + properties: + field_descriptor_names: + type: array + title: |- + field_descriptor_names is a list of the protobuf name (not fullname) of the field + which contains the interface as google.protobuf.Any (the interface is the same, but + it can be in multiple fields of the same proto message) + items: + type: string + fullname: + type: string + title: fullname is the protobuf fullname of the type containing the interface + cosmos.base.reflection.v2alpha1.InterfaceDescriptor: + type: object + title: InterfaceDescriptor describes the implementation of an interface + properties: + fullname: + type: string + title: fullname is the name of the interface + interface_accepting_messages: + type: array + title: |- + interface_accepting_messages contains information regarding the proto messages which contain the interface as + google.protobuf.Any field + items: + type: object + $ref: '#/definitions/cosmos.base.reflection.v2alpha1.InterfaceAcceptingMessageDescriptor' + interface_implementers: + type: array + title: interface_implementers is a list of the descriptors of the interface implementers + items: + type: object + $ref: '#/definitions/cosmos.base.reflection.v2alpha1.InterfaceImplementerDescriptor' + cosmos.base.reflection.v2alpha1.InterfaceImplementerDescriptor: + type: object + title: InterfaceImplementerDescriptor describes an interface implementer + properties: + fullname: + type: string + title: fullname is the protobuf queryable name of the interface implementer + type_url: + type: string + title: |- + type_url defines the type URL used when marshalling the type as any + this is required so we can provide type safe google.protobuf.Any marshalling and + unmarshalling, making sure that we don't accept just 'any' type + in our interface fields + cosmos.base.reflection.v2alpha1.MsgDescriptor: + type: object + title: MsgDescriptor describes a cosmos-sdk message that can be delivered with a transaction + properties: + msg_type_url: + description: msg_type_url contains the TypeURL of a sdk.Msg. + type: string + cosmos.base.reflection.v2alpha1.QueryMethodDescriptor: + type: object + title: |- + QueryMethodDescriptor describes a queryable method of a query service + no other info is provided beside method name and tendermint queryable path + because it would be redundant with the grpc reflection service + properties: + full_query_path: + type: string + title: |- + full_query_path is the path that can be used to query + this method via tendermint abci.Query + name: + type: string + title: name is the protobuf name (not fullname) of the method + cosmos.base.reflection.v2alpha1.QueryServiceDescriptor: + type: object + title: QueryServiceDescriptor describes a cosmos-sdk queryable service + properties: + fullname: + type: string + title: fullname is the protobuf fullname of the service descriptor + is_module: + type: boolean + title: is_module describes if this service is actually exposed by an application's module + methods: + type: array + title: methods provides a list of query service methods + items: + type: object + $ref: '#/definitions/cosmos.base.reflection.v2alpha1.QueryMethodDescriptor' + cosmos.base.reflection.v2alpha1.QueryServicesDescriptor: + type: object + title: QueryServicesDescriptor contains the list of cosmos-sdk queriable services + properties: + query_services: + type: array + title: query_services is a list of cosmos-sdk QueryServiceDescriptor + items: + type: object + $ref: '#/definitions/cosmos.base.reflection.v2alpha1.QueryServiceDescriptor' + cosmos.base.reflection.v2alpha1.SigningModeDescriptor: + type: object + title: |- + SigningModeDescriptor provides information on a signing flow of the application + NOTE(fdymylja): here we could go as far as providing an entire flow on how + to sign a message given a SigningModeDescriptor, but it's better to think about + this another time + properties: + authn_info_provider_method_fullname: + type: string + title: |- + authn_info_provider_method_fullname defines the fullname of the method to call to get + the metadata required to authenticate using the provided sign_modes + name: + type: string + title: name defines the unique name of the signing mode + number: + type: integer + format: int32 + title: number is the unique int32 identifier for the sign_mode enum + cosmos.base.reflection.v2alpha1.TxDescriptor: + type: object + title: TxDescriptor describes the accepted transaction type + properties: + fullname: + description: |- + fullname is the protobuf fullname of the raw transaction type (for instance the tx.Tx type) + it is not meant to support polymorphism of transaction types, it is supposed to be used by + reflection clients to understand if they can handle a specific transaction type in an application. + type: string + msgs: + type: array + title: msgs lists the accepted application messages (sdk.Msg) + items: + type: object + $ref: '#/definitions/cosmos.base.reflection.v2alpha1.MsgDescriptor' + cosmos.base.tendermint.v1beta1.ABCIQueryResponse: + description: |- + ABCIQueryResponse defines the response structure for the ABCIQuery gRPC query. + + Note: This type is a duplicate of the ResponseQuery proto type defined in + Tendermint. + type: object + properties: + code: + type: integer + format: int64 + codespace: + type: string + height: + type: string + format: int64 + index: + type: string + format: int64 + info: + type: string + title: nondeterministic + key: + type: string + format: byte + log: + type: string + title: nondeterministic + proof_ops: + $ref: '#/definitions/cosmos.base.tendermint.v1beta1.ProofOps' + value: + type: string + format: byte + cosmos.base.tendermint.v1beta1.Block: + description: |- + Block is tendermint type Block, with the Header proposer address + field converted to bech32 string. + type: object + properties: + data: + $ref: '#/definitions/tendermint.types.Data' + evidence: + $ref: '#/definitions/tendermint.types.EvidenceList' + header: + $ref: '#/definitions/cosmos.base.tendermint.v1beta1.Header' + last_commit: + $ref: '#/definitions/tendermint.types.Commit' + cosmos.base.tendermint.v1beta1.GetBlockByHeightResponse: + description: GetBlockByHeightResponse is the response type for the Query/GetBlockByHeight RPC method. + type: object + properties: + block: + title: 'Deprecated: please use `sdk_block` instead' + $ref: '#/definitions/tendermint.types.Block' + block_id: + $ref: '#/definitions/tendermint.types.BlockID' + sdk_block: + title: 'Since: cosmos-sdk 0.47' + $ref: '#/definitions/cosmos.base.tendermint.v1beta1.Block' + cosmos.base.tendermint.v1beta1.GetLatestBlockResponse: + description: GetLatestBlockResponse is the response type for the Query/GetLatestBlock RPC method. + type: object + properties: + block: + title: 'Deprecated: please use `sdk_block` instead' + $ref: '#/definitions/tendermint.types.Block' + block_id: + $ref: '#/definitions/tendermint.types.BlockID' + sdk_block: + title: 'Since: cosmos-sdk 0.47' + $ref: '#/definitions/cosmos.base.tendermint.v1beta1.Block' + cosmos.base.tendermint.v1beta1.GetLatestValidatorSetResponse: + description: GetLatestValidatorSetResponse is the response type for the Query/GetValidatorSetByHeight RPC method. + type: object + properties: + block_height: + type: string + format: int64 + pagination: + description: pagination defines an pagination for the response. + $ref: '#/definitions/cosmos.base.query.v1beta1.PageResponse' + validators: + type: array + items: + type: object + $ref: '#/definitions/cosmos.base.tendermint.v1beta1.Validator' + cosmos.base.tendermint.v1beta1.GetNodeInfoResponse: + description: GetNodeInfoResponse is the response type for the Query/GetNodeInfo RPC method. + type: object + properties: + application_version: + $ref: '#/definitions/cosmos.base.tendermint.v1beta1.VersionInfo' + default_node_info: + $ref: '#/definitions/tendermint.p2p.DefaultNodeInfo' + cosmos.base.tendermint.v1beta1.GetSyncingResponse: + description: GetSyncingResponse is the response type for the Query/GetSyncing RPC method. + type: object + properties: + syncing: + type: boolean + cosmos.base.tendermint.v1beta1.GetValidatorSetByHeightResponse: + description: GetValidatorSetByHeightResponse is the response type for the Query/GetValidatorSetByHeight RPC method. + type: object + properties: + block_height: + type: string + format: int64 + pagination: + description: pagination defines an pagination for the response. + $ref: '#/definitions/cosmos.base.query.v1beta1.PageResponse' + validators: + type: array + items: + type: object + $ref: '#/definitions/cosmos.base.tendermint.v1beta1.Validator' + cosmos.base.tendermint.v1beta1.Header: + description: Header defines the structure of a Tendermint block header. + type: object + properties: + app_hash: + type: string + format: byte + title: state after txs from the previous block + chain_id: + type: string + consensus_hash: + type: string + format: byte + title: consensus params for current block + data_hash: + type: string + format: byte + title: transactions + evidence_hash: + description: evidence included in the block + type: string + format: byte + title: consensus info + height: + type: string + format: int64 + last_block_id: + title: prev block info + $ref: '#/definitions/tendermint.types.BlockID' + last_commit_hash: + description: commit from validators from the last block + type: string + format: byte + title: hashes of block data + last_results_hash: + type: string + format: byte + title: root hash of all results from the txs from the previous block + next_validators_hash: + type: string + format: byte + title: validators for the next block + proposer_address: + 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 + for better UX. + + original proposer of the block + type: string + time: + type: string + format: date-time + validators_hash: + description: validators for the current block + type: string + format: byte + title: hashes from the app output from the prev block + version: + title: basic block info + $ref: '#/definitions/tendermint.version.Consensus' + cosmos.base.tendermint.v1beta1.Module: + type: object + title: Module is the type for VersionInfo + properties: + path: + type: string + title: module path + sum: + type: string + title: checksum + version: + type: string + title: module version + cosmos.base.tendermint.v1beta1.ProofOp: + description: |- + ProofOp defines an operation used for calculating Merkle root. The data could + be arbitrary format, providing necessary data for example neighbouring node + hash. + + Note: This type is a duplicate of the ProofOp proto type defined in Tendermint. + type: object + properties: + data: + type: string + format: byte + key: + type: string + format: byte + type: + type: string + cosmos.base.tendermint.v1beta1.ProofOps: + description: |- + ProofOps is Merkle proof defined by the list of ProofOps. + + Note: This type is a duplicate of the ProofOps proto type defined in Tendermint. + type: object + properties: + ops: + type: array + items: + type: object + $ref: '#/definitions/cosmos.base.tendermint.v1beta1.ProofOp' + cosmos.base.tendermint.v1beta1.Validator: + description: Validator is the type for the validator-set. + type: object + properties: + address: + type: string + proposer_priority: + type: string + format: int64 + pub_key: + $ref: '#/definitions/google.protobuf.Any' + voting_power: + type: string + format: int64 + cosmos.base.tendermint.v1beta1.VersionInfo: + description: VersionInfo is the type for the GetNodeInfoResponse message. + type: object + properties: + app_name: + type: string + build_deps: + type: array + items: + type: object + $ref: '#/definitions/cosmos.base.tendermint.v1beta1.Module' + build_tags: + type: string + cosmos_sdk_version: + type: string + title: 'Since: cosmos-sdk 0.43' + git_commit: + type: string + go_version: + type: string + name: + type: string + version: + type: string + cosmos.base.v1beta1.Coin: + description: |- + 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. + type: object + properties: + amount: + type: string + denom: + type: string + cosmos.base.v1beta1.DecCoin: + description: |- + 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. + type: object + properties: + amount: + type: string + denom: + type: string + cosmos.circuit.v1.AccountResponse: + description: AccountResponse is the response type for the Query/Account RPC method. + type: object + properties: + permission: + $ref: '#/definitions/cosmos.circuit.v1.Permissions' + cosmos.circuit.v1.AccountsResponse: + description: AccountsResponse is the response type for the Query/Accounts RPC method. + type: object + properties: + accounts: + type: array + items: + type: object + $ref: '#/definitions/cosmos.circuit.v1.GenesisAccountPermissions' + pagination: + description: pagination defines the pagination in the response. + $ref: '#/definitions/cosmos.base.query.v1beta1.PageResponse' + cosmos.circuit.v1.DisabledListResponse: + description: DisabledListResponse is the response type for the Query/DisabledList RPC method. + type: object + properties: + disabled_list: + type: array + items: + type: string + cosmos.circuit.v1.GenesisAccountPermissions: + type: object + title: GenesisAccountPermissions is the account permissions for the circuit breaker in genesis + properties: + address: + type: string + permissions: + $ref: '#/definitions/cosmos.circuit.v1.Permissions' + cosmos.circuit.v1.MsgAuthorizeCircuitBreaker: + description: MsgAuthorizeCircuitBreaker defines the Msg/AuthorizeCircuitBreaker request type. + type: object + properties: + grantee: + description: grantee is the account authorized with the provided permissions. + type: string + granter: + description: |- + granter is the granter of the circuit breaker permissions and must have + LEVEL_SUPER_ADMIN. + type: string + permissions: + description: |- + permissions are the circuit breaker permissions that the grantee receives. + These will overwrite any existing permissions. LEVEL_NONE_UNSPECIFIED can + be specified to revoke all permissions. + $ref: '#/definitions/cosmos.circuit.v1.Permissions' + cosmos.circuit.v1.MsgAuthorizeCircuitBreakerResponse: + description: MsgAuthorizeCircuitBreakerResponse defines the Msg/AuthorizeCircuitBreaker response type. + type: object + properties: + success: + type: boolean + cosmos.circuit.v1.MsgResetCircuitBreaker: + description: MsgResetCircuitBreaker defines the Msg/ResetCircuitBreaker request type. + type: object + properties: + authority: + description: authority is the account authorized to trip or reset the circuit breaker. + type: string + msg_type_urls: + description: |- + msg_type_urls specifies a list of Msg type URLs to resume processing. If + it is left empty all Msg processing for type URLs that the account is + authorized to trip will resume. + type: array + items: + type: string + cosmos.circuit.v1.MsgResetCircuitBreakerResponse: + description: MsgResetCircuitBreakerResponse defines the Msg/ResetCircuitBreaker response type. + type: object + properties: + success: + type: boolean + cosmos.circuit.v1.MsgTripCircuitBreaker: + description: MsgTripCircuitBreaker defines the Msg/TripCircuitBreaker request type. + type: object + properties: + authority: + description: authority is the account authorized to trip the circuit breaker. + type: string + msg_type_urls: + description: |- + msg_type_urls specifies a list of type URLs to immediately stop processing. + IF IT IS LEFT EMPTY, ALL MSG PROCESSING WILL STOP IMMEDIATELY. + This value is validated against the authority's permissions and if the + authority does not have permissions to trip the specified msg type URLs + (or all URLs), the operation will fail. + type: array + items: + type: string + cosmos.circuit.v1.MsgTripCircuitBreakerResponse: + description: MsgTripCircuitBreakerResponse defines the Msg/TripCircuitBreaker response type. + type: object + properties: + success: + type: boolean + cosmos.circuit.v1.Permissions: + description: |- + Permissions are the permissions that an account has to trip + or reset the circuit breaker. + type: object + properties: + level: + description: level is the level of permissions granted to this account. + $ref: '#/definitions/cosmos.circuit.v1.Permissions.Level' + limit_type_urls: + 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 + a level other than LEVEL_SOME_MSGS. + type: array + items: + type: string + cosmos.circuit.v1.Permissions.Level: + description: |- + Level is the permission level. + + - LEVEL_NONE_UNSPECIFIED: LEVEL_NONE_UNSPECIFIED indicates that the account will have no circuit + breaker permissions. + - LEVEL_SOME_MSGS: LEVEL_SOME_MSGS indicates that the account will have permission to + trip or reset the circuit breaker for some Msg type URLs. If this level + is chosen, a non-empty list of Msg type URLs must be provided in + limit_type_urls. + - LEVEL_ALL_MSGS: LEVEL_ALL_MSGS indicates that the account can trip or reset the circuit + breaker for Msg's of all type URLs. + - LEVEL_SUPER_ADMIN: LEVEL_SUPER_ADMIN indicates that the account can take all circuit breaker + actions and can grant permissions to other accounts. + type: string + default: LEVEL_NONE_UNSPECIFIED + enum: + - LEVEL_NONE_UNSPECIFIED + - LEVEL_SOME_MSGS + - LEVEL_ALL_MSGS + - LEVEL_SUPER_ADMIN + cosmos.consensus.v1.MsgUpdateParams: + description: MsgUpdateParams is the Msg/UpdateParams request type. + type: object + properties: + abci: + title: 'Since: cosmos-sdk 0.50' + $ref: '#/definitions/tendermint.types.ABCIParams' + authority: + description: authority is the address that controls the module (defaults to x/gov unless overwritten). + type: string + block: + description: |- + params defines the x/consensus parameters to update. + VersionsParams is not included in this Msg because it is tracked + separarately in x/upgrade. + + NOTE: All parameters must be supplied. + $ref: '#/definitions/tendermint.types.BlockParams' + evidence: + $ref: '#/definitions/tendermint.types.EvidenceParams' + validator: + $ref: '#/definitions/tendermint.types.ValidatorParams' + cosmos.consensus.v1.MsgUpdateParamsResponse: + description: |- + MsgUpdateParamsResponse defines the response structure for executing a + MsgUpdateParams message. + type: object + cosmos.consensus.v1.QueryParamsResponse: + description: QueryParamsResponse defines the response type for querying x/consensus parameters. + 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 + tracked separately in the x/upgrade module. + $ref: '#/definitions/tendermint.types.ConsensusParams' + cosmos.crisis.v1beta1.MsgUpdateParams: + description: |- + MsgUpdateParams is the Msg/UpdateParams request type. + + Since: cosmos-sdk 0.47 + type: object + properties: + authority: + description: authority is the address that controls the module (defaults to x/gov unless overwritten). + type: string + constant_fee: + description: constant_fee defines the x/crisis parameter. + $ref: '#/definitions/cosmos.base.v1beta1.Coin' + cosmos.crisis.v1beta1.MsgUpdateParamsResponse: + description: |- + MsgUpdateParamsResponse defines the response structure for executing a + MsgUpdateParams message. + + Since: cosmos-sdk 0.47 + type: object + cosmos.crisis.v1beta1.MsgVerifyInvariant: + description: MsgVerifyInvariant represents a message to verify a particular invariance. + type: object + properties: + invariant_module_name: + description: name of the invariant module. + type: string + invariant_route: + description: invariant_route is the msg's invariant route. + type: string + sender: + description: sender is the account address of private key to send coins to fee collector account. + type: string + cosmos.crisis.v1beta1.MsgVerifyInvariantResponse: + description: MsgVerifyInvariantResponse defines the Msg/VerifyInvariant response type. + type: object + cosmos.crypto.multisig.v1beta1.CompactBitArray: + 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 + space after proto encoding. + This is not thread safe, and is not intended for concurrent usage. + type: object + properties: + elems: + type: string + format: byte + extra_bits_stored: + type: integer + format: int64 + cosmos.distribution.v1beta1.DelegationDelegatorReward: + description: |- + DelegationDelegatorReward represents the properties + of a delegator's delegation reward. + type: object + properties: + reward: + type: array + items: + type: object + $ref: '#/definitions/cosmos.base.v1beta1.DecCoin' + validator_address: + type: string + cosmos.distribution.v1beta1.MsgCommunityPoolSpend: + description: |- + MsgCommunityPoolSpend defines a message for sending tokens from the community + pool to another account. This message is typically executed via a governance + proposal with the governance module being the executing authority. + + Since: cosmos-sdk 0.47 + type: object + properties: + amount: + type: array + items: + type: object + $ref: '#/definitions/cosmos.base.v1beta1.Coin' + authority: + description: authority is the address that controls the module (defaults to x/gov unless overwritten). + type: string + recipient: + type: string + cosmos.distribution.v1beta1.MsgCommunityPoolSpendResponse: + description: |- + MsgCommunityPoolSpendResponse defines the response to executing a + MsgCommunityPoolSpend message. + + Since: cosmos-sdk 0.47 + type: object + cosmos.distribution.v1beta1.MsgDepositValidatorRewardsPool: + description: |- + DepositValidatorRewardsPool defines the request structure to provide + additional rewards to delegators from a specific validator. + + Since: cosmos-sdk 0.50 + type: object + properties: + amount: + type: array + items: + type: object + $ref: '#/definitions/cosmos.base.v1beta1.Coin' + depositor: + type: string + validator_address: + type: string + cosmos.distribution.v1beta1.MsgDepositValidatorRewardsPoolResponse: + description: |- + MsgDepositValidatorRewardsPoolResponse defines the response to executing a + MsgDepositValidatorRewardsPool message. + + Since: cosmos-sdk 0.50 + type: object + cosmos.distribution.v1beta1.MsgFundCommunityPool: + description: |- + MsgFundCommunityPool allows an account to directly + fund the community pool. + type: object + properties: + amount: + type: array + items: + type: object + $ref: '#/definitions/cosmos.base.v1beta1.Coin' + depositor: + type: string + cosmos.distribution.v1beta1.MsgFundCommunityPoolResponse: + description: MsgFundCommunityPoolResponse defines the Msg/FundCommunityPool response type. + type: object + cosmos.distribution.v1beta1.MsgSetWithdrawAddress: + description: |- + MsgSetWithdrawAddress sets the withdraw address for + a delegator (or validator self-delegation). + type: object + properties: + delegator_address: + type: string + withdraw_address: + type: string + cosmos.distribution.v1beta1.MsgSetWithdrawAddressResponse: + description: |- + MsgSetWithdrawAddressResponse defines the Msg/SetWithdrawAddress response + type. + type: object + cosmos.distribution.v1beta1.MsgUpdateParams: + description: |- + MsgUpdateParams is the Msg/UpdateParams request type. + + Since: cosmos-sdk 0.47 + type: object + properties: + authority: + description: authority is the address that controls the module (defaults to x/gov unless overwritten). + type: string + params: + description: |- + params defines the x/distribution parameters to update. + + NOTE: All parameters must be supplied. + $ref: '#/definitions/cosmos.distribution.v1beta1.Params' + cosmos.distribution.v1beta1.MsgUpdateParamsResponse: + description: |- + MsgUpdateParamsResponse defines the response structure for executing a + MsgUpdateParams message. + + Since: cosmos-sdk 0.47 + type: object + cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward: + description: |- + MsgWithdrawDelegatorReward represents delegation withdrawal to a delegator + from a single validator. + type: object + properties: + delegator_address: + type: string + validator_address: + type: string + cosmos.distribution.v1beta1.MsgWithdrawDelegatorRewardResponse: + description: |- + MsgWithdrawDelegatorRewardResponse defines the Msg/WithdrawDelegatorReward + response type. + type: object + properties: + amount: + type: array + title: 'Since: cosmos-sdk 0.46' + items: + type: object + $ref: '#/definitions/cosmos.base.v1beta1.Coin' + cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission: + description: |- + MsgWithdrawValidatorCommission withdraws the full commission to the validator + address. + type: object + properties: + validator_address: + type: string + cosmos.distribution.v1beta1.MsgWithdrawValidatorCommissionResponse: + description: |- + MsgWithdrawValidatorCommissionResponse defines the + Msg/WithdrawValidatorCommission response type. + type: object + properties: + amount: + type: array + title: 'Since: cosmos-sdk 0.46' + items: + type: object + $ref: '#/definitions/cosmos.base.v1beta1.Coin' + cosmos.distribution.v1beta1.Params: + description: Params defines the set of params for the distribution module. + type: object + properties: + base_proposer_reward: + description: |- + Deprecated: The base_proposer_reward field is deprecated and is no longer used + in the x/distribution module's reward mechanism. + type: string + bonus_proposer_reward: + description: |- + Deprecated: The bonus_proposer_reward field is deprecated and is no longer used + in the x/distribution module's reward mechanism. + type: string + community_tax: + type: string + withdraw_addr_enabled: + type: boolean + cosmos.distribution.v1beta1.QueryCommunityPoolResponse: + description: |- + QueryCommunityPoolResponse is the response type for the Query/CommunityPool + RPC method. + type: object + properties: + pool: + description: pool defines community pool's coins. + type: array + items: + type: object + $ref: '#/definitions/cosmos.base.v1beta1.DecCoin' + cosmos.distribution.v1beta1.QueryDelegationRewardsResponse: + description: |- + QueryDelegationRewardsResponse is the response type for the + Query/DelegationRewards RPC method. + type: object + properties: + rewards: + description: rewards defines the rewards accrued by a delegation. + type: array + items: + type: object + $ref: '#/definitions/cosmos.base.v1beta1.DecCoin' + cosmos.distribution.v1beta1.QueryDelegationTotalRewardsResponse: + description: |- + QueryDelegationTotalRewardsResponse is the response type for the + Query/DelegationTotalRewards RPC method. + type: object + properties: + rewards: + description: rewards defines all the rewards accrued by a delegator. + type: array + items: + type: object + $ref: '#/definitions/cosmos.distribution.v1beta1.DelegationDelegatorReward' + total: + description: total defines the sum of all the rewards. + type: array + items: + type: object + $ref: '#/definitions/cosmos.base.v1beta1.DecCoin' + cosmos.distribution.v1beta1.QueryDelegatorValidatorsResponse: + description: |- + QueryDelegatorValidatorsResponse is the response type for the + Query/DelegatorValidators RPC method. + type: object + properties: + validators: + description: validators defines the validators a delegator is delegating for. + type: array + items: + type: string + cosmos.distribution.v1beta1.QueryDelegatorWithdrawAddressResponse: + description: |- + QueryDelegatorWithdrawAddressResponse is the response type for the + Query/DelegatorWithdrawAddress RPC method. + type: object + properties: + withdraw_address: + description: withdraw_address defines the delegator address to query for. + type: string + cosmos.distribution.v1beta1.QueryParamsResponse: + description: QueryParamsResponse is the response type for the Query/Params RPC method. + type: object + properties: + params: + description: params defines the parameters of the module. + $ref: '#/definitions/cosmos.distribution.v1beta1.Params' + cosmos.distribution.v1beta1.QueryValidatorCommissionResponse: + type: object + title: |- + QueryValidatorCommissionResponse is the response type for the + Query/ValidatorCommission RPC method + properties: + commission: + description: commission defines the commission the validator received. + $ref: '#/definitions/cosmos.distribution.v1beta1.ValidatorAccumulatedCommission' + cosmos.distribution.v1beta1.QueryValidatorDistributionInfoResponse: + description: QueryValidatorDistributionInfoResponse is the response type for the Query/ValidatorDistributionInfo RPC method. + type: object + properties: + commission: + description: commission defines the commission the validator received. + type: array + items: + type: object + $ref: '#/definitions/cosmos.base.v1beta1.DecCoin' + operator_address: + description: operator_address defines the validator operator address. + type: string + self_bond_rewards: + description: self_bond_rewards defines the self delegations rewards. + type: array + items: + type: object + $ref: '#/definitions/cosmos.base.v1beta1.DecCoin' + cosmos.distribution.v1beta1.QueryValidatorOutstandingRewardsResponse: + description: |- + QueryValidatorOutstandingRewardsResponse is the response type for the + Query/ValidatorOutstandingRewards RPC method. + type: object + properties: + rewards: + $ref: '#/definitions/cosmos.distribution.v1beta1.ValidatorOutstandingRewards' + cosmos.distribution.v1beta1.QueryValidatorSlashesResponse: + description: |- + QueryValidatorSlashesResponse is the response type for the + Query/ValidatorSlashes RPC method. + type: object + properties: + pagination: + description: pagination defines the pagination in the response. + $ref: '#/definitions/cosmos.base.query.v1beta1.PageResponse' + slashes: + description: slashes defines the slashes the validator received. + type: array + items: + type: object + $ref: '#/definitions/cosmos.distribution.v1beta1.ValidatorSlashEvent' + cosmos.distribution.v1beta1.ValidatorAccumulatedCommission: + description: |- + ValidatorAccumulatedCommission represents accumulated commission + for a validator kept as a running counter, can be withdrawn at any time. + type: object + properties: + commission: + type: array + items: + type: object + $ref: '#/definitions/cosmos.base.v1beta1.DecCoin' + cosmos.distribution.v1beta1.ValidatorOutstandingRewards: + description: |- + ValidatorOutstandingRewards represents outstanding (un-withdrawn) rewards + for a validator inexpensive to track, allows simple sanity checks. + type: object + properties: + rewards: + type: array + items: + type: object + $ref: '#/definitions/cosmos.base.v1beta1.DecCoin' + cosmos.distribution.v1beta1.ValidatorSlashEvent: + 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. + type: object + properties: + fraction: + type: string + validator_period: + type: string + format: uint64 + cosmos.evidence.v1beta1.MsgSubmitEvidence: + description: |- + MsgSubmitEvidence represents a message that supports submitting arbitrary + Evidence of misbehavior such as equivocation or counterfactual signing. + type: object + properties: + evidence: + description: evidence defines the evidence of misbehavior. + $ref: '#/definitions/google.protobuf.Any' + submitter: + description: submitter is the signer account address of evidence. + type: string + cosmos.evidence.v1beta1.MsgSubmitEvidenceResponse: + description: MsgSubmitEvidenceResponse defines the Msg/SubmitEvidence response type. + type: object + properties: + hash: + description: hash defines the hash of the evidence. + type: string + format: byte + cosmos.evidence.v1beta1.QueryAllEvidenceResponse: + description: |- + QueryAllEvidenceResponse is the response type for the Query/AllEvidence RPC + method. + type: object + properties: + evidence: + description: evidence returns all evidences. + type: array + items: + type: object + $ref: '#/definitions/google.protobuf.Any' + pagination: + description: pagination defines the pagination in the response. + $ref: '#/definitions/cosmos.base.query.v1beta1.PageResponse' + cosmos.evidence.v1beta1.QueryEvidenceResponse: + description: QueryEvidenceResponse is the response type for the Query/Evidence RPC method. + type: object + properties: + evidence: + description: evidence returns the requested evidence. + $ref: '#/definitions/google.protobuf.Any' + cosmos.feegrant.v1beta1.Grant: + type: object + title: Grant is stored in the KVStore to record a grant with full context + properties: + allowance: + description: allowance can be any of basic, periodic, allowed fee allowance. + $ref: '#/definitions/google.protobuf.Any' + grantee: + description: grantee is the address of the user being granted an allowance of another user's funds. + type: string + granter: + description: granter is the address of the user granting an allowance of their funds. + type: string + cosmos.feegrant.v1beta1.MsgGrantAllowance: + description: |- + MsgGrantAllowance adds permission for Grantee to spend up to Allowance + of fees from the account of Granter. + type: object + properties: + allowance: + description: allowance can be any of basic, periodic, allowed fee allowance. + $ref: '#/definitions/google.protobuf.Any' + grantee: + description: grantee is the address of the user being granted an allowance of another user's funds. + type: string + granter: + description: granter is the address of the user granting an allowance of their funds. + type: string + cosmos.feegrant.v1beta1.MsgGrantAllowanceResponse: + description: MsgGrantAllowanceResponse defines the Msg/GrantAllowanceResponse response type. + type: object + cosmos.feegrant.v1beta1.MsgPruneAllowances: + description: |- + MsgPruneAllowances prunes expired fee allowances. + + Since cosmos-sdk 0.50 + type: object + properties: + pruner: + description: pruner is the address of the user pruning expired allowances. + type: string + cosmos.feegrant.v1beta1.MsgPruneAllowancesResponse: + description: |- + MsgPruneAllowancesResponse defines the Msg/PruneAllowancesResponse response type. + + Since cosmos-sdk 0.50 + type: object + cosmos.feegrant.v1beta1.MsgRevokeAllowance: + description: MsgRevokeAllowance removes any existing Allowance from Granter to Grantee. + type: object + properties: + grantee: + description: grantee is the address of the user being granted an allowance of another user's funds. + type: string + granter: + description: granter is the address of the user granting an allowance of their funds. + type: string + cosmos.feegrant.v1beta1.MsgRevokeAllowanceResponse: + description: MsgRevokeAllowanceResponse defines the Msg/RevokeAllowanceResponse response type. + type: object + cosmos.feegrant.v1beta1.QueryAllowanceResponse: + description: QueryAllowanceResponse is the response type for the Query/Allowance RPC method. + type: object + properties: + allowance: + description: allowance is a allowance granted for grantee by granter. + $ref: '#/definitions/cosmos.feegrant.v1beta1.Grant' + cosmos.feegrant.v1beta1.QueryAllowancesByGranterResponse: + description: |- + QueryAllowancesByGranterResponse is the response type for the Query/AllowancesByGranter RPC method. + + Since: cosmos-sdk 0.46 + type: object + properties: + allowances: + description: allowances that have been issued by the granter. + type: array + items: + type: object + $ref: '#/definitions/cosmos.feegrant.v1beta1.Grant' + pagination: + description: pagination defines an pagination for the response. + $ref: '#/definitions/cosmos.base.query.v1beta1.PageResponse' + cosmos.feegrant.v1beta1.QueryAllowancesResponse: + description: QueryAllowancesResponse is the response type for the Query/Allowances RPC method. + type: object + properties: + allowances: + description: allowances are allowance's granted for grantee by granter. + type: array + items: + type: object + $ref: '#/definitions/cosmos.feegrant.v1beta1.Grant' + pagination: + description: pagination defines an pagination for the response. + $ref: '#/definitions/cosmos.base.query.v1beta1.PageResponse' + cosmos.gov.v1.Deposit: + description: |- + Deposit defines an amount deposited by an account address to an active + proposal. + type: object + properties: + amount: + description: amount to be deposited by depositor. + type: array + items: + type: object + $ref: '#/definitions/cosmos.base.v1beta1.Coin' + depositor: + description: depositor defines the deposit addresses from the proposals. + type: string + proposal_id: + description: proposal_id defines the unique id of the proposal. + type: string + format: uint64 + cosmos.gov.v1.DepositParams: + description: DepositParams defines the params for deposits on governance proposals. + type: object + properties: + max_deposit_period: + description: |- + Maximum period for Atom holders to deposit on a proposal. Initial value: 2 + months. + type: string + min_deposit: + description: Minimum deposit for a proposal to enter voting period. + type: array + items: + type: object + $ref: '#/definitions/cosmos.base.v1beta1.Coin' + cosmos.gov.v1.MsgCancelProposal: + description: |- + MsgCancelProposal is the Msg/CancelProposal request type. + + Since: cosmos-sdk 0.50 + type: object + properties: + proposal_id: + description: proposal_id defines the unique id of the proposal. + type: string + format: uint64 + proposer: + description: proposer is the account address of the proposer. + type: string + cosmos.gov.v1.MsgCancelProposalResponse: + description: |- + MsgCancelProposalResponse defines the response structure for executing a + MsgCancelProposal message. + + Since: cosmos-sdk 0.50 + type: object + properties: + canceled_height: + description: canceled_height defines the block height at which the proposal is canceled. + type: string + format: uint64 + canceled_time: + description: canceled_time is the time when proposal is canceled. + type: string + format: date-time + proposal_id: + description: proposal_id defines the unique id of the proposal. + type: string + format: uint64 + cosmos.gov.v1.MsgDeposit: + description: MsgDeposit defines a message to submit a deposit to an existing proposal. + type: object + properties: + amount: + description: amount to be deposited by depositor. + type: array + items: + type: object + $ref: '#/definitions/cosmos.base.v1beta1.Coin' + depositor: + description: depositor defines the deposit addresses from the proposals. + type: string + proposal_id: + description: proposal_id defines the unique id of the proposal. + type: string + format: uint64 + cosmos.gov.v1.MsgDepositResponse: + description: MsgDepositResponse defines the Msg/Deposit response type. + type: object + cosmos.gov.v1.MsgExecLegacyContent: + description: |- + MsgExecLegacyContent is used to wrap the legacy content field into a message. + This ensures backwards compatibility with v1beta1.MsgSubmitProposal. + type: object + properties: + authority: + description: authority must be the gov module address. + type: string + content: + description: content is the proposal's content. + $ref: '#/definitions/google.protobuf.Any' + cosmos.gov.v1.MsgExecLegacyContentResponse: + description: MsgExecLegacyContentResponse defines the Msg/ExecLegacyContent response type. + type: object + cosmos.gov.v1.MsgSubmitProposal: + description: |- + MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary + proposal Content. + type: object + properties: + expedited: + description: 'Since: cosmos-sdk 0.50' + type: boolean + title: expedited defines if the proposal is expedited or not + initial_deposit: + description: initial_deposit is the deposit value that must be paid at proposal submission. + type: array + items: + type: object + $ref: '#/definitions/cosmos.base.v1beta1.Coin' + messages: + description: messages are the arbitrary messages to be executed if proposal passes. + type: array + items: + type: object + $ref: '#/definitions/google.protobuf.Any' + metadata: + description: metadata is any arbitrary metadata attached to the proposal. + type: string + proposer: + description: proposer is the account address of the proposer. + type: string + summary: + description: 'Since: cosmos-sdk 0.47' + type: string + title: summary is the summary of the proposal + title: + description: |- + title is the title of the proposal. + + Since: cosmos-sdk 0.47 + type: string + cosmos.gov.v1.MsgSubmitProposalResponse: + description: MsgSubmitProposalResponse defines the Msg/SubmitProposal response type. + type: object + properties: + proposal_id: + description: proposal_id defines the unique id of the proposal. + type: string + format: uint64 + cosmos.gov.v1.MsgUpdateParams: + description: |- + MsgUpdateParams is the Msg/UpdateParams request type. + + Since: cosmos-sdk 0.47 + type: object + properties: + authority: + description: authority is the address that controls the module (defaults to x/gov unless overwritten). + type: string + params: + description: |- + params defines the x/gov parameters to update. + + NOTE: All parameters must be supplied. + $ref: '#/definitions/cosmos.gov.v1.Params' + cosmos.gov.v1.MsgUpdateParamsResponse: + description: |- + MsgUpdateParamsResponse defines the response structure for executing a + MsgUpdateParams message. + + Since: cosmos-sdk 0.47 + type: object + cosmos.gov.v1.MsgVote: + description: MsgVote defines a message to cast a vote. + type: object + properties: + metadata: + description: metadata is any arbitrary metadata attached to the Vote. + type: string + option: + description: option defines the vote option. + $ref: '#/definitions/cosmos.gov.v1.VoteOption' + proposal_id: + description: proposal_id defines the unique id of the proposal. + type: string + format: uint64 + voter: + description: voter is the voter address for the proposal. + type: string + cosmos.gov.v1.MsgVoteResponse: + description: MsgVoteResponse defines the Msg/Vote response type. + type: object + cosmos.gov.v1.MsgVoteWeighted: + description: MsgVoteWeighted defines a message to cast a vote. + type: object + properties: + metadata: + description: metadata is any arbitrary metadata attached to the VoteWeighted. + type: string + options: + description: options defines the weighted vote options. + type: array + items: + type: object + $ref: '#/definitions/cosmos.gov.v1.WeightedVoteOption' + proposal_id: + description: proposal_id defines the unique id of the proposal. + type: string + format: uint64 + voter: + description: voter is the voter address for the proposal. + type: string + cosmos.gov.v1.MsgVoteWeightedResponse: + description: MsgVoteWeightedResponse defines the Msg/VoteWeighted response type. + type: object + cosmos.gov.v1.Params: + description: |- + Params defines the parameters for the x/gov module. + + Since: cosmos-sdk 0.47 + type: object + properties: + burn_proposal_deposit_prevote: + type: boolean + title: burn deposits if the proposal does not enter voting period + burn_vote_quorum: + type: boolean + title: burn deposits if a proposal does not meet quorum + burn_vote_veto: + type: boolean + title: burn deposits if quorum with vote type no_veto is met + expedited_min_deposit: + description: Minimum expedited deposit for a proposal to enter voting period. + type: array + items: + type: object + $ref: '#/definitions/cosmos.base.v1beta1.Coin' + expedited_threshold: + description: |- + Minimum proportion of Yes votes for proposal to pass. Default value: 0.67. + + Since: cosmos-sdk 0.50 + type: string + expedited_voting_period: + description: |- + Duration of the voting period of an expedited proposal. + + Since: cosmos-sdk 0.50 + type: string + max_deposit_period: + description: |- + Maximum period for Atom holders to deposit on a proposal. Initial value: 2 + months. + type: string + min_deposit: + description: Minimum deposit for a proposal to enter voting period. + type: array + items: + type: object + $ref: '#/definitions/cosmos.base.v1beta1.Coin' + min_deposit_ratio: + 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 + required. + + Since: cosmos-sdk 0.50 + type: string + min_initial_deposit_ratio: + description: The ratio representing the proportion of the deposit value that must be paid at proposal submission. + type: string + proposal_cancel_dest: + description: |- + The address which will receive (proposal_cancel_ratio * deposit) proposal deposits. + If empty, the (proposal_cancel_ratio * deposit) proposal deposits will be burned. + + Since: cosmos-sdk 0.50 + type: string + proposal_cancel_ratio: + description: |- + The cancel ratio which will not be returned back to the depositors when a proposal is cancelled. + + Since: cosmos-sdk 0.50 + type: string + quorum: + description: |- + Minimum percentage of total stake needed to vote for a result to be + considered valid. + type: string + threshold: + description: 'Minimum proportion of Yes votes for proposal to pass. Default value: 0.5.' + type: string + veto_threshold: + description: |- + Minimum value of Veto votes to Total votes ratio for proposal to be + vetoed. Default value: 1/3. + type: string + voting_period: + description: Duration of the voting period. + type: string + cosmos.gov.v1.Proposal: + description: Proposal defines the core field members of a governance proposal. + type: object + properties: + deposit_end_time: + description: deposit_end_time is the end time for deposition. + type: string + format: date-time + expedited: + description: 'Since: cosmos-sdk 0.50' + type: boolean + title: expedited defines if the proposal is expedited + failed_reason: + description: 'Since: cosmos-sdk 0.50' + type: string + title: failed_reason defines the reason why the proposal failed + 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 + proposal's voting period has ended. + $ref: '#/definitions/cosmos.gov.v1.TallyResult' + id: + description: id defines the unique id of the proposal. + type: string + format: uint64 + messages: + description: messages are the arbitrary messages to be executed if the proposal passes. + type: array + items: + type: object + $ref: '#/definitions/google.protobuf.Any' + metadata: + type: string + title: |- + 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 + proposer: + description: 'Since: cosmos-sdk 0.47' + type: string + title: proposer is the address of the proposal sumbitter + status: + description: status defines the proposal status. + $ref: '#/definitions/cosmos.gov.v1.ProposalStatus' + submit_time: + description: submit_time is the time of proposal submission. + type: string + format: date-time + summary: + description: 'Since: cosmos-sdk 0.47' + type: string + title: summary is a short summary of the proposal + title: + description: 'Since: cosmos-sdk 0.47' + type: string + title: title is the title of the proposal + total_deposit: + description: total_deposit is the total deposit on the proposal. + type: array + items: + type: object + $ref: '#/definitions/cosmos.base.v1beta1.Coin' + voting_end_time: + description: voting_end_time is the end time of voting on a proposal. + type: string + format: date-time + voting_start_time: + description: voting_start_time is the starting time to vote on a proposal. + type: string + format: date-time + cosmos.gov.v1.ProposalStatus: + description: |- + ProposalStatus enumerates the valid statuses of a proposal. + + - PROPOSAL_STATUS_UNSPECIFIED: PROPOSAL_STATUS_UNSPECIFIED defines the default proposal status. + - PROPOSAL_STATUS_DEPOSIT_PERIOD: PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit + period. + - PROPOSAL_STATUS_VOTING_PERIOD: PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting + period. + - PROPOSAL_STATUS_PASSED: PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has + passed. + - PROPOSAL_STATUS_REJECTED: PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has + been rejected. + - PROPOSAL_STATUS_FAILED: PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has + failed. + type: string + default: PROPOSAL_STATUS_UNSPECIFIED + enum: + - PROPOSAL_STATUS_UNSPECIFIED + - PROPOSAL_STATUS_DEPOSIT_PERIOD + - PROPOSAL_STATUS_VOTING_PERIOD + - PROPOSAL_STATUS_PASSED + - PROPOSAL_STATUS_REJECTED + - PROPOSAL_STATUS_FAILED + cosmos.gov.v1.QueryConstitutionResponse: + type: object + title: QueryConstitutionResponse is the response type for the Query/Constitution RPC method + properties: + constitution: + type: string + cosmos.gov.v1.QueryDepositResponse: + description: QueryDepositResponse is the response type for the Query/Deposit RPC method. + type: object + properties: + deposit: + description: deposit defines the requested deposit. + $ref: '#/definitions/cosmos.gov.v1.Deposit' + cosmos.gov.v1.QueryDepositsResponse: + description: QueryDepositsResponse is the response type for the Query/Deposits RPC method. + type: object + properties: + deposits: + description: deposits defines the requested deposits. + type: array + items: + type: object + $ref: '#/definitions/cosmos.gov.v1.Deposit' + pagination: + description: pagination defines the pagination in the response. + $ref: '#/definitions/cosmos.base.query.v1beta1.PageResponse' + cosmos.gov.v1.QueryParamsResponse: + description: QueryParamsResponse is the response type for the Query/Params RPC method. + type: object + properties: + deposit_params: + description: |- + Deprecated: Prefer to use `params` instead. + deposit_params defines the parameters related to deposit. + $ref: '#/definitions/cosmos.gov.v1.DepositParams' + params: + description: |- + params defines all the paramaters of x/gov module. + + Since: cosmos-sdk 0.47 + $ref: '#/definitions/cosmos.gov.v1.Params' + tally_params: + description: |- + Deprecated: Prefer to use `params` instead. + tally_params defines the parameters related to tally. + $ref: '#/definitions/cosmos.gov.v1.TallyParams' + voting_params: + description: |- + Deprecated: Prefer to use `params` instead. + voting_params defines the parameters related to voting. + $ref: '#/definitions/cosmos.gov.v1.VotingParams' + cosmos.gov.v1.QueryProposalResponse: + description: QueryProposalResponse is the response type for the Query/Proposal RPC method. + type: object + properties: + proposal: + description: proposal is the requested governance proposal. + $ref: '#/definitions/cosmos.gov.v1.Proposal' + cosmos.gov.v1.QueryProposalsResponse: + description: |- + QueryProposalsResponse is the response type for the Query/Proposals RPC + method. + type: object + properties: + pagination: + description: pagination defines the pagination in the response. + $ref: '#/definitions/cosmos.base.query.v1beta1.PageResponse' + proposals: + description: proposals defines all the requested governance proposals. + type: array + items: + type: object + $ref: '#/definitions/cosmos.gov.v1.Proposal' + cosmos.gov.v1.QueryTallyResultResponse: + description: QueryTallyResultResponse is the response type for the Query/Tally RPC method. + type: object + properties: + tally: + description: tally defines the requested tally. + $ref: '#/definitions/cosmos.gov.v1.TallyResult' + cosmos.gov.v1.QueryVoteResponse: + description: QueryVoteResponse is the response type for the Query/Vote RPC method. + type: object + properties: + vote: + description: vote defines the queried vote. + $ref: '#/definitions/cosmos.gov.v1.Vote' + cosmos.gov.v1.QueryVotesResponse: + description: QueryVotesResponse is the response type for the Query/Votes RPC method. + type: object + properties: + pagination: + description: pagination defines the pagination in the response. + $ref: '#/definitions/cosmos.base.query.v1beta1.PageResponse' + votes: + description: votes defines the queried votes. + type: array + items: + type: object + $ref: '#/definitions/cosmos.gov.v1.Vote' + cosmos.gov.v1.TallyParams: + description: TallyParams defines the params for tallying votes on governance proposals. + type: object + properties: + quorum: + description: |- + Minimum percentage of total stake needed to vote for a result to be + considered valid. + type: string + threshold: + description: 'Minimum proportion of Yes votes for proposal to pass. Default value: 0.5.' + type: string + veto_threshold: + description: |- + Minimum value of Veto votes to Total votes ratio for proposal to be + vetoed. Default value: 1/3. + type: string + cosmos.gov.v1.TallyResult: + description: TallyResult defines a standard tally for a governance proposal. + type: object + properties: + abstain_count: + description: abstain_count is the number of abstain votes on a proposal. + type: string + no_count: + description: no_count is the number of no votes on a proposal. + type: string + no_with_veto_count: + description: no_with_veto_count is the number of no with veto votes on a proposal. + type: string + yes_count: + description: yes_count is the number of yes votes on a proposal. + type: string + cosmos.gov.v1.Vote: + description: |- + Vote defines a vote on a governance proposal. + A Vote consists of a proposal ID, the voter, and the vote option. + type: object + properties: + 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 + options: + description: options is the weighted vote options. + type: array + items: + type: object + $ref: '#/definitions/cosmos.gov.v1.WeightedVoteOption' + proposal_id: + description: proposal_id defines the unique id of the proposal. + type: string + format: uint64 + voter: + description: voter is the voter address of the proposal. + type: string + cosmos.gov.v1.VoteOption: + description: |- + 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. + type: string + default: VOTE_OPTION_UNSPECIFIED + enum: + - VOTE_OPTION_UNSPECIFIED + - VOTE_OPTION_YES + - VOTE_OPTION_ABSTAIN + - VOTE_OPTION_NO + - VOTE_OPTION_NO_WITH_VETO + cosmos.gov.v1.VotingParams: + description: VotingParams defines the params for voting on governance proposals. + type: object + properties: + voting_period: + description: Duration of the voting period. + type: string + cosmos.gov.v1.WeightedVoteOption: + description: WeightedVoteOption defines a unit of vote for vote split. + type: object + properties: + option: + description: option defines the valid vote options, it must not contain duplicate vote options. + $ref: '#/definitions/cosmos.gov.v1.VoteOption' + weight: + description: weight is the vote weight associated with the vote option. + type: string + cosmos.gov.v1beta1.Deposit: + description: |- + Deposit defines an amount deposited by an account address to an active + proposal. + type: object + properties: + amount: + description: amount to be deposited by depositor. + type: array + items: + type: object + $ref: '#/definitions/cosmos.base.v1beta1.Coin' + depositor: + description: depositor defines the deposit addresses from the proposals. + type: string + proposal_id: + description: proposal_id defines the unique id of the proposal. + type: string + format: uint64 + cosmos.gov.v1beta1.DepositParams: + description: DepositParams defines the params for deposits on governance proposals. + type: object + properties: + max_deposit_period: + description: |- + Maximum period for Atom holders to deposit on a proposal. Initial value: 2 + months. + type: string + min_deposit: + description: Minimum deposit for a proposal to enter voting period. + type: array + items: + type: object + $ref: '#/definitions/cosmos.base.v1beta1.Coin' + cosmos.gov.v1beta1.MsgDeposit: + description: MsgDeposit defines a message to submit a deposit to an existing proposal. + type: object + properties: + amount: + description: amount to be deposited by depositor. + type: array + items: + type: object + $ref: '#/definitions/cosmos.base.v1beta1.Coin' + depositor: + description: depositor defines the deposit addresses from the proposals. + type: string + proposal_id: + description: proposal_id defines the unique id of the proposal. + type: string + format: uint64 + cosmos.gov.v1beta1.MsgDepositResponse: + description: MsgDepositResponse defines the Msg/Deposit response type. + type: object + cosmos.gov.v1beta1.MsgSubmitProposal: + description: |- + MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary + proposal Content. + type: object + properties: + content: + description: content is the proposal's content. + $ref: '#/definitions/google.protobuf.Any' + initial_deposit: + description: initial_deposit is the deposit value that must be paid at proposal submission. + type: array + items: + type: object + $ref: '#/definitions/cosmos.base.v1beta1.Coin' + proposer: + description: proposer is the account address of the proposer. + type: string + cosmos.gov.v1beta1.MsgSubmitProposalResponse: + description: MsgSubmitProposalResponse defines the Msg/SubmitProposal response type. + type: object + properties: + proposal_id: + description: proposal_id defines the unique id of the proposal. + type: string + format: uint64 + cosmos.gov.v1beta1.MsgVote: + description: MsgVote defines a message to cast a vote. + type: object + properties: + option: + description: option defines the vote option. + $ref: '#/definitions/cosmos.gov.v1beta1.VoteOption' + proposal_id: + description: proposal_id defines the unique id of the proposal. + type: string + format: uint64 + voter: + description: voter is the voter address for the proposal. + type: string + cosmos.gov.v1beta1.MsgVoteResponse: + description: MsgVoteResponse defines the Msg/Vote response type. + type: object + cosmos.gov.v1beta1.MsgVoteWeighted: + description: |- + MsgVoteWeighted defines a message to cast a vote. + + Since: cosmos-sdk 0.43 + type: object + properties: + options: + description: options defines the weighted vote options. + type: array + items: + type: object + $ref: '#/definitions/cosmos.gov.v1beta1.WeightedVoteOption' + proposal_id: + description: proposal_id defines the unique id of the proposal. + type: string + format: uint64 + voter: + description: voter is the voter address for the proposal. + type: string + cosmos.gov.v1beta1.MsgVoteWeightedResponse: + description: |- + MsgVoteWeightedResponse defines the Msg/VoteWeighted response type. + + Since: cosmos-sdk 0.43 + type: object + cosmos.gov.v1beta1.Proposal: + description: Proposal defines the core field members of a governance proposal. + type: object + properties: + content: + description: content is the proposal's content. + $ref: '#/definitions/google.protobuf.Any' + deposit_end_time: + description: deposit_end_time is the end time for deposition. + type: string + format: date-time + 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 + proposal's voting period has ended. + $ref: '#/definitions/cosmos.gov.v1beta1.TallyResult' + proposal_id: + description: proposal_id defines the unique id of the proposal. + type: string + format: uint64 + status: + description: status defines the proposal status. + $ref: '#/definitions/cosmos.gov.v1beta1.ProposalStatus' + submit_time: + description: submit_time is the time of proposal submission. + type: string + format: date-time + total_deposit: + description: total_deposit is the total deposit on the proposal. + type: array + items: + type: object + $ref: '#/definitions/cosmos.base.v1beta1.Coin' + voting_end_time: + description: voting_end_time is the end time of voting on a proposal. + type: string + format: date-time + voting_start_time: + description: voting_start_time is the starting time to vote on a proposal. + type: string + format: date-time + cosmos.gov.v1beta1.ProposalStatus: + description: |- + ProposalStatus enumerates the valid statuses of a proposal. + + - PROPOSAL_STATUS_UNSPECIFIED: PROPOSAL_STATUS_UNSPECIFIED defines the default proposal status. + - PROPOSAL_STATUS_DEPOSIT_PERIOD: PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit + period. + - PROPOSAL_STATUS_VOTING_PERIOD: PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting + period. + - PROPOSAL_STATUS_PASSED: PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has + passed. + - PROPOSAL_STATUS_REJECTED: PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has + been rejected. + - PROPOSAL_STATUS_FAILED: PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has + failed. + type: string + default: PROPOSAL_STATUS_UNSPECIFIED + enum: + - PROPOSAL_STATUS_UNSPECIFIED + - PROPOSAL_STATUS_DEPOSIT_PERIOD + - PROPOSAL_STATUS_VOTING_PERIOD + - PROPOSAL_STATUS_PASSED + - PROPOSAL_STATUS_REJECTED + - PROPOSAL_STATUS_FAILED + cosmos.gov.v1beta1.QueryDepositResponse: + description: QueryDepositResponse is the response type for the Query/Deposit RPC method. + type: object + properties: + deposit: + description: deposit defines the requested deposit. + $ref: '#/definitions/cosmos.gov.v1beta1.Deposit' + cosmos.gov.v1beta1.QueryDepositsResponse: + description: QueryDepositsResponse is the response type for the Query/Deposits RPC method. + type: object + properties: + deposits: + description: deposits defines the requested deposits. + type: array + items: + type: object + $ref: '#/definitions/cosmos.gov.v1beta1.Deposit' + pagination: + description: pagination defines the pagination in the response. + $ref: '#/definitions/cosmos.base.query.v1beta1.PageResponse' + cosmos.gov.v1beta1.QueryParamsResponse: + description: QueryParamsResponse is the response type for the Query/Params RPC method. + type: object + properties: + deposit_params: + description: deposit_params defines the parameters related to deposit. + $ref: '#/definitions/cosmos.gov.v1beta1.DepositParams' + tally_params: + description: tally_params defines the parameters related to tally. + $ref: '#/definitions/cosmos.gov.v1beta1.TallyParams' + voting_params: + description: voting_params defines the parameters related to voting. + $ref: '#/definitions/cosmos.gov.v1beta1.VotingParams' + cosmos.gov.v1beta1.QueryProposalResponse: + description: QueryProposalResponse is the response type for the Query/Proposal RPC method. + type: object + properties: + proposal: + $ref: '#/definitions/cosmos.gov.v1beta1.Proposal' + cosmos.gov.v1beta1.QueryProposalsResponse: + description: |- + QueryProposalsResponse is the response type for the Query/Proposals RPC + method. + type: object + properties: + pagination: + description: pagination defines the pagination in the response. + $ref: '#/definitions/cosmos.base.query.v1beta1.PageResponse' + proposals: + description: proposals defines all the requested governance proposals. + type: array + items: + type: object + $ref: '#/definitions/cosmos.gov.v1beta1.Proposal' + cosmos.gov.v1beta1.QueryTallyResultResponse: + description: QueryTallyResultResponse is the response type for the Query/Tally RPC method. + type: object + properties: + tally: + description: tally defines the requested tally. + $ref: '#/definitions/cosmos.gov.v1beta1.TallyResult' + cosmos.gov.v1beta1.QueryVoteResponse: + description: QueryVoteResponse is the response type for the Query/Vote RPC method. + type: object + properties: + vote: + description: vote defines the queried vote. + $ref: '#/definitions/cosmos.gov.v1beta1.Vote' + cosmos.gov.v1beta1.QueryVotesResponse: + description: QueryVotesResponse is the response type for the Query/Votes RPC method. + type: object + properties: + pagination: + description: pagination defines the pagination in the response. + $ref: '#/definitions/cosmos.base.query.v1beta1.PageResponse' + votes: + description: votes defines the queried votes. + type: array + items: + type: object + $ref: '#/definitions/cosmos.gov.v1beta1.Vote' + cosmos.gov.v1beta1.TallyParams: + description: TallyParams defines the params for tallying votes on governance proposals. + type: object + properties: + quorum: + description: |- + Minimum percentage of total stake needed to vote for a result to be + considered valid. + type: string + format: byte + threshold: + description: 'Minimum proportion of Yes votes for proposal to pass. Default value: 0.5.' + type: string + format: byte + veto_threshold: + description: |- + Minimum value of Veto votes to Total votes ratio for proposal to be + vetoed. Default value: 1/3. + type: string + format: byte + cosmos.gov.v1beta1.TallyResult: + description: TallyResult defines a standard tally for a governance proposal. + type: object + properties: + abstain: + description: abstain is the number of abstain votes on a proposal. + type: string + no: + description: no is the number of no votes on a proposal. + type: string + no_with_veto: + description: no_with_veto is the number of no with veto votes on a proposal. + type: string + yes: + description: yes is the number of yes votes on a proposal. + type: string + cosmos.gov.v1beta1.Vote: + description: |- + Vote defines a vote on a governance proposal. + A Vote consists of a proposal ID, the voter, and the vote option. + type: object + properties: + 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 + other cases, this field will default to VOTE_OPTION_UNSPECIFIED. + $ref: '#/definitions/cosmos.gov.v1beta1.VoteOption' + options: + description: |- + options is the weighted vote options. + + Since: cosmos-sdk 0.43 + type: array + items: + type: object + $ref: '#/definitions/cosmos.gov.v1beta1.WeightedVoteOption' + proposal_id: + description: proposal_id defines the unique id of the proposal. + type: string + format: uint64 + voter: + description: voter is the voter address of the proposal. + type: string + cosmos.gov.v1beta1.VoteOption: + description: |- + 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. + type: string + default: VOTE_OPTION_UNSPECIFIED + enum: + - VOTE_OPTION_UNSPECIFIED + - VOTE_OPTION_YES + - VOTE_OPTION_ABSTAIN + - VOTE_OPTION_NO + - VOTE_OPTION_NO_WITH_VETO + cosmos.gov.v1beta1.VotingParams: + description: VotingParams defines the params for voting on governance proposals. + type: object + properties: + voting_period: + description: Duration of the voting period. + type: string + cosmos.gov.v1beta1.WeightedVoteOption: + description: |- + WeightedVoteOption defines a unit of vote for vote split. + + Since: cosmos-sdk 0.43 + type: object + properties: + option: + description: option defines the valid vote options, it must not contain duplicate vote options. + $ref: '#/definitions/cosmos.gov.v1beta1.VoteOption' + weight: + description: weight is the vote weight associated with the vote option. + type: string + cosmos.group.v1.Exec: + description: |- + Exec defines modes of execution of a proposal on creation or on new vote. + + - EXEC_UNSPECIFIED: An empty value means that there should be a separate + MsgExec request for the proposal to execute. + - EXEC_TRY: Try to execute the proposal immediately. + If the proposal is not allowed per the DecisionPolicy, + the proposal will still be open and could + be executed at a later point. + type: string + default: EXEC_UNSPECIFIED + enum: + - EXEC_UNSPECIFIED + - EXEC_TRY + cosmos.group.v1.GroupInfo: + description: GroupInfo represents the high-level on-chain information for a group. + type: object + properties: + admin: + description: admin is the account address of the group's admin. + type: string + created_at: + description: created_at is a timestamp specifying when a group was created. + type: string + format: date-time + id: + description: id is the unique ID of the group. + type: string + format: uint64 + metadata: + 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 + total_weight: + description: total_weight is the sum of the group members' weights. + type: string + 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 + cause proposals based on older versions of this group to fail + cosmos.group.v1.GroupMember: + description: GroupMember represents the relationship between a group and a member. + type: object + properties: + group_id: + description: group_id is the unique ID of the group. + type: string + format: uint64 + member: + description: member is the member data. + $ref: '#/definitions/cosmos.group.v1.Member' + cosmos.group.v1.GroupPolicyInfo: + description: GroupPolicyInfo represents the high-level on-chain information for a group policy. + type: object + properties: + address: + description: address is the account address of group policy. + type: string + admin: + description: admin is the account address of the group admin. + type: string + created_at: + description: created_at is a timestamp specifying when a group policy was created. + type: string + format: date-time + decision_policy: + description: decision_policy specifies the group policy's decision policy. + $ref: '#/definitions/google.protobuf.Any' + group_id: + description: group_id is the unique ID of the group. + type: string + format: uint64 + 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: + https://docs.cosmos.network/v0.47/modules/group#decision-policy-1 + version: + description: |- + version is used to track changes to a group's GroupPolicyInfo structure that + would create a different result on a running proposal. + type: string + format: uint64 + cosmos.group.v1.Member: + description: |- + Member represents a group member with an account address, + non-zero weight, metadata and added_at timestamp. + type: object + properties: + added_at: + description: added_at is a timestamp specifying when a member was added. + type: string + format: date-time + address: + description: address is the member's account address. + type: string + metadata: + description: metadata is any arbitrary metadata attached to the member. + type: string + weight: + description: weight is the member's voting weight that should be greater than 0. + type: string + cosmos.group.v1.MemberRequest: + description: |- + MemberRequest represents a group member to be used in Msg server requests. + Contrary to `Member`, it doesn't have any `added_at` field + since this field cannot be set as part of requests. + type: object + properties: + address: + description: address is the member's account address. + type: string + metadata: + description: metadata is any arbitrary metadata attached to the member. + type: string + weight: + description: weight is the member's voting weight that should be greater than 0. + type: string + cosmos.group.v1.MsgCreateGroup: + description: MsgCreateGroup is the Msg/CreateGroup request type. + type: object + properties: + admin: + description: admin is the account address of the group admin. + type: string + members: + description: members defines the group members. + type: array + items: + type: object + $ref: '#/definitions/cosmos.group.v1.MemberRequest' + metadata: + description: metadata is any arbitrary metadata to attached to the group. + type: string + cosmos.group.v1.MsgCreateGroupPolicy: + description: MsgCreateGroupPolicy is the Msg/CreateGroupPolicy request type. + type: object + properties: + admin: + description: admin is the account address of the group admin. + type: string + decision_policy: + description: decision_policy specifies the group policy's decision policy. + $ref: '#/definitions/google.protobuf.Any' + group_id: + description: group_id is the unique ID of the group. + type: string + format: uint64 + metadata: + description: metadata is any arbitrary metadata attached to the group policy. + type: string + cosmos.group.v1.MsgCreateGroupPolicyResponse: + description: MsgCreateGroupPolicyResponse is the Msg/CreateGroupPolicy response type. + type: object + properties: + address: + description: address is the account address of the newly created group policy. + type: string + cosmos.group.v1.MsgCreateGroupResponse: + description: MsgCreateGroupResponse is the Msg/CreateGroup response type. + type: object + properties: + group_id: + description: group_id is the unique ID of the newly created group. + type: string + format: uint64 + cosmos.group.v1.MsgCreateGroupWithPolicy: + description: MsgCreateGroupWithPolicy is the Msg/CreateGroupWithPolicy request type. + type: object + properties: + admin: + description: admin is the account address of the group and group policy admin. + type: string + decision_policy: + description: decision_policy specifies the group policy's decision policy. + $ref: '#/definitions/google.protobuf.Any' + group_metadata: + description: group_metadata is any arbitrary metadata attached to the group. + type: string + group_policy_as_admin: + description: |- + group_policy_as_admin is a boolean field, if set to true, the group policy account address will be used as group + and group policy admin. + type: boolean + group_policy_metadata: + description: group_policy_metadata is any arbitrary metadata attached to the group policy. + type: string + members: + description: members defines the group members. + type: array + items: + type: object + $ref: '#/definitions/cosmos.group.v1.MemberRequest' + cosmos.group.v1.MsgCreateGroupWithPolicyResponse: + description: MsgCreateGroupWithPolicyResponse is the Msg/CreateGroupWithPolicy response type. + type: object + properties: + group_id: + description: group_id is the unique ID of the newly created group with policy. + type: string + format: uint64 + group_policy_address: + description: group_policy_address is the account address of the newly created group policy. + type: string + cosmos.group.v1.MsgExec: + description: MsgExec is the Msg/Exec request type. + type: object + properties: + executor: + description: executor is the account address used to execute the proposal. + type: string + proposal_id: + description: proposal is the unique ID of the proposal. + type: string + format: uint64 + cosmos.group.v1.MsgExecResponse: + description: MsgExecResponse is the Msg/Exec request type. + type: object + properties: + result: + description: result is the final result of the proposal execution. + $ref: '#/definitions/cosmos.group.v1.ProposalExecutorResult' + cosmos.group.v1.MsgLeaveGroup: + description: MsgLeaveGroup is the Msg/LeaveGroup request type. + type: object + properties: + address: + description: address is the account address of the group member. + type: string + group_id: + description: group_id is the unique ID of the group. + type: string + format: uint64 + cosmos.group.v1.MsgLeaveGroupResponse: + description: MsgLeaveGroupResponse is the Msg/LeaveGroup response type. + type: object + cosmos.group.v1.MsgSubmitProposal: + description: MsgSubmitProposal is the Msg/SubmitProposal request type. + type: object + properties: + exec: + description: |- + exec defines the mode of execution of the proposal, + whether it should be executed immediately on creation or not. + If so, proposers signatures are considered as Yes votes. + $ref: '#/definitions/cosmos.group.v1.Exec' + group_policy_address: + description: group_policy_address is the account address of group policy. + type: string + messages: + description: messages is a list of `sdk.Msg`s that will be executed if the proposal passes. + type: array + items: + type: object + $ref: '#/definitions/google.protobuf.Any' + metadata: + description: metadata is any arbitrary metadata attached to the proposal. + type: string + proposers: + description: |- + proposers are the account addresses of the proposers. + Proposers signatures will be counted as yes votes. + type: array + items: + type: string + summary: + description: |- + summary is the summary of the proposal. + + Since: cosmos-sdk 0.47 + type: string + title: + description: |- + title is the title of the proposal. + + Since: cosmos-sdk 0.47 + type: string + cosmos.group.v1.MsgSubmitProposalResponse: + description: MsgSubmitProposalResponse is the Msg/SubmitProposal response type. + type: object + properties: + proposal_id: + description: proposal is the unique ID of the proposal. + type: string + format: uint64 + cosmos.group.v1.MsgUpdateGroupAdmin: + description: MsgUpdateGroupAdmin is the Msg/UpdateGroupAdmin request type. + type: object + properties: + admin: + description: admin is the current account address of the group admin. + type: string + group_id: + description: group_id is the unique ID of the group. + type: string + format: uint64 + new_admin: + description: new_admin is the group new admin account address. + type: string + cosmos.group.v1.MsgUpdateGroupAdminResponse: + description: MsgUpdateGroupAdminResponse is the Msg/UpdateGroupAdmin response type. + type: object + cosmos.group.v1.MsgUpdateGroupMembers: + description: MsgUpdateGroupMembers is the Msg/UpdateGroupMembers request type. + type: object + properties: + admin: + description: admin is the account address of the group admin. + type: string + group_id: + description: group_id is the unique ID of the group. + type: string + format: uint64 + member_updates: + description: |- + member_updates is the list of members to update, + set weight to 0 to remove a member. + type: array + items: + type: object + $ref: '#/definitions/cosmos.group.v1.MemberRequest' + cosmos.group.v1.MsgUpdateGroupMembersResponse: + description: MsgUpdateGroupMembersResponse is the Msg/UpdateGroupMembers response type. + type: object + cosmos.group.v1.MsgUpdateGroupMetadata: + description: MsgUpdateGroupMetadata is the Msg/UpdateGroupMetadata request type. + type: object + properties: + admin: + description: admin is the account address of the group admin. + type: string + group_id: + description: group_id is the unique ID of the group. + type: string + format: uint64 + metadata: + description: metadata is the updated group's metadata. + type: string + cosmos.group.v1.MsgUpdateGroupMetadataResponse: + description: MsgUpdateGroupMetadataResponse is the Msg/UpdateGroupMetadata response type. + type: object + cosmos.group.v1.MsgUpdateGroupPolicyAdmin: + description: MsgUpdateGroupPolicyAdmin is the Msg/UpdateGroupPolicyAdmin request type. + type: object + properties: + admin: + description: admin is the account address of the group admin. + type: string + group_policy_address: + description: group_policy_address is the account address of the group policy. + type: string + new_admin: + description: new_admin is the new group policy admin. + type: string + cosmos.group.v1.MsgUpdateGroupPolicyAdminResponse: + description: MsgUpdateGroupPolicyAdminResponse is the Msg/UpdateGroupPolicyAdmin response type. + type: object + cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy: + description: MsgUpdateGroupPolicyDecisionPolicy is the Msg/UpdateGroupPolicyDecisionPolicy request type. + type: object + properties: + admin: + description: admin is the account address of the group admin. + type: string + decision_policy: + description: decision_policy is the updated group policy's decision policy. + $ref: '#/definitions/google.protobuf.Any' + group_policy_address: + description: group_policy_address is the account address of group policy. + type: string + cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicyResponse: + description: MsgUpdateGroupPolicyDecisionPolicyResponse is the Msg/UpdateGroupPolicyDecisionPolicy response type. + type: object + cosmos.group.v1.MsgUpdateGroupPolicyMetadata: + description: MsgUpdateGroupPolicyMetadata is the Msg/UpdateGroupPolicyMetadata request type. + type: object + properties: + admin: + description: admin is the account address of the group admin. + type: string + group_policy_address: + description: group_policy_address is the account address of group policy. + type: string + metadata: + description: metadata is the group policy metadata to be updated. + type: string + cosmos.group.v1.MsgUpdateGroupPolicyMetadataResponse: + description: MsgUpdateGroupPolicyMetadataResponse is the Msg/UpdateGroupPolicyMetadata response type. + type: object + cosmos.group.v1.MsgVote: + description: MsgVote is the Msg/Vote request type. + type: object + properties: + exec: + description: |- + exec defines whether the proposal should be executed + immediately after voting or not. + $ref: '#/definitions/cosmos.group.v1.Exec' + metadata: + description: metadata is any arbitrary metadata attached to the vote. + type: string + option: + description: option is the voter's choice on the proposal. + $ref: '#/definitions/cosmos.group.v1.VoteOption' + proposal_id: + description: proposal is the unique ID of the proposal. + type: string + format: uint64 + voter: + description: voter is the voter account address. + type: string + cosmos.group.v1.MsgVoteResponse: + description: MsgVoteResponse is the Msg/Vote response type. + type: object + cosmos.group.v1.MsgWithdrawProposal: + description: MsgWithdrawProposal is the Msg/WithdrawProposal request type. + type: object + properties: + address: + description: address is the admin of the group policy or one of the proposer of the proposal. + type: string + proposal_id: + description: proposal is the unique ID of the proposal. + type: string + format: uint64 + cosmos.group.v1.MsgWithdrawProposalResponse: + description: MsgWithdrawProposalResponse is the Msg/WithdrawProposal response type. + type: object + cosmos.group.v1.Proposal: + description: |- + 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. + type: object + properties: + executor_result: + description: executor_result is the final result of the proposal execution. Initial value is NotRun. + $ref: '#/definitions/cosmos.group.v1.ProposalExecutorResult' + 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, + whichever happens first. + $ref: '#/definitions/cosmos.group.v1.TallyResult' + group_policy_address: + description: group_policy_address is the account address of group policy. + type: string + group_policy_version: + 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 + versions will become invalid with the `ABORTED` status. + This field is here for informational purposes only. + type: string + format: uint64 + group_version: + description: |- + group_version tracks the version of the group at proposal submission. + This field is here for informational purposes only. + type: string + format: uint64 + id: + description: id is the unique id of the proposal. + type: string + format: uint64 + messages: + description: messages is a list of `sdk.Msg`s that will be executed if the proposal passes. + type: array + items: + type: object + $ref: '#/definitions/google.protobuf.Any' + metadata: + type: string + title: |- + 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: + description: proposers are the account addresses of the proposers. + type: array + items: + type: string + status: + description: status represents the high level position in the life cycle of the proposal. Initial value is Submitted. + $ref: '#/definitions/cosmos.group.v1.ProposalStatus' + submit_time: + description: submit_time is a timestamp specifying when a proposal was submitted. + type: string + format: date-time + summary: + description: 'Since: cosmos-sdk 0.47' + type: string + title: summary is a short summary of the proposal + title: + description: 'Since: cosmos-sdk 0.47' + type: string + title: title is the title of the proposal + voting_period_end: + 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 + accordingly updated. + type: string + format: date-time + cosmos.group.v1.ProposalExecutorResult: + description: |- + ProposalExecutorResult defines types of proposal executor results. + + - PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED: An empty value is not allowed. + - PROPOSAL_EXECUTOR_RESULT_NOT_RUN: We have not yet run the executor. + - PROPOSAL_EXECUTOR_RESULT_SUCCESS: The executor was successful and proposed action updated state. + - PROPOSAL_EXECUTOR_RESULT_FAILURE: The executor returned an error and proposed action didn't update state. + type: string + default: PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED + enum: + - PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED + - PROPOSAL_EXECUTOR_RESULT_NOT_RUN + - PROPOSAL_EXECUTOR_RESULT_SUCCESS + - PROPOSAL_EXECUTOR_RESULT_FAILURE + cosmos.group.v1.ProposalStatus: + description: |- + ProposalStatus defines proposal statuses. + + - PROPOSAL_STATUS_UNSPECIFIED: An empty value is invalid and not allowed. + - PROPOSAL_STATUS_SUBMITTED: Initial status of a proposal when submitted. + - PROPOSAL_STATUS_ACCEPTED: Final status of a proposal when the final tally is done and the outcome + passes the group policy's decision policy. + - PROPOSAL_STATUS_REJECTED: Final status of a proposal when the final tally is done and the outcome + is rejected by the group policy's decision policy. + - PROPOSAL_STATUS_ABORTED: Final status of a proposal when the group policy is modified before the + final tally. + - PROPOSAL_STATUS_WITHDRAWN: A proposal can be withdrawn before the voting start time by the owner. + When this happens the final status is Withdrawn. + type: string + default: PROPOSAL_STATUS_UNSPECIFIED + enum: + - PROPOSAL_STATUS_UNSPECIFIED + - PROPOSAL_STATUS_SUBMITTED + - PROPOSAL_STATUS_ACCEPTED + - PROPOSAL_STATUS_REJECTED + - PROPOSAL_STATUS_ABORTED + - PROPOSAL_STATUS_WITHDRAWN + cosmos.group.v1.QueryGroupInfoResponse: + description: QueryGroupInfoResponse is the Query/GroupInfo response type. + type: object + properties: + info: + description: info is the GroupInfo of the group. + $ref: '#/definitions/cosmos.group.v1.GroupInfo' + cosmos.group.v1.QueryGroupMembersResponse: + description: QueryGroupMembersResponse is the Query/GroupMembersResponse response type. + type: object + properties: + members: + description: members are the members of the group with given group_id. + type: array + items: + type: object + $ref: '#/definitions/cosmos.group.v1.GroupMember' + pagination: + description: pagination defines the pagination in the response. + $ref: '#/definitions/cosmos.base.query.v1beta1.PageResponse' + cosmos.group.v1.QueryGroupPoliciesByAdminResponse: + description: QueryGroupPoliciesByAdminResponse is the Query/GroupPoliciesByAdmin response type. + type: object + properties: + group_policies: + description: group_policies are the group policies info with provided admin. + type: array + items: + type: object + $ref: '#/definitions/cosmos.group.v1.GroupPolicyInfo' + pagination: + description: pagination defines the pagination in the response. + $ref: '#/definitions/cosmos.base.query.v1beta1.PageResponse' + cosmos.group.v1.QueryGroupPoliciesByGroupResponse: + description: QueryGroupPoliciesByGroupResponse is the Query/GroupPoliciesByGroup response type. + type: object + properties: + group_policies: + description: group_policies are the group policies info associated with the provided group. + type: array + items: + type: object + $ref: '#/definitions/cosmos.group.v1.GroupPolicyInfo' + pagination: + description: pagination defines the pagination in the response. + $ref: '#/definitions/cosmos.base.query.v1beta1.PageResponse' + cosmos.group.v1.QueryGroupPolicyInfoResponse: + description: QueryGroupPolicyInfoResponse is the Query/GroupPolicyInfo response type. + type: object + properties: + info: + description: info is the GroupPolicyInfo of the group policy. + $ref: '#/definitions/cosmos.group.v1.GroupPolicyInfo' + cosmos.group.v1.QueryGroupsByAdminResponse: + description: QueryGroupsByAdminResponse is the Query/GroupsByAdminResponse response type. + type: object + properties: + groups: + description: groups are the groups info with the provided admin. + type: array + items: + type: object + $ref: '#/definitions/cosmos.group.v1.GroupInfo' + pagination: + description: pagination defines the pagination in the response. + $ref: '#/definitions/cosmos.base.query.v1beta1.PageResponse' + cosmos.group.v1.QueryGroupsByMemberResponse: + description: QueryGroupsByMemberResponse is the Query/GroupsByMember response type. + type: object + properties: + groups: + description: groups are the groups info with the provided group member. + type: array + items: + type: object + $ref: '#/definitions/cosmos.group.v1.GroupInfo' + pagination: + description: pagination defines the pagination in the response. + $ref: '#/definitions/cosmos.base.query.v1beta1.PageResponse' + cosmos.group.v1.QueryGroupsResponse: + description: |- + QueryGroupsResponse is the Query/Groups response type. + + Since: cosmos-sdk 0.47.1 + type: object + properties: + groups: + description: '`groups` is all the groups present in state.' + type: array + items: + type: object + $ref: '#/definitions/cosmos.group.v1.GroupInfo' + pagination: + description: pagination defines the pagination in the response. + $ref: '#/definitions/cosmos.base.query.v1beta1.PageResponse' + cosmos.group.v1.QueryProposalResponse: + description: QueryProposalResponse is the Query/Proposal response type. + type: object + properties: + proposal: + description: proposal is the proposal info. + $ref: '#/definitions/cosmos.group.v1.Proposal' + cosmos.group.v1.QueryProposalsByGroupPolicyResponse: + description: QueryProposalsByGroupPolicyResponse is the Query/ProposalByGroupPolicy response type. + type: object + properties: + pagination: + description: pagination defines the pagination in the response. + $ref: '#/definitions/cosmos.base.query.v1beta1.PageResponse' + proposals: + description: proposals are the proposals with given group policy. + type: array + items: + type: object + $ref: '#/definitions/cosmos.group.v1.Proposal' + cosmos.group.v1.QueryTallyResultResponse: + description: QueryTallyResultResponse is the Query/TallyResult response type. + type: object + properties: + tally: + description: tally defines the requested tally. + $ref: '#/definitions/cosmos.group.v1.TallyResult' + cosmos.group.v1.QueryVoteByProposalVoterResponse: + description: QueryVoteByProposalVoterResponse is the Query/VoteByProposalVoter response type. + type: object + properties: + vote: + description: vote is the vote with given proposal_id and voter. + $ref: '#/definitions/cosmos.group.v1.Vote' + cosmos.group.v1.QueryVotesByProposalResponse: + description: QueryVotesByProposalResponse is the Query/VotesByProposal response type. + type: object + properties: + pagination: + description: pagination defines the pagination in the response. + $ref: '#/definitions/cosmos.base.query.v1beta1.PageResponse' + votes: + description: votes are the list of votes for given proposal_id. + type: array + items: + type: object + $ref: '#/definitions/cosmos.group.v1.Vote' + cosmos.group.v1.QueryVotesByVoterResponse: + description: QueryVotesByVoterResponse is the Query/VotesByVoter response type. + type: object + properties: + pagination: + description: pagination defines the pagination in the response. + $ref: '#/definitions/cosmos.base.query.v1beta1.PageResponse' + votes: + description: votes are the list of votes by given voter. + type: array + items: + type: object + $ref: '#/definitions/cosmos.group.v1.Vote' + cosmos.group.v1.TallyResult: + description: TallyResult represents the sum of weighted votes for each vote option. + type: object + properties: + abstain_count: + description: abstain_count is the weighted sum of abstainers. + type: string + no_count: + description: no_count is the weighted sum of no votes. + type: string + no_with_veto_count: + description: no_with_veto_count is the weighted sum of veto. + type: string + yes_count: + description: yes_count is the weighted sum of yes votes. + type: string + cosmos.group.v1.Vote: + type: object + title: Vote represents a vote for a proposal.string metadata + properties: + 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/group#vote-2 + option: + description: option is the voter's choice on the proposal. + $ref: '#/definitions/cosmos.group.v1.VoteOption' + proposal_id: + description: proposal is the unique ID of the proposal. + type: string + format: uint64 + submit_time: + description: submit_time is the timestamp when the vote was submitted. + type: string + format: date-time + voter: + description: voter is the account address of the voter. + type: string + cosmos.group.v1.VoteOption: + description: |- + VoteOption enumerates the valid vote options for a given proposal. + + - VOTE_OPTION_UNSPECIFIED: VOTE_OPTION_UNSPECIFIED defines an unspecified vote option which will + return an error. + - 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. + type: string + default: VOTE_OPTION_UNSPECIFIED + enum: + - VOTE_OPTION_UNSPECIFIED + - VOTE_OPTION_YES + - VOTE_OPTION_ABSTAIN + - VOTE_OPTION_NO + - VOTE_OPTION_NO_WITH_VETO + cosmos.mint.v1beta1.MsgUpdateParams: + description: |- + MsgUpdateParams is the Msg/UpdateParams request type. + + Since: cosmos-sdk 0.47 + type: object + properties: + authority: + description: authority is the address that controls the module (defaults to x/gov unless overwritten). + type: string + params: + description: |- + params defines the x/mint parameters to update. + + NOTE: All parameters must be supplied. + $ref: '#/definitions/cosmos.mint.v1beta1.Params' + cosmos.mint.v1beta1.MsgUpdateParamsResponse: + description: |- + MsgUpdateParamsResponse defines the response structure for executing a + MsgUpdateParams message. + + Since: cosmos-sdk 0.47 + type: object + cosmos.mint.v1beta1.Params: + description: Params defines the parameters for the x/mint module. + type: object + properties: + blocks_per_year: + type: string + format: uint64 + title: expected blocks per year + goal_bonded: + type: string + title: goal of percent bonded atoms + inflation_max: + type: string + title: maximum inflation rate + inflation_min: + type: string + title: minimum inflation rate + inflation_rate_change: + type: string + title: maximum annual change in inflation rate + mint_denom: + type: string + title: type of coin to mint + cosmos.mint.v1beta1.QueryAnnualProvisionsResponse: + description: |- + QueryAnnualProvisionsResponse is the response type for the + Query/AnnualProvisions RPC method. + type: object + properties: + annual_provisions: + description: annual_provisions is the current minting annual provisions value. + type: string + format: byte + cosmos.mint.v1beta1.QueryInflationResponse: + description: |- + QueryInflationResponse is the response type for the Query/Inflation RPC + method. + type: object + properties: + inflation: + description: inflation is the current minting inflation value. + type: string + format: byte + cosmos.mint.v1beta1.QueryParamsResponse: + description: QueryParamsResponse is the response type for the Query/Params RPC method. + type: object + properties: + params: + description: params defines the parameters of the module. + $ref: '#/definitions/cosmos.mint.v1beta1.Params' + cosmos.nft.v1beta1.Class: + description: Class defines the class of the nft type. + type: object + properties: + data: + title: data is the app specific metadata of the NFT class. Optional + $ref: '#/definitions/google.protobuf.Any' + description: + type: string + title: description is a brief description of nft classification. Optional + id: + type: string + title: 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 + symbol: + type: string + title: symbol is an abbreviated name for 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_hash: + type: string + title: uri_hash is a hash of the document pointed by uri. Optional + cosmos.nft.v1beta1.MsgSend: + description: MsgSend represents a message to send a nft from one account to another account. + type: object + properties: + class_id: + type: string + title: class_id defines the unique identifier of the nft classification, similar to the contract address of ERC721 + id: + type: string + title: id defines the unique identification of nft + receiver: + type: string + title: receiver is the receiver address of nft + sender: + type: string + title: sender is the address of the owner of nft + cosmos.nft.v1beta1.MsgSendResponse: + description: MsgSendResponse defines the Msg/Send response type. + type: object + cosmos.nft.v1beta1.NFT: + description: NFT defines the NFT. + type: object + properties: + class_id: + type: string + title: class_id associated with the NFT, similar to the contract address of ERC721 + data: + title: data is an app specific data of the NFT. Optional + $ref: '#/definitions/google.protobuf.Any' + id: + type: string + title: id is a unique identifier of the NFT + uri: + type: string + title: uri for the NFT metadata stored off chain + uri_hash: + type: string + title: uri_hash is a hash of the document pointed by uri + cosmos.nft.v1beta1.QueryBalanceResponse: + type: object + title: QueryBalanceResponse is the response type for the Query/Balance RPC method + properties: + amount: + type: string + format: uint64 + title: amount is the number of all NFTs of a given class owned by the owner + cosmos.nft.v1beta1.QueryClassResponse: + type: object + title: QueryClassResponse is the response type for the Query/Class RPC method + properties: + class: + description: class defines the class of the nft type. + $ref: '#/definitions/cosmos.nft.v1beta1.Class' + cosmos.nft.v1beta1.QueryClassesResponse: + type: object + title: QueryClassesResponse is the response type for the Query/Classes RPC method + properties: + classes: + description: class defines the class of the nft type. + type: array + items: + type: object + $ref: '#/definitions/cosmos.nft.v1beta1.Class' + pagination: + description: pagination defines the pagination in the response. + $ref: '#/definitions/cosmos.base.query.v1beta1.PageResponse' + cosmos.nft.v1beta1.QueryNFTResponse: + type: object + title: QueryNFTResponse is the response type for the Query/NFT RPC method + properties: + nft: + title: owner is the owner address of the nft + $ref: '#/definitions/cosmos.nft.v1beta1.NFT' + cosmos.nft.v1beta1.QueryNFTsResponse: + type: object + title: QueryNFTsResponse is the response type for the Query/NFTs RPC methods + properties: + nfts: + type: array + title: NFT defines the NFT + items: + type: object + $ref: '#/definitions/cosmos.nft.v1beta1.NFT' + pagination: + description: pagination defines the pagination in the response. + $ref: '#/definitions/cosmos.base.query.v1beta1.PageResponse' + cosmos.nft.v1beta1.QueryOwnerResponse: + type: object + title: QueryOwnerResponse is the response type for the Query/Owner RPC method + properties: + owner: + type: string + title: owner is the owner address of the nft + cosmos.nft.v1beta1.QuerySupplyResponse: + type: object + title: QuerySupplyResponse is the response type for the Query/Supply RPC method + properties: + amount: + type: string + format: uint64 + title: amount is the number of all NFTs from the given class + cosmos.params.v1beta1.ParamChange: + description: |- + ParamChange defines an individual parameter change, for use in + ParameterChangeProposal. + type: object + properties: + key: + type: string + subspace: + type: string + value: + type: string + cosmos.params.v1beta1.QueryParamsResponse: + description: QueryParamsResponse is response type for the Query/Params RPC method. + type: object + properties: + param: + description: param defines the queried parameter. + $ref: '#/definitions/cosmos.params.v1beta1.ParamChange' + cosmos.params.v1beta1.QuerySubspacesResponse: + description: |- + QuerySubspacesResponse defines the response types for querying for all + registered subspaces and all keys for a subspace. + + Since: cosmos-sdk 0.46 + type: object + properties: + subspaces: + type: array + items: + type: object + $ref: '#/definitions/cosmos.params.v1beta1.Subspace' + cosmos.params.v1beta1.Subspace: + description: |- + Subspace defines a parameter subspace name and all the keys that exist for + the subspace. + + Since: cosmos-sdk 0.46 + type: object + properties: + keys: + type: array + items: + type: string + subspace: + type: string + cosmos.slashing.v1beta1.MsgUnjail: + type: object + title: MsgUnjail defines the Msg/Unjail request type + properties: + validator_addr: + type: string + cosmos.slashing.v1beta1.MsgUnjailResponse: + type: object + title: MsgUnjailResponse defines the Msg/Unjail response type + cosmos.slashing.v1beta1.MsgUpdateParams: + description: |- + MsgUpdateParams is the Msg/UpdateParams request type. + + Since: cosmos-sdk 0.47 + type: object + properties: + authority: + description: authority is the address that controls the module (defaults to x/gov unless overwritten). + type: string + params: + description: |- + params defines the x/slashing parameters to update. + + NOTE: All parameters must be supplied. + $ref: '#/definitions/cosmos.slashing.v1beta1.Params' + cosmos.slashing.v1beta1.MsgUpdateParamsResponse: + description: |- + MsgUpdateParamsResponse defines the response structure for executing a + MsgUpdateParams message. + + Since: cosmos-sdk 0.47 + type: object + cosmos.slashing.v1beta1.Params: + description: Params represents the parameters used for by the slashing module. + type: object + properties: + downtime_jail_duration: + type: string + min_signed_per_window: + type: string + format: byte + signed_blocks_window: + type: string + format: int64 + slash_fraction_double_sign: + type: string + format: byte + slash_fraction_downtime: + type: string + format: byte + cosmos.slashing.v1beta1.QueryParamsResponse: + type: object + title: QueryParamsResponse is the response type for the Query/Params RPC method + properties: + params: + $ref: '#/definitions/cosmos.slashing.v1beta1.Params' + cosmos.slashing.v1beta1.QuerySigningInfoResponse: + type: object + title: |- + QuerySigningInfoResponse is the response type for the Query/SigningInfo RPC + method + properties: + val_signing_info: + title: val_signing_info is the signing info of requested val cons address + $ref: '#/definitions/cosmos.slashing.v1beta1.ValidatorSigningInfo' + cosmos.slashing.v1beta1.QuerySigningInfosResponse: + type: object + title: |- + QuerySigningInfosResponse is the response type for the Query/SigningInfos RPC + method + properties: + info: + type: array + title: info is the signing info of all validators + items: + type: object + $ref: '#/definitions/cosmos.slashing.v1beta1.ValidatorSigningInfo' + pagination: + $ref: '#/definitions/cosmos.base.query.v1beta1.PageResponse' + cosmos.slashing.v1beta1.ValidatorSigningInfo: + description: |- + ValidatorSigningInfo defines a validator's signing info for monitoring their + liveness activity. + type: object + properties: + address: + type: string + index_offset: + description: |- + 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. + type: string + format: int64 + jailed_until: + description: Timestamp until which the validator is jailed due to liveness downtime. + type: string + format: date-time + missed_blocks_counter: + description: |- + A counter of missed (unsigned) blocks. It is used to avoid unnecessary + reads in the missed block bitmap. + type: string + format: int64 + start_height: + type: string + format: int64 + title: Height at which validator was first a candidate OR was un-jailed + tombstoned: + 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 + configured misbehavior. + type: boolean + cosmos.staking.v1beta1.BondStatus: + description: |- + BondStatus is the status of a validator. + + - BOND_STATUS_UNSPECIFIED: UNSPECIFIED defines an invalid validator status. + - BOND_STATUS_UNBONDED: UNBONDED defines a validator that is not bonded. + - BOND_STATUS_UNBONDING: UNBONDING defines a validator that is unbonding. + - BOND_STATUS_BONDED: BONDED defines a validator that is bonded. + type: string + default: BOND_STATUS_UNSPECIFIED + enum: + - BOND_STATUS_UNSPECIFIED + - BOND_STATUS_UNBONDED + - BOND_STATUS_UNBONDING + - BOND_STATUS_BONDED + cosmos.staking.v1beta1.Commission: + description: Commission defines commission parameters for a given validator. + type: object + properties: + commission_rates: + description: commission_rates defines the initial commission rates to be used for creating a validator. + $ref: '#/definitions/cosmos.staking.v1beta1.CommissionRates' + update_time: + description: update_time is the last time the commission rate was changed. + type: string + format: date-time + cosmos.staking.v1beta1.CommissionRates: + description: |- + CommissionRates defines the initial commission rates to be used for creating + a validator. + type: object + properties: + max_change_rate: + description: max_change_rate defines the maximum daily increase of the validator commission, as a fraction. + type: string + max_rate: + description: max_rate defines the maximum commission rate which validator can ever charge, as a fraction. + type: string + rate: + description: rate is the commission rate charged to delegators, as a fraction. + type: string + cosmos.staking.v1beta1.Delegation: + 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 + validator. + type: object + properties: + delegator_address: + description: delegator_address is the encoded address of the delegator. + type: string + shares: + description: shares define the delegation shares received. + type: string + validator_address: + description: validator_address is the encoded address of the validator. + type: string + cosmos.staking.v1beta1.DelegationResponse: + description: |- + DelegationResponse is equivalent to Delegation except that it contains a + balance in addition to shares which is more suitable for client responses. + type: object + properties: + balance: + $ref: '#/definitions/cosmos.base.v1beta1.Coin' + delegation: + $ref: '#/definitions/cosmos.staking.v1beta1.Delegation' + cosmos.staking.v1beta1.Description: + description: Description defines a validator description. + type: object + properties: + details: + description: details define other optional details. + type: string + identity: + description: identity defines an optional identity signature (ex. UPort or Keybase). + type: string + moniker: + description: moniker defines a human-readable name for the validator. + type: string + security_contact: + description: security_contact defines an optional email for security contact. + type: string + website: + description: website defines an optional website link. + type: string + cosmos.staking.v1beta1.HistoricalInfo: + 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). + type: object + properties: + header: + $ref: '#/definitions/tendermint.types.Header' + valset: + type: array + items: + type: object + $ref: '#/definitions/cosmos.staking.v1beta1.Validator' + cosmos.staking.v1beta1.MsgBeginRedelegate: + description: |- + MsgBeginRedelegate defines a SDK message for performing a redelegation + of coins from a delegator and source validator to a destination validator. + type: object + properties: + amount: + $ref: '#/definitions/cosmos.base.v1beta1.Coin' + delegator_address: + type: string + validator_dst_address: + type: string + validator_src_address: + type: string + cosmos.staking.v1beta1.MsgBeginRedelegateResponse: + description: MsgBeginRedelegateResponse defines the Msg/BeginRedelegate response type. + type: object + properties: + completion_time: + type: string + format: date-time + cosmos.staking.v1beta1.MsgCancelUnbondingDelegation: + description: 'Since: cosmos-sdk 0.46' + type: object + title: MsgCancelUnbondingDelegation defines the SDK message for performing a cancel unbonding delegation for delegator + properties: + amount: + title: amount is always less than or equal to unbonding delegation entry balance + $ref: '#/definitions/cosmos.base.v1beta1.Coin' + creation_height: + description: creation_height is the height which the unbonding took place. + type: string + format: int64 + delegator_address: + type: string + validator_address: + type: string + cosmos.staking.v1beta1.MsgCancelUnbondingDelegationResponse: + description: 'Since: cosmos-sdk 0.46' + type: object + title: MsgCancelUnbondingDelegationResponse + cosmos.staking.v1beta1.MsgCreateValidator: + description: MsgCreateValidator defines a SDK message for creating a new validator. + type: object + properties: + commission: + $ref: '#/definitions/cosmos.staking.v1beta1.CommissionRates' + delegator_address: + description: |- + Deprecated: Use of Delegator Address in MsgCreateValidator is deprecated. + The validator address bytes and delegator address bytes refer to the same account while creating validator (defer + only in bech32 notation). + type: string + description: + $ref: '#/definitions/cosmos.staking.v1beta1.Description' + min_self_delegation: + type: string + pubkey: + $ref: '#/definitions/google.protobuf.Any' + validator_address: + type: string + value: + $ref: '#/definitions/cosmos.base.v1beta1.Coin' + cosmos.staking.v1beta1.MsgCreateValidatorResponse: + description: MsgCreateValidatorResponse defines the Msg/CreateValidator response type. + type: object + cosmos.staking.v1beta1.MsgDelegate: + description: |- + MsgDelegate defines a SDK message for performing a delegation of coins + from a delegator to a validator. + type: object + properties: + amount: + $ref: '#/definitions/cosmos.base.v1beta1.Coin' + delegator_address: + type: string + validator_address: + type: string + cosmos.staking.v1beta1.MsgDelegateResponse: + description: MsgDelegateResponse defines the Msg/Delegate response type. + type: object + cosmos.staking.v1beta1.MsgEditValidator: + description: MsgEditValidator defines a SDK message for editing an existing validator. + type: object + properties: + commission_rate: + type: string + title: |- + We pass a reference to the new commission rate and min self delegation as + it's not mandatory to update. If not updated, the deserialized rate will be + zero with no way to distinguish if an update was intended. + REF: #2373 + description: + $ref: '#/definitions/cosmos.staking.v1beta1.Description' + min_self_delegation: + type: string + validator_address: + type: string + cosmos.staking.v1beta1.MsgEditValidatorResponse: + description: MsgEditValidatorResponse defines the Msg/EditValidator response type. + type: object + cosmos.staking.v1beta1.MsgUndelegate: + description: |- + MsgUndelegate defines a SDK message for performing an undelegation from a + delegate and a validator. + type: object + properties: + amount: + $ref: '#/definitions/cosmos.base.v1beta1.Coin' + delegator_address: + type: string + validator_address: + type: string + cosmos.staking.v1beta1.MsgUndelegateResponse: + description: MsgUndelegateResponse defines the Msg/Undelegate response type. + type: object + properties: + amount: + description: 'Since: cosmos-sdk 0.50' + title: amount returns the amount of undelegated coins + $ref: '#/definitions/cosmos.base.v1beta1.Coin' + completion_time: + type: string + format: date-time + cosmos.staking.v1beta1.MsgUpdateParams: + description: |- + MsgUpdateParams is the Msg/UpdateParams request type. + + Since: cosmos-sdk 0.47 + type: object + properties: + authority: + description: authority is the address that controls the module (defaults to x/gov unless overwritten). + type: string + params: + description: |- + params defines the x/staking parameters to update. + + NOTE: All parameters must be supplied. + $ref: '#/definitions/cosmos.staking.v1beta1.Params' + cosmos.staking.v1beta1.MsgUpdateParamsResponse: + description: |- + MsgUpdateParamsResponse defines the response structure for executing a + MsgUpdateParams message. + + Since: cosmos-sdk 0.47 + type: object + cosmos.staking.v1beta1.Params: + description: Params defines the parameters for the x/staking module. + type: object + properties: + bond_denom: + description: bond_denom defines the bondable coin denomination. + type: string + historical_entries: + description: historical_entries is the number of historical entries to persist. + type: integer + format: int64 + max_entries: + description: max_entries is the max entries for either unbonding delegation or redelegation (per pair/trio). + type: integer + format: int64 + max_validators: + description: max_validators is the maximum number of validators. + type: integer + format: int64 + min_commission_rate: + type: string + title: min_commission_rate is the chain-wide minimum commission rate that a validator can charge their delegators + unbonding_time: + description: unbonding_time is the time duration of unbonding. + type: string + cosmos.staking.v1beta1.Pool: + description: |- + Pool is used for tracking bonded and not-bonded token supply of the bond + denomination. + type: object + properties: + bonded_tokens: + type: string + not_bonded_tokens: + type: string + cosmos.staking.v1beta1.QueryDelegationResponse: + description: QueryDelegationResponse is response type for the Query/Delegation RPC method. + type: object + properties: + delegation_response: + description: delegation_responses defines the delegation info of a delegation. + $ref: '#/definitions/cosmos.staking.v1beta1.DelegationResponse' + cosmos.staking.v1beta1.QueryDelegatorDelegationsResponse: + description: |- + QueryDelegatorDelegationsResponse is response type for the + Query/DelegatorDelegations RPC method. + type: object + properties: + delegation_responses: + description: delegation_responses defines all the delegations' info of a delegator. + type: array + items: + type: object + $ref: '#/definitions/cosmos.staking.v1beta1.DelegationResponse' + pagination: + description: pagination defines the pagination in the response. + $ref: '#/definitions/cosmos.base.query.v1beta1.PageResponse' + cosmos.staking.v1beta1.QueryDelegatorUnbondingDelegationsResponse: + description: |- + QueryUnbondingDelegatorDelegationsResponse is response type for the + Query/UnbondingDelegatorDelegations RPC method. + type: object + properties: + pagination: + description: pagination defines the pagination in the response. + $ref: '#/definitions/cosmos.base.query.v1beta1.PageResponse' + unbonding_responses: + type: array + items: + type: object + $ref: '#/definitions/cosmos.staking.v1beta1.UnbondingDelegation' + cosmos.staking.v1beta1.QueryDelegatorValidatorResponse: + description: |- + QueryDelegatorValidatorResponse response type for the + Query/DelegatorValidator RPC method. + type: object + properties: + validator: + description: validator defines the validator info. + $ref: '#/definitions/cosmos.staking.v1beta1.Validator' + cosmos.staking.v1beta1.QueryDelegatorValidatorsResponse: + description: |- + QueryDelegatorValidatorsResponse is response type for the + Query/DelegatorValidators RPC method. + type: object + properties: + pagination: + description: pagination defines the pagination in the response. + $ref: '#/definitions/cosmos.base.query.v1beta1.PageResponse' + validators: + description: validators defines the validators' info of a delegator. + type: array + items: + type: object + $ref: '#/definitions/cosmos.staking.v1beta1.Validator' + cosmos.staking.v1beta1.QueryHistoricalInfoResponse: + description: |- + QueryHistoricalInfoResponse is response type for the Query/HistoricalInfo RPC + method. + type: object + properties: + hist: + description: hist defines the historical info at the given height. + $ref: '#/definitions/cosmos.staking.v1beta1.HistoricalInfo' + cosmos.staking.v1beta1.QueryParamsResponse: + description: QueryParamsResponse is response type for the Query/Params RPC method. + type: object + properties: + params: + description: params holds all the parameters of this module. + $ref: '#/definitions/cosmos.staking.v1beta1.Params' + cosmos.staking.v1beta1.QueryPoolResponse: + description: QueryPoolResponse is response type for the Query/Pool RPC method. + type: object + properties: + pool: + description: pool defines the pool info. + $ref: '#/definitions/cosmos.staking.v1beta1.Pool' + cosmos.staking.v1beta1.QueryRedelegationsResponse: + description: |- + QueryRedelegationsResponse is response type for the Query/Redelegations RPC + method. + type: object + properties: + pagination: + description: pagination defines the pagination in the response. + $ref: '#/definitions/cosmos.base.query.v1beta1.PageResponse' + redelegation_responses: + type: array + items: + type: object + $ref: '#/definitions/cosmos.staking.v1beta1.RedelegationResponse' + cosmos.staking.v1beta1.QueryUnbondingDelegationResponse: + description: |- + QueryDelegationResponse is response type for the Query/UnbondingDelegation + RPC method. + type: object + properties: + unbond: + description: unbond defines the unbonding information of a delegation. + $ref: '#/definitions/cosmos.staking.v1beta1.UnbondingDelegation' + cosmos.staking.v1beta1.QueryValidatorDelegationsResponse: + type: object + title: |- + QueryValidatorDelegationsResponse is response type for the + Query/ValidatorDelegations RPC method + properties: + delegation_responses: + type: array + items: + type: object + $ref: '#/definitions/cosmos.staking.v1beta1.DelegationResponse' + pagination: + description: pagination defines the pagination in the response. + $ref: '#/definitions/cosmos.base.query.v1beta1.PageResponse' + cosmos.staking.v1beta1.QueryValidatorResponse: + type: object + title: QueryValidatorResponse is response type for the Query/Validator RPC method + properties: + validator: + description: validator defines the validator info. + $ref: '#/definitions/cosmos.staking.v1beta1.Validator' + cosmos.staking.v1beta1.QueryValidatorUnbondingDelegationsResponse: + description: |- + QueryValidatorUnbondingDelegationsResponse is response type for the + Query/ValidatorUnbondingDelegations RPC method. + type: object + properties: + pagination: + description: pagination defines the pagination in the response. + $ref: '#/definitions/cosmos.base.query.v1beta1.PageResponse' + unbonding_responses: + type: array + items: + type: object + $ref: '#/definitions/cosmos.staking.v1beta1.UnbondingDelegation' + cosmos.staking.v1beta1.QueryValidatorsResponse: + type: object + title: QueryValidatorsResponse is response type for the Query/Validators RPC method + properties: + pagination: + description: pagination defines the pagination in the response. + $ref: '#/definitions/cosmos.base.query.v1beta1.PageResponse' + validators: + description: validators contains all the queried validators. + type: array + items: + type: object + $ref: '#/definitions/cosmos.staking.v1beta1.Validator' + cosmos.staking.v1beta1.Redelegation: + description: |- + Redelegation contains the list of a particular delegator's redelegating bonds + from a particular source validator to a particular destination validator. + type: object + properties: + delegator_address: + description: delegator_address is the bech32-encoded address of the delegator. + type: string + entries: + description: |- + entries are the redelegation entries. + + redelegation entries + type: array + items: + type: object + $ref: '#/definitions/cosmos.staking.v1beta1.RedelegationEntry' + validator_dst_address: + description: validator_dst_address is the validator redelegation destination operator address. + type: string + validator_src_address: + description: validator_src_address is the validator redelegation source operator address. + type: string + cosmos.staking.v1beta1.RedelegationEntry: + description: RedelegationEntry defines a redelegation object with relevant metadata. + type: object + properties: + completion_time: + description: completion_time defines the unix time for redelegation completion. + type: string + format: date-time + creation_height: + description: creation_height defines the height which the redelegation took place. + type: string + format: int64 + initial_balance: + description: initial_balance defines the initial balance when redelegation started. + type: string + shares_dst: + description: shares_dst is the amount of destination-validator shares created by redelegation. + type: string + unbonding_id: + type: string + format: uint64 + title: 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 + cosmos.staking.v1beta1.RedelegationEntryResponse: + description: |- + RedelegationEntryResponse is equivalent to a RedelegationEntry except that it + contains a balance in addition to shares which is more suitable for client + responses. + type: object + properties: + balance: + type: string + redelegation_entry: + $ref: '#/definitions/cosmos.staking.v1beta1.RedelegationEntry' + cosmos.staking.v1beta1.RedelegationResponse: + 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. + type: object + properties: + entries: + type: array + items: + type: object + $ref: '#/definitions/cosmos.staking.v1beta1.RedelegationEntryResponse' + redelegation: + $ref: '#/definitions/cosmos.staking.v1beta1.Redelegation' + cosmos.staking.v1beta1.UnbondingDelegation: + description: |- + UnbondingDelegation stores all of a single delegator's unbonding bonds + for a single validator in an time-ordered list. + type: object + properties: + delegator_address: + description: delegator_address is the encoded address of the delegator. + type: string + entries: + description: |- + entries are the unbonding delegation entries. + + unbonding delegation entries + type: array + items: + type: object + $ref: '#/definitions/cosmos.staking.v1beta1.UnbondingDelegationEntry' + validator_address: + description: validator_address is the encoded address of the validator. + type: string + cosmos.staking.v1beta1.UnbondingDelegationEntry: + description: UnbondingDelegationEntry defines an unbonding object with relevant metadata. + type: object + properties: + balance: + description: balance defines the tokens to receive at completion. + type: string + completion_time: + description: completion_time is the unix time for unbonding completion. + type: string + format: date-time + creation_height: + description: creation_height is the height which the unbonding took place. + type: string + format: int64 + initial_balance: + description: initial_balance defines the tokens initially scheduled to receive at completion. + type: string + unbonding_id: + type: string + format: uint64 + title: 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 + cosmos.staking.v1beta1.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. + type: object + properties: + commission: + description: commission defines the commission parameters. + $ref: '#/definitions/cosmos.staking.v1beta1.Commission' + consensus_pubkey: + description: consensus_pubkey is the consensus public key of the validator, as a Protobuf Any. + $ref: '#/definitions/google.protobuf.Any' + delegator_shares: + description: delegator_shares defines total shares issued to a validator's delegators. + type: string + description: + description: description defines the description terms for the validator. + $ref: '#/definitions/cosmos.staking.v1beta1.Description' + jailed: + description: jailed defined whether the validator has been jailed from bonded status or not. + type: boolean + min_self_delegation: + description: |- + min_self_delegation is the validator's self declared minimum self delegation. + + Since: cosmos-sdk 0.46 + type: string + operator_address: + description: operator_address defines the address of the validator's operator; bech encoded in JSON. + type: string + status: + description: status is the validator status (bonded/unbonding/unbonded). + $ref: '#/definitions/cosmos.staking.v1beta1.BondStatus' + tokens: + description: tokens define the delegated tokens (incl. self-delegation). + type: string + unbonding_height: + description: unbonding_height defines, if unbonding, the height at which this validator has begun unbonding. + type: string + format: int64 + unbonding_ids: + type: array + title: list of unbonding ids, each uniquely identifing an unbonding of this validator + items: + type: string + format: uint64 + unbonding_on_hold_ref_count: + type: string + format: int64 + title: strictly positive if this validator's unbonding has been stopped by external modules + unbonding_time: + description: unbonding_time defines, if unbonding, the min time for the validator to complete unbonding. + type: string + format: date-time + cosmos.store.streaming.abci.ListenCommitRequest: + type: object + title: ListenCommitRequest is the request type for the ListenCommit RPC method + properties: + block_height: + type: string + format: int64 + title: explicitly pass in block height as ResponseCommit does not contain this info + change_set: + type: array + items: + type: object + $ref: '#/definitions/cosmos.store.v1beta1.StoreKVPair' + res: + $ref: '#/definitions/tendermint.abci.ResponseCommit' + cosmos.store.streaming.abci.ListenCommitResponse: + type: object + title: ListenCommitResponse is the response type for the ListenCommit RPC method + cosmos.store.streaming.abci.ListenFinalizeBlockRequest: + type: object + title: ListenEndBlockRequest is the request type for the ListenEndBlock RPC method + properties: + req: + $ref: '#/definitions/tendermint.abci.RequestFinalizeBlock' + res: + $ref: '#/definitions/tendermint.abci.ResponseFinalizeBlock' + cosmos.store.streaming.abci.ListenFinalizeBlockResponse: + type: object + title: ListenEndBlockResponse is the response type for the ListenEndBlock RPC method + cosmos.store.v1beta1.StoreKVPair: + description: 'Since: cosmos-sdk 0.43' + type: object + title: |- + StoreKVPair is a KVStore KVPair used for listening to state changes (Sets and Deletes) + It optionally includes the StoreKey for the originating KVStore and a Boolean flag to distinguish between Sets and + Deletes + properties: + delete: + type: boolean + title: true indicates a delete operation, false indicates a set operation + key: + type: string + format: byte + store_key: + type: string + title: the store key for the KVStore this pair originates from + value: + type: string + format: byte + cosmos.tx.signing.v1beta1.SignMode: + 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 + type: string + default: SIGN_MODE_UNSPECIFIED + enum: + - SIGN_MODE_UNSPECIFIED + - SIGN_MODE_DIRECT + - SIGN_MODE_TEXTUAL + - SIGN_MODE_DIRECT_AUX + - SIGN_MODE_LEGACY_AMINO_JSON + - SIGN_MODE_EIP_191 + cosmos.tx.v1beta1.AuthInfo: + description: |- + AuthInfo describes the fee and signer modes that are used to sign a + transaction. + type: object + properties: + 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 + of the signers. This can be estimated via simulation. + $ref: '#/definitions/cosmos.tx.v1beta1.Fee' + signer_infos: + description: |- + 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 + the fee. + type: array + items: + type: object + $ref: '#/definitions/cosmos.tx.v1beta1.SignerInfo' + 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 + `TipDecorator` in its posthandler. + + Since: cosmos-sdk 0.46 + $ref: '#/definitions/cosmos.tx.v1beta1.Tip' + cosmos.tx.v1beta1.BroadcastMode: + description: |- + 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_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. + type: string + default: BROADCAST_MODE_UNSPECIFIED + enum: + - BROADCAST_MODE_UNSPECIFIED + - BROADCAST_MODE_BLOCK + - BROADCAST_MODE_SYNC + - BROADCAST_MODE_ASYNC + cosmos.tx.v1beta1.BroadcastTxRequest: + description: |- + BroadcastTxRequest is the request type for the Service.BroadcastTxRequest + RPC method. + type: object + properties: + mode: + $ref: '#/definitions/cosmos.tx.v1beta1.BroadcastMode' + tx_bytes: + description: tx_bytes is the raw transaction. + type: string + format: byte + cosmos.tx.v1beta1.BroadcastTxResponse: + description: |- + BroadcastTxResponse is the response type for the + Service.BroadcastTx method. + type: object + properties: + tx_response: + description: tx_response is the queried TxResponses. + $ref: '#/definitions/cosmos.base.abci.v1beta1.TxResponse' + cosmos.tx.v1beta1.Fee: + 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", + which must be above some miminum to be accepted into the mempool. + type: object + properties: + amount: + type: array + title: amount is the amount of coins to be paid as a fee + items: + type: object + $ref: '#/definitions/cosmos.base.v1beta1.Coin' + gas_limit: + type: string + format: uint64 + title: |- + gas_limit is the maximum gas that can be used in transaction processing + before an out of gas error occurs + 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 chain does + not support fee grants, this will fail + payer: + 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* change the ordering of required signers for the transaction. + type: string + cosmos.tx.v1beta1.GetBlockWithTxsResponse: + description: |- + GetBlockWithTxsResponse is the response type for the Service.GetBlockWithTxs + method. + + Since: cosmos-sdk 0.45.2 + type: object + properties: + block: + $ref: '#/definitions/tendermint.types.Block' + block_id: + $ref: '#/definitions/tendermint.types.BlockID' + pagination: + description: pagination defines a pagination for the response. + $ref: '#/definitions/cosmos.base.query.v1beta1.PageResponse' + txs: + description: txs are the transactions in the block. + type: array + items: + type: object + $ref: '#/definitions/cosmos.tx.v1beta1.Tx' + cosmos.tx.v1beta1.GetTxResponse: + description: GetTxResponse is the response type for the Service.GetTx method. + type: object + properties: + tx: + description: tx is the queried transaction. + $ref: '#/definitions/cosmos.tx.v1beta1.Tx' + tx_response: + description: tx_response is the queried TxResponses. + $ref: '#/definitions/cosmos.base.abci.v1beta1.TxResponse' + cosmos.tx.v1beta1.GetTxsEventResponse: + description: |- + GetTxsEventResponse is the response type for the Service.TxsByEvents + RPC method. + type: object + properties: + pagination: + description: |- + pagination defines a pagination for the response. + Deprecated post v0.46.x: use total instead. + $ref: '#/definitions/cosmos.base.query.v1beta1.PageResponse' + total: + type: string + format: uint64 + title: total is total number of results available + tx_responses: + description: tx_responses is the list of queried TxResponses. + type: array + items: + type: object + $ref: '#/definitions/cosmos.base.abci.v1beta1.TxResponse' + txs: + description: txs is the list of queried transactions. + type: array + items: + type: object + $ref: '#/definitions/cosmos.tx.v1beta1.Tx' + cosmos.tx.v1beta1.ModeInfo: + description: ModeInfo describes the signing mode of a single or nested multisig signer. + type: object + properties: + multi: + title: multi represents a nested multisig signer + $ref: '#/definitions/cosmos.tx.v1beta1.ModeInfo.Multi' + single: + title: single represents a single signer + $ref: '#/definitions/cosmos.tx.v1beta1.ModeInfo.Single' + cosmos.tx.v1beta1.ModeInfo.Multi: + type: object + title: Multi is the mode info for a multisig public key + properties: + bitarray: + title: bitarray specifies which keys within the multisig are signing + $ref: '#/definitions/cosmos.crypto.multisig.v1beta1.CompactBitArray' + mode_infos: + type: array + title: |- + mode_infos is the corresponding modes of the signers of the multisig + which could include nested multisig public keys + items: + type: object + $ref: '#/definitions/cosmos.tx.v1beta1.ModeInfo' + cosmos.tx.v1beta1.ModeInfo.Single: + type: object + 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 + future + properties: + mode: + title: mode is the signing mode of the single signer + $ref: '#/definitions/cosmos.tx.signing.v1beta1.SignMode' + cosmos.tx.v1beta1.OrderBy: + description: |- + - 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 + type: string + title: OrderBy defines the sorting order + default: ORDER_BY_UNSPECIFIED + enum: + - ORDER_BY_UNSPECIFIED + - ORDER_BY_ASC + - ORDER_BY_DESC + cosmos.tx.v1beta1.SignerInfo: + description: |- + SignerInfo describes the public key and signing mode of a single top-level + signer. + type: object + properties: + mode_info: + title: |- + mode_info describes the signing mode of the signer and is a nested + structure to support nested multisig pubkey's + $ref: '#/definitions/cosmos.tx.v1beta1.ModeInfo' + 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 \ + signer address for this position and lookup the public key. + $ref: '#/definitions/google.protobuf.Any' + sequence: + description: |- + sequence is the sequence of the account, which describes the + number of committed transactions signed by a given address. It is used to + prevent replay attacks. + type: string + format: uint64 + cosmos.tx.v1beta1.SimulateRequest: + description: |- + SimulateRequest is the request type for the Service.Simulate + RPC method. + type: object + properties: + tx: + description: |- + tx is the transaction to simulate. + Deprecated. Send raw tx bytes instead. + $ref: '#/definitions/cosmos.tx.v1beta1.Tx' + tx_bytes: + description: |- + tx_bytes is the raw transaction. + + Since: cosmos-sdk 0.43 + type: string + format: byte + cosmos.tx.v1beta1.SimulateResponse: + description: |- + SimulateResponse is the response type for the + Service.SimulateRPC method. + type: object + properties: + gas_info: + description: gas_info is the information about gas used in the simulation. + $ref: '#/definitions/cosmos.base.abci.v1beta1.GasInfo' + result: + description: result is the result of the simulation. + $ref: '#/definitions/cosmos.base.abci.v1beta1.Result' + cosmos.tx.v1beta1.Tip: + description: |- + Tip is the tip used for meta-transactions. + + Since: cosmos-sdk 0.46 + type: object + properties: + amount: + type: array + title: amount is the amount of the tip + items: + type: object + $ref: '#/definitions/cosmos.base.v1beta1.Coin' + tipper: + type: string + title: tipper is the address of the account paying for the tip + cosmos.tx.v1beta1.Tx: + description: Tx is the standard type used for broadcasting transactions. + type: object + properties: + auth_info: + title: |- + auth_info is the authorization related content of the transaction, + specifically signers, signer modes and fee + $ref: '#/definitions/cosmos.tx.v1beta1.AuthInfo' + body: + title: body is the processable content of the transaction + $ref: '#/definitions/cosmos.tx.v1beta1.TxBody' + signatures: + 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 + public key and signing mode by position. + type: array + items: + type: string + format: byte + cosmos.tx.v1beta1.TxBody: + description: TxBody is the body of a transaction that all signers sign over. + type: object + properties: + extension_options: + type: array + 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 + items: + type: object + $ref: '#/definitions/google.protobuf.Any' + memo: + 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, + but should be called `note` instead (see https://github.com/cosmos/cosmos-sdk/issues/9122). + type: string + messages: + 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 + transaction. + type: array + items: + type: object + $ref: '#/definitions/google.protobuf.Any' + non_critical_extension_options: + type: array + 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 + items: + type: object + $ref: '#/definitions/google.protobuf.Any' + timeout_height: + type: string + format: uint64 + title: |- + timeout is the block height after which this transaction will not + be processed by the chain + cosmos.tx.v1beta1.TxDecodeAminoRequest: + description: |- + TxDecodeAminoRequest is the request type for the Service.TxDecodeAmino + RPC method. + + Since: cosmos-sdk 0.47 + type: object + properties: + amino_binary: + type: string + format: byte + cosmos.tx.v1beta1.TxDecodeAminoResponse: + description: |- + TxDecodeAminoResponse is the response type for the Service.TxDecodeAmino + RPC method. + + Since: cosmos-sdk 0.47 + type: object + properties: + amino_json: + type: string + cosmos.tx.v1beta1.TxDecodeRequest: + description: |- + TxDecodeRequest is the request type for the Service.TxDecode + RPC method. + + Since: cosmos-sdk 0.47 + type: object + properties: + tx_bytes: + description: tx_bytes is the raw transaction. + type: string + format: byte + cosmos.tx.v1beta1.TxDecodeResponse: + description: |- + TxDecodeResponse is the response type for the + Service.TxDecode method. + + Since: cosmos-sdk 0.47 + type: object + properties: + tx: + description: tx is the decoded transaction. + $ref: '#/definitions/cosmos.tx.v1beta1.Tx' + cosmos.tx.v1beta1.TxEncodeAminoRequest: + description: |- + TxEncodeAminoRequest is the request type for the Service.TxEncodeAmino + RPC method. + + Since: cosmos-sdk 0.47 + type: object + properties: + amino_json: + type: string + cosmos.tx.v1beta1.TxEncodeAminoResponse: + description: |- + TxEncodeAminoResponse is the response type for the Service.TxEncodeAmino + RPC method. + + Since: cosmos-sdk 0.47 + type: object + properties: + amino_binary: + type: string + format: byte + cosmos.tx.v1beta1.TxEncodeRequest: + description: |- + TxEncodeRequest is the request type for the Service.TxEncode + RPC method. + + Since: cosmos-sdk 0.47 + type: object + properties: + tx: + description: tx is the transaction to encode. + $ref: '#/definitions/cosmos.tx.v1beta1.Tx' + cosmos.tx.v1beta1.TxEncodeResponse: + description: |- + TxEncodeResponse is the response type for the + Service.TxEncode method. + + Since: cosmos-sdk 0.47 + type: object + properties: + tx_bytes: + description: tx_bytes is the encoded transaction bytes. + type: string + format: byte + cosmos.upgrade.v1beta1.ModuleVersion: + description: |- + ModuleVersion specifies a module and its consensus version. + + Since: cosmos-sdk 0.43 + type: object + properties: + name: + type: string + title: name of the app module + version: + type: string + format: uint64 + title: consensus version of the app module + cosmos.upgrade.v1beta1.MsgCancelUpgrade: + description: |- + MsgCancelUpgrade is the Msg/CancelUpgrade request type. + + Since: cosmos-sdk 0.46 + type: object + properties: + authority: + description: authority is the address that controls the module (defaults to x/gov unless overwritten). + type: string + cosmos.upgrade.v1beta1.MsgCancelUpgradeResponse: + description: |- + MsgCancelUpgradeResponse is the Msg/CancelUpgrade response type. + + Since: cosmos-sdk 0.46 + type: object + cosmos.upgrade.v1beta1.MsgSoftwareUpgrade: + description: |- + MsgSoftwareUpgrade is the Msg/SoftwareUpgrade request type. + + Since: cosmos-sdk 0.46 + type: object + properties: + authority: + description: authority is the address that controls the module (defaults to x/gov unless overwritten). + type: string + plan: + description: plan is the upgrade plan. + $ref: '#/definitions/cosmos.upgrade.v1beta1.Plan' + cosmos.upgrade.v1beta1.MsgSoftwareUpgradeResponse: + description: |- + MsgSoftwareUpgradeResponse is the Msg/SoftwareUpgrade response type. + + Since: cosmos-sdk 0.46 + type: object + cosmos.upgrade.v1beta1.Plan: + description: Plan specifies information about a planned upgrade and when it should occur. + type: object + properties: + height: + description: The height at which the upgrade must be performed. + type: string + format: int64 + info: + type: string + title: |- + Any application specific upgrade info to be included on-chain + such as a git commit that validators could automatically upgrade to + name: + 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 + reached and the software will exit. + type: string + time: + description: |- + 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. + type: string + format: date-time + upgraded_client_state: + description: |- + 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. + $ref: '#/definitions/google.protobuf.Any' + cosmos.upgrade.v1beta1.QueryAppliedPlanResponse: + description: |- + QueryAppliedPlanResponse is the response type for the Query/AppliedPlan RPC + method. + type: object + properties: + height: + description: height is the block height at which the plan was applied. + type: string + format: int64 + cosmos.upgrade.v1beta1.QueryAuthorityResponse: + description: 'Since: cosmos-sdk 0.46' + type: object + title: QueryAuthorityResponse is the response type for Query/Authority + properties: + address: + type: string + cosmos.upgrade.v1beta1.QueryCurrentPlanResponse: + description: |- + QueryCurrentPlanResponse is the response type for the Query/CurrentPlan RPC + method. + type: object + properties: + plan: + description: plan is the current upgrade plan. + $ref: '#/definitions/cosmos.upgrade.v1beta1.Plan' + cosmos.upgrade.v1beta1.QueryModuleVersionsResponse: + description: |- + QueryModuleVersionsResponse is the response type for the Query/ModuleVersions + RPC method. + + Since: cosmos-sdk 0.43 + type: object + properties: + module_versions: + description: module_versions is a list of module names with their consensus versions. + type: array + items: + type: object + $ref: '#/definitions/cosmos.upgrade.v1beta1.ModuleVersion' + cosmos.upgrade.v1beta1.QueryUpgradedConsensusStateResponse: + description: |- + QueryUpgradedConsensusStateResponse is the response type for the Query/UpgradedConsensusState + RPC method. + type: object + properties: + upgraded_consensus_state: + type: string + format: byte + title: 'Since: cosmos-sdk 0.43' + cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccount: + description: |- + MsgCreateVestingAccount defines a message that enables creating a vesting + account. + + Since: cosmos-sdk 0.46 + type: object + properties: + from_address: + type: string + start_time: + description: start of vesting as unix time (in seconds). + type: string + format: int64 + to_address: + type: string + vesting_periods: + type: array + items: + type: object + $ref: '#/definitions/cosmos.vesting.v1beta1.Period' + cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccountResponse: + description: |- + MsgCreateVestingAccountResponse defines the Msg/CreatePeriodicVestingAccount + response type. + + Since: cosmos-sdk 0.46 + type: object + cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccount: + description: |- + MsgCreatePermanentLockedAccount defines a message that enables creating a permanent + locked account. + + Since: cosmos-sdk 0.46 + type: object + properties: + amount: + type: array + items: + type: object + $ref: '#/definitions/cosmos.base.v1beta1.Coin' + from_address: + type: string + to_address: + type: string + cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccountResponse: + description: |- + MsgCreatePermanentLockedAccountResponse defines the Msg/CreatePermanentLockedAccount response type. + + Since: cosmos-sdk 0.46 + type: object + cosmos.vesting.v1beta1.MsgCreateVestingAccount: + description: |- + MsgCreateVestingAccount defines a message that enables creating a vesting + account. + type: object + properties: + amount: + type: array + items: + type: object + $ref: '#/definitions/cosmos.base.v1beta1.Coin' + delayed: + type: boolean + end_time: + description: end of vesting as unix time (in seconds). + type: string + format: int64 + from_address: + type: string + to_address: + type: string + cosmos.vesting.v1beta1.MsgCreateVestingAccountResponse: + description: MsgCreateVestingAccountResponse defines the Msg/CreateVestingAccount response type. + type: object + cosmos.vesting.v1beta1.Period: + description: Period defines a length of time and amount of coins that will vest. + type: object + properties: + amount: + type: array + items: + type: object + $ref: '#/definitions/cosmos.base.v1beta1.Coin' + length: + description: Period duration in seconds. + type: string + format: int64 + google.protobuf.Any: + type: object + properties: + '@type': + type: string + additionalProperties: {} + google.rpc.Status: + type: object + properties: + code: + type: integer + format: int32 + details: + type: array + items: + type: object + $ref: '#/definitions/google.protobuf.Any' + message: + type: string + ibc.applications.fee.v1.Fee: + type: object + title: Fee defines the ICS29 receive, acknowledgement and timeout fees + properties: + ack_fee: + type: array + title: the packet acknowledgement fee + items: + type: object + $ref: '#/definitions/cosmos.base.v1beta1.Coin' + recv_fee: + type: array + title: the packet receive fee + items: + type: object + $ref: '#/definitions/cosmos.base.v1beta1.Coin' + timeout_fee: + type: array + title: the packet timeout fee + items: + type: object + $ref: '#/definitions/cosmos.base.v1beta1.Coin' + ibc.applications.fee.v1.FeeEnabledChannel: + type: object + title: FeeEnabledChannel contains the PortID & ChannelID for a fee enabled channel + properties: + channel_id: + type: string + title: unique channel identifier + port_id: + type: string + title: unique port identifier + ibc.applications.fee.v1.IdentifiedPacketFees: + type: object + title: IdentifiedPacketFees contains a list of type PacketFee and associated PacketId + properties: + packet_fees: + type: array + title: list of packet fees + items: + type: object + $ref: '#/definitions/ibc.applications.fee.v1.PacketFee' + packet_id: + title: unique packet identifier comprised of the channel ID, port ID and sequence + $ref: '#/definitions/ibc.core.channel.v1.PacketId' + ibc.applications.fee.v1.MsgPayPacketFee: + type: object + title: |- + MsgPayPacketFee defines the request type for the PayPacketFee rpc + This Msg can be used to pay for a packet at the next sequence send & should be combined with the Msg that will be + paid for + properties: + fee: + title: fee encapsulates the recv, ack and timeout fees associated with an IBC packet + $ref: '#/definitions/ibc.applications.fee.v1.Fee' + relayers: + type: array + title: optional list of relayers permitted to the receive packet fees + items: + type: string + signer: + type: string + title: account address to refund fee if necessary + source_channel_id: + type: string + title: the source channel unique identifer + source_port_id: + type: string + title: the source port unique identifier + ibc.applications.fee.v1.MsgPayPacketFeeAsync: + type: object + title: |- + MsgPayPacketFeeAsync defines the request type for the PayPacketFeeAsync rpc + This Msg can be used to pay for a packet at a specified sequence (instead of the next sequence send) + properties: + packet_fee: + title: the packet fee associated with a particular IBC packet + $ref: '#/definitions/ibc.applications.fee.v1.PacketFee' + packet_id: + title: unique packet identifier comprised of the channel ID, port ID and sequence + $ref: '#/definitions/ibc.core.channel.v1.PacketId' + ibc.applications.fee.v1.MsgPayPacketFeeAsyncResponse: + type: object + title: MsgPayPacketFeeAsyncResponse defines the response type for the PayPacketFeeAsync rpc + ibc.applications.fee.v1.MsgPayPacketFeeResponse: + type: object + title: MsgPayPacketFeeResponse defines the response type for the PayPacketFee rpc + ibc.applications.fee.v1.MsgRegisterCounterpartyPayee: + type: object + title: MsgRegisterCounterpartyPayee defines the request type for the RegisterCounterpartyPayee rpc + properties: + channel_id: + type: string + title: unique channel identifier + counterparty_payee: + type: string + title: the counterparty payee address + port_id: + type: string + title: unique port identifier + relayer: + type: string + title: the relayer address + ibc.applications.fee.v1.MsgRegisterCounterpartyPayeeResponse: + type: object + title: MsgRegisterCounterpartyPayeeResponse defines the response type for the RegisterCounterpartyPayee rpc + ibc.applications.fee.v1.MsgRegisterPayee: + type: object + title: MsgRegisterPayee defines the request type for the RegisterPayee rpc + properties: + channel_id: + type: string + title: unique channel identifier + payee: + type: string + title: the payee address + port_id: + type: string + title: unique port identifier + relayer: + type: string + title: the relayer address + ibc.applications.fee.v1.MsgRegisterPayeeResponse: + type: object + title: MsgRegisterPayeeResponse defines the response type for the RegisterPayee rpc + ibc.applications.fee.v1.PacketFee: + type: object + title: PacketFee contains ICS29 relayer fees, refund address and optional list of permitted relayers + properties: + fee: + title: fee encapsulates the recv, ack and timeout fees associated with an IBC packet + $ref: '#/definitions/ibc.applications.fee.v1.Fee' + refund_address: + type: string + title: the refund address for unspent fees + relayers: + type: array + title: optional list of relayers permitted to receive fees + items: + type: string + ibc.applications.fee.v1.QueryCounterpartyPayeeResponse: + type: object + title: QueryCounterpartyPayeeResponse defines the response type for the CounterpartyPayee rpc + properties: + counterparty_payee: + type: string + title: the counterparty payee address used to compensate forward relaying + ibc.applications.fee.v1.QueryFeeEnabledChannelResponse: + type: object + title: QueryFeeEnabledChannelResponse defines the response type for the FeeEnabledChannel rpc + properties: + fee_enabled: + type: boolean + title: boolean flag representing the fee enabled channel status + ibc.applications.fee.v1.QueryFeeEnabledChannelsResponse: + type: object + title: QueryFeeEnabledChannelsResponse defines the response type for the FeeEnabledChannels rpc + properties: + fee_enabled_channels: + type: array + title: list of fee enabled channels + items: + type: object + $ref: '#/definitions/ibc.applications.fee.v1.FeeEnabledChannel' + pagination: + description: pagination defines the pagination in the response. + $ref: '#/definitions/cosmos.base.query.v1beta1.PageResponse' + ibc.applications.fee.v1.QueryIncentivizedPacketResponse: + type: object + title: QueryIncentivizedPacketsResponse defines the response type for the IncentivizedPacket rpc + properties: + incentivized_packet: + title: the identified fees for the incentivized packet + $ref: '#/definitions/ibc.applications.fee.v1.IdentifiedPacketFees' + ibc.applications.fee.v1.QueryIncentivizedPacketsForChannelResponse: + type: object + title: QueryIncentivizedPacketsResponse defines the response type for the incentivized packets RPC + properties: + incentivized_packets: + type: array + title: Map of all incentivized_packets + items: + type: object + $ref: '#/definitions/ibc.applications.fee.v1.IdentifiedPacketFees' + pagination: + description: pagination defines the pagination in the response. + $ref: '#/definitions/cosmos.base.query.v1beta1.PageResponse' + ibc.applications.fee.v1.QueryIncentivizedPacketsResponse: + type: object + title: QueryIncentivizedPacketsResponse defines the response type for the IncentivizedPackets rpc + properties: + incentivized_packets: + type: array + title: list of identified fees for incentivized packets + items: + type: object + $ref: '#/definitions/ibc.applications.fee.v1.IdentifiedPacketFees' + pagination: + description: pagination defines the pagination in the response. + $ref: '#/definitions/cosmos.base.query.v1beta1.PageResponse' + ibc.applications.fee.v1.QueryPayeeResponse: + type: object + title: QueryPayeeResponse defines the response type for the Payee rpc + properties: + payee_address: + type: string + title: the payee address to which packet fees are paid out + ibc.applications.fee.v1.QueryTotalAckFeesResponse: + type: object + title: QueryTotalAckFeesResponse defines the response type for the TotalAckFees rpc + properties: + ack_fees: + type: array + title: the total packet acknowledgement fees + items: + type: object + $ref: '#/definitions/cosmos.base.v1beta1.Coin' + ibc.applications.fee.v1.QueryTotalRecvFeesResponse: + type: object + title: QueryTotalRecvFeesResponse defines the response type for the TotalRecvFees rpc + properties: + recv_fees: + type: array + title: the total packet receive fees + items: + type: object + $ref: '#/definitions/cosmos.base.v1beta1.Coin' + ibc.applications.fee.v1.QueryTotalTimeoutFeesResponse: + type: object + title: QueryTotalTimeoutFeesResponse defines the response type for the TotalTimeoutFees rpc + properties: + timeout_fees: + type: array + title: the total packet timeout fees + items: + type: object + $ref: '#/definitions/cosmos.base.v1beta1.Coin' + ibc.applications.interchain_accounts.controller.v1.MsgRegisterInterchainAccount: + type: object + title: MsgRegisterInterchainAccount defines the payload for Msg/RegisterAccount + properties: + connection_id: + type: string + ordering: + $ref: '#/definitions/ibc.core.channel.v1.Order' + owner: + type: string + version: + type: string + ibc.applications.interchain_accounts.controller.v1.MsgRegisterInterchainAccountResponse: + type: object + title: MsgRegisterInterchainAccountResponse defines the response for Msg/RegisterAccount + properties: + channel_id: + type: string + port_id: + type: string + ibc.applications.interchain_accounts.controller.v1.MsgSendTx: + type: object + title: MsgSendTx defines the payload for Msg/SendTx + properties: + connection_id: + type: string + owner: + type: string + packet_data: + $ref: '#/definitions/ibc.applications.interchain_accounts.v1.InterchainAccountPacketData' + relative_timeout: + description: |- + Relative timeout timestamp provided will be added to the current block time during transaction execution. + The timeout timestamp must be non-zero. + type: string + format: uint64 + ibc.applications.interchain_accounts.controller.v1.MsgSendTxResponse: + type: object + title: MsgSendTxResponse defines the response for MsgSendTx + properties: + sequence: + type: string + format: uint64 + ibc.applications.interchain_accounts.controller.v1.MsgUpdateParams: + type: object + title: MsgUpdateParams defines the payload for Msg/UpdateParams + properties: + params: + description: |- + params defines the 27-interchain-accounts/controller parameters to update. + + NOTE: All parameters must be supplied. + $ref: '#/definitions/ibc.applications.interchain_accounts.controller.v1.Params' + signer: + type: string + title: signer address + ibc.applications.interchain_accounts.controller.v1.MsgUpdateParamsResponse: + type: object + title: MsgUpdateParamsResponse defines the response for Msg/UpdateParams + ibc.applications.interchain_accounts.controller.v1.Params: + description: |- + Params defines the set of on-chain interchain accounts parameters. + The following parameters may be used to disable the controller submodule. + type: object + properties: + controller_enabled: + description: controller_enabled enables or disables the controller submodule. + type: boolean + ibc.applications.interchain_accounts.controller.v1.QueryInterchainAccountResponse: + description: QueryInterchainAccountResponse the response type for the Query/InterchainAccount RPC method. + type: object + properties: + address: + type: string + ibc.applications.interchain_accounts.controller.v1.QueryParamsResponse: + description: QueryParamsResponse is the response type for the Query/Params RPC method. + type: object + properties: + params: + description: params defines the parameters of the module. + $ref: '#/definitions/ibc.applications.interchain_accounts.controller.v1.Params' + ibc.applications.interchain_accounts.host.v1.MsgUpdateParams: + type: object + title: MsgUpdateParams defines the payload for Msg/UpdateParams + properties: + params: + description: |- + params defines the 27-interchain-accounts/host parameters to update. + + NOTE: All parameters must be supplied. + $ref: '#/definitions/ibc.applications.interchain_accounts.host.v1.Params' + signer: + type: string + title: signer address + ibc.applications.interchain_accounts.host.v1.MsgUpdateParamsResponse: + type: object + title: MsgUpdateParamsResponse defines the response for Msg/UpdateParams + ibc.applications.interchain_accounts.host.v1.Params: + description: |- + Params defines the set of on-chain interchain accounts parameters. + The following parameters may be used to disable the host submodule. + type: object + properties: + allow_messages: + description: allow_messages defines a list of sdk message typeURLs allowed to be executed on a host chain. + type: array + items: + type: string + host_enabled: + description: host_enabled enables or disables the host submodule. + type: boolean + ibc.applications.interchain_accounts.host.v1.QueryParamsResponse: + description: QueryParamsResponse is the response type for the Query/Params RPC method. + type: object + properties: + params: + description: params defines the parameters of the module. + $ref: '#/definitions/ibc.applications.interchain_accounts.host.v1.Params' + ibc.applications.interchain_accounts.v1.InterchainAccountPacketData: + description: InterchainAccountPacketData is comprised of a raw transaction, type of transaction and optional memo field. + type: object + properties: + data: + type: string + format: byte + memo: + type: string + type: + $ref: '#/definitions/ibc.applications.interchain_accounts.v1.Type' + ibc.applications.interchain_accounts.v1.Type: + description: |- + - TYPE_UNSPECIFIED: Default zero value enumeration + - TYPE_EXECUTE_TX: Execute a transaction on an interchain accounts host chain + type: string + title: |- + Type defines a classification of message issued from a controller chain to its associated interchain accounts + host + default: TYPE_UNSPECIFIED + enum: + - TYPE_UNSPECIFIED + - TYPE_EXECUTE_TX + ibc.applications.transfer.v1.DenomTrace: + description: |- + DenomTrace contains the base denomination for ICS20 fungible tokens and the + source tracing information path. + type: object + properties: + base_denom: + description: base denomination of the relayed fungible token. + type: string + path: + description: |- + path defines the chain of port/channel identifiers used for tracing the + source of the fungible token. + type: string + ibc.applications.transfer.v1.MsgTransfer: + type: object + title: |- + MsgTransfer defines a msg to transfer fungible tokens (i.e Coins) between + ICS20 enabled chains. See ICS Spec here: + https://github.com/cosmos/ibc/tree/master/spec/app/ics-020-fungible-token-transfer#data-structures + properties: + memo: + type: string + title: optional memo + receiver: + type: string + title: the recipient address on the destination chain + sender: + type: string + title: the sender address + source_channel: + type: string + title: the channel by which the packet will be sent + source_port: + type: string + title: the port on which the packet will be sent + timeout_height: + description: |- + Timeout height relative to the current block height. + The timeout is disabled when set to 0. + $ref: '#/definitions/ibc.core.client.v1.Height' + timeout_timestamp: + description: |- + Timeout timestamp in absolute nanoseconds since unix epoch. + The timeout is disabled when set to 0. + type: string + format: uint64 + token: + title: the tokens to be transferred + $ref: '#/definitions/cosmos.base.v1beta1.Coin' + ibc.applications.transfer.v1.MsgTransferResponse: + description: MsgTransferResponse defines the Msg/Transfer response type. + type: object + properties: + sequence: + type: string + format: uint64 + title: sequence number of the transfer packet sent + ibc.applications.transfer.v1.MsgUpdateParams: + description: MsgUpdateParams is the Msg/UpdateParams request type. + type: object + properties: + params: + description: |- + params defines the transfer parameters to update. + + NOTE: All parameters must be supplied. + $ref: '#/definitions/ibc.applications.transfer.v1.Params' + signer: + type: string + title: signer address + ibc.applications.transfer.v1.MsgUpdateParamsResponse: + description: |- + MsgUpdateParamsResponse defines the response structure for executing a + MsgUpdateParams message. + type: object + ibc.applications.transfer.v1.Params: + description: |- + Params defines the set of IBC transfer parameters. + NOTE: To prevent a single token from being transferred, set the + TransfersEnabled parameter to true and then set the bank module's SendEnabled + parameter for the denomination to false. + type: object + properties: + receive_enabled: + description: |- + receive_enabled enables or disables all cross-chain token transfers to this + chain. + type: boolean + send_enabled: + description: |- + send_enabled enables or disables all cross-chain token transfers from this + chain. + type: boolean + ibc.applications.transfer.v1.QueryDenomHashResponse: + description: |- + QueryDenomHashResponse is the response type for the Query/DenomHash RPC + method. + type: object + properties: + hash: + description: hash (in hex format) of the denomination trace information. + type: string + ibc.applications.transfer.v1.QueryDenomTraceResponse: + description: |- + QueryDenomTraceResponse is the response type for the Query/DenomTrace RPC + method. + type: object + properties: + denom_trace: + description: denom_trace returns the requested denomination trace information. + $ref: '#/definitions/ibc.applications.transfer.v1.DenomTrace' + ibc.applications.transfer.v1.QueryDenomTracesResponse: + description: |- + QueryConnectionsResponse is the response type for the Query/DenomTraces RPC + method. + type: object + properties: + denom_traces: + description: denom_traces returns all denominations trace information. + type: array + items: + type: object + $ref: '#/definitions/ibc.applications.transfer.v1.DenomTrace' + pagination: + description: pagination defines the pagination in the response. + $ref: '#/definitions/cosmos.base.query.v1beta1.PageResponse' + ibc.applications.transfer.v1.QueryEscrowAddressResponse: + description: QueryEscrowAddressResponse is the response type of the EscrowAddress RPC method. + type: object + properties: + escrow_address: + type: string + title: the escrow account address + ibc.applications.transfer.v1.QueryParamsResponse: + description: QueryParamsResponse is the response type for the Query/Params RPC method. + type: object + properties: + params: + description: params defines the parameters of the module. + $ref: '#/definitions/ibc.applications.transfer.v1.Params' + ibc.applications.transfer.v1.QueryTotalEscrowForDenomResponse: + description: QueryTotalEscrowForDenomResponse is the response type for TotalEscrowForDenom RPC method. + type: object + properties: + amount: + $ref: '#/definitions/cosmos.base.v1beta1.Coin' + ibc.core.channel.v1.Channel: + description: |- + Channel defines pipeline for exactly-once packet delivery between specific + modules on separate blockchains, which has at least one end capable of + sending packets and one end capable of receiving packets. + type: object + properties: + connection_hops: + type: array + title: |- + list of connection identifiers, in order, along which packets sent on + this channel will travel + items: + type: string + counterparty: + title: counterparty channel end + $ref: '#/definitions/ibc.core.channel.v1.Counterparty' + ordering: + title: whether the channel is ordered or unordered + $ref: '#/definitions/ibc.core.channel.v1.Order' + state: + title: current state of the channel end + $ref: '#/definitions/ibc.core.channel.v1.State' + upgrade_sequence: + type: string + format: uint64 + title: |- + upgrade sequence indicates the latest upgrade attempt performed by this channel + the value of 0 indicates the channel has never been upgraded + version: + type: string + title: opaque channel version, which is agreed upon during the handshake + ibc.core.channel.v1.Counterparty: + type: object + title: Counterparty defines a channel end counterparty + properties: + channel_id: + type: string + title: channel end on the counterparty chain + port_id: + description: port on the counterparty chain which owns the other end of the channel. + type: string + ibc.core.channel.v1.ErrorReceipt: + description: |- + ErrorReceipt defines a type which encapsulates the upgrade sequence and error associated with the + upgrade handshake failure. When a channel upgrade handshake is aborted both chains are expected to increment to the + next sequence. + type: object + properties: + message: + type: string + title: the error message detailing the cause of failure + sequence: + type: string + format: uint64 + title: the channel upgrade sequence + ibc.core.channel.v1.IdentifiedChannel: + description: |- + IdentifiedChannel defines a channel with additional port and channel + identifier fields. + type: object + properties: + channel_id: + type: string + title: channel identifier + connection_hops: + type: array + title: |- + list of connection identifiers, in order, along which packets sent on + this channel will travel + items: + type: string + counterparty: + title: counterparty channel end + $ref: '#/definitions/ibc.core.channel.v1.Counterparty' + ordering: + title: whether the channel is ordered or unordered + $ref: '#/definitions/ibc.core.channel.v1.Order' + port_id: + type: string + title: port identifier + state: + title: current state of the channel end + $ref: '#/definitions/ibc.core.channel.v1.State' + upgrade_sequence: + type: string + format: uint64 + title: |- + upgrade sequence indicates the latest upgrade attempt performed by this channel + the value of 0 indicates the channel has never been upgraded + version: + type: string + title: opaque channel version, which is agreed upon during the handshake + ibc.core.channel.v1.MsgAcknowledgement: + type: object + title: MsgAcknowledgement receives incoming IBC acknowledgement + properties: + acknowledgement: + type: string + format: byte + packet: + $ref: '#/definitions/ibc.core.channel.v1.Packet' + proof_acked: + type: string + format: byte + proof_height: + $ref: '#/definitions/ibc.core.client.v1.Height' + signer: + type: string + ibc.core.channel.v1.MsgAcknowledgementResponse: + description: MsgAcknowledgementResponse defines the Msg/Acknowledgement response type. + type: object + properties: + result: + $ref: '#/definitions/ibc.core.channel.v1.ResponseResultType' + ibc.core.channel.v1.MsgChannelCloseConfirm: + description: |- + MsgChannelCloseConfirm defines a msg sent by a Relayer to Chain B + to acknowledge the change of channel state to CLOSED on Chain A. + type: object + properties: + channel_id: + type: string + counterparty_upgrade_sequence: + type: string + format: uint64 + port_id: + type: string + proof_height: + $ref: '#/definitions/ibc.core.client.v1.Height' + proof_init: + type: string + format: byte + signer: + type: string + ibc.core.channel.v1.MsgChannelCloseConfirmResponse: + description: |- + MsgChannelCloseConfirmResponse defines the Msg/ChannelCloseConfirm response + type. + type: object + ibc.core.channel.v1.MsgChannelCloseInit: + description: |- + MsgChannelCloseInit defines a msg sent by a Relayer to Chain A + to close a channel with Chain B. + type: object + properties: + channel_id: + type: string + port_id: + type: string + signer: + type: string + ibc.core.channel.v1.MsgChannelCloseInitResponse: + description: MsgChannelCloseInitResponse defines the Msg/ChannelCloseInit response type. + type: object + ibc.core.channel.v1.MsgChannelOpenAck: + description: |- + MsgChannelOpenAck defines a msg sent by a Relayer to Chain A to acknowledge + the change of channel state to TRYOPEN on Chain B. + WARNING: a channel upgrade MUST NOT initialize an upgrade for this channel + in the same block as executing this message otherwise the counterparty will + be incapable of opening. + type: object + properties: + channel_id: + type: string + counterparty_channel_id: + type: string + counterparty_version: + type: string + port_id: + type: string + proof_height: + $ref: '#/definitions/ibc.core.client.v1.Height' + proof_try: + type: string + format: byte + signer: + type: string + ibc.core.channel.v1.MsgChannelOpenAckResponse: + description: MsgChannelOpenAckResponse defines the Msg/ChannelOpenAck response type. + type: object + ibc.core.channel.v1.MsgChannelOpenConfirm: + description: |- + MsgChannelOpenConfirm defines a msg sent by a Relayer to Chain B to + acknowledge the change of channel state to OPEN on Chain A. + type: object + properties: + channel_id: + type: string + port_id: + type: string + proof_ack: + type: string + format: byte + proof_height: + $ref: '#/definitions/ibc.core.client.v1.Height' + signer: + type: string + ibc.core.channel.v1.MsgChannelOpenConfirmResponse: + description: |- + MsgChannelOpenConfirmResponse defines the Msg/ChannelOpenConfirm response + type. + type: object + ibc.core.channel.v1.MsgChannelOpenInit: + description: |- + MsgChannelOpenInit defines an sdk.Msg to initialize a channel handshake. It + is called by a relayer on Chain A. + type: object + properties: + channel: + $ref: '#/definitions/ibc.core.channel.v1.Channel' + port_id: + type: string + signer: + type: string + ibc.core.channel.v1.MsgChannelOpenInitResponse: + description: MsgChannelOpenInitResponse defines the Msg/ChannelOpenInit response type. + type: object + properties: + channel_id: + type: string + version: + type: string + ibc.core.channel.v1.MsgChannelOpenTry: + description: |- + MsgChannelOpenInit defines a msg sent by a Relayer to try to open a channel + on Chain B. The version field within the Channel field has been deprecated. Its + value will be ignored by core IBC. + type: object + properties: + channel: + description: 'NOTE: the version field within the channel has been deprecated. Its value will be ignored by core IBC.' + $ref: '#/definitions/ibc.core.channel.v1.Channel' + counterparty_version: + type: string + port_id: + type: string + previous_channel_id: + description: 'Deprecated: this field is unused. Crossing hello''s are no longer supported in core IBC.' + type: string + proof_height: + $ref: '#/definitions/ibc.core.client.v1.Height' + proof_init: + type: string + format: byte + signer: + type: string + ibc.core.channel.v1.MsgChannelOpenTryResponse: + description: MsgChannelOpenTryResponse defines the Msg/ChannelOpenTry response type. + type: object + properties: + channel_id: + type: string + version: + type: string + ibc.core.channel.v1.MsgChannelUpgradeAck: + type: object + title: MsgChannelUpgradeAck defines the request type for the ChannelUpgradeAck rpc + properties: + channel_id: + type: string + counterparty_upgrade: + $ref: '#/definitions/ibc.core.channel.v1.Upgrade' + port_id: + type: string + proof_channel: + type: string + format: byte + proof_height: + $ref: '#/definitions/ibc.core.client.v1.Height' + proof_upgrade: + type: string + format: byte + signer: + type: string + ibc.core.channel.v1.MsgChannelUpgradeAckResponse: + type: object + title: MsgChannelUpgradeAckResponse defines MsgChannelUpgradeAck response type + properties: + result: + $ref: '#/definitions/ibc.core.channel.v1.ResponseResultType' + ibc.core.channel.v1.MsgChannelUpgradeCancel: + type: object + title: MsgChannelUpgradeCancel defines the request type for the ChannelUpgradeCancel rpc + properties: + channel_id: + type: string + error_receipt: + $ref: '#/definitions/ibc.core.channel.v1.ErrorReceipt' + port_id: + type: string + proof_error_receipt: + type: string + format: byte + proof_height: + $ref: '#/definitions/ibc.core.client.v1.Height' + signer: + type: string + ibc.core.channel.v1.MsgChannelUpgradeCancelResponse: + type: object + title: MsgChannelUpgradeCancelResponse defines the MsgChannelUpgradeCancel response type + ibc.core.channel.v1.MsgChannelUpgradeConfirm: + type: object + title: MsgChannelUpgradeConfirm defines the request type for the ChannelUpgradeConfirm rpc + properties: + channel_id: + type: string + counterparty_channel_state: + $ref: '#/definitions/ibc.core.channel.v1.State' + counterparty_upgrade: + $ref: '#/definitions/ibc.core.channel.v1.Upgrade' + port_id: + type: string + proof_channel: + type: string + format: byte + proof_height: + $ref: '#/definitions/ibc.core.client.v1.Height' + proof_upgrade: + type: string + format: byte + signer: + type: string + ibc.core.channel.v1.MsgChannelUpgradeConfirmResponse: + type: object + title: MsgChannelUpgradeConfirmResponse defines MsgChannelUpgradeConfirm response type + properties: + result: + $ref: '#/definitions/ibc.core.channel.v1.ResponseResultType' + ibc.core.channel.v1.MsgChannelUpgradeInit: + description: |- + MsgChannelUpgradeInit defines the request type for the ChannelUpgradeInit rpc + WARNING: Initializing a channel upgrade in the same block as opening the channel + may result in the counterparty being incapable of opening. + type: object + properties: + channel_id: + type: string + fields: + $ref: '#/definitions/ibc.core.channel.v1.UpgradeFields' + port_id: + type: string + signer: + type: string + ibc.core.channel.v1.MsgChannelUpgradeInitResponse: + type: object + title: MsgChannelUpgradeInitResponse defines the MsgChannelUpgradeInit response type + properties: + upgrade: + $ref: '#/definitions/ibc.core.channel.v1.Upgrade' + upgrade_sequence: + type: string + format: uint64 + ibc.core.channel.v1.MsgChannelUpgradeOpen: + type: object + title: MsgChannelUpgradeOpen defines the request type for the ChannelUpgradeOpen rpc + properties: + channel_id: + type: string + counterparty_channel_state: + $ref: '#/definitions/ibc.core.channel.v1.State' + counterparty_upgrade_sequence: + type: string + format: uint64 + port_id: + type: string + proof_channel: + type: string + format: byte + proof_height: + $ref: '#/definitions/ibc.core.client.v1.Height' + signer: + type: string + ibc.core.channel.v1.MsgChannelUpgradeOpenResponse: + type: object + title: MsgChannelUpgradeOpenResponse defines the MsgChannelUpgradeOpen response type + ibc.core.channel.v1.MsgChannelUpgradeTimeout: + type: object + title: MsgChannelUpgradeTimeout defines the request type for the ChannelUpgradeTimeout rpc + properties: + channel_id: + type: string + counterparty_channel: + $ref: '#/definitions/ibc.core.channel.v1.Channel' + port_id: + type: string + proof_channel: + type: string + format: byte + proof_height: + $ref: '#/definitions/ibc.core.client.v1.Height' + signer: + type: string + ibc.core.channel.v1.MsgChannelUpgradeTimeoutResponse: + type: object + title: MsgChannelUpgradeTimeoutRepsonse defines the MsgChannelUpgradeTimeout response type + ibc.core.channel.v1.MsgChannelUpgradeTry: + type: object + title: MsgChannelUpgradeTry defines the request type for the ChannelUpgradeTry rpc + properties: + channel_id: + type: string + counterparty_upgrade_fields: + $ref: '#/definitions/ibc.core.channel.v1.UpgradeFields' + counterparty_upgrade_sequence: + type: string + format: uint64 + port_id: + type: string + proof_channel: + type: string + format: byte + proof_height: + $ref: '#/definitions/ibc.core.client.v1.Height' + proof_upgrade: + type: string + format: byte + proposed_upgrade_connection_hops: + type: array + items: + type: string + signer: + type: string + ibc.core.channel.v1.MsgChannelUpgradeTryResponse: + type: object + title: MsgChannelUpgradeTryResponse defines the MsgChannelUpgradeTry response type + properties: + result: + $ref: '#/definitions/ibc.core.channel.v1.ResponseResultType' + upgrade: + $ref: '#/definitions/ibc.core.channel.v1.Upgrade' + upgrade_sequence: + type: string + format: uint64 + ibc.core.channel.v1.MsgPruneAcknowledgements: + description: MsgPruneAcknowledgements defines the request type for the PruneAcknowledgements rpc. + type: object + properties: + channel_id: + type: string + limit: + type: string + format: uint64 + port_id: + type: string + signer: + type: string + ibc.core.channel.v1.MsgPruneAcknowledgementsResponse: + description: MsgPruneAcknowledgementsResponse defines the response type for the PruneAcknowledgements rpc. + type: object + properties: + total_pruned_sequences: + description: Number of sequences pruned (includes both packet acknowledgements and packet receipts where appropriate). + type: string + format: uint64 + total_remaining_sequences: + description: Number of sequences left after pruning. + type: string + format: uint64 + ibc.core.channel.v1.MsgRecvPacket: + type: object + title: MsgRecvPacket receives incoming IBC packet + properties: + packet: + $ref: '#/definitions/ibc.core.channel.v1.Packet' + proof_commitment: + type: string + format: byte + proof_height: + $ref: '#/definitions/ibc.core.client.v1.Height' + signer: + type: string + ibc.core.channel.v1.MsgRecvPacketResponse: + description: MsgRecvPacketResponse defines the Msg/RecvPacket response type. + type: object + properties: + result: + $ref: '#/definitions/ibc.core.channel.v1.ResponseResultType' + ibc.core.channel.v1.MsgTimeout: + type: object + title: MsgTimeout receives timed-out packet + properties: + next_sequence_recv: + type: string + format: uint64 + packet: + $ref: '#/definitions/ibc.core.channel.v1.Packet' + proof_height: + $ref: '#/definitions/ibc.core.client.v1.Height' + proof_unreceived: + type: string + format: byte + signer: + type: string + ibc.core.channel.v1.MsgTimeoutOnClose: + description: MsgTimeoutOnClose timed-out packet upon counterparty channel closure. + type: object + properties: + counterparty_upgrade_sequence: + type: string + format: uint64 + next_sequence_recv: + type: string + format: uint64 + packet: + $ref: '#/definitions/ibc.core.channel.v1.Packet' + proof_close: + type: string + format: byte + proof_height: + $ref: '#/definitions/ibc.core.client.v1.Height' + proof_unreceived: + type: string + format: byte + signer: + type: string + ibc.core.channel.v1.MsgTimeoutOnCloseResponse: + description: MsgTimeoutOnCloseResponse defines the Msg/TimeoutOnClose response type. + type: object + properties: + result: + $ref: '#/definitions/ibc.core.channel.v1.ResponseResultType' + ibc.core.channel.v1.MsgTimeoutResponse: + description: MsgTimeoutResponse defines the Msg/Timeout response type. + type: object + properties: + result: + $ref: '#/definitions/ibc.core.channel.v1.ResponseResultType' + ibc.core.channel.v1.MsgUpdateParams: + description: MsgUpdateParams is the MsgUpdateParams request type. + type: object + properties: + authority: + description: authority is the address that controls the module (defaults to x/gov unless overwritten). + type: string + params: + description: |- + params defines the channel parameters to update. + + NOTE: All parameters must be supplied. + $ref: '#/definitions/ibc.core.channel.v1.Params' + ibc.core.channel.v1.MsgUpdateParamsResponse: + description: MsgUpdateParamsResponse defines the MsgUpdateParams response type. + type: object + ibc.core.channel.v1.Order: + description: |- + - ORDER_NONE_UNSPECIFIED: zero-value for channel ordering + - ORDER_UNORDERED: packets can be delivered in any order, which may differ from the order in + which they were sent. + - ORDER_ORDERED: packets are delivered exactly in the order which they were sent + type: string + title: Order defines if a channel is ORDERED or UNORDERED + default: ORDER_NONE_UNSPECIFIED + enum: + - ORDER_NONE_UNSPECIFIED + - ORDER_UNORDERED + - ORDER_ORDERED + ibc.core.channel.v1.Packet: + type: object + title: Packet defines a type that carries data across different chains through IBC + properties: + data: + type: string + format: byte + title: actual opaque bytes transferred directly to the application module + destination_channel: + description: identifies the channel end on the receiving chain. + type: string + destination_port: + description: identifies the port on the receiving chain. + type: string + sequence: + description: |- + number corresponds to the order of sends and receives, where a Packet + with an earlier sequence number must be sent and received before a Packet + with a later sequence number. + type: string + format: uint64 + source_channel: + description: identifies the channel end on the sending chain. + type: string + source_port: + description: identifies the port on the sending chain. + type: string + timeout_height: + title: block height after which the packet times out + $ref: '#/definitions/ibc.core.client.v1.Height' + timeout_timestamp: + type: string + format: uint64 + title: block timestamp (in nanoseconds) after which the packet times out + ibc.core.channel.v1.PacketId: + type: object + title: |- + PacketId is an identifer for a unique Packet + Source chains refer to packets by source port/channel + Destination chains refer to packets by destination port/channel + properties: + channel_id: + type: string + title: channel unique identifier + port_id: + type: string + title: channel port identifier + sequence: + type: string + format: uint64 + title: packet sequence + ibc.core.channel.v1.PacketState: + description: |- + PacketState defines the generic type necessary to retrieve and store + packet commitments, acknowledgements, and receipts. + Caller is responsible for knowing the context necessary to interpret this + state as a commitment, acknowledgement, or a receipt. + type: object + properties: + channel_id: + description: channel unique identifier. + type: string + data: + description: embedded data that represents packet state. + type: string + format: byte + port_id: + description: channel port identifier. + type: string + sequence: + description: packet sequence. + type: string + format: uint64 + ibc.core.channel.v1.Params: + description: Params defines the set of IBC channel parameters. + type: object + properties: + upgrade_timeout: + description: the relative timeout after which channel upgrades will time out. + $ref: '#/definitions/ibc.core.channel.v1.Timeout' + ibc.core.channel.v1.QueryChannelClientStateResponse: + type: object + title: |- + QueryChannelClientStateResponse is the Response type for the + Query/QueryChannelClientState RPC method + properties: + identified_client_state: + title: client state associated with the channel + $ref: '#/definitions/ibc.core.client.v1.IdentifiedClientState' + proof: + type: string + format: byte + title: merkle proof of existence + proof_height: + title: height at which the proof was retrieved + $ref: '#/definitions/ibc.core.client.v1.Height' + ibc.core.channel.v1.QueryChannelConsensusStateResponse: + type: object + title: |- + QueryChannelClientStateResponse is the Response type for the + Query/QueryChannelClientState RPC method + properties: + client_id: + type: string + title: client ID associated with the consensus state + consensus_state: + title: consensus state associated with the channel + $ref: '#/definitions/google.protobuf.Any' + proof: + type: string + format: byte + title: merkle proof of existence + proof_height: + title: height at which the proof was retrieved + $ref: '#/definitions/ibc.core.client.v1.Height' + ibc.core.channel.v1.QueryChannelParamsResponse: + description: QueryChannelParamsResponse is the response type for the Query/ChannelParams RPC method. + type: object + properties: + params: + description: params defines the parameters of the module. + $ref: '#/definitions/ibc.core.channel.v1.Params' + ibc.core.channel.v1.QueryChannelResponse: + description: |- + QueryChannelResponse is the response type for the Query/Channel RPC method. + Besides the Channel end, it includes a proof and the height from which the + proof was retrieved. + type: object + properties: + channel: + title: channel associated with the request identifiers + $ref: '#/definitions/ibc.core.channel.v1.Channel' + proof: + type: string + format: byte + title: merkle proof of existence + proof_height: + title: height at which the proof was retrieved + $ref: '#/definitions/ibc.core.client.v1.Height' + ibc.core.channel.v1.QueryChannelsResponse: + description: QueryChannelsResponse is the response type for the Query/Channels RPC method. + type: object + properties: + channels: + description: list of stored channels of the chain. + type: array + items: + type: object + $ref: '#/definitions/ibc.core.channel.v1.IdentifiedChannel' + height: + title: query block height + $ref: '#/definitions/ibc.core.client.v1.Height' + pagination: + title: pagination response + $ref: '#/definitions/cosmos.base.query.v1beta1.PageResponse' + ibc.core.channel.v1.QueryConnectionChannelsResponse: + type: object + title: |- + QueryConnectionChannelsResponse is the Response type for the + Query/QueryConnectionChannels RPC method + properties: + channels: + description: list of channels associated with a connection. + type: array + items: + type: object + $ref: '#/definitions/ibc.core.channel.v1.IdentifiedChannel' + height: + title: query block height + $ref: '#/definitions/ibc.core.client.v1.Height' + pagination: + title: pagination response + $ref: '#/definitions/cosmos.base.query.v1beta1.PageResponse' + ibc.core.channel.v1.QueryNextSequenceReceiveResponse: + type: object + title: |- + QuerySequenceResponse is the response type for the + Query/QueryNextSequenceReceiveResponse RPC method + properties: + next_sequence_receive: + type: string + format: uint64 + title: next sequence receive number + proof: + type: string + format: byte + title: merkle proof of existence + proof_height: + title: height at which the proof was retrieved + $ref: '#/definitions/ibc.core.client.v1.Height' + ibc.core.channel.v1.QueryNextSequenceSendResponse: + type: object + title: |- + QueryNextSequenceSendResponse is the request type for the + Query/QueryNextSequenceSend RPC method + properties: + next_sequence_send: + type: string + format: uint64 + title: next sequence send number + proof: + type: string + format: byte + title: merkle proof of existence + proof_height: + title: height at which the proof was retrieved + $ref: '#/definitions/ibc.core.client.v1.Height' + ibc.core.channel.v1.QueryPacketAcknowledgementResponse: + type: object + title: |- + QueryPacketAcknowledgementResponse defines the client query response for a + packet which also includes a proof and the height from which the + proof was retrieved + properties: + acknowledgement: + type: string + format: byte + title: packet associated with the request fields + proof: + type: string + format: byte + title: merkle proof of existence + proof_height: + title: height at which the proof was retrieved + $ref: '#/definitions/ibc.core.client.v1.Height' + ibc.core.channel.v1.QueryPacketAcknowledgementsResponse: + type: object + title: |- + QueryPacketAcknowledgemetsResponse is the request type for the + Query/QueryPacketAcknowledgements RPC method + properties: + acknowledgements: + type: array + items: + type: object + $ref: '#/definitions/ibc.core.channel.v1.PacketState' + height: + title: query block height + $ref: '#/definitions/ibc.core.client.v1.Height' + pagination: + title: pagination response + $ref: '#/definitions/cosmos.base.query.v1beta1.PageResponse' + ibc.core.channel.v1.QueryPacketCommitmentResponse: + type: object + title: |- + QueryPacketCommitmentResponse defines the client query response for a packet + which also includes a proof and the height from which the proof was + retrieved + properties: + commitment: + type: string + format: byte + title: packet associated with the request fields + proof: + type: string + format: byte + title: merkle proof of existence + proof_height: + title: height at which the proof was retrieved + $ref: '#/definitions/ibc.core.client.v1.Height' + ibc.core.channel.v1.QueryPacketCommitmentsResponse: + type: object + title: |- + QueryPacketCommitmentsResponse is the request type for the + Query/QueryPacketCommitments RPC method + properties: + commitments: + type: array + items: + type: object + $ref: '#/definitions/ibc.core.channel.v1.PacketState' + height: + title: query block height + $ref: '#/definitions/ibc.core.client.v1.Height' + pagination: + title: pagination response + $ref: '#/definitions/cosmos.base.query.v1beta1.PageResponse' + ibc.core.channel.v1.QueryPacketReceiptResponse: + type: object + title: |- + QueryPacketReceiptResponse defines the client query response for a packet + receipt which also includes a proof, and the height from which the proof was + retrieved + properties: + proof: + type: string + format: byte + title: merkle proof of existence + proof_height: + title: height at which the proof was retrieved + $ref: '#/definitions/ibc.core.client.v1.Height' + received: + type: boolean + title: success flag for if receipt exists + ibc.core.channel.v1.QueryUnreceivedAcksResponse: + type: object + title: |- + QueryUnreceivedAcksResponse is the response type for the + Query/UnreceivedAcks RPC method + properties: + height: + title: query block height + $ref: '#/definitions/ibc.core.client.v1.Height' + sequences: + type: array + title: list of unreceived acknowledgement sequences + items: + type: string + format: uint64 + ibc.core.channel.v1.QueryUnreceivedPacketsResponse: + type: object + title: |- + QueryUnreceivedPacketsResponse is the response type for the + Query/UnreceivedPacketCommitments RPC method + properties: + height: + title: query block height + $ref: '#/definitions/ibc.core.client.v1.Height' + sequences: + type: array + title: list of unreceived packet sequences + items: + type: string + format: uint64 + ibc.core.channel.v1.QueryUpgradeErrorResponse: + type: object + title: QueryUpgradeErrorResponse is the response type for the Query/QueryUpgradeError RPC method + properties: + error_receipt: + $ref: '#/definitions/ibc.core.channel.v1.ErrorReceipt' + proof: + type: string + format: byte + title: merkle proof of existence + proof_height: + title: height at which the proof was retrieved + $ref: '#/definitions/ibc.core.client.v1.Height' + ibc.core.channel.v1.QueryUpgradeResponse: + type: object + title: QueryUpgradeResponse is the response type for the QueryUpgradeResponse RPC method + properties: + proof: + type: string + format: byte + title: merkle proof of existence + proof_height: + title: height at which the proof was retrieved + $ref: '#/definitions/ibc.core.client.v1.Height' + upgrade: + $ref: '#/definitions/ibc.core.channel.v1.Upgrade' + ibc.core.channel.v1.ResponseResultType: + description: |- + - RESPONSE_RESULT_TYPE_UNSPECIFIED: Default zero value enumeration + - RESPONSE_RESULT_TYPE_NOOP: The message did not call the IBC application callbacks (because, for example, the packet had already been relayed) + - RESPONSE_RESULT_TYPE_SUCCESS: The message was executed successfully + - RESPONSE_RESULT_TYPE_FAILURE: The message was executed unsuccessfully + type: string + title: ResponseResultType defines the possible outcomes of the execution of a message + default: RESPONSE_RESULT_TYPE_UNSPECIFIED + enum: + - RESPONSE_RESULT_TYPE_UNSPECIFIED + - RESPONSE_RESULT_TYPE_NOOP + - RESPONSE_RESULT_TYPE_SUCCESS + - RESPONSE_RESULT_TYPE_FAILURE + ibc.core.channel.v1.State: + description: |- + State defines if a channel is in one of the following states: + CLOSED, INIT, TRYOPEN, OPEN, FLUSHING, FLUSHCOMPLETE or UNINITIALIZED. + + - STATE_UNINITIALIZED_UNSPECIFIED: Default State + - STATE_INIT: A channel has just started the opening handshake. + - STATE_TRYOPEN: A channel has acknowledged the handshake step on the counterparty chain. + - STATE_OPEN: A channel has completed the handshake. Open channels are + ready to send and receive packets. + - STATE_CLOSED: A channel has been closed and can no longer be used to send or receive + packets. + - STATE_FLUSHING: A channel has just accepted the upgrade handshake attempt and is flushing in-flight packets. + - STATE_FLUSHCOMPLETE: A channel has just completed flushing any in-flight packets. + type: string + default: STATE_UNINITIALIZED_UNSPECIFIED + enum: + - STATE_UNINITIALIZED_UNSPECIFIED + - STATE_INIT + - STATE_TRYOPEN + - STATE_OPEN + - STATE_CLOSED + - STATE_FLUSHING + - STATE_FLUSHCOMPLETE + ibc.core.channel.v1.Timeout: + description: |- + Timeout defines an execution deadline structure for 04-channel handlers. + This includes packet lifecycle handlers as well as the upgrade handshake handlers. + A valid Timeout contains either one or both of a timestamp and block height (sequence). + type: object + properties: + height: + title: block height after which the packet or upgrade times out + $ref: '#/definitions/ibc.core.client.v1.Height' + timestamp: + type: string + format: uint64 + title: block timestamp (in nanoseconds) after which the packet or upgrade times out + ibc.core.channel.v1.Upgrade: + description: |- + Upgrade is a verifiable type which contains the relevant information + for an attempted upgrade. It provides the proposed changes to the channel + end, the timeout for this upgrade attempt and the next packet sequence + which allows the counterparty to efficiently know the highest sequence it has received. + The next sequence send is used for pruning and upgrading from unordered to ordered channels. + type: object + properties: + fields: + $ref: '#/definitions/ibc.core.channel.v1.UpgradeFields' + next_sequence_send: + type: string + format: uint64 + timeout: + $ref: '#/definitions/ibc.core.channel.v1.Timeout' + ibc.core.channel.v1.UpgradeFields: + description: |- + UpgradeFields are the fields in a channel end which may be changed + during a channel upgrade. + type: object + properties: + connection_hops: + type: array + items: + type: string + ordering: + $ref: '#/definitions/ibc.core.channel.v1.Order' + version: + type: string + ibc.core.client.v1.ConsensusStateWithHeight: + description: |- + ConsensusStateWithHeight defines a consensus state with an additional height + field. + type: object + properties: + consensus_state: + title: consensus state + $ref: '#/definitions/google.protobuf.Any' + height: + title: consensus state height + $ref: '#/definitions/ibc.core.client.v1.Height' + ibc.core.client.v1.Height: + description: |- + Normally the RevisionHeight is incremented at each height while keeping + RevisionNumber the same. However some consensus algorithms may choose to + reset the height in certain conditions e.g. hard forks, state-machine + breaking changes In these cases, the RevisionNumber is incremented so that + height continues to be monitonically increasing even as the RevisionHeight + gets reset + type: object + title: |- + Height is a monotonically increasing data type + that can be compared against another Height for the purposes of updating and + freezing clients + properties: + revision_height: + type: string + format: uint64 + title: the height within the given revision + revision_number: + type: string + format: uint64 + title: the revision that the client is currently on + ibc.core.client.v1.IdentifiedClientState: + description: |- + IdentifiedClientState defines a client state with an additional client + identifier field. + type: object + properties: + client_id: + type: string + title: client identifier + client_state: + title: client state + $ref: '#/definitions/google.protobuf.Any' + ibc.core.client.v1.MsgCreateClient: + type: object + title: MsgCreateClient defines a message to create an IBC client + properties: + client_state: + title: light client state + $ref: '#/definitions/google.protobuf.Any' + consensus_state: + description: |- + consensus state associated with the client that corresponds to a given + height. + $ref: '#/definitions/google.protobuf.Any' + signer: + type: string + title: signer address + ibc.core.client.v1.MsgCreateClientResponse: + description: MsgCreateClientResponse defines the Msg/CreateClient response type. + type: object + ibc.core.client.v1.MsgIBCSoftwareUpgrade: + type: object + title: MsgIBCSoftwareUpgrade defines the message used to schedule an upgrade of an IBC client using a v1 governance proposal + properties: + plan: + $ref: '#/definitions/cosmos.upgrade.v1beta1.Plan' + signer: + type: string + title: signer address + upgraded_client_state: + description: |- + An UpgradedClientState must be provided to perform an IBC breaking upgrade. + This will make the chain commit to the correct upgraded (self) client state + before the upgrade occurs, so that connecting chains can verify that the + new upgraded client is valid by verifying a proof on the previous version + of the chain. This will allow IBC connections to persist smoothly across + planned chain upgrades. Correspondingly, the UpgradedClientState field has been + deprecated in the Cosmos SDK to allow for this logic to exist solely in + the 02-client module. + $ref: '#/definitions/google.protobuf.Any' + ibc.core.client.v1.MsgIBCSoftwareUpgradeResponse: + description: MsgIBCSoftwareUpgradeResponse defines the Msg/IBCSoftwareUpgrade response type. + type: object + ibc.core.client.v1.MsgRecoverClient: + description: MsgRecoverClient defines the message used to recover a frozen or expired client. + type: object + properties: + signer: + type: string + title: signer address + subject_client_id: + type: string + title: the client identifier for the client to be updated if the proposal passes + substitute_client_id: + type: string + title: |- + the substitute client identifier for the client which will replace the subject + client + ibc.core.client.v1.MsgRecoverClientResponse: + description: MsgRecoverClientResponse defines the Msg/RecoverClient response type. + type: object + ibc.core.client.v1.MsgSubmitMisbehaviour: + description: |- + MsgSubmitMisbehaviour defines an sdk.Msg type that submits Evidence for + light client misbehaviour. + This message has been deprecated. Use MsgUpdateClient instead. + type: object + properties: + client_id: + type: string + title: client unique identifier + misbehaviour: + title: misbehaviour used for freezing the light client + $ref: '#/definitions/google.protobuf.Any' + signer: + type: string + title: signer address + ibc.core.client.v1.MsgSubmitMisbehaviourResponse: + description: |- + MsgSubmitMisbehaviourResponse defines the Msg/SubmitMisbehaviour response + type. + type: object + ibc.core.client.v1.MsgUpdateClient: + description: |- + MsgUpdateClient defines an sdk.Msg to update a IBC client state using + the given client message. + type: object + properties: + client_id: + type: string + title: client unique identifier + client_message: + title: client message to update the light client + $ref: '#/definitions/google.protobuf.Any' + signer: + type: string + title: signer address + ibc.core.client.v1.MsgUpdateClientResponse: + description: MsgUpdateClientResponse defines the Msg/UpdateClient response type. + type: object + ibc.core.client.v1.MsgUpdateParams: + description: MsgUpdateParams defines the sdk.Msg type to update the client parameters. + type: object + properties: + params: + description: |- + params defines the client parameters to update. + + NOTE: All parameters must be supplied. + $ref: '#/definitions/ibc.core.client.v1.Params' + signer: + type: string + title: signer address + ibc.core.client.v1.MsgUpdateParamsResponse: + description: MsgUpdateParamsResponse defines the MsgUpdateParams response type. + type: object + ibc.core.client.v1.MsgUpgradeClient: + type: object + title: |- + MsgUpgradeClient defines an sdk.Msg to upgrade an IBC client to a new client + state + properties: + client_id: + type: string + title: client unique identifier + client_state: + title: upgraded client state + $ref: '#/definitions/google.protobuf.Any' + consensus_state: + title: |- + upgraded consensus state, only contains enough information to serve as a + basis of trust in update logic + $ref: '#/definitions/google.protobuf.Any' + proof_upgrade_client: + type: string + format: byte + title: proof that old chain committed to new client + proof_upgrade_consensus_state: + type: string + format: byte + title: proof that old chain committed to new consensus state + signer: + type: string + title: signer address + ibc.core.client.v1.MsgUpgradeClientResponse: + description: MsgUpgradeClientResponse defines the Msg/UpgradeClient response type. + type: object + ibc.core.client.v1.Params: + description: Params defines the set of IBC light client parameters. + type: object + properties: + allowed_clients: + description: |- + allowed_clients defines the list of allowed client state types which can be created + and interacted with. If a client type is removed from the allowed clients list, usage + of this client will be disabled until it is added again to the list. + type: array + items: + type: string + ibc.core.client.v1.QueryClientParamsResponse: + description: |- + QueryClientParamsResponse is the response type for the Query/ClientParams RPC + method. + type: object + properties: + params: + description: params defines the parameters of the module. + $ref: '#/definitions/ibc.core.client.v1.Params' + ibc.core.client.v1.QueryClientStateResponse: + description: |- + QueryClientStateResponse is the response type for the Query/ClientState RPC + method. Besides the client state, it includes a proof and the height from + which the proof was retrieved. + type: object + properties: + client_state: + title: client state associated with the request identifier + $ref: '#/definitions/google.protobuf.Any' + proof: + type: string + format: byte + title: merkle proof of existence + proof_height: + title: height at which the proof was retrieved + $ref: '#/definitions/ibc.core.client.v1.Height' + ibc.core.client.v1.QueryClientStatesResponse: + description: |- + QueryClientStatesResponse is the response type for the Query/ClientStates RPC + method. + type: object + properties: + client_states: + description: list of stored ClientStates of the chain. + type: array + items: + type: object + $ref: '#/definitions/ibc.core.client.v1.IdentifiedClientState' + pagination: + title: pagination response + $ref: '#/definitions/cosmos.base.query.v1beta1.PageResponse' + ibc.core.client.v1.QueryClientStatusResponse: + description: |- + QueryClientStatusResponse is the response type for the Query/ClientStatus RPC + method. It returns the current status of the IBC client. + type: object + properties: + status: + type: string + ibc.core.client.v1.QueryConsensusStateHeightsResponse: + type: object + title: |- + QueryConsensusStateHeightsResponse is the response type for the + Query/ConsensusStateHeights RPC method + properties: + consensus_state_heights: + type: array + title: consensus state heights + items: + type: object + $ref: '#/definitions/ibc.core.client.v1.Height' + pagination: + title: pagination response + $ref: '#/definitions/cosmos.base.query.v1beta1.PageResponse' + ibc.core.client.v1.QueryConsensusStateResponse: + type: object + title: |- + QueryConsensusStateResponse is the response type for the Query/ConsensusState + RPC method + properties: + consensus_state: + title: consensus state associated with the client identifier at the given height + $ref: '#/definitions/google.protobuf.Any' + proof: + type: string + format: byte + title: merkle proof of existence + proof_height: + title: height at which the proof was retrieved + $ref: '#/definitions/ibc.core.client.v1.Height' + ibc.core.client.v1.QueryConsensusStatesResponse: + type: object + title: |- + QueryConsensusStatesResponse is the response type for the + Query/ConsensusStates RPC method + properties: + consensus_states: + type: array + title: consensus states associated with the identifier + items: + type: object + $ref: '#/definitions/ibc.core.client.v1.ConsensusStateWithHeight' + pagination: + title: pagination response + $ref: '#/definitions/cosmos.base.query.v1beta1.PageResponse' + ibc.core.client.v1.QueryUpgradedClientStateResponse: + description: |- + QueryUpgradedClientStateResponse is the response type for the + Query/UpgradedClientState RPC method. + type: object + properties: + upgraded_client_state: + title: client state associated with the request identifier + $ref: '#/definitions/google.protobuf.Any' + ibc.core.client.v1.QueryUpgradedConsensusStateResponse: + description: |- + QueryUpgradedConsensusStateResponse is the response type for the + Query/UpgradedConsensusState RPC method. + type: object + properties: + upgraded_consensus_state: + title: Consensus state associated with the request identifier + $ref: '#/definitions/google.protobuf.Any' + ibc.core.commitment.v1.MerklePrefix: + type: object + title: |- + MerklePrefix is merkle path prefixed to the key. + The constructed key from the Path and the key will be append(Path.KeyPath, + append(Path.KeyPrefix, key...)) + properties: + key_prefix: + type: string + format: byte + ibc.core.connection.v1.ConnectionEnd: + description: |- + ConnectionEnd defines a stateful object on a chain connected to another + separate one. + NOTE: there must only be 2 defined ConnectionEnds to establish + a connection between two chains. + type: object + properties: + client_id: + description: client associated with this connection. + type: string + counterparty: + description: counterparty chain associated with this connection. + $ref: '#/definitions/ibc.core.connection.v1.Counterparty' + delay_period: + description: |- + delay period that must pass before a consensus state can be used for + packet-verification NOTE: delay period logic is only implemented by some + clients. + type: string + format: uint64 + state: + description: current state of the connection end. + $ref: '#/definitions/ibc.core.connection.v1.State' + versions: + description: |- + IBC version which can be utilised to determine encodings or protocols for + channels or packets utilising this connection. + type: array + items: + type: object + $ref: '#/definitions/ibc.core.connection.v1.Version' + ibc.core.connection.v1.Counterparty: + description: Counterparty defines the counterparty chain associated with a connection end. + type: object + properties: + client_id: + description: |- + identifies the client on the counterparty chain associated with a given + connection. + type: string + connection_id: + description: |- + identifies the connection end on the counterparty chain associated with a + given connection. + type: string + prefix: + description: commitment merkle prefix of the counterparty chain. + $ref: '#/definitions/ibc.core.commitment.v1.MerklePrefix' + ibc.core.connection.v1.IdentifiedConnection: + description: |- + IdentifiedConnection defines a connection with additional connection + identifier field. + type: object + properties: + client_id: + description: client associated with this connection. + type: string + counterparty: + description: counterparty chain associated with this connection. + $ref: '#/definitions/ibc.core.connection.v1.Counterparty' + delay_period: + description: delay period associated with this connection. + type: string + format: uint64 + id: + description: connection identifier. + type: string + state: + description: current state of the connection end. + $ref: '#/definitions/ibc.core.connection.v1.State' + versions: + type: array + title: |- + IBC version which can be utilised to determine encodings or protocols for + channels or packets utilising this connection + items: + type: object + $ref: '#/definitions/ibc.core.connection.v1.Version' + ibc.core.connection.v1.MsgConnectionOpenAck: + description: |- + MsgConnectionOpenAck defines a msg sent by a Relayer to Chain A to + acknowledge the change of connection state to TRYOPEN on Chain B. + type: object + properties: + client_state: + $ref: '#/definitions/google.protobuf.Any' + connection_id: + type: string + consensus_height: + $ref: '#/definitions/ibc.core.client.v1.Height' + counterparty_connection_id: + type: string + host_consensus_state_proof: + type: string + format: byte + title: optional proof data for host state machines that are unable to introspect their own consensus state + proof_client: + type: string + format: byte + title: proof of client state included in message + proof_consensus: + type: string + format: byte + title: proof of client consensus state + proof_height: + $ref: '#/definitions/ibc.core.client.v1.Height' + proof_try: + type: string + format: byte + title: |- + proof of the initialization the connection on Chain B: `UNITIALIZED -> + TRYOPEN` + signer: + type: string + version: + $ref: '#/definitions/ibc.core.connection.v1.Version' + ibc.core.connection.v1.MsgConnectionOpenAckResponse: + description: MsgConnectionOpenAckResponse defines the Msg/ConnectionOpenAck response type. + type: object + ibc.core.connection.v1.MsgConnectionOpenConfirm: + description: |- + MsgConnectionOpenConfirm defines a msg sent by a Relayer to Chain B to + acknowledge the change of connection state to OPEN on Chain A. + type: object + properties: + connection_id: + type: string + proof_ack: + type: string + format: byte + title: 'proof for the change of the connection state on Chain A: `INIT -> OPEN`' + proof_height: + $ref: '#/definitions/ibc.core.client.v1.Height' + signer: + type: string + ibc.core.connection.v1.MsgConnectionOpenConfirmResponse: + description: |- + MsgConnectionOpenConfirmResponse defines the Msg/ConnectionOpenConfirm + response type. + type: object + ibc.core.connection.v1.MsgConnectionOpenInit: + description: |- + MsgConnectionOpenInit defines the msg sent by an account on Chain A to + initialize a connection with Chain B. + type: object + properties: + client_id: + type: string + counterparty: + $ref: '#/definitions/ibc.core.connection.v1.Counterparty' + delay_period: + type: string + format: uint64 + signer: + type: string + version: + $ref: '#/definitions/ibc.core.connection.v1.Version' + ibc.core.connection.v1.MsgConnectionOpenInitResponse: + description: |- + MsgConnectionOpenInitResponse defines the Msg/ConnectionOpenInit response + type. + type: object + ibc.core.connection.v1.MsgConnectionOpenTry: + description: |- + MsgConnectionOpenTry defines a msg sent by a Relayer to try to open a + connection on Chain B. + type: object + properties: + client_id: + type: string + client_state: + $ref: '#/definitions/google.protobuf.Any' + consensus_height: + $ref: '#/definitions/ibc.core.client.v1.Height' + counterparty: + $ref: '#/definitions/ibc.core.connection.v1.Counterparty' + counterparty_versions: + type: array + items: + type: object + $ref: '#/definitions/ibc.core.connection.v1.Version' + delay_period: + type: string + format: uint64 + host_consensus_state_proof: + type: string + format: byte + title: optional proof data for host state machines that are unable to introspect their own consensus state + previous_connection_id: + description: 'Deprecated: this field is unused. Crossing hellos are no longer supported in core IBC.' + type: string + proof_client: + type: string + format: byte + title: proof of client state included in message + proof_consensus: + type: string + format: byte + title: proof of client consensus state + proof_height: + $ref: '#/definitions/ibc.core.client.v1.Height' + proof_init: + type: string + format: byte + title: |- + proof of the initialization the connection on Chain A: `UNITIALIZED -> + INIT` + signer: + type: string + ibc.core.connection.v1.MsgConnectionOpenTryResponse: + description: MsgConnectionOpenTryResponse defines the Msg/ConnectionOpenTry response type. + type: object + ibc.core.connection.v1.MsgUpdateParams: + description: MsgUpdateParams defines the sdk.Msg type to update the connection parameters. + type: object + properties: + params: + description: |- + params defines the connection parameters to update. + + NOTE: All parameters must be supplied. + $ref: '#/definitions/ibc.core.connection.v1.Params' + signer: + type: string + title: signer address + ibc.core.connection.v1.MsgUpdateParamsResponse: + description: MsgUpdateParamsResponse defines the MsgUpdateParams response type. + type: object + ibc.core.connection.v1.Params: + description: Params defines the set of Connection parameters. + type: object + properties: + max_expected_time_per_block: + description: |- + maximum expected time per block (in nanoseconds), used to enforce block delay. This parameter should reflect the + largest amount of time that the chain might reasonably take to produce the next block under normal operating + conditions. A safe choice is 3-5x the expected time per block. + type: string + format: uint64 + ibc.core.connection.v1.QueryClientConnectionsResponse: + type: object + title: |- + QueryClientConnectionsResponse is the response type for the + Query/ClientConnections RPC method + properties: + connection_paths: + description: slice of all the connection paths associated with a client. + type: array + items: + type: string + proof: + type: string + format: byte + title: merkle proof of existence + proof_height: + title: height at which the proof was generated + $ref: '#/definitions/ibc.core.client.v1.Height' + ibc.core.connection.v1.QueryConnectionClientStateResponse: + type: object + title: |- + QueryConnectionClientStateResponse is the response type for the + Query/ConnectionClientState RPC method + properties: + identified_client_state: + title: client state associated with the channel + $ref: '#/definitions/ibc.core.client.v1.IdentifiedClientState' + proof: + type: string + format: byte + title: merkle proof of existence + proof_height: + title: height at which the proof was retrieved + $ref: '#/definitions/ibc.core.client.v1.Height' + ibc.core.connection.v1.QueryConnectionConsensusStateResponse: + type: object + title: |- + QueryConnectionConsensusStateResponse is the response type for the + Query/ConnectionConsensusState RPC method + properties: + client_id: + type: string + title: client ID associated with the consensus state + consensus_state: + title: consensus state associated with the channel + $ref: '#/definitions/google.protobuf.Any' + proof: + type: string + format: byte + title: merkle proof of existence + proof_height: + title: height at which the proof was retrieved + $ref: '#/definitions/ibc.core.client.v1.Height' + ibc.core.connection.v1.QueryConnectionParamsResponse: + description: QueryConnectionParamsResponse is the response type for the Query/ConnectionParams RPC method. + type: object + properties: + params: + description: params defines the parameters of the module. + $ref: '#/definitions/ibc.core.connection.v1.Params' + ibc.core.connection.v1.QueryConnectionResponse: + description: |- + QueryConnectionResponse is the response type for the Query/Connection RPC + method. Besides the connection end, it includes a proof and the height from + which the proof was retrieved. + type: object + properties: + connection: + title: connection associated with the request identifier + $ref: '#/definitions/ibc.core.connection.v1.ConnectionEnd' + proof: + type: string + format: byte + title: merkle proof of existence + proof_height: + title: height at which the proof was retrieved + $ref: '#/definitions/ibc.core.client.v1.Height' + ibc.core.connection.v1.QueryConnectionsResponse: + description: |- + QueryConnectionsResponse is the response type for the Query/Connections RPC + method. + type: object + properties: + connections: + description: list of stored connections of the chain. + type: array + items: + type: object + $ref: '#/definitions/ibc.core.connection.v1.IdentifiedConnection' + height: + title: query block height + $ref: '#/definitions/ibc.core.client.v1.Height' + pagination: + title: pagination response + $ref: '#/definitions/cosmos.base.query.v1beta1.PageResponse' + ibc.core.connection.v1.State: + description: |- + State defines if a connection is in one of the following states: + INIT, TRYOPEN, OPEN or UNINITIALIZED. + + - STATE_UNINITIALIZED_UNSPECIFIED: Default State + - STATE_INIT: A connection end has just started the opening handshake. + - STATE_TRYOPEN: A connection end has acknowledged the handshake step on the counterparty + chain. + - STATE_OPEN: A connection end has completed the handshake. + type: string + default: STATE_UNINITIALIZED_UNSPECIFIED + enum: + - STATE_UNINITIALIZED_UNSPECIFIED + - STATE_INIT + - STATE_TRYOPEN + - STATE_OPEN + ibc.core.connection.v1.Version: + description: |- + Version defines the versioning scheme used to negotiate the IBC verison in + the connection handshake. + type: object + properties: + features: + type: array + title: list of features compatible with the specified identifier + items: + type: string + identifier: + type: string + title: unique version identifier + ibc.lightclients.wasm.v1.MsgMigrateContract: + description: MsgMigrateContract defines the request type for the MigrateContract rpc. + type: object + properties: + checksum: + type: string + format: byte + title: checksum is the sha256 hash of the new wasm byte code for the contract + client_id: + type: string + title: the client id of the contract + msg: + type: string + format: byte + title: the json encoded message to be passed to the contract on migration + signer: + type: string + title: signer address + ibc.lightclients.wasm.v1.MsgMigrateContractResponse: + type: object + title: MsgMigrateContractResponse defines the response type for the MigrateContract rpc + ibc.lightclients.wasm.v1.MsgRemoveChecksum: + description: MsgRemoveChecksum defines the request type for the MsgRemoveChecksum rpc. + type: object + properties: + checksum: + type: string + format: byte + title: checksum is the sha256 hash to be removed from the store + signer: + type: string + title: signer address + ibc.lightclients.wasm.v1.MsgRemoveChecksumResponse: + type: object + title: MsgStoreChecksumResponse defines the response type for the StoreCode rpc + ibc.lightclients.wasm.v1.MsgStoreCode: + description: MsgStoreCode defines the request type for the StoreCode rpc. + type: object + properties: + signer: + type: string + title: signer address + wasm_byte_code: + type: string + format: byte + title: wasm byte code of light client contract. It can be raw or gzip compressed + ibc.lightclients.wasm.v1.MsgStoreCodeResponse: + type: object + title: MsgStoreCodeResponse defines the response type for the StoreCode rpc + properties: + checksum: + type: string + format: byte + title: checksum is the sha256 hash of the stored code + ibc.lightclients.wasm.v1.QueryChecksumsResponse: + description: QueryChecksumsResponse is the response type for the Query/Checksums RPC method. + type: object + properties: + checksums: + description: checksums is a list of the hex encoded checksums of all wasm codes stored. + type: array + items: + type: string + pagination: + description: pagination defines the pagination in the response. + $ref: '#/definitions/cosmos.base.query.v1beta1.PageResponse' + ibc.lightclients.wasm.v1.QueryCodeResponse: + description: QueryCodeResponse is the response type for the Query/Code RPC method. + type: object + properties: + data: + type: string + format: byte + poktroll.application.Application: + type: object + title: Application represents the on-chain definition and state of an application + properties: + address: + type: string + title: Bech32 address of the application + delegatee_gateway_addresses: + type: array + title: |- + TODO_BETA(@bryanchriswhite): Rename `delegatee_gateway_addresses` to `gateway_addresses_delegated_to`. + Ensure to rename all relevant configs, comments, variables, function names, etc as well. + Non-nullable list of Bech32 encoded delegatee Gateway addresses + items: + type: string + pending_transfer: + title: Information about pending application transfers + $ref: '#/definitions/poktroll.application.PendingApplicationTransfer' + pending_undelegations: + description: |- + Mapping of session end heights to gateways being undelegated from + - Key: Height of the last block of the session when undelegation tx was committed + - Value: List of gateways being undelegated from + TODO_DOCUMENT(@red-0ne): Need to document the flow from this comment + so its clear to everyone why this is necessary; https://github.com/pokt-network/poktroll/issues/476#issuecomment-2052639906. + type: object + additionalProperties: + $ref: '#/definitions/poktroll.application.UndelegatingGatewayList' + service_configs: + type: array + title: |- + CRITICAL: Must contain EXACTLY ONE service config + This prevents applications from over-servicing. + Kept as repeated field for legacy and future compatibility + Refs: + - https://github.com/pokt-network/poktroll/pull/750#discussion_r1735025033 + - https://www.notion.so/buildwithgrove/Off-chain-Application-Stake-Tracking-6a8bebb107db4f7f9dc62cbe7ba555f7 + items: + type: object + $ref: '#/definitions/poktroll.shared.ApplicationServiceConfig' + stake: + title: Total amount of staked uPOKT + $ref: '#/definitions/cosmos.base.v1beta1.Coin' + unstake_session_end_height: + type: string + format: uint64 + title: Session end height when application initiated unstaking (0 if not unstaking) + poktroll.application.MsgDelegateToGateway: + type: object + properties: + app_address: + description: The Bech32 address of the application. + type: string + gateway_address: + description: The Bech32 address of the gateway the application wants to delegate to. + type: string + poktroll.application.MsgDelegateToGatewayResponse: + type: object + properties: + application: + $ref: '#/definitions/poktroll.application.Application' + poktroll.application.MsgStakeApplication: + type: object + properties: + address: + description: The Bech32 address of the application. + type: string + services: + type: array + title: The list of services this application is staked to request service for + items: + type: object + $ref: '#/definitions/poktroll.shared.ApplicationServiceConfig' + stake: + title: The total amount of uPOKT the application has staked. Must be ≥ to the current amount that the application has staked (if any) + $ref: '#/definitions/cosmos.base.v1beta1.Coin' + poktroll.application.MsgStakeApplicationResponse: + type: object + properties: + application: + $ref: '#/definitions/poktroll.application.Application' + poktroll.application.MsgTransferApplication: + type: object + properties: + destination_address: + type: string + source_address: + type: string + poktroll.application.MsgTransferApplicationResponse: + type: object + properties: + application: + $ref: '#/definitions/poktroll.application.Application' + poktroll.application.MsgUndelegateFromGateway: + type: object + properties: + app_address: + description: The Bech32 address of the application. + type: string + gateway_address: + description: The Bech32 address of the gateway the application wants to undelegate from. + type: string + poktroll.application.MsgUndelegateFromGatewayResponse: + type: object + properties: + application: + $ref: '#/definitions/poktroll.application.Application' + poktroll.application.MsgUnstakeApplication: + type: object + properties: + address: + type: string + poktroll.application.MsgUnstakeApplicationResponse: + type: object + properties: + application: + $ref: '#/definitions/poktroll.application.Application' + poktroll.application.MsgUpdateParam: + type: object + properties: + as_coin: + $ref: '#/definitions/cosmos.base.v1beta1.Coin' + as_uint64: + type: string + format: uint64 + authority: + description: authority is the address that controls the module (defaults to x/gov unless overwritten). + type: string + name: + type: string + poktroll.application.MsgUpdateParamResponse: + type: object + properties: + params: + $ref: '#/definitions/poktroll.application.Params' + poktroll.application.MsgUpdateParams: + description: MsgUpdateParams is the Msg/UpdateParams request type. + type: object + properties: + authority: + description: authority is the address that controls the module (defaults to x/gov unless overwritten). + type: string + params: + description: |- + params defines the x/application parameters to update. + NOTE: All parameters must be supplied. + $ref: '#/definitions/poktroll.application.Params' + poktroll.application.MsgUpdateParamsResponse: + description: |- + MsgUpdateParamsResponse defines the response structure for executing a + MsgUpdateParams message. + type: object + poktroll.application.Params: + description: Params defines the parameters for the module. + type: object + properties: + max_delegated_gateways: + description: |- + max_delegated_gateways defines the maximum number of gateways that a single + application can delegate to. This is used to prevent performance issues + in case the relay ring signature becomes too large. + type: string + format: uint64 + min_stake: + description: min_stake is the minimum stake in upokt that an application must have to remain staked. + $ref: '#/definitions/cosmos.base.v1beta1.Coin' + poktroll.application.PendingApplicationTransfer: + description: |- + PendingTransfer is used to store the details of a pending transfer. + It is only intended to be used inside of an Application object. + type: object + properties: + destination_address: + type: string + session_end_height: + type: string + format: uint64 + poktroll.application.QueryAllApplicationsResponse: + type: object + properties: + applications: + type: array + items: + type: object + $ref: '#/definitions/poktroll.application.Application' + pagination: + $ref: '#/definitions/cosmos.base.query.v1beta1.PageResponse' + poktroll.application.QueryGetApplicationResponse: + type: object + properties: + application: + $ref: '#/definitions/poktroll.application.Application' + poktroll.application.QueryParamsResponse: + description: QueryParamsResponse is response type for the Query/Params RPC method. + type: object + properties: + params: + description: params holds all the parameters of this module. + $ref: '#/definitions/poktroll.application.Params' + poktroll.application.UndelegatingGatewayList: + description: |- + UndelegatingGatewayList is used as the Value of `pending_undelegations`. + It is required to store a repeated list of strings as a map value. + type: object + properties: + gateway_addresses: + type: array + items: + type: string + poktroll.gateway.Gateway: + type: object + properties: + address: + type: string + title: The Bech32 address of the gateway + stake: + title: The total amount of uPOKT the gateway has staked + $ref: '#/definitions/cosmos.base.v1beta1.Coin' + poktroll.gateway.MsgStakeGateway: + type: object + properties: + address: + type: string + title: The Bech32 address of the gateway + stake: + title: The total amount of uPOKT the gateway is staking. Must be ≥ to the current amount that the gateway has staked (if any) + $ref: '#/definitions/cosmos.base.v1beta1.Coin' + poktroll.gateway.MsgStakeGatewayResponse: + type: object + properties: + gateway: + $ref: '#/definitions/poktroll.gateway.Gateway' + poktroll.gateway.MsgUnstakeGateway: + type: object + properties: + address: + type: string + title: The Bech32 address of the gateway + poktroll.gateway.MsgUnstakeGatewayResponse: + type: object + properties: + gateway: + $ref: '#/definitions/poktroll.gateway.Gateway' + poktroll.gateway.MsgUpdateParam: + description: MsgUpdateParam is the Msg/UpdateParam request type to update a single param. + type: object + properties: + as_coin: + $ref: '#/definitions/cosmos.base.v1beta1.Coin' + authority: + description: authority is the address that controls the module (defaults to x/gov unless overwritten). + type: string + name: + type: string + poktroll.gateway.MsgUpdateParamResponse: + type: object + properties: + params: + $ref: '#/definitions/poktroll.gateway.Params' + poktroll.gateway.MsgUpdateParams: + description: MsgUpdateParams is the Msg/UpdateParams request type. + type: object + properties: + authority: + description: authority is the address that controls the module (defaults to x/gov unless overwritten). + type: string + params: + description: |- + params defines the x/gateway parameters to update. + NOTE: All parameters must be supplied. + $ref: '#/definitions/poktroll.gateway.Params' + poktroll.gateway.MsgUpdateParamsResponse: + description: |- + MsgUpdateParamsResponse defines the response structure for executing a + MsgUpdateParams message. + type: object + poktroll.gateway.Params: + description: Params defines the parameters for the module. + type: object + properties: + min_stake: + description: min_stake is the minimum amount of uPOKT that a gateway must stake. + $ref: '#/definitions/cosmos.base.v1beta1.Coin' + poktroll.gateway.QueryAllGatewaysResponse: + type: object + properties: + gateways: + type: array + items: + type: object + $ref: '#/definitions/poktroll.gateway.Gateway' + pagination: + $ref: '#/definitions/cosmos.base.query.v1beta1.PageResponse' + poktroll.gateway.QueryGetGatewayResponse: + type: object + properties: + gateway: + $ref: '#/definitions/poktroll.gateway.Gateway' + poktroll.gateway.QueryParamsResponse: + description: QueryParamsResponse is response type for the Query/Params RPC method. + type: object + properties: + params: + description: params holds all the parameters of this module. + $ref: '#/definitions/poktroll.gateway.Params' + poktroll.proof.Claim: + type: object + title: Claim is the serialized object stored onchain for claims pending to be proven + properties: + proof_validation_status: + title: 'Important: This field MUST only be set by proofKeeper#EnsureValidProofSignaturesAndClosestPath' + $ref: '#/definitions/poktroll.proof.ClaimProofStatus' + root_hash: + description: Root hash from smt.SMST#Root(). + type: string + format: byte + session_header: + description: Session header this claim is for. + $ref: '#/definitions/poktroll.session.SessionHeader' + supplier_operator_address: + description: |- + Address of the supplier's operator that submitted this claim. + + the address of the supplier's operator that submitted this claim + type: string + poktroll.proof.ClaimProofStatus: + type: string + title: |- + Status of proof validation for a claim + Default is PENDING_VALIDATION regardless of proof requirement + default: PENDING_VALIDATION + enum: + - PENDING_VALIDATION + - VALIDATED + - INVALID + poktroll.proof.MsgCreateClaim: + type: object + properties: + root_hash: + type: string + format: byte + title: root returned from smt.SMST#Root() + session_header: + $ref: '#/definitions/poktroll.session.SessionHeader' + supplier_operator_address: + type: string + poktroll.proof.MsgCreateClaimResponse: + type: object + properties: + claim: + $ref: '#/definitions/poktroll.proof.Claim' + poktroll.proof.MsgSubmitProof: + type: object + properties: + proof: + type: string + format: byte + title: serialized version of *smt.SparseCompactMerkleClosestProof + session_header: + $ref: '#/definitions/poktroll.session.SessionHeader' + supplier_operator_address: + type: string + poktroll.proof.MsgSubmitProofResponse: + type: object + properties: + proof: + $ref: '#/definitions/poktroll.proof.Proof' + poktroll.proof.MsgUpdateParam: + description: MsgUpdateParam is the Msg/UpdateParam request type to update a single param. + type: object + properties: + as_bytes: + type: string + format: byte + as_coin: + $ref: '#/definitions/cosmos.base.v1beta1.Coin' + as_float: + type: number + format: double + authority: + description: authority is the address that controls the module (defaults to x/gov unless overwritten). + type: string + name: + type: string + title: |- + The (name, as_type) tuple must match the corresponding name and type as + specified in the `Params`` message in `proof/params.proto.` + poktroll.proof.MsgUpdateParamResponse: + description: |- + MsgUpdateParamResponse defines the response structure for executing a + MsgUpdateParam message after a single param update. + type: object + properties: + params: + $ref: '#/definitions/poktroll.proof.Params' + poktroll.proof.MsgUpdateParams: + description: MsgUpdateParams is the Msg/UpdateParams request type to update all params at once. + type: object + properties: + authority: + description: authority is the address that controls the module (defaults to x/gov unless overwritten). + type: string + params: + description: |- + params defines the x/proof parameters to update. + NOTE: All parameters must be supplied. + $ref: '#/definitions/poktroll.proof.Params' + poktroll.proof.MsgUpdateParamsResponse: + description: |- + MsgUpdateParamsResponse defines the response structure for executing a + MsgUpdateParams message. + type: object + poktroll.proof.Params: + description: Params defines the parameters for the module. + type: object + properties: + proof_missing_penalty: + description: |- + proof_missing_penalty is the number of tokens (uPOKT) which should be slashed from a supplier + when a proof is required (either via proof_requirement_threshold or proof_missing_penalty) + but is not provided. + TODO_MAINNET: Consider renaming this to `proof_missing_penalty_upokt`. + $ref: '#/definitions/cosmos.base.v1beta1.Coin' + proof_request_probability: + description: |- + proof_request_probability is the probability of a session requiring a proof + if it's cost (i.e. compute unit consumption) is below the ProofRequirementThreshold. + type: number + format: double + proof_requirement_threshold: + description: |- + proof_requirement_threshold is the session cost (i.e. compute unit consumption) + threshold which asserts that a session MUST have a corresponding proof when its cost + is equal to or above the threshold. This is in contrast to the this requirement + being determined probabilistically via ProofRequestProbability. + + TODO_MAINNET: Consider renaming this to `proof_requirement_threshold_upokt`. + $ref: '#/definitions/cosmos.base.v1beta1.Coin' + proof_submission_fee: + description: |- + proof_submission_fee is the number of tokens (uPOKT) which should be paid by + the supplier operator when submitting a proof. + This is needed to account for the cost of storing proofs onchain and prevent + spamming (i.e. sybil bloat attacks) the network with non-required proofs. + TODO_MAINNET: Consider renaming this to `proof_submission_fee_upokt`. + $ref: '#/definitions/cosmos.base.v1beta1.Coin' + poktroll.proof.Proof: + type: object + properties: + closest_merkle_proof: + description: The serialized SMST compacted proof from the `#ClosestProof()` method. + type: string + format: byte + session_header: + description: The session header of the session that this claim is for. + $ref: '#/definitions/poktroll.session.SessionHeader' + supplier_operator_address: + description: Address of the supplier's operator that submitted this proof. + type: string + poktroll.proof.QueryAllClaimsResponse: + type: object + properties: + claims: + type: array + items: + type: object + $ref: '#/definitions/poktroll.proof.Claim' + pagination: + $ref: '#/definitions/cosmos.base.query.v1beta1.PageResponse' + poktroll.proof.QueryAllProofsResponse: + type: object + properties: + pagination: + $ref: '#/definitions/cosmos.base.query.v1beta1.PageResponse' + proofs: + type: array + items: + type: object + $ref: '#/definitions/poktroll.proof.Proof' + poktroll.proof.QueryGetClaimResponse: + type: object + properties: + claim: + $ref: '#/definitions/poktroll.proof.Claim' + poktroll.proof.QueryGetProofResponse: + type: object + properties: + proof: + $ref: '#/definitions/poktroll.proof.Proof' + poktroll.proof.QueryParamsResponse: + description: QueryParamsResponse is response type for the Query/Params RPC method. + type: object + properties: + params: + description: params holds all the parameters of this module. + $ref: '#/definitions/poktroll.proof.Params' + poktroll.service.MsgAddService: + description: |- + MsgAddService defines a message for adding a new message to the network. + Services can be added by any actor in the network making them truly + permissionless. + type: object + properties: + owner_address: + description: The Bech32 address of the service owner. + type: string + service: + title: The Service being added to the network + $ref: '#/definitions/poktroll.shared.Service' + poktroll.service.MsgAddServiceResponse: + type: object + properties: + service: + $ref: '#/definitions/poktroll.shared.Service' + poktroll.service.MsgUpdateParam: + description: MsgUpdateParam is the Msg/UpdateParam request type to update a single param. + type: object + properties: + as_coin: + $ref: '#/definitions/cosmos.base.v1beta1.Coin' + as_uint64: + type: string + format: uint64 + authority: + description: authority is the address that controls the module (defaults to x/gov unless overwritten). + type: string + name: + type: string + title: |- + The (name, as_type) tuple must match the corresponding name and type as + specified in the `Params` message in `proof/params.proto.` + poktroll.service.MsgUpdateParamResponse: + description: |- + MsgUpdateParamResponse defines the response structure for executing a + MsgUpdateParam message after a single param update. + type: object + properties: + params: + $ref: '#/definitions/poktroll.service.Params' + poktroll.service.MsgUpdateParams: + description: MsgUpdateParams is the Msg/UpdateParams request type. + type: object + properties: + authority: + description: authority is the address that controls the module (defaults to x/gov unless overwritten). + type: string + params: + description: |- + params defines the x/service parameters to update. + NOTE: All parameters must be supplied. + $ref: '#/definitions/poktroll.service.Params' + poktroll.service.MsgUpdateParamsResponse: + description: |- + MsgUpdateParamsResponse defines the response structure for executing a + MsgUpdateParams message. + type: object + poktroll.service.Params: + description: Params defines the parameters for the module. + type: object + properties: + add_service_fee: + description: |- + The amount of uPOKT required to add a new service. + This will be deducted from the signer's account balance, + and transferred to the pocket network foundation. + $ref: '#/definitions/cosmos.base.v1beta1.Coin' + target_num_relays: + description: |- + target_num_relays is the target for the EMA of the number of relays per session. + Per service, onchain relay mining difficulty will be adjusted to maintain this target. + type: string + format: uint64 + poktroll.service.QueryAllRelayMiningDifficultyResponse: + type: object + properties: + pagination: + $ref: '#/definitions/cosmos.base.query.v1beta1.PageResponse' + relayMiningDifficulty: + type: array + items: + type: object + $ref: '#/definitions/poktroll.service.RelayMiningDifficulty' + poktroll.service.QueryAllServicesResponse: + type: object + properties: + pagination: + $ref: '#/definitions/cosmos.base.query.v1beta1.PageResponse' + service: + type: array + items: + type: object + $ref: '#/definitions/poktroll.shared.Service' + poktroll.service.QueryGetRelayMiningDifficultyResponse: + type: object + properties: + relayMiningDifficulty: + $ref: '#/definitions/poktroll.service.RelayMiningDifficulty' + poktroll.service.QueryGetServiceResponse: + type: object + properties: + service: + $ref: '#/definitions/poktroll.shared.Service' + poktroll.service.QueryParamsResponse: + description: QueryParamsResponse is response type for the Query/Params RPC method. + type: object + properties: + params: + description: params holds all the parameters of this module. + $ref: '#/definitions/poktroll.service.Params' + poktroll.service.RelayMiningDifficulty: + description: |- + RelayMiningDifficulty is a message used to store the onchain Relay Mining + difficulty associated with a specific service ID. + TODO_TECHDEBT: Embed this message in the Service message. + type: object + properties: + block_height: + description: |- + The block height at which this relay mining difficulty was computed. + This is needed to determine how much time has passed since the last time + the exponential moving average was computed. + type: string + format: int64 + num_relays_ema: + description: The exponential moving average of the number of relays for this service. + type: string + format: uint64 + service_id: + description: The service ID the relay mining difficulty is associated with. + type: string + target_hash: + description: |- + The target hash determining the difficulty to mine relays for this service. + For example, if we use sha256 to hash the (RelayRequest,ReqlayResponse) tuple, + and the difficulty has 4 leading zero bits, then the target hash would be: + 0b0000111... (until 32 bytes are filled up). + type: string + format: byte + poktroll.session.MsgUpdateParam: + type: object + properties: + as_uint64: + type: string + format: uint64 + authority: + description: authority is the address that controls the module (defaults to x/gov unless overwritten). + type: string + name: + type: string + poktroll.session.MsgUpdateParamResponse: + type: object + properties: + params: + $ref: '#/definitions/poktroll.session.Params' + poktroll.session.MsgUpdateParams: + description: MsgUpdateParams is the Msg/UpdateParams request type. + type: object + properties: + authority: + description: authority is the address that controls the module (defaults to x/gov unless overwritten). + type: string + params: + description: |- + params defines the x/session parameters to update. + NOTE: All parameters must be supplied. + $ref: '#/definitions/poktroll.session.Params' + poktroll.session.MsgUpdateParamsResponse: + description: |- + MsgUpdateParamsResponse defines the response structure for executing a + MsgUpdateParams message. + type: object + poktroll.session.Params: + description: Params defines the parameters for the module. + type: object + properties: + num_suppliers_per_session: + description: |- + num_suppliers_per_session is the maximun number of suppliers per session + (applicaiton:supplier pair for a given session number). + type: string + format: uint64 + poktroll.session.QueryGetSessionResponse: + type: object + properties: + session: + $ref: '#/definitions/poktroll.session.Session' + poktroll.session.QueryParamsResponse: + description: QueryParamsResponse is response type for the Query/Params RPC method. + type: object + properties: + params: + description: params holds all the parameters of this module. + $ref: '#/definitions/poktroll.session.Params' + poktroll.session.Session: + description: |- + Session is a fully hydrated session object that contains all the information for the Session + and its parcipants. + type: object + properties: + application: + title: A fully hydrated application object this session is for + $ref: '#/definitions/poktroll.application.Application' + header: + title: The header of the session containing lightweight data + $ref: '#/definitions/poktroll.session.SessionHeader' + num_blocks_per_session: + type: string + format: int64 + title: The number of blocks per session when this session started + session_id: + type: string + title: A unique pseudoranom ID for this session + session_number: + type: string + format: int64 + title: The session number since genesis + suppliers: + type: array + title: A fully hydrated set of servicers that are serving the application + items: + type: object + $ref: '#/definitions/poktroll.shared.Supplier' + poktroll.session.SessionHeader: + description: |- + SessionHeader is a lightweight header for a session that can be passed around. + It is the minimal amount of data required to hydrate & retrieve all data relevant to the session. + type: object + properties: + application_address: + description: The Bech32 address of the application. + type: string + service_id: + type: string + title: The service id this session is for + session_end_block_height: + description: |- + Note that`session_end_block_height` is a derivative of (`start` + `num_blocks_per_session`) + as goverened by onchain params at the time of the session start. + It is stored as an additional field to simplofy business logic in case + the number of blocks_per_session changes during the session. + + The height at which this session ended, this is the last block of the session + type: string + format: int64 + session_id: + description: A unique pseudoranom ID for this session + type: string + title: 'NOTE: session_id can be derived from the above values using onchain but is included in the header for convenience' + session_start_block_height: + type: string + format: int64 + title: The height at which this session started + poktroll.shared.ApplicationServiceConfig: + type: object + title: ApplicationServiceConfig holds the service configuration the application stakes for + properties: + service_id: + type: string + title: The Service ID for which the application is configured + poktroll.shared.ConfigOption: + type: object + title: Key-value wrapper for config options, as proto maps can't be keyed by enums + properties: + key: + title: Config option key + $ref: '#/definitions/poktroll.shared.ConfigOptions' + value: + type: string + title: Config option value + poktroll.shared.ConfigOptions: + description: |- + Enum to define configuration options + TODO_RESEARCH: Should these be configs, SLAs or something else? There will be more discussion once we get closer to implementing onchain QoS. + + - UNKNOWN_CONFIG: Undefined config option + - TIMEOUT: Timeout setting + type: string + default: UNKNOWN_CONFIG + enum: + - UNKNOWN_CONFIG + - TIMEOUT + poktroll.shared.MsgUpdateParam: + description: MsgUpdateParam is the Msg/UpdateParam request type to update a single param. + type: object + properties: + as_bytes: + type: string + format: byte + as_string: + type: string + as_uint64: + type: string + format: uint64 + authority: + description: authority is the address that controls the module (defaults to x/gov unless overwritten). + type: string + name: + type: string + poktroll.shared.MsgUpdateParamResponse: + description: |- + MsgUpdateParamResponse defines the response structure for executing a + MsgUpdateParam message after a single param update. + type: object + properties: + params: + $ref: '#/definitions/poktroll.shared.Params' + poktroll.shared.MsgUpdateParams: + description: MsgUpdateParams is the Msg/UpdateParams request type. + type: object + properties: + authority: + description: authority is the address that controls the module (defaults to x/gov unless overwritten). + type: string + params: + description: 'NOTE: All parameters must be supplied.' + $ref: '#/definitions/poktroll.shared.Params' + poktroll.shared.MsgUpdateParamsResponse: + description: |- + MsgUpdateParamsResponse defines the response structure for executing a + MsgUpdateParams message. + type: object + poktroll.shared.Params: + description: Params defines the parameters for the module. + type: object + properties: + application_unbonding_period_sessions: + description: |- + application_unbonding_period_sessions is the number of sessions that an application must wait after + unstaking before their staked assets are moved to their account balance. + Onchain business logic requires, and ensures, that the corresponding block count of the + application unbonding period will exceed the end of its corresponding proof window close height. + type: string + format: uint64 + claim_window_close_offset_blocks: + description: |- + claim_window_close_offset_blocks is the number of blocks after the claim window + open height, at which the claim window closes. + type: string + format: uint64 + claim_window_open_offset_blocks: + description: |- + claim_window_open_offset_blocks is the number of blocks after the session grace + period height, at which the claim window opens. + type: string + format: uint64 + compute_units_to_tokens_multiplier: + description: |- + The amount of upokt that a compute unit should translate to when settling a session. + DEV_NOTE: This used to be under x/tokenomics but has been moved here to avoid cyclic dependencies. + type: string + format: uint64 + grace_period_end_offset_blocks: + description: |- + grace_period_end_offset_blocks is the number of blocks, after the session end height, + during which the supplier can still service payable relays. + Suppliers will need to recreate a claim for the previous session (if already created) to + get paid for the additional relays. + type: string + format: uint64 + num_blocks_per_session: + description: num_blocks_per_session is the number of blocks between the session start & end heights. + type: string + format: uint64 + proof_window_close_offset_blocks: + description: |- + proof_window_close_offset_blocks is the number of blocks after the proof window + open height, at which the proof window closes. + type: string + format: uint64 + proof_window_open_offset_blocks: + description: |- + proof_window_open_offset_blocks is the number of blocks after the claim window + close height, at which the proof window opens. + type: string + format: uint64 + supplier_unbonding_period_sessions: + description: |- + supplier_unbonding_period_sessions is the number of sessions that a supplier must wait after + unstaking before their staked assets are moved to their account balance. + Onchain business logic requires, and ensures, that the corresponding block count of the unbonding + period will exceed the end of any active claim & proof lifecycles. + type: string + format: uint64 + poktroll.shared.QueryParamsResponse: + description: QueryParamsResponse is response type for the Query/Params RPC method. + type: object + properties: + params: + description: params holds all the parameters of this module. + $ref: '#/definitions/poktroll.shared.Params' + poktroll.shared.RPCType: + description: |- + - UNKNOWN_RPC: Undefined RPC type + - GRPC: gRPC + - WEBSOCKET: WebSocket + - JSON_RPC: JSON-RPC + - REST: REST + type: string + title: Enum to define RPC types + default: UNKNOWN_RPC + enum: + - UNKNOWN_RPC + - GRPC + - WEBSOCKET + - JSON_RPC + - REST + poktroll.shared.Service: + type: object + title: Service message to encapsulate unique and semantic identifiers for a service on the network + properties: + compute_units_per_relay: + description: Compute units required per relay for this service + type: string + format: uint64 + title: |- + The cost of a single relay for this service in terms of compute units. + Must be used alongside the global 'compute_units_to_tokens_multipler' to calculate the cost of a relay for this service. + cost_per_relay_for_specific_service = compute_units_per_relay_for_specific_service * compute_units_to_tokens_multipler_global_value + id: + description: Unique identifier for the service + type: string + title: For example, what if we want to request a session for a certain service but with some additional configs that identify it? + name: + description: |- + TODO_BETA(@bryanchriswhite): Either remove this or rename it to alias. + + (Optional) Semantic human readable name for the service + type: string + owner_address: + description: |- + The owner address that created the service. + It is the address that receives rewards based on the Service's onchain usage + It is the only address that can update the service configuration (e.g. compute_units_per_relay), + or make other updates to it. + + The Bech32 address of the service owner / creator + type: string + poktroll.shared.ServiceRevenueShare: + type: object + title: ServiceRevenueShare message to hold revenue share configuration details + properties: + address: + type: string + title: The Bech32 address of the revenue share recipient + rev_share_percentage: + type: string + format: uint64 + title: The percentage of revenue share the recipient will receive + poktroll.shared.Supplier: + type: object + title: Supplier represents an actor in Pocket Network that provides RPC services + properties: + operator_address: + description: |- + Operator address managing the offchain server + Immutable for supplier's lifespan - requires unstake/re-stake to change. + Can update supplier configs except for owner address. + type: string + owner_address: + type: string + title: |- + Owner address that controls the staked funds and receives rewards by default + Cannot be updated by the operator + services: + type: array + title: List of service configurations supported by this supplier + items: + type: object + $ref: '#/definitions/poktroll.shared.SupplierServiceConfig' + services_activation_heights_map: + description: |- + Mapping of serviceIds to their activation heights + - Key: serviceId + - Value: Session start height when supplier becomes active for the service + TODO_MAINNET(@olshansk, #1033): Look into moving this to an external repeated protobuf + because maps are no longer supported for serialized types in the CosmoSDK. + type: object + additionalProperties: + type: string + format: uint64 + stake: + title: Total amount of staked uPOKT + $ref: '#/definitions/cosmos.base.v1beta1.Coin' + unstake_session_end_height: + type: string + format: uint64 + title: Session end height when supplier initiated unstaking (0 if not unstaking) + poktroll.shared.SupplierEndpoint: + type: object + title: SupplierEndpoint message to hold service configuration details + properties: + configs: + type: array + title: Additional configuration options for the endpoint + items: + type: object + $ref: '#/definitions/poktroll.shared.ConfigOption' + rpc_type: + title: Type of RPC exposed on the url above + $ref: '#/definitions/poktroll.shared.RPCType' + url: + type: string + title: URL of the endpoint + poktroll.shared.SupplierServiceConfig: + type: object + title: SupplierServiceConfig holds the service configuration the supplier stakes for + properties: + endpoints: + type: array + title: List of endpoints for the service + items: + type: object + $ref: '#/definitions/poktroll.shared.SupplierEndpoint' + rev_share: + type: array + title: List of revenue share configurations for the service + items: + type: object + $ref: '#/definitions/poktroll.shared.ServiceRevenueShare' + service_id: + type: string + title: The Service ID for which the supplier is configured + poktroll.supplier.MsgStakeSupplier: + type: object + properties: + operator_address: + type: string + title: The Bech32 address of the operator (i.e. provider, non-custodial) + owner_address: + type: string + title: The Bech32 address of the owner (i.e. custodial, staker) + services: + type: array + title: The list of services this supplier is staked to provide service for + items: + type: object + $ref: '#/definitions/poktroll.shared.SupplierServiceConfig' + signer: + type: string + title: The Bech32 address of the message signer (i.e. owner or operator) + stake: + title: The total amount of uPOKT the supplier has staked. Must be ≥ to the current amount that the supplier has staked (if any) + $ref: '#/definitions/cosmos.base.v1beta1.Coin' + poktroll.supplier.MsgStakeSupplierResponse: + type: object + properties: + supplier: + $ref: '#/definitions/poktroll.shared.Supplier' + poktroll.supplier.MsgUnstakeSupplier: + type: object + properties: + operator_address: + type: string + title: The Bech32 address of the operator (i.e. provider, non-custodial) + signer: + type: string + title: The Bech32 address of the message signer (i.e. owner or operator) + poktroll.supplier.MsgUnstakeSupplierResponse: + type: object + properties: + supplier: + $ref: '#/definitions/poktroll.shared.Supplier' + poktroll.supplier.MsgUpdateParam: + description: MsgUpdateParam is the Msg/UpdateParam request type to update a single param. + type: object + properties: + as_coin: + $ref: '#/definitions/cosmos.base.v1beta1.Coin' + authority: + description: authority is the address that controls the module (defaults to x/gov unless overwritten). + type: string + name: + type: string + poktroll.supplier.MsgUpdateParamResponse: + type: object + properties: + params: + $ref: '#/definitions/poktroll.supplier.Params' + poktroll.supplier.MsgUpdateParams: + description: MsgUpdateParams is the Msg/UpdateParams request type. + type: object + properties: + authority: + description: authority is the address that controls the module (defaults to x/gov unless overwritten). + type: string + params: + description: |- + params defines the x/supplier parameters to update. + NOTE: All parameters must be supplied. + $ref: '#/definitions/poktroll.supplier.Params' + poktroll.supplier.MsgUpdateParamsResponse: + description: |- + MsgUpdateParamsResponse defines the response structure for executing a + MsgUpdateParams message. + type: object + poktroll.supplier.Params: + description: Params defines the parameters for the module. + type: object + properties: + min_stake: + description: |- + min_stake is the minimum amount of uPOKT that a supplier must stake to be + included in network sessions and remain staked. + $ref: '#/definitions/cosmos.base.v1beta1.Coin' + staking_fee: + description: staking_fee is the fee charged by the protocol for staking a supplier. + $ref: '#/definitions/cosmos.base.v1beta1.Coin' + poktroll.supplier.QueryAllSuppliersResponse: + type: object + properties: + pagination: + $ref: '#/definitions/cosmos.base.query.v1beta1.PageResponse' + supplier: + type: array + items: + type: object + $ref: '#/definitions/poktroll.shared.Supplier' + poktroll.supplier.QueryGetSupplierResponse: + type: object + properties: + supplier: + $ref: '#/definitions/poktroll.shared.Supplier' + poktroll.supplier.QueryParamsResponse: + description: QueryParamsResponse is response type for the Query/Params RPC method. + type: object + properties: + params: + description: params holds all the parameters of this module. + $ref: '#/definitions/poktroll.supplier.Params' + poktroll.tokenomics.MintAllocationPercentages: + description: |- + MintAllocationPercentages represents the distribution of newly minted tokens, + at the end of claim settlement, as a result of the Global Mint TLM. + type: object + properties: + application: + description: |- + allocation_application is the percentage of the minted tokens which are sent + to the application account address during claim settlement. + type: number + format: double + dao: + description: |- + dao is the percentage of the minted tokens which are sent + to the DAO reward address during claim settlement. + type: number + format: double + proposer: + description: |- + proposer is the percentage of the minted tokens which are sent + to the block proposer account address during claim settlement. + type: number + format: double + source_owner: + description: |- + source_owner is the percentage of the minted tokens which are sent + to the service source owner account address during claim settlement. + type: number + format: double + supplier: + description: |- + supplier is the percentage of the minted tokens which are sent + to the block supplier account address during claim settlement. + type: number + format: double + poktroll.tokenomics.MsgUpdateParam: + description: MsgUpdateParam is the Msg/UpdateParam request type to update a single param. + type: object + properties: + as_float: + type: number + format: double + as_mint_allocation_percentages: + $ref: '#/definitions/poktroll.tokenomics.MintAllocationPercentages' + as_string: + type: string + authority: + description: authority is the address that controls the module (defaults to x/gov unless overwritten). + type: string + name: + type: string + title: |- + The (name, as_type) tuple must match the corresponding name and type as + specified in the `Params` message in `proof/params.proto.` + poktroll.tokenomics.MsgUpdateParamResponse: + description: |- + MsgUpdateParamResponse defines the response structure for executing a + MsgUpdateParam message after a single param update. + type: object + properties: + params: + $ref: '#/definitions/poktroll.tokenomics.Params' + poktroll.tokenomics.MsgUpdateParams: + description: MsgUpdateParams is the Msg/UpdateParams request type to update all params at once. + type: object + properties: + authority: + description: authority is the address that controls the module (defaults to x/gov unless overwritten). + type: string + params: + description: |- + params defines the x/tokenomics parameters to update. + NOTE: All parameters must be supplied. + $ref: '#/definitions/poktroll.tokenomics.Params' + poktroll.tokenomics.MsgUpdateParamsResponse: + description: |- + MsgUpdateParamsResponse defines the response structure for executing a + MsgUpdateParams message. + type: object + properties: + params: + $ref: '#/definitions/poktroll.tokenomics.Params' + poktroll.tokenomics.Params: + description: Params defines the parameters for the tokenomics module. + type: object + properties: + dao_reward_address: + description: |- + dao_reward_address is the address to which mint_allocation_dao percentage of the + minted tokens are at the end of claim settlement. + + Bech32 cosmos address + type: string + global_inflation_per_claim: + description: global_inflation_per_claim is the percentage of a claim's claimable uPOKT amount which will be minted on settlement. + type: number + format: double + mint_allocation_percentages: + description: |- + mint_allocation_percentages represents the distribution of newly minted tokens, + at the end of claim settlement, as a result of the Global Mint TLM. + $ref: '#/definitions/poktroll.tokenomics.MintAllocationPercentages' + poktroll.tokenomics.QueryParamsResponse: + description: QueryParamsResponse is response type for the Query/Params RPC method. + type: object + properties: + params: + description: params holds all the parameters of this module. + $ref: '#/definitions/poktroll.tokenomics.Params' + tendermint.abci.CheckTxType: + type: string + default: NEW + enum: + - NEW + - RECHECK + tendermint.abci.CommitInfo: + type: object + properties: + round: + type: integer + format: int32 + votes: + type: array + items: + type: object + $ref: '#/definitions/tendermint.abci.VoteInfo' + tendermint.abci.Event: + description: |- + Event allows application developers to attach additional information to + ResponseFinalizeBlock and ResponseCheckTx. + Later, transactions may be queried using these events. + type: object + properties: + attributes: + type: array + items: + type: object + $ref: '#/definitions/tendermint.abci.EventAttribute' + type: + type: string + tendermint.abci.EventAttribute: + description: EventAttribute is a single key-value pair, associated with an event. + type: object + properties: + index: + type: boolean + title: nondeterministic + key: + type: string + value: + type: string + tendermint.abci.ExecTxResult: + description: |- + ExecTxResult contains results of executing one individual transaction. + + * Its structure is equivalent to #ResponseDeliverTx which will be deprecated/deleted + type: object + properties: + code: + type: integer + format: int64 + codespace: + type: string + data: + type: string + format: byte + events: + type: array + title: nondeterministic + items: + type: object + $ref: '#/definitions/tendermint.abci.Event' + gas_used: + type: string + format: int64 + gas_wanted: + type: string + format: int64 + info: + type: string + title: nondeterministic + log: + type: string + title: nondeterministic + tendermint.abci.ExtendedCommitInfo: + description: |- + ExtendedCommitInfo is similar to CommitInfo except that it is only used in + the PrepareProposal request such that CometBFT can provide vote extensions + to the application. + type: object + properties: + round: + description: The round at which the block proposer decided in the previous height. + type: integer + format: int32 + votes: + description: |- + List of validators' addresses in the last validator set with their voting + information, including vote extensions. + type: array + items: + type: object + $ref: '#/definitions/tendermint.abci.ExtendedVoteInfo' + tendermint.abci.ExtendedVoteInfo: + type: object + properties: + block_id_flag: + title: block_id_flag indicates whether the validator voted for a block, nil, or did not vote at all + $ref: '#/definitions/tendermint.types.BlockIDFlag' + extension_signature: + type: string + format: byte + title: Vote extension signature created by CometBFT + validator: + description: The validator that sent the vote. + $ref: '#/definitions/tendermint.abci.Validator' + vote_extension: + description: Non-deterministic extension provided by the sending validator's application. + type: string + format: byte + tendermint.abci.Misbehavior: + type: object + properties: + height: + type: string + format: int64 + title: The height when the offense occurred + time: + type: string + format: date-time + title: The corresponding time where the offense occurred + total_voting_power: + type: string + format: int64 + title: |- + Total voting power of the validator set in case the ABCI application does + not store historical validators. + https://github.com/tendermint/tendermint/issues/4581 + type: + $ref: '#/definitions/tendermint.abci.MisbehaviorType' + validator: + title: The offending validator + $ref: '#/definitions/tendermint.abci.Validator' + tendermint.abci.MisbehaviorType: + type: string + default: UNKNOWN + enum: + - UNKNOWN + - DUPLICATE_VOTE + - LIGHT_CLIENT_ATTACK + tendermint.abci.RequestApplySnapshotChunk: + type: object + title: Applies a snapshot chunk + properties: + chunk: + type: string + format: byte + index: + type: integer + format: int64 + sender: + type: string + tendermint.abci.RequestCheckTx: + type: object + properties: + tx: + type: string + format: byte + type: + $ref: '#/definitions/tendermint.abci.CheckTxType' + tendermint.abci.RequestCommit: + type: object + tendermint.abci.RequestEcho: + type: object + properties: + message: + type: string + tendermint.abci.RequestExtendVote: + type: object + title: Extends a vote with application-injected data + properties: + hash: + type: string + format: byte + title: the hash of the block that this vote may be referring to + height: + type: string + format: int64 + title: the height of the extended vote + misbehavior: + type: array + items: + type: object + $ref: '#/definitions/tendermint.abci.Misbehavior' + next_validators_hash: + type: string + format: byte + proposed_last_commit: + $ref: '#/definitions/tendermint.abci.CommitInfo' + proposer_address: + description: address of the public key of the original proposer of the block. + type: string + format: byte + time: + type: string + format: date-time + title: info of the block that this vote may be referring to + txs: + type: array + items: + type: string + format: byte + tendermint.abci.RequestFinalizeBlock: + type: object + properties: + decided_last_commit: + $ref: '#/definitions/tendermint.abci.CommitInfo' + hash: + description: hash is the merkle root hash of the fields of the decided block. + type: string + format: byte + height: + type: string + format: int64 + misbehavior: + type: array + items: + type: object + $ref: '#/definitions/tendermint.abci.Misbehavior' + next_validators_hash: + type: string + format: byte + proposer_address: + description: proposer_address is the address of the public key of the original proposer of the block. + type: string + format: byte + time: + type: string + format: date-time + txs: + type: array + items: + type: string + format: byte + tendermint.abci.RequestFlush: + type: object + tendermint.abci.RequestInfo: + type: object + properties: + abci_version: + type: string + block_version: + type: string + format: uint64 + p2p_version: + type: string + format: uint64 + version: + type: string + tendermint.abci.RequestInitChain: + type: object + properties: + app_state_bytes: + type: string + format: byte + chain_id: + type: string + consensus_params: + $ref: '#/definitions/tendermint.types.ConsensusParams' + initial_height: + type: string + format: int64 + time: + type: string + format: date-time + validators: + type: array + items: + type: object + $ref: '#/definitions/tendermint.abci.ValidatorUpdate' + tendermint.abci.RequestListSnapshots: + type: object + title: lists available snapshots + tendermint.abci.RequestLoadSnapshotChunk: + type: object + title: loads a snapshot chunk + properties: + chunk: + type: integer + format: int64 + format: + type: integer + format: int64 + height: + type: string + format: uint64 + tendermint.abci.RequestOfferSnapshot: + type: object + title: offers a snapshot to the application + properties: + app_hash: + type: string + format: byte + title: light client-verified app hash for snapshot height + snapshot: + title: snapshot offered by peers + $ref: '#/definitions/tendermint.abci.Snapshot' + tendermint.abci.RequestPrepareProposal: + type: object + properties: + height: + type: string + format: int64 + local_last_commit: + $ref: '#/definitions/tendermint.abci.ExtendedCommitInfo' + max_tx_bytes: + description: the modified transactions cannot exceed this size. + type: string + format: int64 + misbehavior: + type: array + items: + type: object + $ref: '#/definitions/tendermint.abci.Misbehavior' + next_validators_hash: + type: string + format: byte + proposer_address: + description: address of the public key of the validator proposing the block. + type: string + format: byte + time: + type: string + format: date-time + txs: + description: |- + txs is an array of transactions that will be included in a block, + sent to the app for possible modifications. + type: array + items: + type: string + format: byte + tendermint.abci.RequestProcessProposal: + type: object + properties: + hash: + description: hash is the merkle root hash of the fields of the proposed block. + type: string + format: byte + height: + type: string + format: int64 + misbehavior: + type: array + items: + type: object + $ref: '#/definitions/tendermint.abci.Misbehavior' + next_validators_hash: + type: string + format: byte + proposed_last_commit: + $ref: '#/definitions/tendermint.abci.CommitInfo' + proposer_address: + description: address of the public key of the original proposer of the block. + type: string + format: byte + time: + type: string + format: date-time + txs: + type: array + items: + type: string + format: byte + tendermint.abci.RequestQuery: + type: object + properties: + data: + type: string + format: byte + height: + type: string + format: int64 + path: + type: string + prove: + type: boolean + tendermint.abci.RequestVerifyVoteExtension: + type: object + title: Verify the vote extension + properties: + hash: + type: string + format: byte + title: the hash of the block that this received vote corresponds to + height: + type: string + format: int64 + validator_address: + type: string + format: byte + title: the validator that signed the vote extension + vote_extension: + type: string + format: byte + tendermint.abci.ResponseApplySnapshotChunk: + type: object + properties: + refetch_chunks: + type: array + title: Chunks to refetch and reapply + items: + type: integer + format: int64 + reject_senders: + type: array + title: Chunk senders to reject and ban + items: + type: string + result: + $ref: '#/definitions/tendermint.abci.ResponseApplySnapshotChunk.Result' + tendermint.abci.ResponseApplySnapshotChunk.Result: + type: string + title: |- + - UNKNOWN: Unknown result, abort all snapshot restoration + - ACCEPT: Chunk successfully accepted + - ABORT: Abort all snapshot restoration + - RETRY: Retry chunk (combine with refetch and reject) + - RETRY_SNAPSHOT: Retry snapshot (combine with refetch and reject) + - REJECT_SNAPSHOT: Reject this snapshot, try others + default: UNKNOWN + enum: + - UNKNOWN + - ACCEPT + - ABORT + - RETRY + - RETRY_SNAPSHOT + - REJECT_SNAPSHOT + tendermint.abci.ResponseCheckTx: + type: object + properties: + code: + type: integer + format: int64 + codespace: + type: string + data: + type: string + format: byte + events: + type: array + items: + type: object + $ref: '#/definitions/tendermint.abci.Event' + gas_used: + type: string + format: int64 + gas_wanted: + type: string + format: int64 + info: + type: string + title: nondeterministic + log: + type: string + title: nondeterministic + tendermint.abci.ResponseCommit: + type: object + properties: + retain_height: + type: string + format: int64 + tendermint.abci.ResponseEcho: + type: object + properties: + message: + type: string + tendermint.abci.ResponseExtendVote: + type: object + properties: + vote_extension: + type: string + format: byte + tendermint.abci.ResponseFinalizeBlock: + type: object + properties: + app_hash: + description: |- + app_hash is the hash of the applications' state which is used to confirm that execution of the transactions was + deterministic. It is up to the application to decide which algorithm to use. + type: string + format: byte + consensus_param_updates: + description: updates to the consensus params, if any. + $ref: '#/definitions/tendermint.types.ConsensusParams' + events: + type: array + title: set of block events emmitted as part of executing the block + items: + type: object + $ref: '#/definitions/tendermint.abci.Event' + tx_results: + type: array + title: |- + the result of executing each transaction including the events + the particular transction emitted. This should match the order + of the transactions delivered in the block itself + items: + type: object + $ref: '#/definitions/tendermint.abci.ExecTxResult' + validator_updates: + description: a list of updates to the validator set. These will reflect the validator set at current height + 2. + type: array + items: + type: object + $ref: '#/definitions/tendermint.abci.ValidatorUpdate' + tendermint.abci.ResponseFlush: + type: object + tendermint.abci.ResponseInfo: + type: object + properties: + app_version: + type: string + format: uint64 + data: + type: string + last_block_app_hash: + type: string + format: byte + last_block_height: + type: string + format: int64 + version: + type: string + tendermint.abci.ResponseInitChain: + type: object + properties: + app_hash: + type: string + format: byte + consensus_params: + $ref: '#/definitions/tendermint.types.ConsensusParams' + validators: + type: array + items: + type: object + $ref: '#/definitions/tendermint.abci.ValidatorUpdate' + tendermint.abci.ResponseListSnapshots: + type: object + properties: + snapshots: + type: array + items: + type: object + $ref: '#/definitions/tendermint.abci.Snapshot' + tendermint.abci.ResponseLoadSnapshotChunk: + type: object + properties: + chunk: + type: string + format: byte + tendermint.abci.ResponseOfferSnapshot: + type: object + properties: + result: + $ref: '#/definitions/tendermint.abci.ResponseOfferSnapshot.Result' + tendermint.abci.ResponseOfferSnapshot.Result: + type: string + title: |- + - UNKNOWN: Unknown result, abort all snapshot restoration + - ACCEPT: Snapshot accepted, apply chunks + - ABORT: Abort all snapshot restoration + - REJECT: Reject this specific snapshot, try others + - REJECT_FORMAT: Reject all snapshots of this format, try others + - REJECT_SENDER: Reject all snapshots from the sender(s), try others + default: UNKNOWN + enum: + - UNKNOWN + - ACCEPT + - ABORT + - REJECT + - REJECT_FORMAT + - REJECT_SENDER + tendermint.abci.ResponsePrepareProposal: + type: object + properties: + txs: + type: array + items: + type: string + format: byte + tendermint.abci.ResponseProcessProposal: + type: object + properties: + status: + $ref: '#/definitions/tendermint.abci.ResponseProcessProposal.ProposalStatus' + tendermint.abci.ResponseProcessProposal.ProposalStatus: + type: string + default: UNKNOWN + enum: + - UNKNOWN + - ACCEPT + - REJECT + tendermint.abci.ResponseQuery: + type: object + properties: + code: + type: integer + format: int64 + codespace: + type: string + height: + type: string + format: int64 + index: + type: string + format: int64 + info: + type: string + title: nondeterministic + key: + type: string + format: byte + log: + description: |- + bytes data = 2; // use "value" instead. + + nondeterministic + type: string + proof_ops: + $ref: '#/definitions/tendermint.crypto.ProofOps' + value: + type: string + format: byte + tendermint.abci.ResponseVerifyVoteExtension: + type: object + properties: + status: + $ref: '#/definitions/tendermint.abci.ResponseVerifyVoteExtension.VerifyStatus' + tendermint.abci.ResponseVerifyVoteExtension.VerifyStatus: + description: |2- + - REJECT: Rejecting the vote extension will reject the entire precommit by the sender. + Incorrectly implementing this thus has liveness implications as it may affect + CometBFT's ability to receive 2/3+ valid votes to finalize the block. + Honest nodes should never be rejected. + type: string + default: UNKNOWN + enum: + - UNKNOWN + - ACCEPT + - REJECT + tendermint.abci.Snapshot: + type: object + properties: + chunks: + type: integer + format: int64 + title: Number of chunks in the snapshot + format: + type: integer + format: int64 + title: The application-specific snapshot format + hash: + type: string + format: byte + title: Arbitrary snapshot hash, equal only if identical + height: + type: string + format: uint64 + title: The height at which the snapshot was taken + metadata: + type: string + format: byte + title: Arbitrary application metadata + tendermint.abci.Validator: + type: object + properties: + address: + type: string + format: byte + title: The first 20 bytes of SHA256(public key) + power: + description: The voting power + type: string + format: int64 + title: PubKey pub_key = 2 [(gogoproto.nullable)=false]; + tendermint.abci.ValidatorUpdate: + type: object + properties: + power: + type: string + format: int64 + pub_key: + $ref: '#/definitions/tendermint.crypto.PublicKey' + tendermint.abci.VoteInfo: + type: object + properties: + block_id_flag: + $ref: '#/definitions/tendermint.types.BlockIDFlag' + validator: + $ref: '#/definitions/tendermint.abci.Validator' + tendermint.crypto.ProofOp: + type: object + title: |- + ProofOp defines an operation used for calculating Merkle root + The data could be arbitrary format, providing nessecary data + for example neighbouring node hash + properties: + data: + type: string + format: byte + key: + type: string + format: byte + type: + type: string + tendermint.crypto.ProofOps: + type: object + title: ProofOps is Merkle proof defined by the list of ProofOps + properties: + ops: + type: array + items: + type: object + $ref: '#/definitions/tendermint.crypto.ProofOp' + tendermint.crypto.PublicKey: + type: object + title: PublicKey defines the keys available for use with Validators + properties: + ed25519: + type: string + format: byte + secp256k1: + type: string + format: byte + tendermint.p2p.DefaultNodeInfo: + type: object + properties: + channels: + type: string + format: byte + default_node_id: + type: string + listen_addr: + type: string + moniker: + type: string + network: + type: string + other: + $ref: '#/definitions/tendermint.p2p.DefaultNodeInfoOther' + protocol_version: + $ref: '#/definitions/tendermint.p2p.ProtocolVersion' + version: + type: string + tendermint.p2p.DefaultNodeInfoOther: + type: object + properties: + rpc_address: + type: string + tx_index: + type: string + tendermint.p2p.ProtocolVersion: + type: object + properties: + app: + type: string + format: uint64 + block: + type: string + format: uint64 + p2p: + type: string + format: uint64 + tendermint.types.ABCIParams: + description: ABCIParams configure functionality specific to the Application Blockchain Interface. + type: object + properties: + vote_extensions_enable_height: + description: |- + vote_extensions_enable_height configures the first height during which + vote extensions will be enabled. During this specified height, and for all + subsequent heights, precommit messages that do not contain valid extension data + will be considered invalid. Prior to this height, 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, + passed to the application for validation in VerifyVoteExtension and given + to the application to use when proposing a block during PrepareProposal. + type: string + format: int64 + tendermint.types.Block: + type: object + properties: + data: + $ref: '#/definitions/tendermint.types.Data' + evidence: + $ref: '#/definitions/tendermint.types.EvidenceList' + header: + $ref: '#/definitions/tendermint.types.Header' + last_commit: + $ref: '#/definitions/tendermint.types.Commit' + tendermint.types.BlockID: + type: object + title: BlockID + properties: + hash: + type: string + format: byte + part_set_header: + $ref: '#/definitions/tendermint.types.PartSetHeader' + tendermint.types.BlockIDFlag: + description: |- + - 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 + type: string + title: BlockIdFlag indicates which BlockID the signature is for + default: BLOCK_ID_FLAG_UNKNOWN + enum: + - BLOCK_ID_FLAG_UNKNOWN + - BLOCK_ID_FLAG_ABSENT + - BLOCK_ID_FLAG_COMMIT + - BLOCK_ID_FLAG_NIL + tendermint.types.BlockParams: + description: BlockParams contains limits on the block size. + type: object + properties: + max_bytes: + type: string + format: int64 + title: |- + Max block size, in bytes. + Note: must be greater than 0 + max_gas: + type: string + format: int64 + title: |- + Max gas per block. + Note: must be greater or equal to -1 + tendermint.types.Commit: + description: Commit contains the evidence that a block was committed by a set of validators. + type: object + properties: + block_id: + $ref: '#/definitions/tendermint.types.BlockID' + height: + type: string + format: int64 + round: + type: integer + format: int32 + signatures: + type: array + items: + type: object + $ref: '#/definitions/tendermint.types.CommitSig' + tendermint.types.CommitSig: + description: CommitSig is a part of the Vote included in a Commit. + type: object + properties: + block_id_flag: + $ref: '#/definitions/tendermint.types.BlockIDFlag' + signature: + type: string + format: byte + timestamp: + type: string + format: date-time + validator_address: + type: string + format: byte + tendermint.types.ConsensusParams: + description: |- + ConsensusParams contains consensus critical parameters that determine the + validity of blocks. + type: object + properties: + abci: + $ref: '#/definitions/tendermint.types.ABCIParams' + block: + $ref: '#/definitions/tendermint.types.BlockParams' + evidence: + $ref: '#/definitions/tendermint.types.EvidenceParams' + validator: + $ref: '#/definitions/tendermint.types.ValidatorParams' + version: + $ref: '#/definitions/tendermint.types.VersionParams' + tendermint.types.Data: + type: object + title: Data contains the set of transactions included in the block + properties: + txs: + 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. + type: array + items: + type: string + format: byte + tendermint.types.DuplicateVoteEvidence: + description: DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes. + type: object + properties: + timestamp: + type: string + format: date-time + total_voting_power: + type: string + format: int64 + validator_power: + type: string + format: int64 + vote_a: + $ref: '#/definitions/tendermint.types.Vote' + vote_b: + $ref: '#/definitions/tendermint.types.Vote' + tendermint.types.Evidence: + type: object + properties: + duplicate_vote_evidence: + $ref: '#/definitions/tendermint.types.DuplicateVoteEvidence' + light_client_attack_evidence: + $ref: '#/definitions/tendermint.types.LightClientAttackEvidence' + tendermint.types.EvidenceList: + type: object + properties: + evidence: + type: array + items: + type: object + $ref: '#/definitions/tendermint.types.Evidence' + tendermint.types.EvidenceParams: + description: EvidenceParams determine how we handle evidence of malfeasance. + type: object + properties: + max_age_duration: + description: |- + Max age of evidence, in time. + + It should correspond with an app's "unbonding period" or other similar + mechanism for handling [Nothing-At-Stake + attacks](https://github.com/ethereum/wiki/wiki/Proof-of-Stake-FAQ#what-is-the-nothing-at-stake-problem-and-how-can-it-be-fixed). + type: string + max_age_num_blocks: + description: |- + Max age of evidence, in blocks. + + The basic formula for calculating this is: MaxAgeDuration / {average block + time}. + type: string + format: int64 + max_bytes: + type: string + format: int64 + title: |- + This sets the maximum size of total evidence in bytes that can be committed in a single block. + and should fall comfortably under the max block bytes. + Default is 1048576 or 1MB + tendermint.types.Header: + description: Header defines the structure of a block header. + type: object + properties: + app_hash: + type: string + format: byte + title: state after txs from the previous block + chain_id: + type: string + consensus_hash: + type: string + format: byte + title: consensus params for current block + data_hash: + type: string + format: byte + title: transactions + evidence_hash: + description: evidence included in the block + type: string + format: byte + title: consensus info + height: + type: string + format: int64 + last_block_id: + title: prev block info + $ref: '#/definitions/tendermint.types.BlockID' + last_commit_hash: + description: commit from validators from the last block + type: string + format: byte + title: hashes of block data + last_results_hash: + type: string + format: byte + title: root hash of all results from the txs from the previous block + next_validators_hash: + type: string + format: byte + title: validators for the next block + proposer_address: + type: string + format: byte + title: original proposer of the block + time: + type: string + format: date-time + validators_hash: + description: validators for the current block + type: string + format: byte + title: hashes from the app output from the prev block + version: + title: basic block info + $ref: '#/definitions/tendermint.version.Consensus' + tendermint.types.LightBlock: + type: object + properties: + signed_header: + $ref: '#/definitions/tendermint.types.SignedHeader' + validator_set: + $ref: '#/definitions/tendermint.types.ValidatorSet' + tendermint.types.LightClientAttackEvidence: + description: LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client. + type: object + properties: + byzantine_validators: + type: array + items: + type: object + $ref: '#/definitions/tendermint.types.Validator' + common_height: + type: string + format: int64 + conflicting_block: + $ref: '#/definitions/tendermint.types.LightBlock' + timestamp: + type: string + format: date-time + total_voting_power: + type: string + format: int64 + tendermint.types.PartSetHeader: + type: object + title: PartsetHeader + properties: + hash: + type: string + format: byte + total: + type: integer + format: int64 + tendermint.types.SignedHeader: + type: object + properties: + commit: + $ref: '#/definitions/tendermint.types.Commit' + header: + $ref: '#/definitions/tendermint.types.Header' + tendermint.types.SignedMsgType: + description: |- + SignedMsgType is a type of signed message in the consensus. + + - SIGNED_MSG_TYPE_PREVOTE: Votes + - SIGNED_MSG_TYPE_PROPOSAL: Proposals + type: string + default: SIGNED_MSG_TYPE_UNKNOWN + enum: + - SIGNED_MSG_TYPE_UNKNOWN + - SIGNED_MSG_TYPE_PREVOTE + - SIGNED_MSG_TYPE_PRECOMMIT + - SIGNED_MSG_TYPE_PROPOSAL + tendermint.types.Validator: + type: object + properties: + address: + type: string + format: byte + proposer_priority: + type: string + format: int64 + pub_key: + $ref: '#/definitions/tendermint.crypto.PublicKey' + voting_power: + type: string + format: int64 + tendermint.types.ValidatorParams: + description: |- + ValidatorParams restrict the public key types validators can use. + NOTE: uses ABCI pubkey naming, not Amino names. + type: object + properties: + pub_key_types: + type: array + items: + type: string + tendermint.types.ValidatorSet: + type: object + properties: + proposer: + $ref: '#/definitions/tendermint.types.Validator' + total_voting_power: + type: string + format: int64 + validators: + type: array + items: + type: object + $ref: '#/definitions/tendermint.types.Validator' + tendermint.types.VersionParams: + description: VersionParams contains the ABCI application version. + type: object + properties: + app: + type: string + format: uint64 + tendermint.types.Vote: + description: |- + Vote represents a prevote or precommit vote from validators for + consensus. + type: object + properties: + block_id: + description: zero if vote is nil. + $ref: '#/definitions/tendermint.types.BlockID' + extension: + description: |- + Vote extension provided by the application. Only valid for precommit + messages. + type: string + format: byte + extension_signature: + description: |- + Vote extension signature by the validator if they participated in + consensus for the associated block. + Only valid for precommit messages. + type: string + format: byte + height: + type: string + format: int64 + round: + type: integer + format: int32 + signature: + description: |- + Vote signature by the validator if they participated in consensus for the + associated block. + type: string + format: byte + timestamp: + type: string + format: date-time + type: + $ref: '#/definitions/tendermint.types.SignedMsgType' + validator_address: + type: string + format: byte + validator_index: + type: integer + format: int32 + tendermint.version.Consensus: + 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 + state transition machine. + type: object + properties: + app: + type: string + format: uint64 + block: + type: string + format: uint64 +tags: + - name: Query + - name: Msg + - name: Service + - name: ReflectionService + - name: ABCIListenerService + - name: ABCI diff --git a/proto/Dockerfile.ignite b/proto/Dockerfile.ignite new file mode 100644 index 000000000..a33be5d22 --- /dev/null +++ b/proto/Dockerfile.ignite @@ -0,0 +1,13 @@ +# This Dockerfile exists to ensure Ignite OpenAPI works on any platforms. +# To use it to update `docs/static/openapi.yml`, simply run: +# $ make ignite_openapi_gen + +FROM golang:1.23.5 + +# Install Ignite CLI +RUN curl https://get.ignite.com/cli\! | bash + +WORKDIR /workspace + +# Generate the OpenAPI spec and output to docs/static/openapi.yam +CMD ["ignite", "generate", "openapi", "--yes"] From 7b25a9aa7e9f2a43a379d22a7248b449d84f2b7a Mon Sep 17 00:00:00 2001 From: Bryan White Date: Thu, 6 Feb 2025 11:22:31 +0100 Subject: [PATCH 6/9] chore: review feedback improvements Co-authored-by: red-0ne --- api/poktroll/migration/legacy.pulsar.go | 202 ++++++++++++------------ api/poktroll/migration/types.pulsar.go | 44 +++--- cmd/poktrolld/cmd/migrate/migrate.go | 22 +-- cmd/poktrolld/cmd/migrate/types.go | 24 +-- e2e/tests/update_params_test.go | 16 +- proto/poktroll/migration/legacy.proto | 24 +-- proto/poktroll/migration/types.proto | 2 +- x/migration/types/legacy.pb.go | 127 +++++++-------- x/migration/types/types.pb.go | 57 +++---- 9 files changed, 265 insertions(+), 253 deletions(-) diff --git a/api/poktroll/migration/legacy.pulsar.go b/api/poktroll/migration/legacy.pulsar.go index 4d77f6a6a..413b53649 100644 --- a/api/poktroll/migration/legacy.pulsar.go +++ b/api/poktroll/migration/legacy.pulsar.go @@ -2095,15 +2095,15 @@ func (x *fastReflection_MorseAuth) ProtoMethods() *protoiface.Methods { var ( md_MorseAuthAccount protoreflect.MessageDescriptor - fd_MorseAuthAccount_Type protoreflect.FieldDescriptor - fd_MorseAuthAccount_Value protoreflect.FieldDescriptor + fd_MorseAuthAccount_type protoreflect.FieldDescriptor + fd_MorseAuthAccount_value protoreflect.FieldDescriptor ) func init() { file_poktroll_migration_legacy_proto_init() md_MorseAuthAccount = File_poktroll_migration_legacy_proto.Messages().ByName("MorseAuthAccount") - fd_MorseAuthAccount_Type = md_MorseAuthAccount.Fields().ByName("Type") - fd_MorseAuthAccount_Value = md_MorseAuthAccount.Fields().ByName("Value") + fd_MorseAuthAccount_type = md_MorseAuthAccount.Fields().ByName("type") + fd_MorseAuthAccount_value = md_MorseAuthAccount.Fields().ByName("value") } var _ protoreflect.Message = (*fastReflection_MorseAuthAccount)(nil) @@ -2173,13 +2173,13 @@ func (x *fastReflection_MorseAuthAccount) Interface() protoreflect.ProtoMessage func (x *fastReflection_MorseAuthAccount) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.Type_ != "" { value := protoreflect.ValueOfString(x.Type_) - if !f(fd_MorseAuthAccount_Type, value) { + if !f(fd_MorseAuthAccount_type, value) { return } } if x.Value != nil { value := protoreflect.ValueOfMessage(x.Value.ProtoReflect()) - if !f(fd_MorseAuthAccount_Value, value) { + if !f(fd_MorseAuthAccount_value, value) { return } } @@ -2198,9 +2198,9 @@ func (x *fastReflection_MorseAuthAccount) Range(f func(protoreflect.FieldDescrip // a repeated field is populated if it is non-empty. func (x *fastReflection_MorseAuthAccount) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "poktroll.migration.MorseAuthAccount.Type": + case "poktroll.migration.MorseAuthAccount.type": return x.Type_ != "" - case "poktroll.migration.MorseAuthAccount.Value": + case "poktroll.migration.MorseAuthAccount.value": return x.Value != nil default: if fd.IsExtension() { @@ -2218,9 +2218,9 @@ func (x *fastReflection_MorseAuthAccount) Has(fd protoreflect.FieldDescriptor) b // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_MorseAuthAccount) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "poktroll.migration.MorseAuthAccount.Type": + case "poktroll.migration.MorseAuthAccount.type": x.Type_ = "" - case "poktroll.migration.MorseAuthAccount.Value": + case "poktroll.migration.MorseAuthAccount.value": x.Value = nil default: if fd.IsExtension() { @@ -2238,10 +2238,10 @@ func (x *fastReflection_MorseAuthAccount) Clear(fd protoreflect.FieldDescriptor) // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_MorseAuthAccount) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "poktroll.migration.MorseAuthAccount.Type": + case "poktroll.migration.MorseAuthAccount.type": value := x.Type_ return protoreflect.ValueOfString(value) - case "poktroll.migration.MorseAuthAccount.Value": + case "poktroll.migration.MorseAuthAccount.value": value := x.Value return protoreflect.ValueOfMessage(value.ProtoReflect()) default: @@ -2264,9 +2264,9 @@ func (x *fastReflection_MorseAuthAccount) Get(descriptor protoreflect.FieldDescr // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_MorseAuthAccount) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "poktroll.migration.MorseAuthAccount.Type": + case "poktroll.migration.MorseAuthAccount.type": x.Type_ = value.Interface().(string) - case "poktroll.migration.MorseAuthAccount.Value": + case "poktroll.migration.MorseAuthAccount.value": x.Value = value.Message().Interface().(*MorseAccount) default: if fd.IsExtension() { @@ -2288,13 +2288,13 @@ func (x *fastReflection_MorseAuthAccount) Set(fd protoreflect.FieldDescriptor, v // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_MorseAuthAccount) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "poktroll.migration.MorseAuthAccount.Value": + case "poktroll.migration.MorseAuthAccount.value": if x.Value == nil { x.Value = new(MorseAccount) } return protoreflect.ValueOfMessage(x.Value.ProtoReflect()) - case "poktroll.migration.MorseAuthAccount.Type": - panic(fmt.Errorf("field Type of message poktroll.migration.MorseAuthAccount is not mutable")) + case "poktroll.migration.MorseAuthAccount.type": + panic(fmt.Errorf("field type of message poktroll.migration.MorseAuthAccount is not mutable")) default: if fd.IsExtension() { panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.migration.MorseAuthAccount")) @@ -2308,9 +2308,9 @@ func (x *fastReflection_MorseAuthAccount) Mutable(fd protoreflect.FieldDescripto // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_MorseAuthAccount) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "poktroll.migration.MorseAuthAccount.Type": + case "poktroll.migration.MorseAuthAccount.type": return protoreflect.ValueOfString("") - case "poktroll.migration.MorseAuthAccount.Value": + case "poktroll.migration.MorseAuthAccount.value": m := new(MorseAccount) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: @@ -3741,22 +3741,22 @@ func (x *fastReflection_MorseApplication) ProtoMethods() *protoiface.Methods { } var ( - md_MorseValidator protoreflect.MessageDescriptor - fd_MorseValidator_Address protoreflect.FieldDescriptor - fd_MorseValidator_PublicKey protoreflect.FieldDescriptor - fd_MorseValidator_jailed protoreflect.FieldDescriptor - fd_MorseValidator_status protoreflect.FieldDescriptor - fd_MorseValidator_StakedTokens protoreflect.FieldDescriptor + md_MorseValidator protoreflect.MessageDescriptor + fd_MorseValidator_address protoreflect.FieldDescriptor + fd_MorseValidator_public_key protoreflect.FieldDescriptor + fd_MorseValidator_jailed protoreflect.FieldDescriptor + fd_MorseValidator_status protoreflect.FieldDescriptor + fd_MorseValidator_staked_tokens protoreflect.FieldDescriptor ) func init() { file_poktroll_migration_legacy_proto_init() md_MorseValidator = File_poktroll_migration_legacy_proto.Messages().ByName("MorseValidator") - fd_MorseValidator_Address = md_MorseValidator.Fields().ByName("Address") - fd_MorseValidator_PublicKey = md_MorseValidator.Fields().ByName("PublicKey") + fd_MorseValidator_address = md_MorseValidator.Fields().ByName("address") + fd_MorseValidator_public_key = md_MorseValidator.Fields().ByName("public_key") fd_MorseValidator_jailed = md_MorseValidator.Fields().ByName("jailed") fd_MorseValidator_status = md_MorseValidator.Fields().ByName("status") - fd_MorseValidator_StakedTokens = md_MorseValidator.Fields().ByName("StakedTokens") + fd_MorseValidator_staked_tokens = md_MorseValidator.Fields().ByName("staked_tokens") } var _ protoreflect.Message = (*fastReflection_MorseValidator)(nil) @@ -3826,13 +3826,13 @@ func (x *fastReflection_MorseValidator) Interface() protoreflect.ProtoMessage { func (x *fastReflection_MorseValidator) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if len(x.Address) != 0 { value := protoreflect.ValueOfBytes(x.Address) - if !f(fd_MorseValidator_Address, value) { + if !f(fd_MorseValidator_address, value) { return } } if len(x.PublicKey) != 0 { value := protoreflect.ValueOfBytes(x.PublicKey) - if !f(fd_MorseValidator_PublicKey, value) { + if !f(fd_MorseValidator_public_key, value) { return } } @@ -3850,7 +3850,7 @@ func (x *fastReflection_MorseValidator) Range(f func(protoreflect.FieldDescripto } if x.StakedTokens != "" { value := protoreflect.ValueOfString(x.StakedTokens) - if !f(fd_MorseValidator_StakedTokens, value) { + if !f(fd_MorseValidator_staked_tokens, value) { return } } @@ -3869,15 +3869,15 @@ func (x *fastReflection_MorseValidator) Range(f func(protoreflect.FieldDescripto // a repeated field is populated if it is non-empty. func (x *fastReflection_MorseValidator) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "poktroll.migration.MorseValidator.Address": + case "poktroll.migration.MorseValidator.address": return len(x.Address) != 0 - case "poktroll.migration.MorseValidator.PublicKey": + case "poktroll.migration.MorseValidator.public_key": return len(x.PublicKey) != 0 case "poktroll.migration.MorseValidator.jailed": return x.Jailed != false case "poktroll.migration.MorseValidator.status": return x.Status != int32(0) - case "poktroll.migration.MorseValidator.StakedTokens": + case "poktroll.migration.MorseValidator.staked_tokens": return x.StakedTokens != "" default: if fd.IsExtension() { @@ -3895,15 +3895,15 @@ func (x *fastReflection_MorseValidator) Has(fd protoreflect.FieldDescriptor) boo // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_MorseValidator) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "poktroll.migration.MorseValidator.Address": + case "poktroll.migration.MorseValidator.address": x.Address = nil - case "poktroll.migration.MorseValidator.PublicKey": + case "poktroll.migration.MorseValidator.public_key": x.PublicKey = nil case "poktroll.migration.MorseValidator.jailed": x.Jailed = false case "poktroll.migration.MorseValidator.status": x.Status = int32(0) - case "poktroll.migration.MorseValidator.StakedTokens": + case "poktroll.migration.MorseValidator.staked_tokens": x.StakedTokens = "" default: if fd.IsExtension() { @@ -3921,10 +3921,10 @@ func (x *fastReflection_MorseValidator) Clear(fd protoreflect.FieldDescriptor) { // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_MorseValidator) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "poktroll.migration.MorseValidator.Address": + case "poktroll.migration.MorseValidator.address": value := x.Address return protoreflect.ValueOfBytes(value) - case "poktroll.migration.MorseValidator.PublicKey": + case "poktroll.migration.MorseValidator.public_key": value := x.PublicKey return protoreflect.ValueOfBytes(value) case "poktroll.migration.MorseValidator.jailed": @@ -3933,7 +3933,7 @@ func (x *fastReflection_MorseValidator) Get(descriptor protoreflect.FieldDescrip case "poktroll.migration.MorseValidator.status": value := x.Status return protoreflect.ValueOfInt32(value) - case "poktroll.migration.MorseValidator.StakedTokens": + case "poktroll.migration.MorseValidator.staked_tokens": value := x.StakedTokens return protoreflect.ValueOfString(value) default: @@ -3956,15 +3956,15 @@ func (x *fastReflection_MorseValidator) Get(descriptor protoreflect.FieldDescrip // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_MorseValidator) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "poktroll.migration.MorseValidator.Address": + case "poktroll.migration.MorseValidator.address": x.Address = value.Bytes() - case "poktroll.migration.MorseValidator.PublicKey": + case "poktroll.migration.MorseValidator.public_key": x.PublicKey = value.Bytes() case "poktroll.migration.MorseValidator.jailed": x.Jailed = value.Bool() case "poktroll.migration.MorseValidator.status": x.Status = int32(value.Int()) - case "poktroll.migration.MorseValidator.StakedTokens": + case "poktroll.migration.MorseValidator.staked_tokens": x.StakedTokens = value.Interface().(string) default: if fd.IsExtension() { @@ -3986,16 +3986,16 @@ func (x *fastReflection_MorseValidator) Set(fd protoreflect.FieldDescriptor, val // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_MorseValidator) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "poktroll.migration.MorseValidator.Address": - panic(fmt.Errorf("field Address of message poktroll.migration.MorseValidator is not mutable")) - case "poktroll.migration.MorseValidator.PublicKey": - panic(fmt.Errorf("field PublicKey of message poktroll.migration.MorseValidator is not mutable")) + case "poktroll.migration.MorseValidator.address": + panic(fmt.Errorf("field address of message poktroll.migration.MorseValidator is not mutable")) + case "poktroll.migration.MorseValidator.public_key": + panic(fmt.Errorf("field public_key of message poktroll.migration.MorseValidator is not mutable")) case "poktroll.migration.MorseValidator.jailed": panic(fmt.Errorf("field jailed of message poktroll.migration.MorseValidator is not mutable")) case "poktroll.migration.MorseValidator.status": panic(fmt.Errorf("field status of message poktroll.migration.MorseValidator is not mutable")) - case "poktroll.migration.MorseValidator.StakedTokens": - panic(fmt.Errorf("field StakedTokens of message poktroll.migration.MorseValidator is not mutable")) + case "poktroll.migration.MorseValidator.staked_tokens": + panic(fmt.Errorf("field staked_tokens of message poktroll.migration.MorseValidator is not mutable")) default: if fd.IsExtension() { panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.migration.MorseValidator")) @@ -4009,15 +4009,15 @@ func (x *fastReflection_MorseValidator) Mutable(fd protoreflect.FieldDescriptor) // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_MorseValidator) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "poktroll.migration.MorseValidator.Address": + case "poktroll.migration.MorseValidator.address": return protoreflect.ValueOfBytes(nil) - case "poktroll.migration.MorseValidator.PublicKey": + case "poktroll.migration.MorseValidator.public_key": return protoreflect.ValueOfBytes(nil) case "poktroll.migration.MorseValidator.jailed": return protoreflect.ValueOfBool(false) case "poktroll.migration.MorseValidator.status": return protoreflect.ValueOfInt32(int32(0)) - case "poktroll.migration.MorseValidator.StakedTokens": + case "poktroll.migration.MorseValidator.staked_tokens": return protoreflect.ValueOfString("") default: if fd.IsExtension() { @@ -4403,11 +4403,11 @@ func (x *fastReflection_MorseValidator) ProtoMethods() *protoiface.Methods { // Types in this file are ONLY present to facilitate the verifiability of the // migration state from Morse to Shannon. // -// These types are used by the migration subcommand to transform +// These types are used by the migration subcommand to transform // the Morse state export into the Shannon state import. // Ref: `poktrolld migrate collect-morse-accounts ...` // -// They ARE NOT persisted on-chain at any point.package poktroll.migration; +// They ARE NOT persisted on-chain at any point. const ( // Verify that this generated code is sufficiently up-to-date. @@ -4589,19 +4589,19 @@ func (x *MorseAuth) GetAccounts() []*MorseAuthAccount { return nil } -// A wrapper around Morse account information, necessary in order to to confirm to the Morse genesis +// A wrapper around Morse account information, necessary in order to to conform to the Morse genesis // structure. Morse originally serialized accounts as pb.Any types in order to support multiple // account types. For the purposes of the Morse -> Shannon migration, we're only concerned with // externally owned accounts (as opposed to module accounts). As a result, we're simplifying its -// representation in Shannon by avoiding usage of pb.Any. It is necessary in order too conform to +// representation in Shannon by avoiding usage of pb.Any. It is necessary in order to conform to // the Morse genesis structure. type MorseAuthAccount struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Type_ string `protobuf:"bytes,1,opt,name=Type,proto3" json:"Type,omitempty"` - Value *MorseAccount `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"` + Type_ string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` + Value *MorseAccount `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` } func (x *MorseAuthAccount) Reset() { @@ -4683,13 +4683,14 @@ type MorseApplication struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // Address is a hex-encoded string representation of the address corresponding + // Address is a binary representation of the address corresponding // to a Morse application's ed25519 public key. Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // PublicKey is the binary representation of a Morse application's ed25519 public key. - PublicKey []byte `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` - Jailed bool `protobuf:"varint,3,opt,name=jailed,proto3" json:"jailed,omitempty"` - Status int32 `protobuf:"varint,4,opt,name=status,proto3" json:"status,omitempty"` + PublicKey []byte `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` + Jailed bool `protobuf:"varint,3,opt,name=jailed,proto3" json:"jailed,omitempty"` + Status int32 `protobuf:"varint,4,opt,name=status,proto3" json:"status,omitempty"` + // The string representation of the BigInt amount of upokt. StakedTokens string `protobuf:"bytes,6,opt,name=staked_tokens,json=stakedTokens,proto3" json:"staked_tokens,omitempty"` } @@ -4756,11 +4757,14 @@ type MorseValidator struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Address []byte `protobuf:"bytes,1,opt,name=Address,proto3" json:"Address,omitempty"` - PublicKey []byte `protobuf:"bytes,2,opt,name=PublicKey,proto3" json:"PublicKey,omitempty"` - Jailed bool `protobuf:"varint,3,opt,name=jailed,proto3" json:"jailed,omitempty"` - Status int32 `protobuf:"varint,4,opt,name=status,proto3" json:"status,omitempty"` - StakedTokens string `protobuf:"bytes,7,opt,name=StakedTokens,proto3" json:"StakedTokens,omitempty"` + // A binary representation of the address corresponding to a Morse application's ed25519 public key. + Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + // The binary representation of a Morse application's ed25519 public key. + PublicKey []byte `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` + Jailed bool `protobuf:"varint,3,opt,name=jailed,proto3" json:"jailed,omitempty"` + Status int32 `protobuf:"varint,4,opt,name=status,proto3" json:"status,omitempty"` + // The string representation of the BigInt amount of upokt. + StakedTokens string `protobuf:"bytes,7,opt,name=staked_tokens,json=stakedTokens,proto3" json:"staked_tokens,omitempty"` } func (x *MorseValidator) Reset() { @@ -4865,12 +4869,12 @@ var file_poktroll_migration_legacy_proto_rawDesc = []byte{ 0x42, 0x0c, 0xea, 0xde, 0x1f, 0x08, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x52, 0x08, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x22, 0x73, 0x0a, 0x10, 0x4d, 0x6f, 0x72, 0x73, 0x65, 0x41, 0x75, 0x74, 0x68, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1c, 0x0a, 0x04, - 0x54, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x08, 0xea, 0xde, 0x1f, 0x04, - 0x74, 0x79, 0x70, 0x65, 0x52, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x41, 0x0a, 0x05, 0x56, 0x61, + 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x08, 0xea, 0xde, 0x1f, 0x04, + 0x74, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x41, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4d, 0x6f, 0x72, 0x73, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x09, 0xea, 0xde, 0x1f, - 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x5e, 0x0a, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x5e, 0x0a, 0x08, 0x4d, 0x6f, 0x72, 0x73, 0x65, 0x50, 0x6f, 0x73, 0x12, 0x52, 0x0a, 0x0a, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, @@ -4899,39 +4903,39 @@ var file_poktroll_migration_legacy_proto_rawDesc = []byte{ 0x65, 0x64, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0a, 0xea, 0xde, 0x1f, 0x06, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x52, 0x0c, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x64, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x3a, 0x08, 0x88, 0xa0, 0x1f, 0x00, 0xe8, - 0xa0, 0x1f, 0x01, 0x22, 0xc1, 0x02, 0x0a, 0x0e, 0x4d, 0x6f, 0x72, 0x73, 0x65, 0x56, 0x61, 0x6c, - 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x66, 0x0a, 0x07, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, + 0xa0, 0x1f, 0x01, 0x22, 0xc3, 0x02, 0x0a, 0x0e, 0x4d, 0x6f, 0x72, 0x73, 0x65, 0x56, 0x61, 0x6c, + 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x66, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x4c, 0xea, 0xde, 0x1f, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0xf2, 0xde, 0x1f, 0x0e, 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x22, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0xfa, 0xde, 0x1f, 0x2b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2f, 0x63, 0x6f, 0x6d, 0x65, 0x74, 0x62, 0x66, 0x74, 0x2f, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x2e, 0x41, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x07, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x41, - 0x0a, 0x09, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0c, 0x42, 0x23, 0xea, 0xde, 0x1f, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, - 0x79, 0xf2, 0xde, 0x1f, 0x11, 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x22, 0x70, 0x75, 0x62, 0x6c, 0x69, - 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x22, 0x52, 0x09, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, - 0x79, 0x12, 0x22, 0x0a, 0x06, 0x6a, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x08, 0x42, 0x0a, 0xea, 0xde, 0x1f, 0x06, 0x6a, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x52, 0x06, 0x6a, - 0x61, 0x69, 0x6c, 0x65, 0x64, 0x12, 0x22, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x05, 0x42, 0x0a, 0xea, 0xde, 0x1f, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x2e, 0x0a, 0x0c, 0x53, 0x74, 0x61, - 0x6b, 0x65, 0x64, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x42, - 0x0a, 0xea, 0xde, 0x1f, 0x06, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x52, 0x0c, 0x53, 0x74, 0x61, - 0x6b, 0x65, 0x64, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x3a, 0x0c, 0x88, 0xa0, 0x1f, 0x00, 0x98, - 0xa0, 0x1f, 0x01, 0xe8, 0xa0, 0x1f, 0x01, 0x42, 0xb7, 0x01, 0xd8, 0xe2, 0x1e, 0x01, 0x0a, 0x16, - 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x6d, 0x69, 0x67, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x0b, 0x4c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x50, 0x72, - 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x23, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, - 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, - 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0xa2, 0x02, 0x03, 0x50, 0x4d, 0x58, - 0xaa, 0x02, 0x12, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x4d, 0x69, 0x67, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0xca, 0x02, 0x12, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, - 0x5c, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0xe2, 0x02, 0x1e, 0x50, 0x6f, 0x6b, - 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x5c, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5c, - 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x13, 0x50, 0x6f, - 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x3a, 0x3a, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x42, + 0x0a, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0c, 0x42, 0x23, 0xea, 0xde, 0x1f, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, + 0x65, 0x79, 0xf2, 0xde, 0x1f, 0x11, 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x22, 0x70, 0x75, 0x62, 0x6c, + 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x22, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, + 0x65, 0x79, 0x12, 0x22, 0x0a, 0x06, 0x6a, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x08, 0x42, 0x0a, 0xea, 0xde, 0x1f, 0x06, 0x6a, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x52, 0x06, + 0x6a, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x12, 0x22, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x42, 0x0a, 0xea, 0xde, 0x1f, 0x06, 0x73, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x2f, 0x0a, 0x0d, 0x73, 0x74, + 0x61, 0x6b, 0x65, 0x64, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x09, 0x42, 0x0a, 0xea, 0xde, 0x1f, 0x06, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x52, 0x0c, 0x73, + 0x74, 0x61, 0x6b, 0x65, 0x64, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x3a, 0x0c, 0x88, 0xa0, 0x1f, + 0x00, 0x98, 0xa0, 0x1f, 0x01, 0xe8, 0xa0, 0x1f, 0x01, 0x42, 0xb7, 0x01, 0xd8, 0xe2, 0x1e, 0x01, + 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x6d, + 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x0b, 0x4c, 0x65, 0x67, 0x61, 0x63, 0x79, + 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x23, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, + 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, + 0x6c, 0x6c, 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0xa2, 0x02, 0x03, 0x50, + 0x4d, 0x58, 0xaa, 0x02, 0x12, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x4d, 0x69, + 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0xca, 0x02, 0x12, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, + 0x6c, 0x6c, 0x5c, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0xe2, 0x02, 0x1e, 0x50, + 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x5c, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x13, + 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x3a, 0x3a, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -4965,7 +4969,7 @@ var file_poktroll_migration_legacy_proto_depIdxs = []int32{ 5, // 3: poktroll.migration.MorseAppState.pos:type_name -> poktroll.migration.MorsePos 6, // 4: poktroll.migration.MorseApplications.applications:type_name -> poktroll.migration.MorseApplication 4, // 5: poktroll.migration.MorseAuth.accounts:type_name -> poktroll.migration.MorseAuthAccount - 8, // 6: poktroll.migration.MorseAuthAccount.Value:type_name -> poktroll.migration.MorseAccount + 8, // 6: poktroll.migration.MorseAuthAccount.value:type_name -> poktroll.migration.MorseAccount 7, // 7: poktroll.migration.MorsePos.validators:type_name -> poktroll.migration.MorseValidator 8, // [8:8] is the sub-list for method output_type 8, // [8:8] is the sub-list for method input_type diff --git a/api/poktroll/migration/types.pulsar.go b/api/poktroll/migration/types.pulsar.go index 1a1090c0a..fe64423be 100644 --- a/api/poktroll/migration/types.pulsar.go +++ b/api/poktroll/migration/types.pulsar.go @@ -1727,7 +1727,7 @@ var file_poktroll_migration_types_proto_rawDesc = []byte{ 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4d, 0x6f, 0x72, 0x73, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x0c, 0xea, 0xde, 0x1f, 0x08, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x52, 0x08, 0x61, 0x63, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x22, 0x96, 0x02, 0x0a, 0x0c, 0x4d, 0x6f, 0x72, 0x73, 0x65, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x22, 0x9f, 0x02, 0x0a, 0x0c, 0x4d, 0x6f, 0x72, 0x73, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x54, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x3a, 0xea, 0xde, 0x1f, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0xfa, 0xde, 0x1f, 0x2b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, @@ -1740,28 +1740,28 @@ var file_poktroll_migration_types_proto_rawDesc = []byte{ 0x65, 0x79, 0x42, 0x23, 0xea, 0xde, 0x1f, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0xf2, 0xde, 0x1f, 0x11, 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x22, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x22, 0x52, 0x06, 0x70, 0x75, 0x62, 0x4b, 0x65, 0x79, 0x12, - 0x35, 0x0a, 0x05, 0x63, 0x6f, 0x69, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, + 0x3e, 0x0a, 0x05, 0x63, 0x6f, 0x69, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x62, - 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x69, 0x6e, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, - 0x05, 0x63, 0x6f, 0x69, 0x6e, 0x73, 0x3a, 0x17, 0x88, 0xa0, 0x1f, 0x00, 0x98, 0xa0, 0x1f, 0x01, - 0x88, 0xa2, 0x1f, 0x01, 0xca, 0xb4, 0x2d, 0x07, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, - 0x44, 0x0a, 0x0e, 0x4d, 0x6f, 0x72, 0x73, 0x65, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, - 0x79, 0x12, 0x32, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, - 0x42, 0x1c, 0xfa, 0xde, 0x1f, 0x18, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x2f, 0x65, 0x64, 0x32, - 0x35, 0x35, 0x31, 0x39, 0x2e, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x52, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0xb6, 0x01, 0xd8, 0xe2, 0x1e, 0x01, 0x0a, 0x16, 0x63, 0x6f, - 0x6d, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x6d, 0x69, 0x67, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x0a, 0x54, 0x79, 0x70, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, - 0x50, 0x01, 0x5a, 0x23, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, - 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x6d, 0x69, - 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0xa2, 0x02, 0x03, 0x50, 0x4d, 0x58, 0xaa, 0x02, 0x12, - 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0xca, 0x02, 0x12, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x5c, 0x4d, 0x69, - 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0xe2, 0x02, 0x1e, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, - 0x6c, 0x6c, 0x5c, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5c, 0x47, 0x50, 0x42, - 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x13, 0x50, 0x6f, 0x6b, 0x74, 0x72, - 0x6f, 0x6c, 0x6c, 0x3a, 0x3a, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x06, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x69, 0x6e, 0x42, 0x0d, 0xc8, 0xde, 0x1f, 0x00, 0xea, + 0xde, 0x1f, 0x05, 0x63, 0x6f, 0x69, 0x6e, 0x73, 0x52, 0x05, 0x63, 0x6f, 0x69, 0x6e, 0x73, 0x3a, + 0x17, 0x88, 0xa0, 0x1f, 0x00, 0x98, 0xa0, 0x1f, 0x01, 0x88, 0xa2, 0x1f, 0x01, 0xca, 0xb4, 0x2d, + 0x07, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x44, 0x0a, 0x0e, 0x4d, 0x6f, 0x72, 0x73, + 0x65, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x32, 0x0a, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x1c, 0xfa, 0xde, 0x1f, 0x18, 0x63, + 0x72, 0x79, 0x70, 0x74, 0x6f, 0x2f, 0x65, 0x64, 0x32, 0x35, 0x35, 0x31, 0x39, 0x2e, 0x50, 0x75, + 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0xb6, + 0x01, 0xd8, 0xe2, 0x1e, 0x01, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, + 0x6f, 0x6c, 0x6c, 0x2e, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x0a, 0x54, + 0x79, 0x70, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x23, 0x63, 0x6f, 0x73, + 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x6f, + 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0xa2, 0x02, 0x03, 0x50, 0x4d, 0x58, 0xaa, 0x02, 0x12, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, + 0x6c, 0x2e, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0xca, 0x02, 0x12, 0x50, 0x6f, + 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x5c, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0xe2, 0x02, 0x1e, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x5c, 0x4d, 0x69, 0x67, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0xea, 0x02, 0x13, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x3a, 0x3a, 0x4d, 0x69, + 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/cmd/poktrolld/cmd/migrate/migrate.go b/cmd/poktrolld/cmd/migrate/migrate.go index cd803a304..8c7eaff05 100644 --- a/cmd/poktrolld/cmd/migrate/migrate.go +++ b/cmd/poktrolld/cmd/migrate/migrate.go @@ -15,6 +15,8 @@ import ( migrationtypes "github.com/pokt-network/poktroll/x/migration/types" ) +const defaultLogOutput = "-" + var ( flagDebugAccountsPerLog int flagLogLevel string @@ -35,8 +37,8 @@ pocket util export-genesis-for-reset [height] [new-chain-id] > morse-state-expor err error ) logLevel := polyzero.ParseLevel(flagLogLevel) - if flagLogOutput == "-" { - logOutput = os.Stderr + if flagLogOutput == defaultLogOutput { + logOutput = os.Stdout } else { logOutput, err = os.Open(flagLogOutput) if err != nil { @@ -61,7 +63,7 @@ func MigrateCmd() *cobra.Command { } migrateCmd.AddCommand(collectMorseAccountsCmd) migrateCmd.PersistentFlags().StringVar(&flagLogLevel, "log-level", "info", "The logging level (debug|info|warn|error)") - migrateCmd.PersistentFlags().StringVar(&flagLogOutput, "log-output", "-", "The logging output (file path); defaults to stdout") + migrateCmd.PersistentFlags().StringVar(&flagLogOutput, "log-output", defaultLogOutput, "The logging output (file path); defaults to stdout") collectMorseAccountsCmd.Flags().IntVar(&flagDebugAccountsPerLog, "debug-accounts-per-log", 0, "The number of accounts to log per debug message") @@ -155,13 +157,7 @@ func transformMorseState( // Iterate over suppliers and add the stakes to the corresponding account balances. logger.Info().Msg("collecting supplier stakes...") - err := collectInputSupplierStakes(inputState, morseWorkspace) - if err != nil { - return err - } - - morseWorkspace.accountState = &migrationtypes.MorseAccountState{Accounts: morseWorkspace.accounts} - return nil + return collectInputSupplierStakes(inputState, morseWorkspace) } // collectInputAccountBalances iterates over the accounts in the inputState and @@ -188,12 +184,16 @@ func collectInputAccountBalances(inputState *migrationtypes.MorseStateExport, mo } coins := exportAccount.Value.Coins + + // If, for whatever reason, the account has no coins, skip it. + // DEV_NOTE: This is NEVER expected to happen, but is technically possible. if len(coins) == 0 { + logger.Warn().Str("address", accountAddr).Msg("account has no coins; skipping") return nil } // DEV_NOTE: SHOULD ONLY be one denom (upokt). - if len(coins) != 1 { + if len(coins) > 1 { return ErrMorseExportState.Wrapf( "account %q has %d token denominations, expected upokt only: %s", accountAddr, len(coins), coins, diff --git a/cmd/poktrolld/cmd/migrate/types.go b/cmd/poktrolld/cmd/migrate/types.go index 828137ce4..50d660b72 100644 --- a/cmd/poktrolld/cmd/migrate/types.go +++ b/cmd/poktrolld/cmd/migrate/types.go @@ -13,8 +13,10 @@ import ( // newMorseImportWorkspace returns a new morseImportWorkspace with fields initialized to their zero values. func newMorseImportWorkspace() *morseImportWorkspace { return &morseImportWorkspace{ - addressToIdx: make(map[string]uint64), - accounts: make([]*migrationtypes.MorseAccount, 0), + addressToIdx: make(map[string]uint64), + accountState: &migrationtypes.MorseAccountState{ + Accounts: make([]*migrationtypes.MorseAccount, 0), + }, lastAccTotalBalance: cosmosmath.ZeroInt(), lastAccTotalAppStake: cosmosmath.ZeroInt(), lastAccTotalSupplierStake: cosmosmath.ZeroInt(), @@ -27,11 +29,9 @@ type morseImportWorkspace struct { // addressToIdx is a map from the Shannon bech32 address to the index of the // corresponding MorseAccount in the accounts slice. addressToIdx map[string]uint64 - // accounts is a slice of MorseAccount objects that, when populated, will be - // used to construct the final MorseAccountState. - accounts []*migrationtypes.MorseAccount - // accountState is the final MorseAccountState that will be imported into Shannon. + // It includes a slice of MorseAccount objects which are populated, by transforming + // the input MorseStateExport into the output MorseAccountState. accountState *migrationtypes.MorseAccountState // lastAccAccountIdx is the index at which the most recent accumulation/totaling @@ -57,7 +57,7 @@ type morseImportWorkspace struct { // nextIdx returns the next index to be used when appending a new account to the accounts slice. func (miw *morseImportWorkspace) nextIdx() uint64 { - return uint64(len(miw.accounts)) + return uint64(len(miw.accountState.Accounts)) } // hasAccount returns true if the given address is present in the accounts slice. @@ -101,7 +101,7 @@ func (miw *morseImportWorkspace) infoLogComplete() error { Str("total_supplier_stake", miw.totalSupplierStake().String()). Str("grand_total", miw.grandTotal().String()). Str("morse_account_state_hash", fmt.Sprintf("%x", accountStateHash)). - Msg("processing accounts...") + Msg("processing accounts complete") return nil } @@ -132,7 +132,7 @@ func (miw *morseImportWorkspace) grandTotal() cosmosmath.Int { // TODO_IN_THIS_COMMIT: godoc... func (miw *morseImportWorkspace) accumulateTotals() { - for idx, account := range miw.accounts[miw.lastAccAccountIdx:] { + for idx, account := range miw.accountState.Accounts[miw.lastAccAccountIdx:] { miw.lastAccTotalBalance = miw.lastAccTotalBalance.Add(account.Coins[0].Amount) miw.lastAccTotalAppStake = miw.lastAccTotalAppStake.Add(account.Coins[0].Amount) miw.lastAccTotalSupplierStake = miw.lastAccTotalSupplierStake.Add(account.Coins[0].Amount) @@ -153,7 +153,7 @@ func (miw *morseImportWorkspace) ensureAccount( if accountIdx, ok = miw.addressToIdx[addr]; ok { logger.Warn().Str("address", addr).Msg("unexpected workspace state: account already exists") - importAccount := miw.accounts[accountIdx] + importAccount := miw.accountState.Accounts[accountIdx] // Each account should have EXACTLY one token denomination. if len(importAccount.Coins) != 1 { err := ErrMorseStateTransform.Wrapf("account %q has multiple token denominations: %s", addr, importAccount.Coins) @@ -167,7 +167,7 @@ func (miw *morseImportWorkspace) ensureAccount( PubKey: exportAccount.Value.PubKey, Coins: cosmostypes.Coins{balance}, } - miw.accounts = append(miw.accounts, importAccount) + miw.accountState.Accounts = append(miw.accountState.Accounts, importAccount) miw.addressToIdx[addr] = accountIdx } @@ -181,7 +181,7 @@ func (miw *morseImportWorkspace) addUpokt(addr string, amount cosmosmath.Int) er return ErrMorseStateTransform.Wrapf("account %q not found", addr) } - account := miw.accounts[importAccountIdx] + account := miw.accountState.Accounts[importAccountIdx] if len(account.Coins) != 1 { return ErrMorseStateTransform.Wrapf( "account %q has %d token denominations, expected upokt only: %s", diff --git a/e2e/tests/update_params_test.go b/e2e/tests/update_params_test.go index 7c08a182b..27c0be4d0 100644 --- a/e2e/tests/update_params_test.go +++ b/e2e/tests/update_params_test.go @@ -15,14 +15,14 @@ import ( "github.com/regen-network/gocuke" "github.com/stretchr/testify/require" - /// "github.com/pokt-network/poktroll/api/poktroll/application" - /// "github.com/pokt-network/poktroll/api/poktroll/gateway" - /// "github.com/pokt-network/poktroll/api/poktroll/proof" - /// "github.com/pokt-network/poktroll/api/poktroll/service" - /// "github.com/pokt-network/poktroll/api/poktroll/session" - /// "github.com/pokt-network/poktroll/api/poktroll/shared" - /// "github.com/pokt-network/poktroll/api/poktroll/supplier" - /// "github.com/pokt-network/poktroll/api/poktroll/tokenomics" + "github.com/pokt-network/poktroll/api/poktroll/application" + "github.com/pokt-network/poktroll/api/poktroll/gateway" + "github.com/pokt-network/poktroll/api/poktroll/proof" + "github.com/pokt-network/poktroll/api/poktroll/service" + "github.com/pokt-network/poktroll/api/poktroll/session" + "github.com/pokt-network/poktroll/api/poktroll/shared" + "github.com/pokt-network/poktroll/api/poktroll/supplier" + "github.com/pokt-network/poktroll/api/poktroll/tokenomics" apptypes "github.com/pokt-network/poktroll/x/application/types" gatewaytypes "github.com/pokt-network/poktroll/x/gateway/types" prooftypes "github.com/pokt-network/poktroll/x/proof/types" diff --git a/proto/poktroll/migration/legacy.proto b/proto/poktroll/migration/legacy.proto index 23dafcbea..5b66e3df9 100644 --- a/proto/poktroll/migration/legacy.proto +++ b/proto/poktroll/migration/legacy.proto @@ -3,11 +3,11 @@ syntax = "proto3"; // Types in this file are ONLY present to facilitate the verifiability of the // migration state from Morse to Shannon. // -// These types are used by the migration subcommand to transform +// These types are used by the migration subcommand to transform // the Morse state export into the Shannon state import. // Ref: `poktrolld migrate collect-morse-accounts ...` // -// They ARE NOT persisted on-chain at any point.package poktroll.migration; +// They ARE NOT persisted on-chain at any point. package poktroll.migration; import "gogoproto/gogo.proto"; @@ -44,15 +44,15 @@ message MorseAuth { repeated MorseAuthAccount accounts = 1 [(gogoproto.jsontag) = "accounts"]; } -// A wrapper around Morse account information, necessary in order to to confirm to the Morse genesis +// A wrapper around Morse account information, necessary in order to to conform to the Morse genesis // structure. Morse originally serialized accounts as pb.Any types in order to support multiple // account types. For the purposes of the Morse -> Shannon migration, we're only concerned with // externally owned accounts (as opposed to module accounts). As a result, we're simplifying its -// representation in Shannon by avoiding usage of pb.Any. It is necessary in order too conform to +// representation in Shannon by avoiding usage of pb.Any. It is necessary in order to conform to // the Morse genesis structure. message MorseAuthAccount { - string Type = 1 [(gogoproto.jsontag) = "type"]; - MorseAccount Value = 2 [(gogoproto.jsontag) = "value"]; + string type = 1 [(gogoproto.jsontag) = "type"]; + MorseAccount value = 2 [(gogoproto.jsontag) = "value"]; } // A wrapper around the list of Morse suppliers (aka "validators", "nodes", of "servicers"). @@ -68,13 +68,14 @@ message MorseApplication { option (gogoproto.equal) = true; option (gogoproto.goproto_getters) = false; - // Address is a hex-encoded string representation of the address corresponding + // Address is a binary representation of the address corresponding // to a Morse application's ed25519 public key. bytes address = 1 [(gogoproto.casttype) = "github.com/cometbft/cometbft/crypto.Address", (gogoproto.jsontag) = "address", (gogoproto.moretags) = "yaml:\"address\""]; // PublicKey is the binary representation of a Morse application's ed25519 public key. bytes public_key = 2 [(gogoproto.jsontag) = "public_key", (gogoproto.moretags) = "yaml:\"public_key\""]; bool jailed = 3[(gogoproto.jsontag) = "jailed", (gogoproto.moretags) = "yaml:\"jailed\""]; int32 status = 4 [(gogoproto.jsontag) = "status", (gogoproto.moretags) = "yaml:\"status\""]; + // The string representation of the BigInt amount of upokt. string staked_tokens = 6 [(gogoproto.jsontag) = "tokens"]; } @@ -86,9 +87,12 @@ message MorseValidator { option (gogoproto.goproto_stringer) = true; option (gogoproto.goproto_getters) = false; - bytes Address = 1 [(gogoproto.casttype) = "github.com/cometbft/cometbft/crypto.Address", (gogoproto.moretags) = "yaml:\"address\"", (gogoproto.jsontag) = "address"]; - bytes PublicKey = 2 [(gogoproto.moretags) = "yaml:\"public_key\"", (gogoproto.jsontag) = "public_key"]; + // A binary representation of the address corresponding to a Morse application's ed25519 public key. + bytes address = 1 [(gogoproto.casttype) = "github.com/cometbft/cometbft/crypto.Address", (gogoproto.moretags) = "yaml:\"address\"", (gogoproto.jsontag) = "address"]; + // The binary representation of a Morse application's ed25519 public key. + bytes public_key = 2 [(gogoproto.moretags) = "yaml:\"public_key\"", (gogoproto.jsontag) = "public_key"]; bool jailed = 3 [(gogoproto.jsontag) = "jailed"]; int32 status = 4 [(gogoproto.jsontag) = "status"]; - string StakedTokens = 7 [(gogoproto.jsontag) = "tokens"]; + // The string representation of the BigInt amount of upokt. + string staked_tokens = 7 [(gogoproto.jsontag) = "tokens"]; } diff --git a/proto/poktroll/migration/types.proto b/proto/poktroll/migration/types.proto index c978151e5..0b003e269 100644 --- a/proto/poktroll/migration/types.proto +++ b/proto/poktroll/migration/types.proto @@ -25,7 +25,7 @@ message MorseAccount { bytes address = 1 [(gogoproto.jsontag) = "address", (gogoproto.casttype) = "github.com/cometbft/cometbft/crypto.Address"]; MorsePublicKey pub_key = 2 [(gogoproto.jsontag) = "public_key", (gogoproto.moretags) = "yaml:\"public_key\""]; - repeated cosmos.base.v1beta1.Coin coins = 3 [(gogoproto.nullable) = false]; + repeated cosmos.base.v1beta1.Coin coins = 3 [(gogoproto.nullable) = false, (gogoproto.jsontag) = "coins"]; } // MorsePublicKey is required to conform to the encoding of the Morse state export. diff --git a/x/migration/types/legacy.pb.go b/x/migration/types/legacy.pb.go index 302a8614a..b998ee9ce 100644 --- a/x/migration/types/legacy.pb.go +++ b/x/migration/types/legacy.pb.go @@ -4,11 +4,11 @@ // Types in this file are ONLY present to facilitate the verifiability of the // migration state from Morse to Shannon. // -// These types are used by the migration subcommand to transform +// These types are used by the migration subcommand to transform // the Morse state export into the Shannon state import. // Ref: `poktrolld migrate collect-morse-accounts ...` // -// They ARE NOT persisted on-chain at any point.package poktroll.migration; +// They ARE NOT persisted on-chain at any point. package types @@ -227,15 +227,15 @@ func (m *MorseAuth) GetAccounts() []*MorseAuthAccount { return nil } -// A wrapper around Morse account information, necessary in order to to confirm to the Morse genesis +// A wrapper around Morse account information, necessary in order to to conform to the Morse genesis // structure. Morse originally serialized accounts as pb.Any types in order to support multiple // account types. For the purposes of the Morse -> Shannon migration, we're only concerned with // externally owned accounts (as opposed to module accounts). As a result, we're simplifying its -// representation in Shannon by avoiding usage of pb.Any. It is necessary in order too conform to +// representation in Shannon by avoiding usage of pb.Any. It is necessary in order to conform to // the Morse genesis structure. type MorseAuthAccount struct { - Type string `protobuf:"bytes,1,opt,name=Type,proto3" json:"type"` - Value *MorseAccount `protobuf:"bytes,2,opt,name=Value,proto3" json:"value"` + Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type"` + Value *MorseAccount `protobuf:"bytes,2,opt,name=value,proto3" json:"value"` } func (m *MorseAuthAccount) Reset() { *m = MorseAuthAccount{} } @@ -327,13 +327,14 @@ func (m *MorsePos) GetValidators() []*MorseValidator { // It encapsulates the minimum information required to import Morse applications. // See: https://github.com/pokt-network/pocket-core/blob/staging/proto/x/apps/apps.proto#L16 type MorseApplication struct { - // Address is a hex-encoded string representation of the address corresponding + // Address is a binary representation of the address corresponding // to a Morse application's ed25519 public key. Address github_com_cometbft_cometbft_crypto.Address `protobuf:"bytes,1,opt,name=address,proto3,casttype=github.com/cometbft/cometbft/crypto.Address" json:"address" yaml:"address"` // PublicKey is the binary representation of a Morse application's ed25519 public key. - PublicKey []byte `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key" yaml:"public_key"` - Jailed bool `protobuf:"varint,3,opt,name=jailed,proto3" json:"jailed" yaml:"jailed"` - Status int32 `protobuf:"varint,4,opt,name=status,proto3" json:"status" yaml:"status"` + PublicKey []byte `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key" yaml:"public_key"` + Jailed bool `protobuf:"varint,3,opt,name=jailed,proto3" json:"jailed" yaml:"jailed"` + Status int32 `protobuf:"varint,4,opt,name=status,proto3" json:"status" yaml:"status"` + // The string representation of the BigInt amount of upokt. StakedTokens string `protobuf:"bytes,6,opt,name=staked_tokens,json=stakedTokens,proto3" json:"tokens"` } @@ -370,11 +371,14 @@ var xxx_messageInfo_MorseApplication proto.InternalMessageInfo // It encapsulates the minimum information required to import Morse suppliers (aka "servicers" or "validators"). // See: https://github.com/pokt-network/pocket-core/blob/staging/proto/x/pos/types.proto#L16 type MorseValidator struct { - Address github_com_cometbft_cometbft_crypto.Address `protobuf:"bytes,1,opt,name=Address,proto3,casttype=github.com/cometbft/cometbft/crypto.Address" json:"address" yaml:"address"` - PublicKey []byte `protobuf:"bytes,2,opt,name=PublicKey,proto3" json:"public_key" yaml:"public_key"` - Jailed bool `protobuf:"varint,3,opt,name=jailed,proto3" json:"jailed"` - Status int32 `protobuf:"varint,4,opt,name=status,proto3" json:"status"` - StakedTokens string `protobuf:"bytes,7,opt,name=StakedTokens,proto3" json:"tokens"` + // A binary representation of the address corresponding to a Morse application's ed25519 public key. + Address github_com_cometbft_cometbft_crypto.Address `protobuf:"bytes,1,opt,name=address,proto3,casttype=github.com/cometbft/cometbft/crypto.Address" json:"address" yaml:"address"` + // The binary representation of a Morse application's ed25519 public key. + PublicKey []byte `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key" yaml:"public_key"` + Jailed bool `protobuf:"varint,3,opt,name=jailed,proto3" json:"jailed"` + Status int32 `protobuf:"varint,4,opt,name=status,proto3" json:"status"` + // The string representation of the BigInt amount of upokt. + StakedTokens string `protobuf:"bytes,7,opt,name=staked_tokens,json=stakedTokens,proto3" json:"tokens"` } func (m *MorseValidator) Reset() { *m = MorseValidator{} } @@ -420,53 +424,52 @@ func init() { func init() { proto.RegisterFile("poktroll/migration/legacy.proto", fileDescriptor_3ba469df9d72c7fc) } var fileDescriptor_3ba469df9d72c7fc = []byte{ - // 733 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x55, 0xbd, 0x6b, 0x1b, 0x49, - 0x14, 0xd7, 0xfa, 0x4b, 0xd2, 0x48, 0xf2, 0xd9, 0xc3, 0x15, 0xc2, 0xe7, 0xdb, 0xd1, 0xcd, 0xdd, - 0x11, 0x41, 0x88, 0x04, 0x72, 0x11, 0x70, 0x2a, 0x2d, 0x04, 0x02, 0x89, 0x83, 0x19, 0x1b, 0x13, - 0x1c, 0x88, 0x19, 0x49, 0x6b, 0x49, 0xd1, 0x4a, 0x33, 0xec, 0xcc, 0x3a, 0xd6, 0x7f, 0x10, 0x52, - 0xa5, 0x4c, 0xe9, 0x7f, 0x25, 0x5d, 0x4a, 0x97, 0xae, 0x36, 0x41, 0x6a, 0xc2, 0x96, 0x2e, 0x53, - 0x85, 0x99, 0xfd, 0xd0, 0xca, 0x8e, 0x82, 0x53, 0xa4, 0x59, 0xe6, 0xbd, 0xf7, 0xfb, 0xbd, 0x8f, - 0xdf, 0xbc, 0x65, 0x00, 0xe2, 0x6c, 0x20, 0x5d, 0xe6, 0x38, 0xf5, 0x61, 0xbf, 0xeb, 0x52, 0xd9, - 0x67, 0xa3, 0xba, 0x63, 0x77, 0x69, 0x7b, 0x5c, 0xe3, 0x2e, 0x93, 0x0c, 0xc2, 0x18, 0x50, 0x4b, - 0x00, 0x5b, 0x7f, 0x76, 0x59, 0x97, 0xe9, 0x70, 0x5d, 0x9d, 0x42, 0xe4, 0x96, 0xf9, 0x83, 0x54, - 0x72, 0xcc, 0x6d, 0x11, 0xc6, 0xf1, 0x3b, 0x03, 0x6c, 0xec, 0x31, 0x57, 0xd8, 0x07, 0x92, 0x4a, - 0xfb, 0xf1, 0x39, 0x67, 0xae, 0x84, 0xf7, 0x40, 0x8e, 0x72, 0x7e, 0xd2, 0xa3, 0xa2, 0x57, 0x36, - 0x2a, 0x46, 0x35, 0x6f, 0x15, 0x03, 0x1f, 0x25, 0x3e, 0x92, 0xa5, 0x9c, 0x3f, 0xa1, 0xa2, 0x07, - 0xf7, 0x40, 0x5e, 0x39, 0x85, 0xe2, 0x96, 0x97, 0x2a, 0x46, 0xb5, 0xd0, 0xf8, 0xa7, 0x76, 0xbb, - 0xb7, 0x9a, 0xae, 0xd0, 0xe4, 0x5c, 0x17, 0xb1, 0x4a, 0x81, 0x8f, 0x66, 0x3c, 0xa2, 0xf2, 0xea, - 0x00, 0xfe, 0x6c, 0x80, 0xd2, 0x1c, 0x14, 0xbe, 0x00, 0x05, 0xca, 0xb9, 0xd3, 0x6f, 0xeb, 0x3c, - 0xba, 0x99, 0x42, 0xe3, 0xff, 0x9f, 0x95, 0x88, 0xb1, 0xc2, 0xfa, 0x23, 0xf0, 0x51, 0x9a, 0x4d, - 0xd2, 0x06, 0x7c, 0x04, 0x56, 0xa8, 0x27, 0x7b, 0x51, 0xd7, 0x7f, 0x2f, 0x4e, 0xe9, 0xc9, 0x9e, - 0x95, 0x0b, 0x7c, 0xa4, 0xe1, 0x44, 0x7f, 0xe1, 0x43, 0xb0, 0xcc, 0x99, 0x28, 0x2f, 0x6b, 0xee, - 0xf6, 0x42, 0xee, 0x3e, 0x13, 0x56, 0x36, 0xf0, 0x91, 0x02, 0x13, 0xf5, 0xc1, 0x0c, 0x6c, 0xde, - 0x6a, 0x14, 0x1e, 0x83, 0x62, 0xaa, 0x33, 0x51, 0x36, 0x2a, 0xcb, 0xd5, 0x42, 0xe3, 0xbf, 0xbb, - 0x4c, 0x69, 0x6d, 0x04, 0x3e, 0x9a, 0x63, 0x93, 0x39, 0x0b, 0xbf, 0x04, 0xf9, 0x64, 0x0c, 0xf8, - 0x1c, 0xe4, 0x68, 0xbb, 0xcd, 0xbc, 0x91, 0xbc, 0x43, 0x11, 0x4f, 0xf6, 0x9a, 0x21, 0x38, 0xba, - 0xfd, 0x88, 0x49, 0x92, 0x13, 0x16, 0xd1, 0xee, 0xa4, 0xb0, 0x70, 0x1b, 0xac, 0x1c, 0x8e, 0xb9, - 0x1d, 0xed, 0x8d, 0x16, 0x4e, 0xed, 0x1b, 0xd1, 0x5e, 0xd8, 0x04, 0xab, 0x47, 0xd4, 0xf1, 0xe2, - 0x65, 0xa9, 0x2c, 0x2e, 0x1f, 0x95, 0xce, 0x07, 0x3e, 0x5a, 0x3d, 0x53, 0x14, 0x12, 0x32, 0xf1, - 0x2b, 0x90, 0x8b, 0xc5, 0x85, 0x04, 0x80, 0x33, 0xea, 0xf4, 0x3b, 0x54, 0x32, 0x37, 0x1e, 0x09, - 0x2f, 0xcc, 0x79, 0x14, 0x43, 0xad, 0xf5, 0xc0, 0x47, 0x29, 0x26, 0x49, 0x9d, 0xf1, 0x74, 0x29, - 0x9e, 0x2a, 0xb5, 0x2d, 0xa7, 0x20, 0x4b, 0x3b, 0x1d, 0xd7, 0x16, 0x42, 0x0f, 0x56, 0xb4, 0x9e, - 0x05, 0x3e, 0x8a, 0x5d, 0xd7, 0x3e, 0x5a, 0x1f, 0xd3, 0xa1, 0xb3, 0x8b, 0x23, 0x07, 0xfe, 0xe6, - 0xa3, 0xfb, 0xdd, 0xbe, 0xec, 0x79, 0xad, 0x5a, 0x9b, 0x0d, 0xeb, 0x6d, 0x36, 0xb4, 0x65, 0xeb, - 0x54, 0xa6, 0x0e, 0xee, 0x98, 0x4b, 0x56, 0x6b, 0x86, 0x78, 0x12, 0x67, 0x82, 0x16, 0x00, 0xdc, - 0x6b, 0x39, 0xfd, 0xf6, 0xc9, 0xc0, 0x1e, 0x6b, 0x91, 0x8a, 0xd6, 0xbf, 0xaa, 0xd9, 0x99, 0xf7, - 0xda, 0x47, 0x9b, 0x61, 0xb5, 0x99, 0x0f, 0x93, 0x7c, 0x68, 0x3c, 0xb5, 0xc7, 0x70, 0x07, 0xac, - 0xbd, 0xa6, 0x7d, 0xc7, 0xee, 0xe8, 0xfd, 0xcc, 0x59, 0x7f, 0x05, 0x3e, 0x8a, 0x3c, 0xd7, 0x3e, - 0x2a, 0x85, 0xdc, 0xd0, 0xc6, 0x24, 0x0a, 0x28, 0x92, 0xfa, 0x1b, 0x3d, 0x51, 0x5e, 0xa9, 0x18, - 0xd5, 0xd5, 0x90, 0x14, 0x7a, 0x66, 0xa4, 0xd0, 0xc6, 0x24, 0x0a, 0xc0, 0x3a, 0x28, 0x09, 0x49, - 0x07, 0x76, 0xe7, 0x44, 0xb2, 0x81, 0x3d, 0x12, 0xe5, 0x35, 0x7d, 0xe9, 0x40, 0x71, 0x43, 0x0f, - 0x29, 0x86, 0x80, 0x43, 0x6d, 0xed, 0xe6, 0xde, 0x5e, 0xa0, 0xcc, 0xd7, 0x0b, 0x64, 0xe0, 0x8f, - 0x4b, 0x60, 0x7d, 0xfe, 0x52, 0x94, 0xc6, 0xcd, 0xdf, 0xa9, 0x71, 0x74, 0x80, 0x4d, 0x90, 0xdf, - 0x8f, 0xc5, 0xfa, 0x25, 0x89, 0x13, 0x16, 0xc4, 0x37, 0x24, 0x06, 0x33, 0x89, 0x13, 0x45, 0xf1, - 0x0d, 0x45, 0xc1, 0x4c, 0xd1, 0x44, 0xc0, 0x1a, 0x28, 0x1e, 0xa4, 0xf4, 0x29, 0x67, 0x6f, 0xeb, - 0x97, 0x8e, 0xef, 0x16, 0x95, 0x7e, 0x1f, 0x2e, 0x90, 0xa1, 0x34, 0xb4, 0xf6, 0x3f, 0x4d, 0x4c, - 0xe3, 0x72, 0x62, 0x1a, 0x57, 0x13, 0xd3, 0xf8, 0x32, 0x31, 0x8d, 0xf7, 0x53, 0x33, 0x73, 0x39, - 0x35, 0x33, 0x57, 0x53, 0x33, 0x73, 0xdc, 0x48, 0x89, 0xa3, 0xfe, 0x88, 0x07, 0x23, 0x5b, 0xbe, - 0x61, 0xee, 0xa0, 0x9e, 0xbc, 0x08, 0xe7, 0x37, 0xdf, 0x84, 0xd6, 0x9a, 0x7e, 0x14, 0x76, 0xbe, - 0x07, 0x00, 0x00, 0xff, 0xff, 0x70, 0x19, 0x49, 0x20, 0x81, 0x06, 0x00, 0x00, + // 705 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x55, 0xcf, 0x6f, 0x13, 0x39, + 0x14, 0xce, 0xf4, 0x57, 0x12, 0x27, 0xe9, 0xb6, 0xd6, 0x1e, 0xa2, 0x6e, 0x77, 0x9c, 0xf5, 0xee, + 0x6a, 0x23, 0xad, 0x48, 0xa4, 0xf4, 0x80, 0x54, 0x4e, 0x19, 0x09, 0x09, 0x09, 0x8a, 0x2a, 0x83, + 0x10, 0x2a, 0x12, 0x95, 0x93, 0x4c, 0x93, 0x90, 0x49, 0x6c, 0x8d, 0x3d, 0xa5, 0xf9, 0x0f, 0x10, + 0x27, 0x8e, 0x1c, 0xfb, 0xbf, 0x70, 0xe1, 0xd8, 0x63, 0x4f, 0x03, 0x4a, 0x2e, 0x68, 0x8e, 0x3d, + 0x72, 0x42, 0xb6, 0x67, 0x92, 0x49, 0x4b, 0xa0, 0x57, 0x2e, 0x1e, 0xbf, 0xe7, 0xef, 0x7b, 0x3f, + 0x3e, 0xbf, 0x91, 0x01, 0xe2, 0x6c, 0x20, 0x7d, 0xe6, 0x79, 0xf5, 0x61, 0xbf, 0xeb, 0x53, 0xd9, + 0x67, 0xa3, 0xba, 0xe7, 0x76, 0x69, 0x7b, 0x5c, 0xe3, 0x3e, 0x93, 0x0c, 0xc2, 0x04, 0x50, 0x9b, + 0x01, 0x76, 0x7e, 0xef, 0xb2, 0x2e, 0xd3, 0xc7, 0x75, 0xb5, 0x33, 0xc8, 0x1d, 0xfb, 0x3b, 0xa1, + 0xe4, 0x98, 0xbb, 0xc2, 0x9c, 0xe3, 0xb7, 0x16, 0xd8, 0x3a, 0x60, 0xbe, 0x70, 0x9f, 0x48, 0x2a, + 0xdd, 0xfb, 0x67, 0x9c, 0xf9, 0x12, 0xfe, 0x07, 0x72, 0x94, 0xf3, 0xe3, 0x1e, 0x15, 0xbd, 0xb2, + 0x55, 0xb1, 0xaa, 0x79, 0xa7, 0x18, 0x85, 0x68, 0xe6, 0x23, 0x59, 0xca, 0xf9, 0x03, 0x2a, 0x7a, + 0xf0, 0x00, 0xe4, 0x95, 0x53, 0x28, 0x6e, 0x79, 0xa5, 0x62, 0x55, 0x0b, 0x8d, 0xbf, 0x6a, 0x37, + 0x6b, 0xab, 0xe9, 0x0c, 0x4d, 0xce, 0x75, 0x12, 0xa7, 0x14, 0x85, 0x68, 0xce, 0x23, 0x2a, 0xae, + 0x3e, 0xc0, 0x9f, 0x2c, 0x50, 0x5a, 0x80, 0xc2, 0xe7, 0xa0, 0x40, 0x39, 0xf7, 0xfa, 0x6d, 0x1d, + 0x47, 0x17, 0x53, 0x68, 0xfc, 0xfb, 0xa3, 0x14, 0x09, 0x56, 0x38, 0xbf, 0x45, 0x21, 0x4a, 0xb3, + 0x49, 0xda, 0x80, 0xf7, 0xc0, 0x1a, 0x0d, 0x64, 0x2f, 0xae, 0xfa, 0xcf, 0xe5, 0x21, 0x03, 0xd9, + 0x73, 0x72, 0x51, 0x88, 0x34, 0x9c, 0xe8, 0x15, 0xde, 0x05, 0xab, 0x9c, 0x89, 0xf2, 0xaa, 0xe6, + 0xee, 0x2e, 0xe5, 0x1e, 0x32, 0xe1, 0x64, 0xa3, 0x10, 0x29, 0x30, 0x51, 0x0b, 0x66, 0x60, 0xfb, + 0x46, 0xa1, 0xf0, 0x08, 0x14, 0x53, 0x95, 0x89, 0xb2, 0x55, 0x59, 0xad, 0x16, 0x1a, 0xff, 0xdc, + 0xa6, 0x4b, 0x67, 0x2b, 0x0a, 0xd1, 0x02, 0x9b, 0x2c, 0x58, 0xf8, 0x05, 0xc8, 0xcf, 0xda, 0x80, + 0x8f, 0x41, 0x8e, 0xb6, 0xdb, 0x2c, 0x18, 0xc9, 0x5b, 0x24, 0x09, 0x64, 0xaf, 0x69, 0xc0, 0xf1, + 0xed, 0xc7, 0x4c, 0x32, 0xdb, 0x61, 0x11, 0xcf, 0x4e, 0x0a, 0x0b, 0x77, 0xc1, 0x9a, 0x9a, 0xaf, + 0x78, 0x6e, 0xb4, 0x70, 0xca, 0x26, 0x7a, 0x85, 0x4d, 0xb0, 0x7e, 0x4a, 0xbd, 0x20, 0x19, 0x96, + 0xca, 0xf2, 0xf4, 0x71, 0xea, 0x7c, 0x14, 0x22, 0x43, 0x21, 0xe6, 0x83, 0x5f, 0x82, 0x5c, 0x22, + 0x2e, 0x24, 0x00, 0x9c, 0x52, 0xaf, 0xdf, 0xa1, 0x92, 0xf9, 0x49, 0x4b, 0x78, 0x69, 0xcc, 0x67, + 0x09, 0xd4, 0xd9, 0x8c, 0x42, 0x94, 0x62, 0x92, 0xd4, 0x1e, 0x4f, 0x57, 0x92, 0xae, 0x52, 0xd3, + 0x72, 0x02, 0xb2, 0xb4, 0xd3, 0xf1, 0x5d, 0x21, 0x74, 0x63, 0x45, 0xe7, 0x51, 0x14, 0xa2, 0xc4, + 0x75, 0x15, 0xa2, 0xcd, 0x31, 0x1d, 0x7a, 0xfb, 0x38, 0x76, 0xe0, 0xaf, 0x21, 0xfa, 0xbf, 0xdb, + 0x97, 0xbd, 0xa0, 0x55, 0x6b, 0xb3, 0x61, 0xbd, 0xcd, 0x86, 0xae, 0x6c, 0x9d, 0xc8, 0xd4, 0xc6, + 0x1f, 0x73, 0xc9, 0x6a, 0x4d, 0x83, 0x27, 0x49, 0x24, 0xe8, 0x00, 0xc0, 0x83, 0x96, 0xd7, 0x6f, + 0x1f, 0x0f, 0xdc, 0xb1, 0x16, 0xa9, 0xe8, 0xfc, 0xad, 0x8a, 0x9d, 0x7b, 0xaf, 0x42, 0xb4, 0x6d, + 0xb2, 0xcd, 0x7d, 0x98, 0xe4, 0x8d, 0xf1, 0xd0, 0x1d, 0xc3, 0x3d, 0xb0, 0xf1, 0x8a, 0xf6, 0x3d, + 0xb7, 0xa3, 0xe7, 0x33, 0xe7, 0xfc, 0x11, 0x85, 0x28, 0xf6, 0x5c, 0x85, 0xa8, 0x64, 0xb8, 0xc6, + 0xc6, 0x24, 0x3e, 0x50, 0x24, 0xf5, 0x37, 0x06, 0xa2, 0xbc, 0x56, 0xb1, 0xaa, 0xeb, 0x86, 0x64, + 0x3c, 0x73, 0x92, 0xb1, 0x31, 0x89, 0x0f, 0x60, 0x1d, 0x94, 0x84, 0xa4, 0x03, 0xb7, 0x73, 0x2c, + 0xd9, 0xc0, 0x1d, 0x89, 0xf2, 0x86, 0xbe, 0x74, 0xa0, 0xb8, 0xc6, 0x43, 0x8a, 0x06, 0xf0, 0x54, + 0x5b, 0xfb, 0xb9, 0x37, 0xe7, 0x28, 0xf3, 0xe5, 0x1c, 0x59, 0xf8, 0xc3, 0x0a, 0xd8, 0x5c, 0xbc, + 0x94, 0x5f, 0x4a, 0x63, 0x7c, 0x4d, 0x63, 0x30, 0xd7, 0x78, 0x26, 0x29, 0xbe, 0x26, 0x29, 0x98, + 0x4b, 0xba, 0x5c, 0xc1, 0xec, 0x4f, 0x14, 0x2c, 0x2a, 0x05, 0xdf, 0x9f, 0x23, 0x4b, 0xa9, 0xe8, + 0x1c, 0x7e, 0x9c, 0xd8, 0xd6, 0xc5, 0xc4, 0xb6, 0x2e, 0x27, 0xb6, 0xf5, 0x79, 0x62, 0x5b, 0xef, + 0xa6, 0x76, 0xe6, 0x62, 0x6a, 0x67, 0x2e, 0xa7, 0x76, 0xe6, 0xa8, 0x91, 0x92, 0x47, 0xfd, 0x13, + 0x77, 0x46, 0xae, 0x7c, 0xcd, 0xfc, 0x41, 0x7d, 0xf6, 0x26, 0x9c, 0x5d, 0x7f, 0x15, 0x5a, 0x1b, + 0xfa, 0x59, 0xd8, 0xfb, 0x16, 0x00, 0x00, 0xff, 0xff, 0x02, 0x82, 0xc9, 0x0f, 0x83, 0x06, 0x00, + 0x00, } func (this *MorseApplication) Equal(that interface{}) bool { diff --git a/x/migration/types/types.pb.go b/x/migration/types/types.pb.go index 91a2f7d54..c63ed04c8 100644 --- a/x/migration/types/types.pb.go +++ b/x/migration/types/types.pb.go @@ -161,35 +161,36 @@ func init() { func init() { proto.RegisterFile("poktroll/migration/types.proto", fileDescriptor_7ed31f79aa0bc330) } var fileDescriptor_7ed31f79aa0bc330 = []byte{ - // 444 bytes of a gzipped FileDescriptorProto + // 449 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x92, 0x31, 0x6f, 0xd3, 0x40, - 0x14, 0xc7, 0x7d, 0x2d, 0x6d, 0xd0, 0x35, 0x42, 0xaa, 0x85, 0x44, 0x5a, 0xa1, 0xbb, 0xc8, 0x2c, - 0x91, 0x50, 0xef, 0x14, 0xa3, 0x0c, 0x64, 0xab, 0x61, 0xa2, 0x42, 0xaa, 0x0c, 0x13, 0x4b, 0xb0, - 0x9d, 0x23, 0x58, 0xb1, 0xfd, 0x2c, 0xdf, 0xb9, 0xe0, 0x6f, 0xd0, 0x91, 0x09, 0x31, 0x56, 0x7c, - 0x06, 0x3e, 0x44, 0xc5, 0xd4, 0xb1, 0x93, 0x85, 0x92, 0x2d, 0x23, 0x63, 0x26, 0x64, 0x5f, 0x62, - 0x0c, 0x88, 0xed, 0xfd, 0xdf, 0xfb, 0xff, 0x4f, 0xef, 0x7e, 0x7a, 0x98, 0xa4, 0x30, 0x57, 0x19, - 0x44, 0x11, 0x8f, 0xc3, 0x59, 0xe6, 0xa9, 0x10, 0x12, 0xae, 0x8a, 0x54, 0x48, 0x96, 0x66, 0xa0, - 0xc0, 0x34, 0xb7, 0x73, 0xd6, 0xcc, 0x8f, 0x8f, 0x02, 0x90, 0x31, 0xc8, 0x49, 0xed, 0xe0, 0x5a, - 0x68, 0xfb, 0x31, 0xd1, 0x8a, 0xfb, 0x9e, 0x14, 0xfc, 0x62, 0xe8, 0x0b, 0xe5, 0x0d, 0x79, 0x00, - 0x61, 0xb2, 0x99, 0xdf, 0x9f, 0xc1, 0x0c, 0x74, 0xae, 0xaa, 0x74, 0xd7, 0x9a, 0xe0, 0xc3, 0x97, - 0x90, 0x49, 0x71, 0x1a, 0x04, 0x90, 0x27, 0xea, 0x95, 0xf2, 0x94, 0x30, 0x5f, 0xe0, 0xbb, 0x9e, - 0xd6, 0xb2, 0x87, 0xfa, 0xbb, 0x83, 0x03, 0xbb, 0xcf, 0xfe, 0x5d, 0x86, 0xb5, 0x83, 0x4e, 0x77, - 0x55, 0xd2, 0x26, 0xe5, 0x36, 0x95, 0xf5, 0x79, 0x07, 0x77, 0xdb, 0x46, 0xf3, 0x35, 0xee, 0x78, - 0xd3, 0x69, 0x26, 0x64, 0xf5, 0x36, 0x1a, 0x74, 0x9d, 0xf1, 0xaa, 0xa4, 0xdb, 0xd6, 0xba, 0xa4, - 0x8f, 0x67, 0xa1, 0x7a, 0x9f, 0xfb, 0x2c, 0x80, 0x98, 0x07, 0x10, 0x0b, 0xe5, 0xbf, 0x53, 0xad, - 0x22, 0x2b, 0x52, 0x05, 0xec, 0x54, 0xdb, 0xdd, 0x6d, 0xce, 0x7c, 0x8b, 0x3b, 0x69, 0xee, 0x4f, - 0xe6, 0xa2, 0xe8, 0xed, 0xf4, 0xd1, 0xe0, 0xc0, 0xb6, 0xfe, 0xbb, 0xf1, 0x79, 0xee, 0x47, 0x61, - 0x70, 0x26, 0x0a, 0xe7, 0xd1, 0xaa, 0xa4, 0x38, 0xad, 0x65, 0x95, 0xfc, 0x59, 0xd2, 0xc3, 0xc2, - 0x8b, 0xa3, 0xb1, 0xf5, 0xbb, 0x67, 0xb9, 0xfb, 0x69, 0xee, 0x9f, 0x89, 0xc2, 0x1c, 0xe1, 0xbd, - 0x8a, 0xa6, 0xec, 0xed, 0xd6, 0x44, 0x8e, 0xd8, 0x86, 0x7e, 0xc5, 0x9b, 0x6d, 0x78, 0xb3, 0x67, - 0x10, 0x26, 0xce, 0x9d, 0xeb, 0x92, 0x1a, 0xae, 0x76, 0x8f, 0x1f, 0x5c, 0x5e, 0x51, 0xe3, 0xcb, - 0x15, 0x45, 0x97, 0x5f, 0x29, 0xfa, 0xfe, 0xed, 0xa4, 0xb3, 0xe1, 0x60, 0x3d, 0xc7, 0xf7, 0xfe, - 0x5c, 0xc7, 0xb4, 0xf1, 0xde, 0x85, 0x17, 0xe5, 0xa2, 0xfe, 0x41, 0xd7, 0x79, 0xb8, 0x2e, 0x69, - 0x4f, 0xff, 0x97, 0x8b, 0xa9, 0x3d, 0x1a, 0x0d, 0x9f, 0xb2, 0xc6, 0xec, 0x6a, 0xab, 0x73, 0x7e, - 0xbd, 0x20, 0xe8, 0x66, 0x41, 0xd0, 0xed, 0x82, 0xa0, 0x1f, 0x0b, 0x82, 0x3e, 0x2d, 0x89, 0x71, - 0xb3, 0x24, 0xc6, 0xed, 0x92, 0x18, 0x6f, 0xec, 0x16, 0xcb, 0x0a, 0xc7, 0x49, 0x22, 0xd4, 0x07, - 0xc8, 0xe6, 0xbc, 0x39, 0xbd, 0x8f, 0x7f, 0x1f, 0x9f, 0xbf, 0x5f, 0x1f, 0xc6, 0x93, 0x5f, 0x01, - 0x00, 0x00, 0xff, 0xff, 0xd9, 0x80, 0x8f, 0x0e, 0x9f, 0x02, 0x00, 0x00, + 0x14, 0xc7, 0x7d, 0xad, 0xda, 0xa0, 0x6b, 0x40, 0xaa, 0x85, 0x44, 0x5a, 0xa1, 0xbb, 0xc8, 0x2c, + 0x91, 0x50, 0xef, 0x14, 0xa3, 0x0e, 0x64, 0x40, 0xaa, 0x61, 0xa2, 0x42, 0xaa, 0x0c, 0x13, 0x4b, + 0xb0, 0x9d, 0x23, 0x58, 0xb1, 0xfd, 0x2c, 0xfb, 0x5c, 0xf0, 0x37, 0xe8, 0xc8, 0xc8, 0x46, 0xc5, + 0x67, 0xe0, 0x43, 0x54, 0x4c, 0x1d, 0x3b, 0x9d, 0x50, 0xb2, 0x65, 0x64, 0xcc, 0x84, 0xec, 0x4b, + 0x8c, 0x01, 0x75, 0xf2, 0xfb, 0xbf, 0xf7, 0xff, 0x5b, 0xef, 0x7e, 0x7a, 0x98, 0xa4, 0x30, 0x93, + 0x19, 0x44, 0x11, 0x8f, 0xc3, 0x69, 0xe6, 0xc9, 0x10, 0x12, 0x2e, 0xcb, 0x54, 0xe4, 0x2c, 0xcd, + 0x40, 0x82, 0x69, 0x6e, 0xe6, 0xac, 0x99, 0x1f, 0x1e, 0x04, 0x90, 0xc7, 0x90, 0x8f, 0x6b, 0x07, + 0xd7, 0x42, 0xdb, 0x0f, 0x89, 0x56, 0xdc, 0xf7, 0x72, 0xc1, 0xcf, 0x87, 0xbe, 0x90, 0xde, 0x90, + 0x07, 0x10, 0x26, 0xeb, 0xf9, 0xfd, 0x29, 0x4c, 0x41, 0xe7, 0xaa, 0x4a, 0x77, 0xad, 0x31, 0xde, + 0x7f, 0x05, 0x59, 0x2e, 0x4e, 0x82, 0x00, 0x8a, 0x44, 0xbe, 0x96, 0x9e, 0x14, 0xe6, 0x4b, 0x7c, + 0xc7, 0xd3, 0x3a, 0xef, 0xa1, 0xfe, 0xf6, 0x60, 0xcf, 0xee, 0xb3, 0xff, 0x97, 0x61, 0xed, 0xa0, + 0xd3, 0x5d, 0x2a, 0xda, 0xa4, 0xdc, 0xa6, 0xb2, 0xbe, 0x6e, 0xe1, 0x6e, 0xdb, 0x68, 0xbe, 0xc1, + 0x1d, 0x6f, 0x32, 0xc9, 0x44, 0x5e, 0xfd, 0x1b, 0x0d, 0xba, 0xce, 0x68, 0xa9, 0xe8, 0xa6, 0xb5, + 0x52, 0xf4, 0xf1, 0x34, 0x94, 0x1f, 0x0a, 0x9f, 0x05, 0x10, 0xf3, 0x00, 0x62, 0x21, 0xfd, 0xf7, + 0xb2, 0x55, 0x64, 0x65, 0x2a, 0x81, 0x9d, 0x68, 0xbb, 0xbb, 0xc9, 0x99, 0xef, 0x70, 0x27, 0x2d, + 0xfc, 0xf1, 0x4c, 0x94, 0xbd, 0xad, 0x3e, 0x1a, 0xec, 0xd9, 0xd6, 0xad, 0x1b, 0x9f, 0x15, 0x7e, + 0x14, 0x06, 0xa7, 0xa2, 0x74, 0x1e, 0x2d, 0x15, 0xc5, 0x69, 0x2d, 0xab, 0xe4, 0x2f, 0x45, 0xf7, + 0x4b, 0x2f, 0x8e, 0x46, 0xd6, 0x9f, 0x9e, 0xe5, 0xee, 0xa6, 0x85, 0x7f, 0x2a, 0x4a, 0xf3, 0x19, + 0xde, 0xa9, 0x68, 0xe6, 0xbd, 0xed, 0x9a, 0xc8, 0x01, 0x5b, 0xd3, 0xaf, 0x78, 0xb3, 0x35, 0x6f, + 0xf6, 0x1c, 0xc2, 0xc4, 0xb9, 0x7b, 0xa5, 0xa8, 0xb1, 0x54, 0x54, 0xfb, 0x5d, 0xfd, 0x19, 0x3d, + 0xb8, 0xb8, 0xa4, 0xc6, 0x97, 0x4b, 0x8a, 0x2e, 0xbe, 0x51, 0xf4, 0xe3, 0xfb, 0x51, 0x67, 0x0d, + 0xc4, 0x7a, 0x81, 0xef, 0xfd, 0xbd, 0x97, 0x69, 0xe3, 0x9d, 0x73, 0x2f, 0x2a, 0x44, 0xfd, 0x94, + 0xae, 0xf3, 0x70, 0xa5, 0x68, 0x4f, 0x3f, 0x9c, 0x8b, 0x89, 0x7d, 0x7c, 0x3c, 0x7c, 0xca, 0x1a, + 0xb3, 0xab, 0xad, 0xce, 0xd9, 0xd5, 0x9c, 0xa0, 0xeb, 0x39, 0x41, 0x37, 0x73, 0x82, 0x7e, 0xce, + 0x09, 0xfa, 0xbc, 0x20, 0xc6, 0xf5, 0x82, 0x18, 0x37, 0x0b, 0x62, 0xbc, 0xb5, 0x5b, 0x50, 0x2b, + 0x2e, 0x47, 0x89, 0x90, 0x1f, 0x21, 0x9b, 0xf1, 0xe6, 0x06, 0x3f, 0xfd, 0x7b, 0x85, 0xfe, 0x6e, + 0x7d, 0x21, 0x4f, 0x7e, 0x07, 0x00, 0x00, 0xff, 0xff, 0x7d, 0x7c, 0x0e, 0x0e, 0xa8, 0x02, 0x00, + 0x00, } func (m *MorseAccountState) Marshal() (dAtA []byte, err error) { From 6f4e99210930dbcbd088321c3ec600ec21cf0e56 Mon Sep 17 00:00:00 2001 From: Bryan White Date: Thu, 6 Feb 2025 12:35:55 +0100 Subject: [PATCH 7/9] chore: review improvements --- cmd/poktrolld/cmd/migrate/migrate.go | 4 ++ cmd/poktrolld/cmd/migrate/types.go | 65 ++++++++-------------------- 2 files changed, 21 insertions(+), 48 deletions(-) diff --git a/cmd/poktrolld/cmd/migrate/migrate.go b/cmd/poktrolld/cmd/migrate/migrate.go index 8c7eaff05..dcde694f8 100644 --- a/cmd/poktrolld/cmd/migrate/migrate.go +++ b/cmd/poktrolld/cmd/migrate/migrate.go @@ -244,6 +244,8 @@ func collectInputApplicationStakes(inputState *migrationtypes.MorseStateExport, appAddr, err, ) } + + morseWorkspace.lastAccTotalAppStake = morseWorkspace.lastAccTotalAppStake.Add(appStakeAmtUpokt) } return nil } @@ -270,6 +272,8 @@ func collectInputSupplierStakes(inputState *migrationtypes.MorseStateExport, mor supplierAddr, err, ) } + + morseWorkspace.lastAccTotalSupplierStake = morseWorkspace.lastAccTotalSupplierStake.Add(supplierStakeAmtUpokt) } return nil } diff --git a/cmd/poktrolld/cmd/migrate/types.go b/cmd/poktrolld/cmd/migrate/types.go index 50d660b72..ba043773e 100644 --- a/cmd/poktrolld/cmd/migrate/types.go +++ b/cmd/poktrolld/cmd/migrate/types.go @@ -66,26 +66,22 @@ func (miw *morseImportWorkspace) hasAccount(addr string) bool { return ok } -// TODO_IN_THIS_COMMIT: godoc... +// debugLogProgress prints debug level logs indicating the progress of the import, +// according to flagDebugAccountsPerLog. func (miw *morseImportWorkspace) debugLogProgress(accountIdx int) { - totalBalance := miw.totalBalance() - totalAppStake := miw.totalAppStake() - totalSupplierStake := miw.totalSupplierStake() - grandTotal := totalBalance.Add(totalAppStake).Add(totalSupplierStake) - logger.Debug(). Int("account_idx", accountIdx). Uint64("num_accounts", miw.numAccounts). Uint64("num_applications", miw.numApplications). Uint64("num_suppliers", miw.numSuppliers). - Str("total_balance", totalBalance.String()). - Str("total_app_stake", totalAppStake.String()). - Str("total_supplier_stake", totalSupplierStake.String()). - Str("grand_total", grandTotal.String()). + Str("total_balance", miw.lastAccTotalBalance.String()). + Str("total_app_stake", miw.lastAccTotalAppStake.String()). + Str("total_supplier_stake", miw.lastAccTotalSupplierStake.String()). + Str("grand_total", miw.lastAccGrandTotal().String()). Msg("processing accounts...") } -// TODO_IN_THIS_COMMIT: godoc... +// infoLogComplete prints info level logs indicating the completion of the import. func (miw *morseImportWorkspace) infoLogComplete() error { accountStateHash, err := miw.accountState.GetHash() if err != nil { @@ -96,48 +92,21 @@ func (miw *morseImportWorkspace) infoLogComplete() error { Uint64("num_accounts", miw.numAccounts). Uint64("num_applications", miw.numApplications). Uint64("num_suppliers", miw.numSuppliers). - Str("total_balance", miw.totalBalance().String()). - Str("total_app_stake", miw.totalAppStake().String()). - Str("total_supplier_stake", miw.totalSupplierStake().String()). - Str("grand_total", miw.grandTotal().String()). + Str("total_balance", miw.lastAccTotalBalance.String()). + Str("total_app_stake", miw.lastAccTotalAppStake.String()). + Str("total_supplier_stake", miw.lastAccTotalSupplierStake.String()). + Str("grand_total", miw.lastAccGrandTotal().String()). Str("morse_account_state_hash", fmt.Sprintf("%x", accountStateHash)). Msg("processing accounts complete") return nil } -// TODO_IN_THIS_COMMIT: godoc... -func (miw *morseImportWorkspace) totalBalance() cosmosmath.Int { - miw.accumulateTotals() - return miw.lastAccTotalBalance -} - -// TODO_IN_THIS_COMMIT: godoc... -func (miw *morseImportWorkspace) totalAppStake() cosmosmath.Int { - miw.accumulateTotals() - return miw.lastAccTotalAppStake -} - -// TODO_IN_THIS_COMMIT: godoc... -func (miw *morseImportWorkspace) totalSupplierStake() cosmosmath.Int { - miw.accumulateTotals() - return miw.lastAccTotalSupplierStake -} - -// TODO_IN_THIS_COMMIT: godoc... -func (miw *morseImportWorkspace) grandTotal() cosmosmath.Int { - return miw.totalBalance(). - Add(miw.totalAppStake()). - Add(miw.totalSupplierStake()) -} - -// TODO_IN_THIS_COMMIT: godoc... -func (miw *morseImportWorkspace) accumulateTotals() { - for idx, account := range miw.accountState.Accounts[miw.lastAccAccountIdx:] { - miw.lastAccTotalBalance = miw.lastAccTotalBalance.Add(account.Coins[0].Amount) - miw.lastAccTotalAppStake = miw.lastAccTotalAppStake.Add(account.Coins[0].Amount) - miw.lastAccTotalSupplierStake = miw.lastAccTotalSupplierStake.Add(account.Coins[0].Amount) - miw.lastAccAccountIdx = uint64(idx) - } +// lastAccGrandTotal returns the sum of the lastAccTotalBalance, lastAccTotalAppStake, +// and lastAccTotalSupplierStake. +func (miw *morseImportWorkspace) lastAccGrandTotal() cosmosmath.Int { + return miw.lastAccTotalBalance. + Add(miw.lastAccTotalAppStake). + Add(miw.lastAccTotalSupplierStake) } // ensureAccount ensures that the given address is present in the accounts slice From 63c0790fb57a056b7d179f05fce3f59d7420a654 Mon Sep 17 00:00:00 2001 From: Bryan White Date: Thu, 6 Feb 2025 12:48:03 +0100 Subject: [PATCH 8/9] fix: linter error --- cmd/poktrolld/cmd/migrate/types.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cmd/poktrolld/cmd/migrate/types.go b/cmd/poktrolld/cmd/migrate/types.go index ba043773e..17cbca3b7 100644 --- a/cmd/poktrolld/cmd/migrate/types.go +++ b/cmd/poktrolld/cmd/migrate/types.go @@ -34,10 +34,6 @@ type morseImportWorkspace struct { // the input MorseStateExport into the output MorseAccountState. accountState *migrationtypes.MorseAccountState - // lastAccAccountIdx is the index at which the most recent accumulation/totaling - // (of actor counts, balances, and stakes) was performed such that the next - // accumulation/totaling operation may reuse previous accumulations values. - lastAccAccountIdx uint64 // lastAccTotalBalance is the most recently accumulated balances of all Morse // accounts which have been processed. lastAccTotalBalance cosmosmath.Int From 65729d27d01b6977715fb115e4c13c46b53d5c76 Mon Sep 17 00:00:00 2001 From: Bryan White Date: Thu, 6 Feb 2025 14:28:59 +0100 Subject: [PATCH 9/9] chore: review feedback improvements Co-authored-by: red-0ne --- x/migration/keeper/msg_server_morse_account_state.go | 4 ++++ x/migration/module/autocli.go | 7 ++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/x/migration/keeper/msg_server_morse_account_state.go b/x/migration/keeper/msg_server_morse_account_state.go index cc3d91083..4c30c9f6b 100644 --- a/x/migration/keeper/msg_server_morse_account_state.go +++ b/x/migration/keeper/msg_server_morse_account_state.go @@ -28,5 +28,9 @@ func (k msgServer) CreateMorseAccountState(goCtx context.Context, msg *types.Msg ctx, msg.MorseAccountState, ) + + // TODO_UPNEXT(@bryanchriswhite#1034): Emit an event... + + // TODO_UPNEXT(@bryanchriswhite#1034): Populate the response... return &types.MsgCreateMorseAccountStateResponse{}, nil } diff --git a/x/migration/module/autocli.go b/x/migration/module/autocli.go index 5bf8c9769..ce8e01995 100644 --- a/x/migration/module/autocli.go +++ b/x/migration/module/autocli.go @@ -39,11 +39,8 @@ func (am AppModule) AutoCLIOptions() *autocliv1.ModuleOptions { Skip: true, // skipped because authority gated }, { - RpcMethod: "CreateMorseAccountState", - Use: "create-morse-account-state [accounts]", - Short: "Create morse_account_state", - PositionalArgs: []*autocliv1.PositionalArgDescriptor{{ProtoField: "accounts"}}, - Skip: true, + RpcMethod: "CreateMorseAccountState", + Skip: true, // skipped because authority gated }, // this line is used by ignite scaffolding # autocli/tx },