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,321 +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/orm/v1alpha1/schema.proto
|
|
6
|
-
|
|
7
|
-
/* eslint-disable */
|
|
8
|
-
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
9
|
-
|
|
10
|
-
export const protobufPackage = "cosmos.orm.v1alpha1";
|
|
11
|
-
|
|
12
|
-
/** StorageType */
|
|
13
|
-
export enum StorageType {
|
|
14
|
-
/**
|
|
15
|
-
* STORAGE_TYPE_DEFAULT_UNSPECIFIED - STORAGE_TYPE_DEFAULT_UNSPECIFIED indicates the persistent storage where all
|
|
16
|
-
* data is stored in the regular Merkle-tree backed KV-store.
|
|
17
|
-
*/
|
|
18
|
-
STORAGE_TYPE_DEFAULT_UNSPECIFIED = 0,
|
|
19
|
-
/**
|
|
20
|
-
* STORAGE_TYPE_MEMORY - STORAGE_TYPE_MEMORY indicates in-memory storage that will be
|
|
21
|
-
* reloaded every time an app restarts. Tables with this type of storage
|
|
22
|
-
* will by default be ignored when importing and exporting a module's
|
|
23
|
-
* state from JSON.
|
|
24
|
-
*/
|
|
25
|
-
STORAGE_TYPE_MEMORY = 1,
|
|
26
|
-
/**
|
|
27
|
-
* STORAGE_TYPE_TRANSIENT - STORAGE_TYPE_TRANSIENT indicates transient storage that is reset
|
|
28
|
-
* at the end of every block. Tables with this type of storage
|
|
29
|
-
* will by default be ignored when importing and exporting a module's
|
|
30
|
-
* state from JSON.
|
|
31
|
-
*/
|
|
32
|
-
STORAGE_TYPE_TRANSIENT = 2,
|
|
33
|
-
UNRECOGNIZED = -1,
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
export function storageTypeFromJSON(object: any): StorageType {
|
|
37
|
-
switch (object) {
|
|
38
|
-
case 0:
|
|
39
|
-
case "STORAGE_TYPE_DEFAULT_UNSPECIFIED":
|
|
40
|
-
return StorageType.STORAGE_TYPE_DEFAULT_UNSPECIFIED;
|
|
41
|
-
case 1:
|
|
42
|
-
case "STORAGE_TYPE_MEMORY":
|
|
43
|
-
return StorageType.STORAGE_TYPE_MEMORY;
|
|
44
|
-
case 2:
|
|
45
|
-
case "STORAGE_TYPE_TRANSIENT":
|
|
46
|
-
return StorageType.STORAGE_TYPE_TRANSIENT;
|
|
47
|
-
case -1:
|
|
48
|
-
case "UNRECOGNIZED":
|
|
49
|
-
default:
|
|
50
|
-
return StorageType.UNRECOGNIZED;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
export function storageTypeToJSON(object: StorageType): string {
|
|
55
|
-
switch (object) {
|
|
56
|
-
case StorageType.STORAGE_TYPE_DEFAULT_UNSPECIFIED:
|
|
57
|
-
return "STORAGE_TYPE_DEFAULT_UNSPECIFIED";
|
|
58
|
-
case StorageType.STORAGE_TYPE_MEMORY:
|
|
59
|
-
return "STORAGE_TYPE_MEMORY";
|
|
60
|
-
case StorageType.STORAGE_TYPE_TRANSIENT:
|
|
61
|
-
return "STORAGE_TYPE_TRANSIENT";
|
|
62
|
-
case StorageType.UNRECOGNIZED:
|
|
63
|
-
default:
|
|
64
|
-
return "UNRECOGNIZED";
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
/** ModuleSchemaDescriptor describe's a module's ORM schema. */
|
|
69
|
-
export interface ModuleSchemaDescriptor {
|
|
70
|
-
schemaFile: ModuleSchemaDescriptor_FileEntry[];
|
|
71
|
-
/**
|
|
72
|
-
* prefix is an optional prefix that precedes all keys in this module's
|
|
73
|
-
* store.
|
|
74
|
-
*/
|
|
75
|
-
prefix: Uint8Array;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
/** FileEntry describes an ORM file used in a module. */
|
|
79
|
-
export interface ModuleSchemaDescriptor_FileEntry {
|
|
80
|
-
/**
|
|
81
|
-
* id is a prefix that will be varint encoded and prepended to all the
|
|
82
|
-
* table keys specified in the file's tables.
|
|
83
|
-
*/
|
|
84
|
-
id: number;
|
|
85
|
-
/**
|
|
86
|
-
* proto_file_name is the name of a file .proto in that contains
|
|
87
|
-
* table definitions. The .proto file must be in a package that the
|
|
88
|
-
* module has referenced using cosmos.app.v1.ModuleDescriptor.use_package.
|
|
89
|
-
*/
|
|
90
|
-
protoFileName: string;
|
|
91
|
-
/**
|
|
92
|
-
* storage_type optionally indicates the type of storage this file's
|
|
93
|
-
* tables should used. If it is left unspecified, the default KV-storage
|
|
94
|
-
* of the app will be used.
|
|
95
|
-
*/
|
|
96
|
-
storageType: StorageType;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
function createBaseModuleSchemaDescriptor(): ModuleSchemaDescriptor {
|
|
100
|
-
return { schemaFile: [], prefix: new Uint8Array(0) };
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
export const ModuleSchemaDescriptor: MessageFns<ModuleSchemaDescriptor> = {
|
|
104
|
-
encode(message: ModuleSchemaDescriptor, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
|
|
105
|
-
for (const v of message.schemaFile) {
|
|
106
|
-
ModuleSchemaDescriptor_FileEntry.encode(v!, writer.uint32(10).fork()).join();
|
|
107
|
-
}
|
|
108
|
-
if (message.prefix.length !== 0) {
|
|
109
|
-
writer.uint32(18).bytes(message.prefix);
|
|
110
|
-
}
|
|
111
|
-
return writer;
|
|
112
|
-
},
|
|
113
|
-
|
|
114
|
-
decode(input: BinaryReader | Uint8Array, length?: number): ModuleSchemaDescriptor {
|
|
115
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
116
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
117
|
-
const message = createBaseModuleSchemaDescriptor();
|
|
118
|
-
while (reader.pos < end) {
|
|
119
|
-
const tag = reader.uint32();
|
|
120
|
-
switch (tag >>> 3) {
|
|
121
|
-
case 1: {
|
|
122
|
-
if (tag !== 10) {
|
|
123
|
-
break;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
message.schemaFile.push(ModuleSchemaDescriptor_FileEntry.decode(reader, reader.uint32()));
|
|
127
|
-
continue;
|
|
128
|
-
}
|
|
129
|
-
case 2: {
|
|
130
|
-
if (tag !== 18) {
|
|
131
|
-
break;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
message.prefix = reader.bytes();
|
|
135
|
-
continue;
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
139
|
-
break;
|
|
140
|
-
}
|
|
141
|
-
reader.skip(tag & 7);
|
|
142
|
-
}
|
|
143
|
-
return message;
|
|
144
|
-
},
|
|
145
|
-
|
|
146
|
-
fromJSON(object: any): ModuleSchemaDescriptor {
|
|
147
|
-
return {
|
|
148
|
-
schemaFile: globalThis.Array.isArray(object?.schemaFile)
|
|
149
|
-
? object.schemaFile.map((e: any) => ModuleSchemaDescriptor_FileEntry.fromJSON(e))
|
|
150
|
-
: [],
|
|
151
|
-
prefix: isSet(object.prefix) ? bytesFromBase64(object.prefix) : new Uint8Array(0),
|
|
152
|
-
};
|
|
153
|
-
},
|
|
154
|
-
|
|
155
|
-
toJSON(message: ModuleSchemaDescriptor): unknown {
|
|
156
|
-
const obj: any = {};
|
|
157
|
-
if (message.schemaFile?.length) {
|
|
158
|
-
obj.schemaFile = message.schemaFile.map((e) => ModuleSchemaDescriptor_FileEntry.toJSON(e));
|
|
159
|
-
}
|
|
160
|
-
if (message.prefix.length !== 0) {
|
|
161
|
-
obj.prefix = base64FromBytes(message.prefix);
|
|
162
|
-
}
|
|
163
|
-
return obj;
|
|
164
|
-
},
|
|
165
|
-
|
|
166
|
-
create<I extends Exact<DeepPartial<ModuleSchemaDescriptor>, I>>(base?: I): ModuleSchemaDescriptor {
|
|
167
|
-
return ModuleSchemaDescriptor.fromPartial(base ?? ({} as any));
|
|
168
|
-
},
|
|
169
|
-
fromPartial<I extends Exact<DeepPartial<ModuleSchemaDescriptor>, I>>(object: I): ModuleSchemaDescriptor {
|
|
170
|
-
const message = createBaseModuleSchemaDescriptor();
|
|
171
|
-
message.schemaFile = object.schemaFile?.map((e) => ModuleSchemaDescriptor_FileEntry.fromPartial(e)) || [];
|
|
172
|
-
message.prefix = object.prefix ?? new Uint8Array(0);
|
|
173
|
-
return message;
|
|
174
|
-
},
|
|
175
|
-
};
|
|
176
|
-
|
|
177
|
-
function createBaseModuleSchemaDescriptor_FileEntry(): ModuleSchemaDescriptor_FileEntry {
|
|
178
|
-
return { id: 0, protoFileName: "", storageType: 0 };
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
export const ModuleSchemaDescriptor_FileEntry: MessageFns<ModuleSchemaDescriptor_FileEntry> = {
|
|
182
|
-
encode(message: ModuleSchemaDescriptor_FileEntry, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
|
|
183
|
-
if (message.id !== 0) {
|
|
184
|
-
writer.uint32(8).uint32(message.id);
|
|
185
|
-
}
|
|
186
|
-
if (message.protoFileName !== "") {
|
|
187
|
-
writer.uint32(18).string(message.protoFileName);
|
|
188
|
-
}
|
|
189
|
-
if (message.storageType !== 0) {
|
|
190
|
-
writer.uint32(24).int32(message.storageType);
|
|
191
|
-
}
|
|
192
|
-
return writer;
|
|
193
|
-
},
|
|
194
|
-
|
|
195
|
-
decode(input: BinaryReader | Uint8Array, length?: number): ModuleSchemaDescriptor_FileEntry {
|
|
196
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
197
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
198
|
-
const message = createBaseModuleSchemaDescriptor_FileEntry();
|
|
199
|
-
while (reader.pos < end) {
|
|
200
|
-
const tag = reader.uint32();
|
|
201
|
-
switch (tag >>> 3) {
|
|
202
|
-
case 1: {
|
|
203
|
-
if (tag !== 8) {
|
|
204
|
-
break;
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
message.id = reader.uint32();
|
|
208
|
-
continue;
|
|
209
|
-
}
|
|
210
|
-
case 2: {
|
|
211
|
-
if (tag !== 18) {
|
|
212
|
-
break;
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
message.protoFileName = reader.string();
|
|
216
|
-
continue;
|
|
217
|
-
}
|
|
218
|
-
case 3: {
|
|
219
|
-
if (tag !== 24) {
|
|
220
|
-
break;
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
message.storageType = reader.int32() as any;
|
|
224
|
-
continue;
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
228
|
-
break;
|
|
229
|
-
}
|
|
230
|
-
reader.skip(tag & 7);
|
|
231
|
-
}
|
|
232
|
-
return message;
|
|
233
|
-
},
|
|
234
|
-
|
|
235
|
-
fromJSON(object: any): ModuleSchemaDescriptor_FileEntry {
|
|
236
|
-
return {
|
|
237
|
-
id: isSet(object.id) ? globalThis.Number(object.id) : 0,
|
|
238
|
-
protoFileName: isSet(object.protoFileName) ? globalThis.String(object.protoFileName) : "",
|
|
239
|
-
storageType: isSet(object.storageType) ? storageTypeFromJSON(object.storageType) : 0,
|
|
240
|
-
};
|
|
241
|
-
},
|
|
242
|
-
|
|
243
|
-
toJSON(message: ModuleSchemaDescriptor_FileEntry): unknown {
|
|
244
|
-
const obj: any = {};
|
|
245
|
-
if (message.id !== 0) {
|
|
246
|
-
obj.id = Math.round(message.id);
|
|
247
|
-
}
|
|
248
|
-
if (message.protoFileName !== "") {
|
|
249
|
-
obj.protoFileName = message.protoFileName;
|
|
250
|
-
}
|
|
251
|
-
if (message.storageType !== 0) {
|
|
252
|
-
obj.storageType = storageTypeToJSON(message.storageType);
|
|
253
|
-
}
|
|
254
|
-
return obj;
|
|
255
|
-
},
|
|
256
|
-
|
|
257
|
-
create<I extends Exact<DeepPartial<ModuleSchemaDescriptor_FileEntry>, I>>(
|
|
258
|
-
base?: I,
|
|
259
|
-
): ModuleSchemaDescriptor_FileEntry {
|
|
260
|
-
return ModuleSchemaDescriptor_FileEntry.fromPartial(base ?? ({} as any));
|
|
261
|
-
},
|
|
262
|
-
fromPartial<I extends Exact<DeepPartial<ModuleSchemaDescriptor_FileEntry>, I>>(
|
|
263
|
-
object: I,
|
|
264
|
-
): ModuleSchemaDescriptor_FileEntry {
|
|
265
|
-
const message = createBaseModuleSchemaDescriptor_FileEntry();
|
|
266
|
-
message.id = object.id ?? 0;
|
|
267
|
-
message.protoFileName = object.protoFileName ?? "";
|
|
268
|
-
message.storageType = object.storageType ?? 0;
|
|
269
|
-
return message;
|
|
270
|
-
},
|
|
271
|
-
};
|
|
272
|
-
|
|
273
|
-
function bytesFromBase64(b64: string): Uint8Array {
|
|
274
|
-
if ((globalThis as any).Buffer) {
|
|
275
|
-
return Uint8Array.from(globalThis.Buffer.from(b64, "base64"));
|
|
276
|
-
} else {
|
|
277
|
-
const bin = globalThis.atob(b64);
|
|
278
|
-
const arr = new Uint8Array(bin.length);
|
|
279
|
-
for (let i = 0; i < bin.length; ++i) {
|
|
280
|
-
arr[i] = bin.charCodeAt(i);
|
|
281
|
-
}
|
|
282
|
-
return arr;
|
|
283
|
-
}
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
function base64FromBytes(arr: Uint8Array): string {
|
|
287
|
-
if ((globalThis as any).Buffer) {
|
|
288
|
-
return globalThis.Buffer.from(arr).toString("base64");
|
|
289
|
-
} else {
|
|
290
|
-
const bin: string[] = [];
|
|
291
|
-
arr.forEach((byte) => {
|
|
292
|
-
bin.push(globalThis.String.fromCharCode(byte));
|
|
293
|
-
});
|
|
294
|
-
return globalThis.btoa(bin.join(""));
|
|
295
|
-
}
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
299
|
-
|
|
300
|
-
export type DeepPartial<T> = T extends Builtin ? T
|
|
301
|
-
: T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>
|
|
302
|
-
: T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>
|
|
303
|
-
: T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }
|
|
304
|
-
: Partial<T>;
|
|
305
|
-
|
|
306
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
307
|
-
export type Exact<P, I extends P> = P extends Builtin ? P
|
|
308
|
-
: P & { [K in keyof P]: Exact<P[K], I[K]> } & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
|
|
309
|
-
|
|
310
|
-
function isSet(value: any): boolean {
|
|
311
|
-
return value !== null && value !== undefined;
|
|
312
|
-
}
|
|
313
|
-
|
|
314
|
-
export interface MessageFns<T> {
|
|
315
|
-
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
316
|
-
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
317
|
-
fromJSON(object: any): T;
|
|
318
|
-
toJSON(message: T): unknown;
|
|
319
|
-
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
320
|
-
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
321
|
-
}
|
|
@@ -1,78 +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/module/v1/module.proto
|
|
6
|
-
|
|
7
|
-
/* eslint-disable */
|
|
8
|
-
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
9
|
-
|
|
10
|
-
export const protobufPackage = "cosmos.params.module.v1";
|
|
11
|
-
|
|
12
|
-
/** Module is the config object of the params module. */
|
|
13
|
-
export interface Module {
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
function createBaseModule(): Module {
|
|
17
|
-
return {};
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
export const Module: MessageFns<Module> = {
|
|
21
|
-
encode(_: Module, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
|
|
22
|
-
return writer;
|
|
23
|
-
},
|
|
24
|
-
|
|
25
|
-
decode(input: BinaryReader | Uint8Array, length?: number): Module {
|
|
26
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
27
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
28
|
-
const message = createBaseModule();
|
|
29
|
-
while (reader.pos < end) {
|
|
30
|
-
const tag = reader.uint32();
|
|
31
|
-
switch (tag >>> 3) {
|
|
32
|
-
}
|
|
33
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
34
|
-
break;
|
|
35
|
-
}
|
|
36
|
-
reader.skip(tag & 7);
|
|
37
|
-
}
|
|
38
|
-
return message;
|
|
39
|
-
},
|
|
40
|
-
|
|
41
|
-
fromJSON(_: any): Module {
|
|
42
|
-
return {};
|
|
43
|
-
},
|
|
44
|
-
|
|
45
|
-
toJSON(_: Module): unknown {
|
|
46
|
-
const obj: any = {};
|
|
47
|
-
return obj;
|
|
48
|
-
},
|
|
49
|
-
|
|
50
|
-
create<I extends Exact<DeepPartial<Module>, I>>(base?: I): Module {
|
|
51
|
-
return Module.fromPartial(base ?? ({} as any));
|
|
52
|
-
},
|
|
53
|
-
fromPartial<I extends Exact<DeepPartial<Module>, I>>(_: I): Module {
|
|
54
|
-
const message = createBaseModule();
|
|
55
|
-
return message;
|
|
56
|
-
},
|
|
57
|
-
};
|
|
58
|
-
|
|
59
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
60
|
-
|
|
61
|
-
export type DeepPartial<T> = T extends Builtin ? T
|
|
62
|
-
: T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>
|
|
63
|
-
: T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>
|
|
64
|
-
: T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }
|
|
65
|
-
: Partial<T>;
|
|
66
|
-
|
|
67
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
68
|
-
export type Exact<P, I extends P> = P extends Builtin ? P
|
|
69
|
-
: P & { [K in keyof P]: Exact<P[K], I[K]> } & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
|
|
70
|
-
|
|
71
|
-
export interface MessageFns<T> {
|
|
72
|
-
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
73
|
-
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
74
|
-
fromJSON(object: any): T;
|
|
75
|
-
toJSON(message: T): unknown;
|
|
76
|
-
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
77
|
-
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
78
|
-
}
|
|
@@ -1,236 +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/params.proto
|
|
6
|
-
|
|
7
|
-
/* eslint-disable */
|
|
8
|
-
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
9
|
-
|
|
10
|
-
export const protobufPackage = "cosmos.params.v1beta1";
|
|
11
|
-
|
|
12
|
-
/** ParameterChangeProposal defines a proposal to change one or more parameters. */
|
|
13
|
-
export interface ParameterChangeProposal {
|
|
14
|
-
title: string;
|
|
15
|
-
description: string;
|
|
16
|
-
changes: ParamChange[];
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* ParamChange defines an individual parameter change, for use in
|
|
21
|
-
* ParameterChangeProposal.
|
|
22
|
-
*/
|
|
23
|
-
export interface ParamChange {
|
|
24
|
-
subspace: string;
|
|
25
|
-
key: string;
|
|
26
|
-
value: string;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
function createBaseParameterChangeProposal(): ParameterChangeProposal {
|
|
30
|
-
return { title: "", description: "", changes: [] };
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
export const ParameterChangeProposal: MessageFns<ParameterChangeProposal> = {
|
|
34
|
-
encode(message: ParameterChangeProposal, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
|
|
35
|
-
if (message.title !== "") {
|
|
36
|
-
writer.uint32(10).string(message.title);
|
|
37
|
-
}
|
|
38
|
-
if (message.description !== "") {
|
|
39
|
-
writer.uint32(18).string(message.description);
|
|
40
|
-
}
|
|
41
|
-
for (const v of message.changes) {
|
|
42
|
-
ParamChange.encode(v!, writer.uint32(26).fork()).join();
|
|
43
|
-
}
|
|
44
|
-
return writer;
|
|
45
|
-
},
|
|
46
|
-
|
|
47
|
-
decode(input: BinaryReader | Uint8Array, length?: number): ParameterChangeProposal {
|
|
48
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
49
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
50
|
-
const message = createBaseParameterChangeProposal();
|
|
51
|
-
while (reader.pos < end) {
|
|
52
|
-
const tag = reader.uint32();
|
|
53
|
-
switch (tag >>> 3) {
|
|
54
|
-
case 1: {
|
|
55
|
-
if (tag !== 10) {
|
|
56
|
-
break;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
message.title = reader.string();
|
|
60
|
-
continue;
|
|
61
|
-
}
|
|
62
|
-
case 2: {
|
|
63
|
-
if (tag !== 18) {
|
|
64
|
-
break;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
message.description = reader.string();
|
|
68
|
-
continue;
|
|
69
|
-
}
|
|
70
|
-
case 3: {
|
|
71
|
-
if (tag !== 26) {
|
|
72
|
-
break;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
message.changes.push(ParamChange.decode(reader, reader.uint32()));
|
|
76
|
-
continue;
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
80
|
-
break;
|
|
81
|
-
}
|
|
82
|
-
reader.skip(tag & 7);
|
|
83
|
-
}
|
|
84
|
-
return message;
|
|
85
|
-
},
|
|
86
|
-
|
|
87
|
-
fromJSON(object: any): ParameterChangeProposal {
|
|
88
|
-
return {
|
|
89
|
-
title: isSet(object.title) ? globalThis.String(object.title) : "",
|
|
90
|
-
description: isSet(object.description) ? globalThis.String(object.description) : "",
|
|
91
|
-
changes: globalThis.Array.isArray(object?.changes) ? object.changes.map((e: any) => ParamChange.fromJSON(e)) : [],
|
|
92
|
-
};
|
|
93
|
-
},
|
|
94
|
-
|
|
95
|
-
toJSON(message: ParameterChangeProposal): unknown {
|
|
96
|
-
const obj: any = {};
|
|
97
|
-
if (message.title !== "") {
|
|
98
|
-
obj.title = message.title;
|
|
99
|
-
}
|
|
100
|
-
if (message.description !== "") {
|
|
101
|
-
obj.description = message.description;
|
|
102
|
-
}
|
|
103
|
-
if (message.changes?.length) {
|
|
104
|
-
obj.changes = message.changes.map((e) => ParamChange.toJSON(e));
|
|
105
|
-
}
|
|
106
|
-
return obj;
|
|
107
|
-
},
|
|
108
|
-
|
|
109
|
-
create<I extends Exact<DeepPartial<ParameterChangeProposal>, I>>(base?: I): ParameterChangeProposal {
|
|
110
|
-
return ParameterChangeProposal.fromPartial(base ?? ({} as any));
|
|
111
|
-
},
|
|
112
|
-
fromPartial<I extends Exact<DeepPartial<ParameterChangeProposal>, I>>(object: I): ParameterChangeProposal {
|
|
113
|
-
const message = createBaseParameterChangeProposal();
|
|
114
|
-
message.title = object.title ?? "";
|
|
115
|
-
message.description = object.description ?? "";
|
|
116
|
-
message.changes = object.changes?.map((e) => ParamChange.fromPartial(e)) || [];
|
|
117
|
-
return message;
|
|
118
|
-
},
|
|
119
|
-
};
|
|
120
|
-
|
|
121
|
-
function createBaseParamChange(): ParamChange {
|
|
122
|
-
return { subspace: "", key: "", value: "" };
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
export const ParamChange: MessageFns<ParamChange> = {
|
|
126
|
-
encode(message: ParamChange, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
|
|
127
|
-
if (message.subspace !== "") {
|
|
128
|
-
writer.uint32(10).string(message.subspace);
|
|
129
|
-
}
|
|
130
|
-
if (message.key !== "") {
|
|
131
|
-
writer.uint32(18).string(message.key);
|
|
132
|
-
}
|
|
133
|
-
if (message.value !== "") {
|
|
134
|
-
writer.uint32(26).string(message.value);
|
|
135
|
-
}
|
|
136
|
-
return writer;
|
|
137
|
-
},
|
|
138
|
-
|
|
139
|
-
decode(input: BinaryReader | Uint8Array, length?: number): ParamChange {
|
|
140
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
141
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
142
|
-
const message = createBaseParamChange();
|
|
143
|
-
while (reader.pos < end) {
|
|
144
|
-
const tag = reader.uint32();
|
|
145
|
-
switch (tag >>> 3) {
|
|
146
|
-
case 1: {
|
|
147
|
-
if (tag !== 10) {
|
|
148
|
-
break;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
message.subspace = reader.string();
|
|
152
|
-
continue;
|
|
153
|
-
}
|
|
154
|
-
case 2: {
|
|
155
|
-
if (tag !== 18) {
|
|
156
|
-
break;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
message.key = reader.string();
|
|
160
|
-
continue;
|
|
161
|
-
}
|
|
162
|
-
case 3: {
|
|
163
|
-
if (tag !== 26) {
|
|
164
|
-
break;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
message.value = reader.string();
|
|
168
|
-
continue;
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
172
|
-
break;
|
|
173
|
-
}
|
|
174
|
-
reader.skip(tag & 7);
|
|
175
|
-
}
|
|
176
|
-
return message;
|
|
177
|
-
},
|
|
178
|
-
|
|
179
|
-
fromJSON(object: any): ParamChange {
|
|
180
|
-
return {
|
|
181
|
-
subspace: isSet(object.subspace) ? globalThis.String(object.subspace) : "",
|
|
182
|
-
key: isSet(object.key) ? globalThis.String(object.key) : "",
|
|
183
|
-
value: isSet(object.value) ? globalThis.String(object.value) : "",
|
|
184
|
-
};
|
|
185
|
-
},
|
|
186
|
-
|
|
187
|
-
toJSON(message: ParamChange): unknown {
|
|
188
|
-
const obj: any = {};
|
|
189
|
-
if (message.subspace !== "") {
|
|
190
|
-
obj.subspace = message.subspace;
|
|
191
|
-
}
|
|
192
|
-
if (message.key !== "") {
|
|
193
|
-
obj.key = message.key;
|
|
194
|
-
}
|
|
195
|
-
if (message.value !== "") {
|
|
196
|
-
obj.value = message.value;
|
|
197
|
-
}
|
|
198
|
-
return obj;
|
|
199
|
-
},
|
|
200
|
-
|
|
201
|
-
create<I extends Exact<DeepPartial<ParamChange>, I>>(base?: I): ParamChange {
|
|
202
|
-
return ParamChange.fromPartial(base ?? ({} as any));
|
|
203
|
-
},
|
|
204
|
-
fromPartial<I extends Exact<DeepPartial<ParamChange>, I>>(object: I): ParamChange {
|
|
205
|
-
const message = createBaseParamChange();
|
|
206
|
-
message.subspace = object.subspace ?? "";
|
|
207
|
-
message.key = object.key ?? "";
|
|
208
|
-
message.value = object.value ?? "";
|
|
209
|
-
return message;
|
|
210
|
-
},
|
|
211
|
-
};
|
|
212
|
-
|
|
213
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
214
|
-
|
|
215
|
-
export type DeepPartial<T> = T extends Builtin ? T
|
|
216
|
-
: T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>
|
|
217
|
-
: T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>
|
|
218
|
-
: T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }
|
|
219
|
-
: Partial<T>;
|
|
220
|
-
|
|
221
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
222
|
-
export type Exact<P, I extends P> = P extends Builtin ? P
|
|
223
|
-
: P & { [K in keyof P]: Exact<P[K], I[K]> } & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
|
|
224
|
-
|
|
225
|
-
function isSet(value: any): boolean {
|
|
226
|
-
return value !== null && value !== undefined;
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
export interface MessageFns<T> {
|
|
230
|
-
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
231
|
-
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
232
|
-
fromJSON(object: any): T;
|
|
233
|
-
toJSON(message: T): unknown;
|
|
234
|
-
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
235
|
-
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
236
|
-
}
|