decentralcardgame-cardchain-client-ts 0.0.31 → 0.0.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.d.ts +78 -78
- package/lib/index.js +23 -23
- package/package.json +5 -2
- package/cardchain.cardchain/index.ts +0 -6
- package/cardchain.cardchain/module.ts +0 -1869
- package/cardchain.cardchain/registry.ts +0 -111
- package/cardchain.cardchain/rest.ts +0 -655
- package/cardchain.cardchain/types.ts +0 -63
- package/cardchain.featureflag/index.ts +0 -6
- package/cardchain.featureflag/module.ts +0 -165
- package/cardchain.featureflag/registry.ts +0 -11
- package/cardchain.featureflag/rest.ts +0 -256
- package/cardchain.featureflag/types.ts +0 -9
- package/client.ts +0 -164
- package/cosmos.auth.v1beta1/index.ts +0 -6
- package/cosmos.auth.v1beta1/module.ts +0 -136
- package/cosmos.auth.v1beta1/registry.ts +0 -9
- package/cosmos.auth.v1beta1/rest.ts +0 -403
- package/cosmos.auth.v1beta1/types.ts +0 -13
- package/cosmos.authz.v1beta1/index.ts +0 -6
- package/cosmos.authz.v1beta1/module.ts +0 -206
- package/cosmos.authz.v1beta1/registry.ts +0 -13
- package/cosmos.authz.v1beta1/rest.ts +0 -256
- package/cosmos.authz.v1beta1/types.ts +0 -17
- package/cosmos.bank.v1beta1/index.ts +0 -6
- package/cosmos.bank.v1beta1/module.ts +0 -247
- package/cosmos.bank.v1beta1/registry.ts +0 -15
- package/cosmos.bank.v1beta1/rest.ts +0 -466
- package/cosmos.bank.v1beta1/types.ts +0 -25
- package/cosmos.base.node.v1beta1/index.ts +0 -6
- package/cosmos.base.node.v1beta1/module.ts +0 -95
- package/cosmos.base.node.v1beta1/registry.ts +0 -7
- package/cosmos.base.node.v1beta1/rest.ts +0 -235
- package/cosmos.base.node.v1beta1/types.ts +0 -5
- package/cosmos.base.tendermint.v1beta1/index.ts +0 -6
- package/cosmos.base.tendermint.v1beta1/module.ts +0 -109
- package/cosmos.base.tendermint.v1beta1/registry.ts +0 -7
- package/cosmos.base.tendermint.v1beta1/rest.ts +0 -340
- package/cosmos.base.tendermint.v1beta1/types.ts +0 -19
- package/cosmos.circuit.v1/index.ts +0 -6
- package/cosmos.circuit.v1/module.ts +0 -198
- package/cosmos.circuit.v1/registry.ts +0 -13
- package/cosmos.circuit.v1/rest.ts +0 -256
- package/cosmos.circuit.v1/types.ts +0 -9
- package/cosmos.consensus.v1/index.ts +0 -6
- package/cosmos.consensus.v1/module.ts +0 -128
- package/cosmos.consensus.v1/registry.ts +0 -9
- package/cosmos.consensus.v1/rest.ts +0 -214
- package/cosmos.consensus.v1/types.ts +0 -5
- package/cosmos.crisis.v1beta1/index.ts +0 -6
- package/cosmos.crisis.v1beta1/module.ts +0 -161
- package/cosmos.crisis.v1beta1/registry.ts +0 -11
- package/cosmos.crisis.v1beta1/rest.ts +0 -193
- package/cosmos.crisis.v1beta1/types.ts +0 -5
- package/cosmos.distribution.v1beta1/index.ts +0 -6
- package/cosmos.distribution.v1beta1/module.ts +0 -364
- package/cosmos.distribution.v1beta1/registry.ts +0 -21
- package/cosmos.distribution.v1beta1/rest.ts +0 -403
- package/cosmos.distribution.v1beta1/types.ts +0 -43
- package/cosmos.evidence.v1beta1/index.ts +0 -6
- package/cosmos.evidence.v1beta1/module.ts +0 -130
- package/cosmos.evidence.v1beta1/registry.ts +0 -9
- package/cosmos.evidence.v1beta1/rest.ts +0 -235
- package/cosmos.evidence.v1beta1/types.ts +0 -7
- package/cosmos.feegrant.v1beta1/index.ts +0 -6
- package/cosmos.feegrant.v1beta1/module.ts +0 -202
- package/cosmos.feegrant.v1beta1/registry.ts +0 -13
- package/cosmos.feegrant.v1beta1/rest.ts +0 -256
- package/cosmos.feegrant.v1beta1/types.ts +0 -13
- package/cosmos.gov.v1/index.ts +0 -6
- package/cosmos.gov.v1/module.ts +0 -344
- package/cosmos.gov.v1/registry.ts +0 -21
- package/cosmos.gov.v1/rest.ts +0 -382
- package/cosmos.gov.v1/types.ts +0 -23
- package/cosmos.gov.v1beta1/index.ts +0 -6
- package/cosmos.gov.v1beta1/module.ts +0 -245
- package/cosmos.gov.v1beta1/registry.ts +0 -15
- package/cosmos.gov.v1beta1/rest.ts +0 -361
- package/cosmos.gov.v1beta1/types.ts +0 -23
- package/cosmos.group.v1/index.ts +0 -6
- package/cosmos.group.v1/module.ts +0 -599
- package/cosmos.group.v1/registry.ts +0 -35
- package/cosmos.group.v1/rest.ts +0 -487
- package/cosmos.group.v1/types.ts +0 -47
- package/cosmos.mint.v1beta1/index.ts +0 -6
- package/cosmos.mint.v1beta1/module.ts +0 -132
- package/cosmos.mint.v1beta1/registry.ts +0 -9
- package/cosmos.mint.v1beta1/rest.ts +0 -256
- package/cosmos.mint.v1beta1/types.ts +0 -9
- package/cosmos.nft.v1beta1/index.ts +0 -6
- package/cosmos.nft.v1beta1/module.ts +0 -140
- package/cosmos.nft.v1beta1/registry.ts +0 -9
- package/cosmos.nft.v1beta1/rest.ts +0 -340
- package/cosmos.nft.v1beta1/types.ts +0 -17
- package/cosmos.params.v1beta1/index.ts +0 -6
- package/cosmos.params.v1beta1/module.ts +0 -101
- package/cosmos.params.v1beta1/registry.ts +0 -7
- package/cosmos.params.v1beta1/rest.ts +0 -235
- package/cosmos.params.v1beta1/types.ts +0 -11
- package/cosmos.slashing.v1beta1/index.ts +0 -6
- package/cosmos.slashing.v1beta1/module.ts +0 -171
- package/cosmos.slashing.v1beta1/registry.ts +0 -11
- package/cosmos.slashing.v1beta1/rest.ts +0 -256
- package/cosmos.slashing.v1beta1/types.ts +0 -15
- package/cosmos.staking.v1beta1/index.ts +0 -6
- package/cosmos.staking.v1beta1/module.ts +0 -374
- package/cosmos.staking.v1beta1/registry.ts +0 -21
- package/cosmos.staking.v1beta1/rest.ts +0 -487
- package/cosmos.staking.v1beta1/types.ts +0 -53
- package/cosmos.tx.v1beta1/index.ts +0 -6
- package/cosmos.tx.v1beta1/module.ts +0 -121
- package/cosmos.tx.v1beta1/registry.ts +0 -7
- package/cosmos.tx.v1beta1/rest.ts +0 -382
- package/cosmos.tx.v1beta1/types.ts +0 -31
- package/cosmos.upgrade.v1beta1/index.ts +0 -6
- package/cosmos.upgrade.v1beta1/module.ts +0 -169
- package/cosmos.upgrade.v1beta1/registry.ts +0 -11
- package/cosmos.upgrade.v1beta1/rest.ts +0 -298
- package/cosmos.upgrade.v1beta1/types.ts +0 -13
- package/cosmos.vesting.v1beta1/index.ts +0 -6
- package/cosmos.vesting.v1beta1/module.ts +0 -206
- package/cosmos.vesting.v1beta1/registry.ts +0 -13
- package/cosmos.vesting.v1beta1/rest.ts +0 -193
- package/cosmos.vesting.v1beta1/types.ts +0 -17
- package/env.ts +0 -7
- package/helpers.ts +0 -32
- package/ibc.applications.fee.v1/index.ts +0 -6
- package/ibc.applications.fee.v1/module.ts +0 -247
- package/ibc.applications.fee.v1/registry.ts +0 -15
- package/ibc.applications.fee.v1/rest.ts +0 -403
- package/ibc.applications.fee.v1/types.ts +0 -25
- package/ibc.applications.interchain_accounts.controller.v1/index.ts +0 -6
- package/ibc.applications.interchain_accounts.controller.v1/module.ts +0 -196
- package/ibc.applications.interchain_accounts.controller.v1/registry.ts +0 -13
- package/ibc.applications.interchain_accounts.controller.v1/rest.ts +0 -235
- package/ibc.applications.interchain_accounts.controller.v1/types.ts +0 -7
- package/ibc.applications.interchain_accounts.host.v1/index.ts +0 -6
- package/ibc.applications.interchain_accounts.host.v1/module.ts +0 -165
- package/ibc.applications.interchain_accounts.host.v1/registry.ts +0 -11
- package/ibc.applications.interchain_accounts.host.v1/rest.ts +0 -214
- package/ibc.applications.interchain_accounts.host.v1/types.ts +0 -9
- package/ibc.applications.transfer.v1/index.ts +0 -6
- package/ibc.applications.transfer.v1/module.ts +0 -169
- package/ibc.applications.transfer.v1/registry.ts +0 -11
- package/ibc.applications.transfer.v1/rest.ts +0 -319
- package/ibc.applications.transfer.v1/types.ts +0 -13
- package/ibc.core.channel.v1/index.ts +0 -6
- package/ibc.core.channel.v1/module.ts +0 -748
- package/ibc.core.channel.v1/registry.ts +0 -45
- package/ibc.core.channel.v1/rest.ts +0 -550
- package/ibc.core.channel.v1/types.ts +0 -31
- package/ibc.core.client.v1/index.ts +0 -6
- package/ibc.core.client.v1/module.ts +0 -344
- package/ibc.core.client.v1/registry.ts +0 -21
- package/ibc.core.client.v1/rest.ts +0 -403
- package/ibc.core.client.v1/types.ts +0 -23
- package/ibc.core.connection.v1/index.ts +0 -6
- package/ibc.core.connection.v1/module.ts +0 -274
- package/ibc.core.connection.v1/registry.ts +0 -17
- package/ibc.core.connection.v1/rest.ts +0 -319
- package/ibc.core.connection.v1/types.ts +0 -19
- package/index.ts +0 -81
- package/modules.ts +0 -5
- package/tsconfig.json +0 -13
- package/types/amino/amino.ts +0 -9
- package/types/capability/v1/capability.ts +0 -263
- package/types/capability/v1/genesis.ts +0 -220
- package/types/cardchain/cardchain/card.ts +0 -712
- package/types/cardchain/cardchain/card_content.ts +0 -116
- package/types/cardchain/cardchain/card_with_image.ts +0 -134
- package/types/cardchain/cardchain/council.ts +0 -502
- package/types/cardchain/cardchain/encounter.ts +0 -307
- package/types/cardchain/cardchain/encounter_with_image.ts +0 -119
- package/types/cardchain/cardchain/genesis.ts +0 -403
- package/types/cardchain/cardchain/image.ts +0 -122
- package/types/cardchain/cardchain/match.ts +0 -453
- package/types/cardchain/cardchain/module/module.ts +0 -99
- package/types/cardchain/cardchain/params.ts +0 -544
- package/types/cardchain/cardchain/query.ts +0 -3786
- package/types/cardchain/cardchain/running_average.ts +0 -116
- package/types/cardchain/cardchain/sell_offer.ts +0 -224
- package/types/cardchain/cardchain/server.ts +0 -144
- package/types/cardchain/cardchain/set.ts +0 -537
- package/types/cardchain/cardchain/set_with_artwork.ts +0 -142
- package/types/cardchain/cardchain/tx.ts +0 -8053
- package/types/cardchain/cardchain/user.ts +0 -955
- package/types/cardchain/cardchain/voting.ts +0 -328
- package/types/cardchain/cardchain/voting_results.ts +0 -227
- package/types/cardchain/cardchain/zealy.ts +0 -116
- package/types/cardchain/featureflag/flag.ts +0 -133
- package/types/cardchain/featureflag/genesis.ts +0 -226
- package/types/cardchain/featureflag/module/module.ts +0 -99
- package/types/cardchain/featureflag/params.ts +0 -78
- package/types/cardchain/featureflag/query.ts +0 -445
- package/types/cardchain/featureflag/tx.ts +0 -373
- package/types/cosmos/app/runtime/v1alpha1/module.ts +0 -389
- package/types/cosmos/app/v1alpha1/config.ts +0 -346
- package/types/cosmos/app/v1alpha1/module.ts +0 -348
- package/types/cosmos/app/v1alpha1/query.ts +0 -175
- package/types/cosmos/auth/module/v1/module.ts +0 -229
- package/types/cosmos/auth/v1beta1/auth.ts +0 -531
- package/types/cosmos/auth/v1beta1/genesis.ts +0 -125
- package/types/cosmos/auth/v1beta1/query.ts +0 -1564
- package/types/cosmos/auth/v1beta1/tx.ts +0 -213
- package/types/cosmos/authz/module/v1/module.ts +0 -78
- package/types/cosmos/authz/v1beta1/authz.ts +0 -411
- package/types/cosmos/authz/v1beta1/event.ts +0 -241
- package/types/cosmos/authz/v1beta1/genesis.ts +0 -101
- package/types/cosmos/authz/v1beta1/query.ts +0 -643
- package/types/cosmos/authz/v1beta1/tx.ts +0 -574
- package/types/cosmos/autocli/v1/options.ts +0 -1049
- package/types/cosmos/autocli/v1/query.ts +0 -291
- package/types/cosmos/bank/module/v1/module.ts +0 -150
- package/types/cosmos/bank/v1beta1/authz.ts +0 -129
- package/types/cosmos/bank/v1beta1/bank.ts +0 -775
- package/types/cosmos/bank/v1beta1/genesis.ts +0 -277
- package/types/cosmos/bank/v1beta1/query.ts +0 -2424
- package/types/cosmos/bank/v1beta1/tx.ts +0 -697
- package/types/cosmos/base/abci/v1beta1/abci.ts +0 -1469
- package/types/cosmos/base/node/v1beta1/query.ts +0 -485
- package/types/cosmos/base/query/v1beta1/pagination.ts +0 -336
- package/types/cosmos/base/reflection/v1beta1/reflection.ts +0 -328
- package/types/cosmos/base/reflection/v2alpha1/reflection.ts +0 -2092
- package/types/cosmos/base/tendermint/v1beta1/query.ts +0 -2025
- package/types/cosmos/base/tendermint/v1beta1/types.ts +0 -548
- package/types/cosmos/base/v1beta1/coin.ts +0 -209
- package/types/cosmos/circuit/module/v1/module.ts +0 -99
- package/types/cosmos/circuit/v1/query.ts +0 -476
- package/types/cosmos/circuit/v1/tx.ts +0 -576
- package/types/cosmos/circuit/v1/types.ts +0 -362
- package/types/cosmos/consensus/module/v1/module.ts +0 -99
- package/types/cosmos/consensus/v1/query.ts +0 -181
- package/types/cosmos/consensus/v1/tx.ts +0 -271
- package/types/cosmos/crisis/module/v1/module.ts +0 -119
- package/types/cosmos/crisis/v1beta1/genesis.ts +0 -105
- package/types/cosmos/crisis/v1beta1/tx.ts +0 -367
- package/types/cosmos/crypto/ed25519/keys.ts +0 -195
- package/types/cosmos/crypto/hd/v1/hd.ts +0 -178
- package/types/cosmos/crypto/keyring/v1/record.ts +0 -440
- package/types/cosmos/crypto/multisig/keys.ts +0 -124
- package/types/cosmos/crypto/multisig/v1beta1/multisig.ts +0 -218
- package/types/cosmos/crypto/secp256k1/keys.ts +0 -192
- package/types/cosmos/crypto/secp256r1/keys.ts +0 -193
- package/types/cosmos/distribution/module/v1/module.ts +0 -118
- package/types/cosmos/distribution/v1beta1/distribution.ts +0 -1177
- package/types/cosmos/distribution/v1beta1/genesis.ts +0 -1028
- package/types/cosmos/distribution/v1beta1/query.ts +0 -1700
- package/types/cosmos/distribution/v1beta1/tx.ts +0 -1178
- package/types/cosmos/evidence/module/v1/module.ts +0 -78
- package/types/cosmos/evidence/v1beta1/evidence.ts +0 -194
- package/types/cosmos/evidence/v1beta1/genesis.ts +0 -98
- package/types/cosmos/evidence/v1beta1/query.ts +0 -414
- package/types/cosmos/evidence/v1beta1/tx.ts +0 -243
- package/types/cosmos/feegrant/module/v1/module.ts +0 -78
- package/types/cosmos/feegrant/v1beta1/feegrant.ts +0 -513
- package/types/cosmos/feegrant/v1beta1/genesis.ts +0 -101
- package/types/cosmos/feegrant/v1beta1/query.ts +0 -597
- package/types/cosmos/feegrant/v1beta1/tx.ts +0 -496
- package/types/cosmos/genutil/module/v1/module.ts +0 -78
- package/types/cosmos/genutil/v1beta1/genesis.ts +0 -122
- package/types/cosmos/gov/module/v1/module.ts +0 -133
- package/types/cosmos/gov/v1/genesis.ts +0 -313
- package/types/cosmos/gov/v1/gov.ts +0 -1712
- package/types/cosmos/gov/v1/query.ts +0 -1605
- package/types/cosmos/gov/v1/tx.ts +0 -1387
- package/types/cosmos/gov/v1beta1/genesis.ts +0 -241
- package/types/cosmos/gov/v1beta1/gov.ts +0 -1273
- package/types/cosmos/gov/v1beta1/query.ts +0 -1441
- package/types/cosmos/gov/v1beta1/tx.ts +0 -738
- package/types/cosmos/group/module/v1/module.ts +0 -141
- package/types/cosmos/group/v1/events.ts +0 -795
- package/types/cosmos/group/v1/genesis.ts +0 -265
- package/types/cosmos/group/v1/query.ts +0 -2441
- package/types/cosmos/group/v1/tx.ts +0 -2631
- package/types/cosmos/group/v1/types.ts +0 -1850
- package/types/cosmos/ics23/v1/proofs.ts +0 -1731
- package/types/cosmos/mint/module/v1/module.ts +0 -118
- package/types/cosmos/mint/v1beta1/genesis.ts +0 -126
- package/types/cosmos/mint/v1beta1/mint.ts +0 -293
- package/types/cosmos/mint/v1beta1/query.ts +0 -453
- package/types/cosmos/mint/v1beta1/tx.ts +0 -213
- package/types/cosmos/msg/textual/v1/textual.ts +0 -9
- package/types/cosmos/msg/v1/msg.ts +0 -9
- package/types/cosmos/nft/module/v1/module.ts +0 -78
- package/types/cosmos/nft/v1beta1/event.ts +0 -359
- package/types/cosmos/nft/v1beta1/genesis.ts +0 -204
- package/types/cosmos/nft/v1beta1/nft.ts +0 -348
- package/types/cosmos/nft/v1beta1/query.ts +0 -1173
- package/types/cosmos/nft/v1beta1/tx.ts +0 -228
- package/types/cosmos/orm/module/v1alpha1/module.ts +0 -82
- package/types/cosmos/orm/query/v1alpha1/query.ts +0 -933
- package/types/cosmos/orm/v1/orm.ts +0 -453
- package/types/cosmos/orm/v1alpha1/schema.ts +0 -321
- package/types/cosmos/params/module/v1/module.ts +0 -78
- package/types/cosmos/params/v1beta1/params.ts +0 -236
- package/types/cosmos/params/v1beta1/query.ts +0 -439
- package/types/cosmos/query/v1/query.ts +0 -9
- package/types/cosmos/reflection/v1/reflection.ts +0 -179
- package/types/cosmos/slashing/module/v1/module.ts +0 -99
- package/types/cosmos/slashing/v1beta1/genesis.ts +0 -424
- package/types/cosmos/slashing/v1beta1/query.ts +0 -487
- package/types/cosmos/slashing/v1beta1/slashing.ts +0 -422
- package/types/cosmos/slashing/v1beta1/tx.ts +0 -336
- package/types/cosmos/staking/module/v1/module.ts +0 -161
- package/types/cosmos/staking/v1beta1/authz.ts +0 -306
- package/types/cosmos/staking/v1beta1/genesis.ts +0 -377
- package/types/cosmos/staking/v1beta1/query.ts +0 -2540
- package/types/cosmos/staking/v1beta1/staking.ts +0 -2576
- package/types/cosmos/staking/v1beta1/tx.ts +0 -1433
- package/types/cosmos/store/internal/kv/v1beta1/kv.ts +0 -205
- package/types/cosmos/store/snapshots/v1/snapshot.ts +0 -746
- package/types/cosmos/store/streaming/abci/grpc.ts +0 -367
- package/types/cosmos/store/v1beta1/commit_info.ts +0 -370
- package/types/cosmos/store/v1beta1/listening.ts +0 -301
- package/types/cosmos/tx/config/v1/config.ts +0 -125
- package/types/cosmos/tx/signing/v1beta1/signing.ts +0 -630
- package/types/cosmos/tx/v1beta1/service.ts +0 -1889
- package/types/cosmos/tx/v1beta1/tx.ts +0 -1657
- package/types/cosmos/upgrade/module/v1/module.ts +0 -99
- package/types/cosmos/upgrade/v1beta1/query.ts +0 -819
- package/types/cosmos/upgrade/v1beta1/tx.ts +0 -340
- package/types/cosmos/upgrade/v1beta1/upgrade.ts +0 -525
- package/types/cosmos/vesting/module/v1/module.ts +0 -78
- package/types/cosmos/vesting/v1beta1/tx.ts +0 -640
- package/types/cosmos/vesting/v1beta1/vesting.ts +0 -624
- package/types/cosmos_proto/cosmos.ts +0 -307
- package/types/gogoproto/gogo.ts +0 -9
- package/types/google/api/annotations.ts +0 -9
- package/types/google/api/http.ts +0 -770
- package/types/google/protobuf/any.ts +0 -259
- package/types/google/protobuf/descriptor.ts +0 -6642
- package/types/google/protobuf/duration.ts +0 -200
- package/types/google/protobuf/timestamp.ts +0 -229
- package/types/ibc/applications/fee/v1/ack.ts +0 -166
- package/types/ibc/applications/fee/v1/fee.ts +0 -403
- package/types/ibc/applications/fee/v1/genesis.ts +0 -571
- package/types/ibc/applications/fee/v1/metadata.ts +0 -122
- package/types/ibc/applications/fee/v1/query.ts +0 -1757
- package/types/ibc/applications/fee/v1/tx.ts +0 -781
- package/types/ibc/applications/interchain_accounts/controller/v1/controller.ts +0 -104
- package/types/ibc/applications/interchain_accounts/controller/v1/query.ts +0 -333
- package/types/ibc/applications/interchain_accounts/controller/v1/tx.ts +0 -619
- package/types/ibc/applications/interchain_accounts/genesis/v1/genesis.ts +0 -590
- package/types/ibc/applications/interchain_accounts/host/v1/host.ts +0 -242
- package/types/ibc/applications/interchain_accounts/host/v1/query.ts +0 -175
- package/types/ibc/applications/interchain_accounts/host/v1/tx.ts +0 -416
- package/types/ibc/applications/interchain_accounts/v1/account.ts +0 -120
- package/types/ibc/applications/interchain_accounts/v1/metadata.ts +0 -199
- package/types/ibc/applications/interchain_accounts/v1/packet.ts +0 -264
- package/types/ibc/applications/transfer/v1/authz.ts +0 -254
- package/types/ibc/applications/transfer/v1/genesis.ts +0 -165
- package/types/ibc/applications/transfer/v1/query.ts +0 -934
- package/types/ibc/applications/transfer/v1/transfer.ts +0 -220
- package/types/ibc/applications/transfer/v1/tx.ts +0 -505
- package/types/ibc/applications/transfer/v2/packet.ts +0 -177
- package/types/ibc/core/channel/v1/channel.ts +0 -1358
- package/types/ibc/core/channel/v1/genesis.ts +0 -377
- package/types/ibc/core/channel/v1/query.ts +0 -3781
- package/types/ibc/core/channel/v1/tx.ts +0 -4424
- package/types/ibc/core/channel/v1/upgrade.ts +0 -348
- package/types/ibc/core/client/v1/client.ts +0 -753
- package/types/ibc/core/client/v1/genesis.ts +0 -423
- package/types/ibc/core/client/v1/query.ts +0 -1898
- package/types/ibc/core/client/v1/tx.ts +0 -1301
- package/types/ibc/core/commitment/v1/commitment.ts +0 -336
- package/types/ibc/core/connection/v1/connection.ts +0 -840
- package/types/ibc/core/connection/v1/genesis.ts +0 -172
- package/types/ibc/core/connection/v1/query.ts +0 -1243
- package/types/ibc/core/connection/v1/tx.ts +0 -1352
- package/types/ibc/core/types/v1/genesis.ts +0 -150
- package/types/ibc/lightclients/localhost/v2/localhost.ts +0 -102
- package/types/ibc/lightclients/solomachine/v2/solomachine.ts +0 -1765
- package/types/ibc/lightclients/solomachine/v3/solomachine.ts +0 -945
- package/types/ibc/lightclients/tendermint/v1/tendermint.ts +0 -853
- package/types/ibc/lightclients/wasm/v1/genesis.ts +0 -192
- package/types/ibc/lightclients/wasm/v1/query.ts +0 -377
- package/types/ibc/lightclients/wasm/v1/tx.ts +0 -550
- package/types/ibc/lightclients/wasm/v1/wasm.ts +0 -370
- package/types/tendermint/abci/types.ts +0 -6103
- package/types/tendermint/crypto/keys.ts +0 -142
- package/types/tendermint/crypto/proof.ts +0 -533
- package/types/tendermint/libs/bits/types.ts +0 -139
- package/types/tendermint/p2p/types.ts +0 -544
- package/types/tendermint/types/block.ts +0 -158
- package/types/tendermint/types/evidence.ts +0 -502
- package/types/tendermint/types/params.ts +0 -701
- package/types/tendermint/types/types.ts +0 -2133
- package/types/tendermint/types/validator.ts +0 -424
- package/types/tendermint/version/types.ts +0 -218
- package/types.d.ts +0 -21
|
@@ -1,439 +0,0 @@
|
|
|
1
|
-
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
|
-
// versions:
|
|
3
|
-
// protoc-gen-ts_proto v2.6.1
|
|
4
|
-
// protoc unknown
|
|
5
|
-
// source: cosmos/params/v1beta1/query.proto
|
|
6
|
-
|
|
7
|
-
/* eslint-disable */
|
|
8
|
-
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
9
|
-
import { ParamChange } from "./params";
|
|
10
|
-
|
|
11
|
-
export const protobufPackage = "cosmos.params.v1beta1";
|
|
12
|
-
|
|
13
|
-
/** QueryParamsRequest is request type for the Query/Params RPC method. */
|
|
14
|
-
export interface QueryParamsRequest {
|
|
15
|
-
/** subspace defines the module to query the parameter for. */
|
|
16
|
-
subspace: string;
|
|
17
|
-
/** key defines the key of the parameter in the subspace. */
|
|
18
|
-
key: string;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
/** QueryParamsResponse is response type for the Query/Params RPC method. */
|
|
22
|
-
export interface QueryParamsResponse {
|
|
23
|
-
/** param defines the queried parameter. */
|
|
24
|
-
param: ParamChange | undefined;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* QuerySubspacesRequest defines a request type for querying for all registered
|
|
29
|
-
* subspaces and all keys for a subspace.
|
|
30
|
-
*
|
|
31
|
-
* Since: cosmos-sdk 0.46
|
|
32
|
-
*/
|
|
33
|
-
export interface QuerySubspacesRequest {
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* QuerySubspacesResponse defines the response types for querying for all
|
|
38
|
-
* registered subspaces and all keys for a subspace.
|
|
39
|
-
*
|
|
40
|
-
* Since: cosmos-sdk 0.46
|
|
41
|
-
*/
|
|
42
|
-
export interface QuerySubspacesResponse {
|
|
43
|
-
subspaces: Subspace[];
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* Subspace defines a parameter subspace name and all the keys that exist for
|
|
48
|
-
* the subspace.
|
|
49
|
-
*
|
|
50
|
-
* Since: cosmos-sdk 0.46
|
|
51
|
-
*/
|
|
52
|
-
export interface Subspace {
|
|
53
|
-
subspace: string;
|
|
54
|
-
keys: string[];
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
function createBaseQueryParamsRequest(): QueryParamsRequest {
|
|
58
|
-
return { subspace: "", key: "" };
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
export const QueryParamsRequest: MessageFns<QueryParamsRequest> = {
|
|
62
|
-
encode(message: QueryParamsRequest, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
|
|
63
|
-
if (message.subspace !== "") {
|
|
64
|
-
writer.uint32(10).string(message.subspace);
|
|
65
|
-
}
|
|
66
|
-
if (message.key !== "") {
|
|
67
|
-
writer.uint32(18).string(message.key);
|
|
68
|
-
}
|
|
69
|
-
return writer;
|
|
70
|
-
},
|
|
71
|
-
|
|
72
|
-
decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsRequest {
|
|
73
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
74
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
75
|
-
const message = createBaseQueryParamsRequest();
|
|
76
|
-
while (reader.pos < end) {
|
|
77
|
-
const tag = reader.uint32();
|
|
78
|
-
switch (tag >>> 3) {
|
|
79
|
-
case 1: {
|
|
80
|
-
if (tag !== 10) {
|
|
81
|
-
break;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
message.subspace = reader.string();
|
|
85
|
-
continue;
|
|
86
|
-
}
|
|
87
|
-
case 2: {
|
|
88
|
-
if (tag !== 18) {
|
|
89
|
-
break;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
message.key = reader.string();
|
|
93
|
-
continue;
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
97
|
-
break;
|
|
98
|
-
}
|
|
99
|
-
reader.skip(tag & 7);
|
|
100
|
-
}
|
|
101
|
-
return message;
|
|
102
|
-
},
|
|
103
|
-
|
|
104
|
-
fromJSON(object: any): QueryParamsRequest {
|
|
105
|
-
return {
|
|
106
|
-
subspace: isSet(object.subspace) ? globalThis.String(object.subspace) : "",
|
|
107
|
-
key: isSet(object.key) ? globalThis.String(object.key) : "",
|
|
108
|
-
};
|
|
109
|
-
},
|
|
110
|
-
|
|
111
|
-
toJSON(message: QueryParamsRequest): unknown {
|
|
112
|
-
const obj: any = {};
|
|
113
|
-
if (message.subspace !== "") {
|
|
114
|
-
obj.subspace = message.subspace;
|
|
115
|
-
}
|
|
116
|
-
if (message.key !== "") {
|
|
117
|
-
obj.key = message.key;
|
|
118
|
-
}
|
|
119
|
-
return obj;
|
|
120
|
-
},
|
|
121
|
-
|
|
122
|
-
create<I extends Exact<DeepPartial<QueryParamsRequest>, I>>(base?: I): QueryParamsRequest {
|
|
123
|
-
return QueryParamsRequest.fromPartial(base ?? ({} as any));
|
|
124
|
-
},
|
|
125
|
-
fromPartial<I extends Exact<DeepPartial<QueryParamsRequest>, I>>(object: I): QueryParamsRequest {
|
|
126
|
-
const message = createBaseQueryParamsRequest();
|
|
127
|
-
message.subspace = object.subspace ?? "";
|
|
128
|
-
message.key = object.key ?? "";
|
|
129
|
-
return message;
|
|
130
|
-
},
|
|
131
|
-
};
|
|
132
|
-
|
|
133
|
-
function createBaseQueryParamsResponse(): QueryParamsResponse {
|
|
134
|
-
return { param: undefined };
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
export const QueryParamsResponse: MessageFns<QueryParamsResponse> = {
|
|
138
|
-
encode(message: QueryParamsResponse, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
|
|
139
|
-
if (message.param !== undefined) {
|
|
140
|
-
ParamChange.encode(message.param, writer.uint32(10).fork()).join();
|
|
141
|
-
}
|
|
142
|
-
return writer;
|
|
143
|
-
},
|
|
144
|
-
|
|
145
|
-
decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsResponse {
|
|
146
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
147
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
148
|
-
const message = createBaseQueryParamsResponse();
|
|
149
|
-
while (reader.pos < end) {
|
|
150
|
-
const tag = reader.uint32();
|
|
151
|
-
switch (tag >>> 3) {
|
|
152
|
-
case 1: {
|
|
153
|
-
if (tag !== 10) {
|
|
154
|
-
break;
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
message.param = ParamChange.decode(reader, reader.uint32());
|
|
158
|
-
continue;
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
162
|
-
break;
|
|
163
|
-
}
|
|
164
|
-
reader.skip(tag & 7);
|
|
165
|
-
}
|
|
166
|
-
return message;
|
|
167
|
-
},
|
|
168
|
-
|
|
169
|
-
fromJSON(object: any): QueryParamsResponse {
|
|
170
|
-
return { param: isSet(object.param) ? ParamChange.fromJSON(object.param) : undefined };
|
|
171
|
-
},
|
|
172
|
-
|
|
173
|
-
toJSON(message: QueryParamsResponse): unknown {
|
|
174
|
-
const obj: any = {};
|
|
175
|
-
if (message.param !== undefined) {
|
|
176
|
-
obj.param = ParamChange.toJSON(message.param);
|
|
177
|
-
}
|
|
178
|
-
return obj;
|
|
179
|
-
},
|
|
180
|
-
|
|
181
|
-
create<I extends Exact<DeepPartial<QueryParamsResponse>, I>>(base?: I): QueryParamsResponse {
|
|
182
|
-
return QueryParamsResponse.fromPartial(base ?? ({} as any));
|
|
183
|
-
},
|
|
184
|
-
fromPartial<I extends Exact<DeepPartial<QueryParamsResponse>, I>>(object: I): QueryParamsResponse {
|
|
185
|
-
const message = createBaseQueryParamsResponse();
|
|
186
|
-
message.param = (object.param !== undefined && object.param !== null)
|
|
187
|
-
? ParamChange.fromPartial(object.param)
|
|
188
|
-
: undefined;
|
|
189
|
-
return message;
|
|
190
|
-
},
|
|
191
|
-
};
|
|
192
|
-
|
|
193
|
-
function createBaseQuerySubspacesRequest(): QuerySubspacesRequest {
|
|
194
|
-
return {};
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
export const QuerySubspacesRequest: MessageFns<QuerySubspacesRequest> = {
|
|
198
|
-
encode(_: QuerySubspacesRequest, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
|
|
199
|
-
return writer;
|
|
200
|
-
},
|
|
201
|
-
|
|
202
|
-
decode(input: BinaryReader | Uint8Array, length?: number): QuerySubspacesRequest {
|
|
203
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
204
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
205
|
-
const message = createBaseQuerySubspacesRequest();
|
|
206
|
-
while (reader.pos < end) {
|
|
207
|
-
const tag = reader.uint32();
|
|
208
|
-
switch (tag >>> 3) {
|
|
209
|
-
}
|
|
210
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
211
|
-
break;
|
|
212
|
-
}
|
|
213
|
-
reader.skip(tag & 7);
|
|
214
|
-
}
|
|
215
|
-
return message;
|
|
216
|
-
},
|
|
217
|
-
|
|
218
|
-
fromJSON(_: any): QuerySubspacesRequest {
|
|
219
|
-
return {};
|
|
220
|
-
},
|
|
221
|
-
|
|
222
|
-
toJSON(_: QuerySubspacesRequest): unknown {
|
|
223
|
-
const obj: any = {};
|
|
224
|
-
return obj;
|
|
225
|
-
},
|
|
226
|
-
|
|
227
|
-
create<I extends Exact<DeepPartial<QuerySubspacesRequest>, I>>(base?: I): QuerySubspacesRequest {
|
|
228
|
-
return QuerySubspacesRequest.fromPartial(base ?? ({} as any));
|
|
229
|
-
},
|
|
230
|
-
fromPartial<I extends Exact<DeepPartial<QuerySubspacesRequest>, I>>(_: I): QuerySubspacesRequest {
|
|
231
|
-
const message = createBaseQuerySubspacesRequest();
|
|
232
|
-
return message;
|
|
233
|
-
},
|
|
234
|
-
};
|
|
235
|
-
|
|
236
|
-
function createBaseQuerySubspacesResponse(): QuerySubspacesResponse {
|
|
237
|
-
return { subspaces: [] };
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
export const QuerySubspacesResponse: MessageFns<QuerySubspacesResponse> = {
|
|
241
|
-
encode(message: QuerySubspacesResponse, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
|
|
242
|
-
for (const v of message.subspaces) {
|
|
243
|
-
Subspace.encode(v!, writer.uint32(10).fork()).join();
|
|
244
|
-
}
|
|
245
|
-
return writer;
|
|
246
|
-
},
|
|
247
|
-
|
|
248
|
-
decode(input: BinaryReader | Uint8Array, length?: number): QuerySubspacesResponse {
|
|
249
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
250
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
251
|
-
const message = createBaseQuerySubspacesResponse();
|
|
252
|
-
while (reader.pos < end) {
|
|
253
|
-
const tag = reader.uint32();
|
|
254
|
-
switch (tag >>> 3) {
|
|
255
|
-
case 1: {
|
|
256
|
-
if (tag !== 10) {
|
|
257
|
-
break;
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
message.subspaces.push(Subspace.decode(reader, reader.uint32()));
|
|
261
|
-
continue;
|
|
262
|
-
}
|
|
263
|
-
}
|
|
264
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
265
|
-
break;
|
|
266
|
-
}
|
|
267
|
-
reader.skip(tag & 7);
|
|
268
|
-
}
|
|
269
|
-
return message;
|
|
270
|
-
},
|
|
271
|
-
|
|
272
|
-
fromJSON(object: any): QuerySubspacesResponse {
|
|
273
|
-
return {
|
|
274
|
-
subspaces: globalThis.Array.isArray(object?.subspaces)
|
|
275
|
-
? object.subspaces.map((e: any) => Subspace.fromJSON(e))
|
|
276
|
-
: [],
|
|
277
|
-
};
|
|
278
|
-
},
|
|
279
|
-
|
|
280
|
-
toJSON(message: QuerySubspacesResponse): unknown {
|
|
281
|
-
const obj: any = {};
|
|
282
|
-
if (message.subspaces?.length) {
|
|
283
|
-
obj.subspaces = message.subspaces.map((e) => Subspace.toJSON(e));
|
|
284
|
-
}
|
|
285
|
-
return obj;
|
|
286
|
-
},
|
|
287
|
-
|
|
288
|
-
create<I extends Exact<DeepPartial<QuerySubspacesResponse>, I>>(base?: I): QuerySubspacesResponse {
|
|
289
|
-
return QuerySubspacesResponse.fromPartial(base ?? ({} as any));
|
|
290
|
-
},
|
|
291
|
-
fromPartial<I extends Exact<DeepPartial<QuerySubspacesResponse>, I>>(object: I): QuerySubspacesResponse {
|
|
292
|
-
const message = createBaseQuerySubspacesResponse();
|
|
293
|
-
message.subspaces = object.subspaces?.map((e) => Subspace.fromPartial(e)) || [];
|
|
294
|
-
return message;
|
|
295
|
-
},
|
|
296
|
-
};
|
|
297
|
-
|
|
298
|
-
function createBaseSubspace(): Subspace {
|
|
299
|
-
return { subspace: "", keys: [] };
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
export const Subspace: MessageFns<Subspace> = {
|
|
303
|
-
encode(message: Subspace, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
|
|
304
|
-
if (message.subspace !== "") {
|
|
305
|
-
writer.uint32(10).string(message.subspace);
|
|
306
|
-
}
|
|
307
|
-
for (const v of message.keys) {
|
|
308
|
-
writer.uint32(18).string(v!);
|
|
309
|
-
}
|
|
310
|
-
return writer;
|
|
311
|
-
},
|
|
312
|
-
|
|
313
|
-
decode(input: BinaryReader | Uint8Array, length?: number): Subspace {
|
|
314
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
315
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
316
|
-
const message = createBaseSubspace();
|
|
317
|
-
while (reader.pos < end) {
|
|
318
|
-
const tag = reader.uint32();
|
|
319
|
-
switch (tag >>> 3) {
|
|
320
|
-
case 1: {
|
|
321
|
-
if (tag !== 10) {
|
|
322
|
-
break;
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
message.subspace = reader.string();
|
|
326
|
-
continue;
|
|
327
|
-
}
|
|
328
|
-
case 2: {
|
|
329
|
-
if (tag !== 18) {
|
|
330
|
-
break;
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
message.keys.push(reader.string());
|
|
334
|
-
continue;
|
|
335
|
-
}
|
|
336
|
-
}
|
|
337
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
338
|
-
break;
|
|
339
|
-
}
|
|
340
|
-
reader.skip(tag & 7);
|
|
341
|
-
}
|
|
342
|
-
return message;
|
|
343
|
-
},
|
|
344
|
-
|
|
345
|
-
fromJSON(object: any): Subspace {
|
|
346
|
-
return {
|
|
347
|
-
subspace: isSet(object.subspace) ? globalThis.String(object.subspace) : "",
|
|
348
|
-
keys: globalThis.Array.isArray(object?.keys) ? object.keys.map((e: any) => globalThis.String(e)) : [],
|
|
349
|
-
};
|
|
350
|
-
},
|
|
351
|
-
|
|
352
|
-
toJSON(message: Subspace): unknown {
|
|
353
|
-
const obj: any = {};
|
|
354
|
-
if (message.subspace !== "") {
|
|
355
|
-
obj.subspace = message.subspace;
|
|
356
|
-
}
|
|
357
|
-
if (message.keys?.length) {
|
|
358
|
-
obj.keys = message.keys;
|
|
359
|
-
}
|
|
360
|
-
return obj;
|
|
361
|
-
},
|
|
362
|
-
|
|
363
|
-
create<I extends Exact<DeepPartial<Subspace>, I>>(base?: I): Subspace {
|
|
364
|
-
return Subspace.fromPartial(base ?? ({} as any));
|
|
365
|
-
},
|
|
366
|
-
fromPartial<I extends Exact<DeepPartial<Subspace>, I>>(object: I): Subspace {
|
|
367
|
-
const message = createBaseSubspace();
|
|
368
|
-
message.subspace = object.subspace ?? "";
|
|
369
|
-
message.keys = object.keys?.map((e) => e) || [];
|
|
370
|
-
return message;
|
|
371
|
-
},
|
|
372
|
-
};
|
|
373
|
-
|
|
374
|
-
/** Query defines the gRPC querier service. */
|
|
375
|
-
export interface Query {
|
|
376
|
-
/**
|
|
377
|
-
* Params queries a specific parameter of a module, given its subspace and
|
|
378
|
-
* key.
|
|
379
|
-
*/
|
|
380
|
-
Params(request: QueryParamsRequest): Promise<QueryParamsResponse>;
|
|
381
|
-
/**
|
|
382
|
-
* Subspaces queries for all registered subspaces and all keys for a subspace.
|
|
383
|
-
*
|
|
384
|
-
* Since: cosmos-sdk 0.46
|
|
385
|
-
*/
|
|
386
|
-
Subspaces(request: QuerySubspacesRequest): Promise<QuerySubspacesResponse>;
|
|
387
|
-
}
|
|
388
|
-
|
|
389
|
-
export const QueryServiceName = "cosmos.params.v1beta1.Query";
|
|
390
|
-
export class QueryClientImpl implements Query {
|
|
391
|
-
private readonly rpc: Rpc;
|
|
392
|
-
private readonly service: string;
|
|
393
|
-
constructor(rpc: Rpc, opts?: { service?: string }) {
|
|
394
|
-
this.service = opts?.service || QueryServiceName;
|
|
395
|
-
this.rpc = rpc;
|
|
396
|
-
this.Params = this.Params.bind(this);
|
|
397
|
-
this.Subspaces = this.Subspaces.bind(this);
|
|
398
|
-
}
|
|
399
|
-
Params(request: QueryParamsRequest): Promise<QueryParamsResponse> {
|
|
400
|
-
const data = QueryParamsRequest.encode(request).finish();
|
|
401
|
-
const promise = this.rpc.request(this.service, "Params", data);
|
|
402
|
-
return promise.then((data) => QueryParamsResponse.decode(new BinaryReader(data)));
|
|
403
|
-
}
|
|
404
|
-
|
|
405
|
-
Subspaces(request: QuerySubspacesRequest): Promise<QuerySubspacesResponse> {
|
|
406
|
-
const data = QuerySubspacesRequest.encode(request).finish();
|
|
407
|
-
const promise = this.rpc.request(this.service, "Subspaces", data);
|
|
408
|
-
return promise.then((data) => QuerySubspacesResponse.decode(new BinaryReader(data)));
|
|
409
|
-
}
|
|
410
|
-
}
|
|
411
|
-
|
|
412
|
-
interface Rpc {
|
|
413
|
-
request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
|
|
414
|
-
}
|
|
415
|
-
|
|
416
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
417
|
-
|
|
418
|
-
export type DeepPartial<T> = T extends Builtin ? T
|
|
419
|
-
: T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>
|
|
420
|
-
: T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>
|
|
421
|
-
: T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }
|
|
422
|
-
: Partial<T>;
|
|
423
|
-
|
|
424
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
425
|
-
export type Exact<P, I extends P> = P extends Builtin ? P
|
|
426
|
-
: P & { [K in keyof P]: Exact<P[K], I[K]> } & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
|
|
427
|
-
|
|
428
|
-
function isSet(value: any): boolean {
|
|
429
|
-
return value !== null && value !== undefined;
|
|
430
|
-
}
|
|
431
|
-
|
|
432
|
-
export interface MessageFns<T> {
|
|
433
|
-
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
434
|
-
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
435
|
-
fromJSON(object: any): T;
|
|
436
|
-
toJSON(message: T): unknown;
|
|
437
|
-
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
438
|
-
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
439
|
-
}
|
|
@@ -1,179 +0,0 @@
|
|
|
1
|
-
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
|
-
// versions:
|
|
3
|
-
// protoc-gen-ts_proto v2.6.1
|
|
4
|
-
// protoc unknown
|
|
5
|
-
// source: cosmos/reflection/v1/reflection.proto
|
|
6
|
-
|
|
7
|
-
/* eslint-disable */
|
|
8
|
-
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
9
|
-
import { FileDescriptorProto } from "../../../google/protobuf/descriptor";
|
|
10
|
-
|
|
11
|
-
export const protobufPackage = "cosmos.reflection.v1";
|
|
12
|
-
|
|
13
|
-
/** FileDescriptorsRequest is the Query/FileDescriptors request type. */
|
|
14
|
-
export interface FileDescriptorsRequest {
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
/** FileDescriptorsResponse is the Query/FileDescriptors response type. */
|
|
18
|
-
export interface FileDescriptorsResponse {
|
|
19
|
-
/** files is the file descriptors. */
|
|
20
|
-
files: FileDescriptorProto[];
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
function createBaseFileDescriptorsRequest(): FileDescriptorsRequest {
|
|
24
|
-
return {};
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export const FileDescriptorsRequest: MessageFns<FileDescriptorsRequest> = {
|
|
28
|
-
encode(_: FileDescriptorsRequest, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
|
|
29
|
-
return writer;
|
|
30
|
-
},
|
|
31
|
-
|
|
32
|
-
decode(input: BinaryReader | Uint8Array, length?: number): FileDescriptorsRequest {
|
|
33
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
34
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
35
|
-
const message = createBaseFileDescriptorsRequest();
|
|
36
|
-
while (reader.pos < end) {
|
|
37
|
-
const tag = reader.uint32();
|
|
38
|
-
switch (tag >>> 3) {
|
|
39
|
-
}
|
|
40
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
41
|
-
break;
|
|
42
|
-
}
|
|
43
|
-
reader.skip(tag & 7);
|
|
44
|
-
}
|
|
45
|
-
return message;
|
|
46
|
-
},
|
|
47
|
-
|
|
48
|
-
fromJSON(_: any): FileDescriptorsRequest {
|
|
49
|
-
return {};
|
|
50
|
-
},
|
|
51
|
-
|
|
52
|
-
toJSON(_: FileDescriptorsRequest): unknown {
|
|
53
|
-
const obj: any = {};
|
|
54
|
-
return obj;
|
|
55
|
-
},
|
|
56
|
-
|
|
57
|
-
create<I extends Exact<DeepPartial<FileDescriptorsRequest>, I>>(base?: I): FileDescriptorsRequest {
|
|
58
|
-
return FileDescriptorsRequest.fromPartial(base ?? ({} as any));
|
|
59
|
-
},
|
|
60
|
-
fromPartial<I extends Exact<DeepPartial<FileDescriptorsRequest>, I>>(_: I): FileDescriptorsRequest {
|
|
61
|
-
const message = createBaseFileDescriptorsRequest();
|
|
62
|
-
return message;
|
|
63
|
-
},
|
|
64
|
-
};
|
|
65
|
-
|
|
66
|
-
function createBaseFileDescriptorsResponse(): FileDescriptorsResponse {
|
|
67
|
-
return { files: [] };
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
export const FileDescriptorsResponse: MessageFns<FileDescriptorsResponse> = {
|
|
71
|
-
encode(message: FileDescriptorsResponse, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
|
|
72
|
-
for (const v of message.files) {
|
|
73
|
-
FileDescriptorProto.encode(v!, writer.uint32(10).fork()).join();
|
|
74
|
-
}
|
|
75
|
-
return writer;
|
|
76
|
-
},
|
|
77
|
-
|
|
78
|
-
decode(input: BinaryReader | Uint8Array, length?: number): FileDescriptorsResponse {
|
|
79
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
80
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
81
|
-
const message = createBaseFileDescriptorsResponse();
|
|
82
|
-
while (reader.pos < end) {
|
|
83
|
-
const tag = reader.uint32();
|
|
84
|
-
switch (tag >>> 3) {
|
|
85
|
-
case 1: {
|
|
86
|
-
if (tag !== 10) {
|
|
87
|
-
break;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
message.files.push(FileDescriptorProto.decode(reader, reader.uint32()));
|
|
91
|
-
continue;
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
95
|
-
break;
|
|
96
|
-
}
|
|
97
|
-
reader.skip(tag & 7);
|
|
98
|
-
}
|
|
99
|
-
return message;
|
|
100
|
-
},
|
|
101
|
-
|
|
102
|
-
fromJSON(object: any): FileDescriptorsResponse {
|
|
103
|
-
return {
|
|
104
|
-
files: globalThis.Array.isArray(object?.files)
|
|
105
|
-
? object.files.map((e: any) => FileDescriptorProto.fromJSON(e))
|
|
106
|
-
: [],
|
|
107
|
-
};
|
|
108
|
-
},
|
|
109
|
-
|
|
110
|
-
toJSON(message: FileDescriptorsResponse): unknown {
|
|
111
|
-
const obj: any = {};
|
|
112
|
-
if (message.files?.length) {
|
|
113
|
-
obj.files = message.files.map((e) => FileDescriptorProto.toJSON(e));
|
|
114
|
-
}
|
|
115
|
-
return obj;
|
|
116
|
-
},
|
|
117
|
-
|
|
118
|
-
create<I extends Exact<DeepPartial<FileDescriptorsResponse>, I>>(base?: I): FileDescriptorsResponse {
|
|
119
|
-
return FileDescriptorsResponse.fromPartial(base ?? ({} as any));
|
|
120
|
-
},
|
|
121
|
-
fromPartial<I extends Exact<DeepPartial<FileDescriptorsResponse>, I>>(object: I): FileDescriptorsResponse {
|
|
122
|
-
const message = createBaseFileDescriptorsResponse();
|
|
123
|
-
message.files = object.files?.map((e) => FileDescriptorProto.fromPartial(e)) || [];
|
|
124
|
-
return message;
|
|
125
|
-
},
|
|
126
|
-
};
|
|
127
|
-
|
|
128
|
-
/**
|
|
129
|
-
* Package cosmos.reflection.v1 provides support for inspecting protobuf
|
|
130
|
-
* file descriptors.
|
|
131
|
-
*/
|
|
132
|
-
export interface ReflectionService {
|
|
133
|
-
/**
|
|
134
|
-
* FileDescriptors queries all the file descriptors in the app in order
|
|
135
|
-
* to enable easier generation of dynamic clients.
|
|
136
|
-
*/
|
|
137
|
-
FileDescriptors(request: FileDescriptorsRequest): Promise<FileDescriptorsResponse>;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
export const ReflectionServiceServiceName = "cosmos.reflection.v1.ReflectionService";
|
|
141
|
-
export class ReflectionServiceClientImpl implements ReflectionService {
|
|
142
|
-
private readonly rpc: Rpc;
|
|
143
|
-
private readonly service: string;
|
|
144
|
-
constructor(rpc: Rpc, opts?: { service?: string }) {
|
|
145
|
-
this.service = opts?.service || ReflectionServiceServiceName;
|
|
146
|
-
this.rpc = rpc;
|
|
147
|
-
this.FileDescriptors = this.FileDescriptors.bind(this);
|
|
148
|
-
}
|
|
149
|
-
FileDescriptors(request: FileDescriptorsRequest): Promise<FileDescriptorsResponse> {
|
|
150
|
-
const data = FileDescriptorsRequest.encode(request).finish();
|
|
151
|
-
const promise = this.rpc.request(this.service, "FileDescriptors", data);
|
|
152
|
-
return promise.then((data) => FileDescriptorsResponse.decode(new BinaryReader(data)));
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
interface Rpc {
|
|
157
|
-
request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
161
|
-
|
|
162
|
-
export type DeepPartial<T> = T extends Builtin ? T
|
|
163
|
-
: T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>
|
|
164
|
-
: T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>
|
|
165
|
-
: T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }
|
|
166
|
-
: Partial<T>;
|
|
167
|
-
|
|
168
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
169
|
-
export type Exact<P, I extends P> = P extends Builtin ? P
|
|
170
|
-
: P & { [K in keyof P]: Exact<P[K], I[K]> } & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
|
|
171
|
-
|
|
172
|
-
export interface MessageFns<T> {
|
|
173
|
-
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
174
|
-
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
175
|
-
fromJSON(object: any): T;
|
|
176
|
-
toJSON(message: T): unknown;
|
|
177
|
-
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
178
|
-
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
179
|
-
}
|