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,346 +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/app/v1alpha1/config.proto
|
|
6
|
-
|
|
7
|
-
/* eslint-disable */
|
|
8
|
-
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
9
|
-
import { Any } from "../../../google/protobuf/any";
|
|
10
|
-
|
|
11
|
-
export const protobufPackage = "cosmos.app.v1alpha1";
|
|
12
|
-
|
|
13
|
-
/**
|
|
14
|
-
* Config represents the configuration for a Cosmos SDK ABCI app.
|
|
15
|
-
* It is intended that all state machine logic including the version of
|
|
16
|
-
* baseapp and tx handlers (and possibly even Tendermint) that an app needs
|
|
17
|
-
* can be described in a config object. For compatibility, the framework should
|
|
18
|
-
* allow a mixture of declarative and imperative app wiring, however, apps
|
|
19
|
-
* that strive for the maximum ease of maintainability should be able to describe
|
|
20
|
-
* their state machine with a config object alone.
|
|
21
|
-
*/
|
|
22
|
-
export interface Config {
|
|
23
|
-
/** modules are the module configurations for the app. */
|
|
24
|
-
modules: ModuleConfig[];
|
|
25
|
-
/**
|
|
26
|
-
* golang_bindings specifies explicit interface to implementation type bindings which
|
|
27
|
-
* depinject uses to resolve interface inputs to provider functions. The scope of this
|
|
28
|
-
* field's configuration is global (not module specific).
|
|
29
|
-
*/
|
|
30
|
-
golangBindings: GolangBinding[];
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
/** ModuleConfig is a module configuration for an app. */
|
|
34
|
-
export interface ModuleConfig {
|
|
35
|
-
/**
|
|
36
|
-
* name is the unique name of the module within the app. It should be a name
|
|
37
|
-
* that persists between different versions of a module so that modules
|
|
38
|
-
* can be smoothly upgraded to new versions.
|
|
39
|
-
*
|
|
40
|
-
* For example, for the module cosmos.bank.module.v1.Module, we may chose
|
|
41
|
-
* to simply name the module "bank" in the app. When we upgrade to
|
|
42
|
-
* cosmos.bank.module.v2.Module, the app-specific name "bank" stays the same
|
|
43
|
-
* and the framework knows that the v2 module should receive all the same state
|
|
44
|
-
* that the v1 module had. Note: modules should provide info on which versions
|
|
45
|
-
* they can migrate from in the ModuleDescriptor.can_migration_from field.
|
|
46
|
-
*/
|
|
47
|
-
name: string;
|
|
48
|
-
/**
|
|
49
|
-
* config is the config object for the module. Module config messages should
|
|
50
|
-
* define a ModuleDescriptor using the cosmos.app.v1alpha1.is_module extension.
|
|
51
|
-
*/
|
|
52
|
-
config:
|
|
53
|
-
| Any
|
|
54
|
-
| undefined;
|
|
55
|
-
/**
|
|
56
|
-
* golang_bindings specifies explicit interface to implementation type bindings which
|
|
57
|
-
* depinject uses to resolve interface inputs to provider functions. The scope of this
|
|
58
|
-
* field's configuration is module specific.
|
|
59
|
-
*/
|
|
60
|
-
golangBindings: GolangBinding[];
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
/** GolangBinding is an explicit interface type to implementing type binding for dependency injection. */
|
|
64
|
-
export interface GolangBinding {
|
|
65
|
-
/** interface_type is the interface type which will be bound to a specific implementation type */
|
|
66
|
-
interfaceType: string;
|
|
67
|
-
/** implementation is the implementing type which will be supplied when an input of type interface is requested */
|
|
68
|
-
implementation: string;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
function createBaseConfig(): Config {
|
|
72
|
-
return { modules: [], golangBindings: [] };
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
export const Config: MessageFns<Config> = {
|
|
76
|
-
encode(message: Config, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
|
|
77
|
-
for (const v of message.modules) {
|
|
78
|
-
ModuleConfig.encode(v!, writer.uint32(10).fork()).join();
|
|
79
|
-
}
|
|
80
|
-
for (const v of message.golangBindings) {
|
|
81
|
-
GolangBinding.encode(v!, writer.uint32(18).fork()).join();
|
|
82
|
-
}
|
|
83
|
-
return writer;
|
|
84
|
-
},
|
|
85
|
-
|
|
86
|
-
decode(input: BinaryReader | Uint8Array, length?: number): Config {
|
|
87
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
88
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
89
|
-
const message = createBaseConfig();
|
|
90
|
-
while (reader.pos < end) {
|
|
91
|
-
const tag = reader.uint32();
|
|
92
|
-
switch (tag >>> 3) {
|
|
93
|
-
case 1: {
|
|
94
|
-
if (tag !== 10) {
|
|
95
|
-
break;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
message.modules.push(ModuleConfig.decode(reader, reader.uint32()));
|
|
99
|
-
continue;
|
|
100
|
-
}
|
|
101
|
-
case 2: {
|
|
102
|
-
if (tag !== 18) {
|
|
103
|
-
break;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
message.golangBindings.push(GolangBinding.decode(reader, reader.uint32()));
|
|
107
|
-
continue;
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
111
|
-
break;
|
|
112
|
-
}
|
|
113
|
-
reader.skip(tag & 7);
|
|
114
|
-
}
|
|
115
|
-
return message;
|
|
116
|
-
},
|
|
117
|
-
|
|
118
|
-
fromJSON(object: any): Config {
|
|
119
|
-
return {
|
|
120
|
-
modules: globalThis.Array.isArray(object?.modules)
|
|
121
|
-
? object.modules.map((e: any) => ModuleConfig.fromJSON(e))
|
|
122
|
-
: [],
|
|
123
|
-
golangBindings: globalThis.Array.isArray(object?.golangBindings)
|
|
124
|
-
? object.golangBindings.map((e: any) => GolangBinding.fromJSON(e))
|
|
125
|
-
: [],
|
|
126
|
-
};
|
|
127
|
-
},
|
|
128
|
-
|
|
129
|
-
toJSON(message: Config): unknown {
|
|
130
|
-
const obj: any = {};
|
|
131
|
-
if (message.modules?.length) {
|
|
132
|
-
obj.modules = message.modules.map((e) => ModuleConfig.toJSON(e));
|
|
133
|
-
}
|
|
134
|
-
if (message.golangBindings?.length) {
|
|
135
|
-
obj.golangBindings = message.golangBindings.map((e) => GolangBinding.toJSON(e));
|
|
136
|
-
}
|
|
137
|
-
return obj;
|
|
138
|
-
},
|
|
139
|
-
|
|
140
|
-
create<I extends Exact<DeepPartial<Config>, I>>(base?: I): Config {
|
|
141
|
-
return Config.fromPartial(base ?? ({} as any));
|
|
142
|
-
},
|
|
143
|
-
fromPartial<I extends Exact<DeepPartial<Config>, I>>(object: I): Config {
|
|
144
|
-
const message = createBaseConfig();
|
|
145
|
-
message.modules = object.modules?.map((e) => ModuleConfig.fromPartial(e)) || [];
|
|
146
|
-
message.golangBindings = object.golangBindings?.map((e) => GolangBinding.fromPartial(e)) || [];
|
|
147
|
-
return message;
|
|
148
|
-
},
|
|
149
|
-
};
|
|
150
|
-
|
|
151
|
-
function createBaseModuleConfig(): ModuleConfig {
|
|
152
|
-
return { name: "", config: undefined, golangBindings: [] };
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
export const ModuleConfig: MessageFns<ModuleConfig> = {
|
|
156
|
-
encode(message: ModuleConfig, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
|
|
157
|
-
if (message.name !== "") {
|
|
158
|
-
writer.uint32(10).string(message.name);
|
|
159
|
-
}
|
|
160
|
-
if (message.config !== undefined) {
|
|
161
|
-
Any.encode(message.config, writer.uint32(18).fork()).join();
|
|
162
|
-
}
|
|
163
|
-
for (const v of message.golangBindings) {
|
|
164
|
-
GolangBinding.encode(v!, writer.uint32(26).fork()).join();
|
|
165
|
-
}
|
|
166
|
-
return writer;
|
|
167
|
-
},
|
|
168
|
-
|
|
169
|
-
decode(input: BinaryReader | Uint8Array, length?: number): ModuleConfig {
|
|
170
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
171
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
172
|
-
const message = createBaseModuleConfig();
|
|
173
|
-
while (reader.pos < end) {
|
|
174
|
-
const tag = reader.uint32();
|
|
175
|
-
switch (tag >>> 3) {
|
|
176
|
-
case 1: {
|
|
177
|
-
if (tag !== 10) {
|
|
178
|
-
break;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
message.name = reader.string();
|
|
182
|
-
continue;
|
|
183
|
-
}
|
|
184
|
-
case 2: {
|
|
185
|
-
if (tag !== 18) {
|
|
186
|
-
break;
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
message.config = Any.decode(reader, reader.uint32());
|
|
190
|
-
continue;
|
|
191
|
-
}
|
|
192
|
-
case 3: {
|
|
193
|
-
if (tag !== 26) {
|
|
194
|
-
break;
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
message.golangBindings.push(GolangBinding.decode(reader, reader.uint32()));
|
|
198
|
-
continue;
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
202
|
-
break;
|
|
203
|
-
}
|
|
204
|
-
reader.skip(tag & 7);
|
|
205
|
-
}
|
|
206
|
-
return message;
|
|
207
|
-
},
|
|
208
|
-
|
|
209
|
-
fromJSON(object: any): ModuleConfig {
|
|
210
|
-
return {
|
|
211
|
-
name: isSet(object.name) ? globalThis.String(object.name) : "",
|
|
212
|
-
config: isSet(object.config) ? Any.fromJSON(object.config) : undefined,
|
|
213
|
-
golangBindings: globalThis.Array.isArray(object?.golangBindings)
|
|
214
|
-
? object.golangBindings.map((e: any) => GolangBinding.fromJSON(e))
|
|
215
|
-
: [],
|
|
216
|
-
};
|
|
217
|
-
},
|
|
218
|
-
|
|
219
|
-
toJSON(message: ModuleConfig): unknown {
|
|
220
|
-
const obj: any = {};
|
|
221
|
-
if (message.name !== "") {
|
|
222
|
-
obj.name = message.name;
|
|
223
|
-
}
|
|
224
|
-
if (message.config !== undefined) {
|
|
225
|
-
obj.config = Any.toJSON(message.config);
|
|
226
|
-
}
|
|
227
|
-
if (message.golangBindings?.length) {
|
|
228
|
-
obj.golangBindings = message.golangBindings.map((e) => GolangBinding.toJSON(e));
|
|
229
|
-
}
|
|
230
|
-
return obj;
|
|
231
|
-
},
|
|
232
|
-
|
|
233
|
-
create<I extends Exact<DeepPartial<ModuleConfig>, I>>(base?: I): ModuleConfig {
|
|
234
|
-
return ModuleConfig.fromPartial(base ?? ({} as any));
|
|
235
|
-
},
|
|
236
|
-
fromPartial<I extends Exact<DeepPartial<ModuleConfig>, I>>(object: I): ModuleConfig {
|
|
237
|
-
const message = createBaseModuleConfig();
|
|
238
|
-
message.name = object.name ?? "";
|
|
239
|
-
message.config = (object.config !== undefined && object.config !== null)
|
|
240
|
-
? Any.fromPartial(object.config)
|
|
241
|
-
: undefined;
|
|
242
|
-
message.golangBindings = object.golangBindings?.map((e) => GolangBinding.fromPartial(e)) || [];
|
|
243
|
-
return message;
|
|
244
|
-
},
|
|
245
|
-
};
|
|
246
|
-
|
|
247
|
-
function createBaseGolangBinding(): GolangBinding {
|
|
248
|
-
return { interfaceType: "", implementation: "" };
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
export const GolangBinding: MessageFns<GolangBinding> = {
|
|
252
|
-
encode(message: GolangBinding, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
|
|
253
|
-
if (message.interfaceType !== "") {
|
|
254
|
-
writer.uint32(10).string(message.interfaceType);
|
|
255
|
-
}
|
|
256
|
-
if (message.implementation !== "") {
|
|
257
|
-
writer.uint32(18).string(message.implementation);
|
|
258
|
-
}
|
|
259
|
-
return writer;
|
|
260
|
-
},
|
|
261
|
-
|
|
262
|
-
decode(input: BinaryReader | Uint8Array, length?: number): GolangBinding {
|
|
263
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
264
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
265
|
-
const message = createBaseGolangBinding();
|
|
266
|
-
while (reader.pos < end) {
|
|
267
|
-
const tag = reader.uint32();
|
|
268
|
-
switch (tag >>> 3) {
|
|
269
|
-
case 1: {
|
|
270
|
-
if (tag !== 10) {
|
|
271
|
-
break;
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
message.interfaceType = reader.string();
|
|
275
|
-
continue;
|
|
276
|
-
}
|
|
277
|
-
case 2: {
|
|
278
|
-
if (tag !== 18) {
|
|
279
|
-
break;
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
message.implementation = reader.string();
|
|
283
|
-
continue;
|
|
284
|
-
}
|
|
285
|
-
}
|
|
286
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
287
|
-
break;
|
|
288
|
-
}
|
|
289
|
-
reader.skip(tag & 7);
|
|
290
|
-
}
|
|
291
|
-
return message;
|
|
292
|
-
},
|
|
293
|
-
|
|
294
|
-
fromJSON(object: any): GolangBinding {
|
|
295
|
-
return {
|
|
296
|
-
interfaceType: isSet(object.interfaceType) ? globalThis.String(object.interfaceType) : "",
|
|
297
|
-
implementation: isSet(object.implementation) ? globalThis.String(object.implementation) : "",
|
|
298
|
-
};
|
|
299
|
-
},
|
|
300
|
-
|
|
301
|
-
toJSON(message: GolangBinding): unknown {
|
|
302
|
-
const obj: any = {};
|
|
303
|
-
if (message.interfaceType !== "") {
|
|
304
|
-
obj.interfaceType = message.interfaceType;
|
|
305
|
-
}
|
|
306
|
-
if (message.implementation !== "") {
|
|
307
|
-
obj.implementation = message.implementation;
|
|
308
|
-
}
|
|
309
|
-
return obj;
|
|
310
|
-
},
|
|
311
|
-
|
|
312
|
-
create<I extends Exact<DeepPartial<GolangBinding>, I>>(base?: I): GolangBinding {
|
|
313
|
-
return GolangBinding.fromPartial(base ?? ({} as any));
|
|
314
|
-
},
|
|
315
|
-
fromPartial<I extends Exact<DeepPartial<GolangBinding>, I>>(object: I): GolangBinding {
|
|
316
|
-
const message = createBaseGolangBinding();
|
|
317
|
-
message.interfaceType = object.interfaceType ?? "";
|
|
318
|
-
message.implementation = object.implementation ?? "";
|
|
319
|
-
return message;
|
|
320
|
-
},
|
|
321
|
-
};
|
|
322
|
-
|
|
323
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
324
|
-
|
|
325
|
-
export type DeepPartial<T> = T extends Builtin ? T
|
|
326
|
-
: T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>
|
|
327
|
-
: T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>
|
|
328
|
-
: T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }
|
|
329
|
-
: Partial<T>;
|
|
330
|
-
|
|
331
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
332
|
-
export type Exact<P, I extends P> = P extends Builtin ? P
|
|
333
|
-
: P & { [K in keyof P]: Exact<P[K], I[K]> } & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
|
|
334
|
-
|
|
335
|
-
function isSet(value: any): boolean {
|
|
336
|
-
return value !== null && value !== undefined;
|
|
337
|
-
}
|
|
338
|
-
|
|
339
|
-
export interface MessageFns<T> {
|
|
340
|
-
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
341
|
-
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
342
|
-
fromJSON(object: any): T;
|
|
343
|
-
toJSON(message: T): unknown;
|
|
344
|
-
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
345
|
-
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
346
|
-
}
|
|
@@ -1,348 +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/app/v1alpha1/module.proto
|
|
6
|
-
|
|
7
|
-
/* eslint-disable */
|
|
8
|
-
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
9
|
-
|
|
10
|
-
export const protobufPackage = "cosmos.app.v1alpha1";
|
|
11
|
-
|
|
12
|
-
/** ModuleDescriptor describes an app module. */
|
|
13
|
-
export interface ModuleDescriptor {
|
|
14
|
-
/**
|
|
15
|
-
* go_import names the package that should be imported by an app to load the
|
|
16
|
-
* module in the runtime module registry. It is required to make debugging
|
|
17
|
-
* of configuration errors easier for users.
|
|
18
|
-
*/
|
|
19
|
-
goImport: string;
|
|
20
|
-
/**
|
|
21
|
-
* use_package refers to a protobuf package that this module
|
|
22
|
-
* uses and exposes to the world. In an app, only one module should "use"
|
|
23
|
-
* or own a single protobuf package. It is assumed that the module uses
|
|
24
|
-
* all of the .proto files in a single package.
|
|
25
|
-
*/
|
|
26
|
-
usePackage: PackageReference[];
|
|
27
|
-
/**
|
|
28
|
-
* can_migrate_from defines which module versions this module can migrate
|
|
29
|
-
* state from. The framework will check that one module version is able to
|
|
30
|
-
* migrate from a previous module version before attempting to update its
|
|
31
|
-
* config. It is assumed that modules can transitively migrate from earlier
|
|
32
|
-
* versions. For instance if v3 declares it can migrate from v2, and v2
|
|
33
|
-
* declares it can migrate from v1, the framework knows how to migrate
|
|
34
|
-
* from v1 to v3, assuming all 3 module versions are registered at runtime.
|
|
35
|
-
*/
|
|
36
|
-
canMigrateFrom: MigrateFromInfo[];
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
/** PackageReference is a reference to a protobuf package used by a module. */
|
|
40
|
-
export interface PackageReference {
|
|
41
|
-
/** name is the fully-qualified name of the package. */
|
|
42
|
-
name: string;
|
|
43
|
-
/**
|
|
44
|
-
* revision is the optional revision of the package that is being used.
|
|
45
|
-
* Protobuf packages used in Cosmos should generally have a major version
|
|
46
|
-
* as the last part of the package name, ex. foo.bar.baz.v1.
|
|
47
|
-
* The revision of a package can be thought of as the minor version of a
|
|
48
|
-
* package which has additional backwards compatible definitions that weren't
|
|
49
|
-
* present in a previous version.
|
|
50
|
-
*
|
|
51
|
-
* A package should indicate its revision with a source code comment
|
|
52
|
-
* above the package declaration in one of its files containing the
|
|
53
|
-
* text "Revision N" where N is an integer revision. All packages start
|
|
54
|
-
* at revision 0 the first time they are released in a module.
|
|
55
|
-
*
|
|
56
|
-
* When a new version of a module is released and items are added to existing
|
|
57
|
-
* .proto files, these definitions should contain comments of the form
|
|
58
|
-
* "Since: Revision N" where N is an integer revision.
|
|
59
|
-
*
|
|
60
|
-
* When the module runtime starts up, it will check the pinned proto
|
|
61
|
-
* image and panic if there are runtime protobuf definitions that are not
|
|
62
|
-
* in the pinned descriptor which do not have
|
|
63
|
-
* a "Since Revision N" comment or have a "Since Revision N" comment where
|
|
64
|
-
* N is <= to the revision specified here. This indicates that the protobuf
|
|
65
|
-
* files have been updated, but the pinned file descriptor hasn't.
|
|
66
|
-
*
|
|
67
|
-
* If there are items in the pinned file descriptor with a revision
|
|
68
|
-
* greater than the value indicated here, this will also cause a panic
|
|
69
|
-
* as it may mean that the pinned descriptor for a legacy module has been
|
|
70
|
-
* improperly updated or that there is some other versioning discrepancy.
|
|
71
|
-
* Runtime protobuf definitions will also be checked for compatibility
|
|
72
|
-
* with pinned file descriptors to make sure there are no incompatible changes.
|
|
73
|
-
*
|
|
74
|
-
* This behavior ensures that:
|
|
75
|
-
* * pinned proto images are up-to-date
|
|
76
|
-
* * protobuf files are carefully annotated with revision comments which
|
|
77
|
-
* are important good client UX
|
|
78
|
-
* * protobuf files are changed in backwards and forwards compatible ways
|
|
79
|
-
*/
|
|
80
|
-
revision: number;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
/**
|
|
84
|
-
* MigrateFromInfo is information on a module version that a newer module
|
|
85
|
-
* can migrate from.
|
|
86
|
-
*/
|
|
87
|
-
export interface MigrateFromInfo {
|
|
88
|
-
/**
|
|
89
|
-
* module is the fully-qualified protobuf name of the module config object
|
|
90
|
-
* for the previous module version, ex: "cosmos.group.module.v1.Module".
|
|
91
|
-
*/
|
|
92
|
-
module: string;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
function createBaseModuleDescriptor(): ModuleDescriptor {
|
|
96
|
-
return { goImport: "", usePackage: [], canMigrateFrom: [] };
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
export const ModuleDescriptor: MessageFns<ModuleDescriptor> = {
|
|
100
|
-
encode(message: ModuleDescriptor, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
|
|
101
|
-
if (message.goImport !== "") {
|
|
102
|
-
writer.uint32(10).string(message.goImport);
|
|
103
|
-
}
|
|
104
|
-
for (const v of message.usePackage) {
|
|
105
|
-
PackageReference.encode(v!, writer.uint32(18).fork()).join();
|
|
106
|
-
}
|
|
107
|
-
for (const v of message.canMigrateFrom) {
|
|
108
|
-
MigrateFromInfo.encode(v!, writer.uint32(26).fork()).join();
|
|
109
|
-
}
|
|
110
|
-
return writer;
|
|
111
|
-
},
|
|
112
|
-
|
|
113
|
-
decode(input: BinaryReader | Uint8Array, length?: number): ModuleDescriptor {
|
|
114
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
115
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
116
|
-
const message = createBaseModuleDescriptor();
|
|
117
|
-
while (reader.pos < end) {
|
|
118
|
-
const tag = reader.uint32();
|
|
119
|
-
switch (tag >>> 3) {
|
|
120
|
-
case 1: {
|
|
121
|
-
if (tag !== 10) {
|
|
122
|
-
break;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
message.goImport = reader.string();
|
|
126
|
-
continue;
|
|
127
|
-
}
|
|
128
|
-
case 2: {
|
|
129
|
-
if (tag !== 18) {
|
|
130
|
-
break;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
message.usePackage.push(PackageReference.decode(reader, reader.uint32()));
|
|
134
|
-
continue;
|
|
135
|
-
}
|
|
136
|
-
case 3: {
|
|
137
|
-
if (tag !== 26) {
|
|
138
|
-
break;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
message.canMigrateFrom.push(MigrateFromInfo.decode(reader, reader.uint32()));
|
|
142
|
-
continue;
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
146
|
-
break;
|
|
147
|
-
}
|
|
148
|
-
reader.skip(tag & 7);
|
|
149
|
-
}
|
|
150
|
-
return message;
|
|
151
|
-
},
|
|
152
|
-
|
|
153
|
-
fromJSON(object: any): ModuleDescriptor {
|
|
154
|
-
return {
|
|
155
|
-
goImport: isSet(object.goImport) ? globalThis.String(object.goImport) : "",
|
|
156
|
-
usePackage: globalThis.Array.isArray(object?.usePackage)
|
|
157
|
-
? object.usePackage.map((e: any) => PackageReference.fromJSON(e))
|
|
158
|
-
: [],
|
|
159
|
-
canMigrateFrom: globalThis.Array.isArray(object?.canMigrateFrom)
|
|
160
|
-
? object.canMigrateFrom.map((e: any) => MigrateFromInfo.fromJSON(e))
|
|
161
|
-
: [],
|
|
162
|
-
};
|
|
163
|
-
},
|
|
164
|
-
|
|
165
|
-
toJSON(message: ModuleDescriptor): unknown {
|
|
166
|
-
const obj: any = {};
|
|
167
|
-
if (message.goImport !== "") {
|
|
168
|
-
obj.goImport = message.goImport;
|
|
169
|
-
}
|
|
170
|
-
if (message.usePackage?.length) {
|
|
171
|
-
obj.usePackage = message.usePackage.map((e) => PackageReference.toJSON(e));
|
|
172
|
-
}
|
|
173
|
-
if (message.canMigrateFrom?.length) {
|
|
174
|
-
obj.canMigrateFrom = message.canMigrateFrom.map((e) => MigrateFromInfo.toJSON(e));
|
|
175
|
-
}
|
|
176
|
-
return obj;
|
|
177
|
-
},
|
|
178
|
-
|
|
179
|
-
create<I extends Exact<DeepPartial<ModuleDescriptor>, I>>(base?: I): ModuleDescriptor {
|
|
180
|
-
return ModuleDescriptor.fromPartial(base ?? ({} as any));
|
|
181
|
-
},
|
|
182
|
-
fromPartial<I extends Exact<DeepPartial<ModuleDescriptor>, I>>(object: I): ModuleDescriptor {
|
|
183
|
-
const message = createBaseModuleDescriptor();
|
|
184
|
-
message.goImport = object.goImport ?? "";
|
|
185
|
-
message.usePackage = object.usePackage?.map((e) => PackageReference.fromPartial(e)) || [];
|
|
186
|
-
message.canMigrateFrom = object.canMigrateFrom?.map((e) => MigrateFromInfo.fromPartial(e)) || [];
|
|
187
|
-
return message;
|
|
188
|
-
},
|
|
189
|
-
};
|
|
190
|
-
|
|
191
|
-
function createBasePackageReference(): PackageReference {
|
|
192
|
-
return { name: "", revision: 0 };
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
export const PackageReference: MessageFns<PackageReference> = {
|
|
196
|
-
encode(message: PackageReference, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
|
|
197
|
-
if (message.name !== "") {
|
|
198
|
-
writer.uint32(10).string(message.name);
|
|
199
|
-
}
|
|
200
|
-
if (message.revision !== 0) {
|
|
201
|
-
writer.uint32(16).uint32(message.revision);
|
|
202
|
-
}
|
|
203
|
-
return writer;
|
|
204
|
-
},
|
|
205
|
-
|
|
206
|
-
decode(input: BinaryReader | Uint8Array, length?: number): PackageReference {
|
|
207
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
208
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
209
|
-
const message = createBasePackageReference();
|
|
210
|
-
while (reader.pos < end) {
|
|
211
|
-
const tag = reader.uint32();
|
|
212
|
-
switch (tag >>> 3) {
|
|
213
|
-
case 1: {
|
|
214
|
-
if (tag !== 10) {
|
|
215
|
-
break;
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
message.name = reader.string();
|
|
219
|
-
continue;
|
|
220
|
-
}
|
|
221
|
-
case 2: {
|
|
222
|
-
if (tag !== 16) {
|
|
223
|
-
break;
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
message.revision = reader.uint32();
|
|
227
|
-
continue;
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
231
|
-
break;
|
|
232
|
-
}
|
|
233
|
-
reader.skip(tag & 7);
|
|
234
|
-
}
|
|
235
|
-
return message;
|
|
236
|
-
},
|
|
237
|
-
|
|
238
|
-
fromJSON(object: any): PackageReference {
|
|
239
|
-
return {
|
|
240
|
-
name: isSet(object.name) ? globalThis.String(object.name) : "",
|
|
241
|
-
revision: isSet(object.revision) ? globalThis.Number(object.revision) : 0,
|
|
242
|
-
};
|
|
243
|
-
},
|
|
244
|
-
|
|
245
|
-
toJSON(message: PackageReference): unknown {
|
|
246
|
-
const obj: any = {};
|
|
247
|
-
if (message.name !== "") {
|
|
248
|
-
obj.name = message.name;
|
|
249
|
-
}
|
|
250
|
-
if (message.revision !== 0) {
|
|
251
|
-
obj.revision = Math.round(message.revision);
|
|
252
|
-
}
|
|
253
|
-
return obj;
|
|
254
|
-
},
|
|
255
|
-
|
|
256
|
-
create<I extends Exact<DeepPartial<PackageReference>, I>>(base?: I): PackageReference {
|
|
257
|
-
return PackageReference.fromPartial(base ?? ({} as any));
|
|
258
|
-
},
|
|
259
|
-
fromPartial<I extends Exact<DeepPartial<PackageReference>, I>>(object: I): PackageReference {
|
|
260
|
-
const message = createBasePackageReference();
|
|
261
|
-
message.name = object.name ?? "";
|
|
262
|
-
message.revision = object.revision ?? 0;
|
|
263
|
-
return message;
|
|
264
|
-
},
|
|
265
|
-
};
|
|
266
|
-
|
|
267
|
-
function createBaseMigrateFromInfo(): MigrateFromInfo {
|
|
268
|
-
return { module: "" };
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
export const MigrateFromInfo: MessageFns<MigrateFromInfo> = {
|
|
272
|
-
encode(message: MigrateFromInfo, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
|
|
273
|
-
if (message.module !== "") {
|
|
274
|
-
writer.uint32(10).string(message.module);
|
|
275
|
-
}
|
|
276
|
-
return writer;
|
|
277
|
-
},
|
|
278
|
-
|
|
279
|
-
decode(input: BinaryReader | Uint8Array, length?: number): MigrateFromInfo {
|
|
280
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
281
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
282
|
-
const message = createBaseMigrateFromInfo();
|
|
283
|
-
while (reader.pos < end) {
|
|
284
|
-
const tag = reader.uint32();
|
|
285
|
-
switch (tag >>> 3) {
|
|
286
|
-
case 1: {
|
|
287
|
-
if (tag !== 10) {
|
|
288
|
-
break;
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
message.module = reader.string();
|
|
292
|
-
continue;
|
|
293
|
-
}
|
|
294
|
-
}
|
|
295
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
296
|
-
break;
|
|
297
|
-
}
|
|
298
|
-
reader.skip(tag & 7);
|
|
299
|
-
}
|
|
300
|
-
return message;
|
|
301
|
-
},
|
|
302
|
-
|
|
303
|
-
fromJSON(object: any): MigrateFromInfo {
|
|
304
|
-
return { module: isSet(object.module) ? globalThis.String(object.module) : "" };
|
|
305
|
-
},
|
|
306
|
-
|
|
307
|
-
toJSON(message: MigrateFromInfo): unknown {
|
|
308
|
-
const obj: any = {};
|
|
309
|
-
if (message.module !== "") {
|
|
310
|
-
obj.module = message.module;
|
|
311
|
-
}
|
|
312
|
-
return obj;
|
|
313
|
-
},
|
|
314
|
-
|
|
315
|
-
create<I extends Exact<DeepPartial<MigrateFromInfo>, I>>(base?: I): MigrateFromInfo {
|
|
316
|
-
return MigrateFromInfo.fromPartial(base ?? ({} as any));
|
|
317
|
-
},
|
|
318
|
-
fromPartial<I extends Exact<DeepPartial<MigrateFromInfo>, I>>(object: I): MigrateFromInfo {
|
|
319
|
-
const message = createBaseMigrateFromInfo();
|
|
320
|
-
message.module = object.module ?? "";
|
|
321
|
-
return message;
|
|
322
|
-
},
|
|
323
|
-
};
|
|
324
|
-
|
|
325
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
326
|
-
|
|
327
|
-
export type DeepPartial<T> = T extends Builtin ? T
|
|
328
|
-
: T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>
|
|
329
|
-
: T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>
|
|
330
|
-
: T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }
|
|
331
|
-
: Partial<T>;
|
|
332
|
-
|
|
333
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
334
|
-
export type Exact<P, I extends P> = P extends Builtin ? P
|
|
335
|
-
: P & { [K in keyof P]: Exact<P[K], I[K]> } & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
|
|
336
|
-
|
|
337
|
-
function isSet(value: any): boolean {
|
|
338
|
-
return value !== null && value !== undefined;
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
export interface MessageFns<T> {
|
|
342
|
-
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
343
|
-
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
344
|
-
fromJSON(object: any): T;
|
|
345
|
-
toJSON(message: T): unknown;
|
|
346
|
-
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
347
|
-
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
348
|
-
}
|