decentralcardgame-cardchain-client-ts 0.0.3 → 0.0.5
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/DecentralCardGame.cardchain.cardchain → DecentralCardGame.cardchain.cardchain}/module.js +343 -318
- package/DecentralCardGame.cardchain.cardchain/registry.js +72 -70
- package/DecentralCardGame.cardchain.cardchain/rest.js +1 -1
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/card.js +30 -6
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/council.js +11 -17
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/query.js +1 -217
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/tx.js +166 -8
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/user.js +7 -65
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/params.js +30 -10
- package/DecentralCardGame.cardchain.cardchain/types.js +22 -21
- package/README.md +16 -0
- package/client.js +2 -1
- package/cosmos.authz.v1beta1/module.js +19 -19
- package/cosmos.authz.v1beta1/registry.js +2 -2
- package/cosmos.distribution.v1beta1/module.js +24 -24
- package/cosmos.distribution.v1beta1/registry.js +4 -4
- package/cosmos.gov.v1/module.js +31 -31
- package/cosmos.gov.v1/registry.js +4 -4
- package/cosmos.gov.v1beta1/module.js +22 -22
- package/cosmos.gov.v1beta1/registry.js +2 -2
- package/cosmos.group.v1/module.js +102 -102
- package/cosmos.group.v1/registry.js +14 -14
- package/cosmos.group.v1/rest.js +15 -0
- package/cosmos.group.v1/types/cosmos/group/v1/query.js +110 -0
- package/cosmos.staking.v1beta1/module.js +40 -40
- package/cosmos.staking.v1beta1/registry.js +8 -8
- package/cosmos.vesting.v1beta1/module.js +16 -16
- package/cosmos.vesting.v1beta1/registry.js +2 -2
- package/ibc.applications.interchain_accounts.controller.v1/rest.js +9 -0
- package/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/tx.js +266 -0
- package/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/v1/packet.js +192 -0
- package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/tx.js +24 -6
- package/ibc.core.client.v1/rest.js +14 -14
- package/ibc.core.connection.v1/rest.js +14 -0
- package/ibc.core.connection.v1/types/ibc/core/connection/v1/query.js +83 -1
- package/package.json +2 -2
- package/tsconfig.json +0 -1
- package/lib/DecentralCardGame.cardchain.cardchain/index.js +0 -5
- package/lib/DecentralCardGame.cardchain.cardchain/registry.js +0 -83
- package/lib/DecentralCardGame.cardchain.cardchain/rest.js +0 -396
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/card.js +0 -491
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/card.js +0 -497
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/collection.js +0 -365
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/collection_proposal.js +0 -93
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/copyright_proposal.js +0 -102
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/council.js +0 -356
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/genesis.js +0 -241
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/image.js +0 -88
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/match.js +0 -210
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/match_reporter_proposal.js +0 -67
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/num.js +0 -73
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/params.js +0 -275
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/query.js +0 -2186
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/running_average.js +0 -85
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/sell_offer.js +0 -148
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/server.js +0 -93
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/tx.js +0 -4136
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/user.js +0 -554
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/vote_right.js +0 -84
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/voting_result.js +0 -127
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/voting_results.js +0 -148
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/collection.js +0 -365
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/collection_proposal.js +0 -93
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/copyright_proposal.js +0 -102
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/council.js +0 -350
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/genesis.js +0 -241
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/image.js +0 -88
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/match.js +0 -210
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/match_reporter_proposal.js +0 -67
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/num.js +0 -73
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/params.js +0 -275
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/query.js +0 -1970
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/running_average.js +0 -85
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/sell_offer.js +0 -148
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/server.js +0 -93
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/user.js +0 -496
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/vote_right.js +0 -84
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/voting_result.js +0 -127
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/voting_results.js +0 -148
- package/lib/DecentralCardGame.cardchain.cardchain/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/lib/DecentralCardGame.cardchain.cardchain/types/cosmos/base/v1beta1/coin.js +0 -192
- package/lib/DecentralCardGame.cardchain.cardchain/types/cosmos_proto/cosmos.js +0 -171
- package/lib/DecentralCardGame.cardchain.cardchain/types/gogoproto/gogo.js +0 -2
- package/lib/DecentralCardGame.cardchain.cardchain/types/google/api/annotations.js +0 -2
- package/lib/DecentralCardGame.cardchain.cardchain/types/google/api/http.js +0 -260
- package/lib/DecentralCardGame.cardchain.cardchain/types/google/protobuf/descriptor.js +0 -2830
- package/lib/DecentralCardGame.cardchain.cardchain/types.js +0 -21
- package/lib/client.js +0 -135
- package/lib/cosmos.auth.v1beta1/index.js +0 -5
- package/lib/cosmos.auth.v1beta1/module.js +0 -62
- package/lib/cosmos.auth.v1beta1/registry.js +0 -2
- package/lib/cosmos.auth.v1beta1/rest.js +0 -213
- package/lib/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/auth.js +0 -260
- package/lib/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/genesis.js +0 -67
- package/lib/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/query.js +0 -868
- package/lib/cosmos.auth.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/lib/cosmos.auth.v1beta1/types/cosmos_proto/cosmos.js +0 -171
- package/lib/cosmos.auth.v1beta1/types/gogoproto/gogo.js +0 -2
- package/lib/cosmos.auth.v1beta1/types/google/api/annotations.js +0 -2
- package/lib/cosmos.auth.v1beta1/types/google/api/http.js +0 -260
- package/lib/cosmos.auth.v1beta1/types/google/protobuf/descriptor.js +0 -2830
- package/lib/cosmos.auth.v1beta1/types.js +0 -4
- package/lib/cosmos.authz.v1beta1/index.js +0 -5
- package/lib/cosmos.authz.v1beta1/module.js +0 -140
- package/lib/cosmos.authz.v1beta1/registry.js +0 -9
- package/lib/cosmos.authz.v1beta1/rest.js +0 -131
- package/lib/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/authz.js +0 -244
- package/lib/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/event.js +0 -128
- package/lib/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/genesis.js +0 -54
- package/lib/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/query.js +0 -394
- package/lib/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/tx.js +0 -362
- package/lib/cosmos.authz.v1beta1/types/cosmos/base/abci/v1beta1/abci.js +0 -773
- package/lib/cosmos.authz.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/lib/cosmos.authz.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
- package/lib/cosmos.authz.v1beta1/types/cosmos_proto/cosmos.js +0 -171
- package/lib/cosmos.authz.v1beta1/types/gogoproto/gogo.js +0 -2
- package/lib/cosmos.authz.v1beta1/types/google/api/annotations.js +0 -2
- package/lib/cosmos.authz.v1beta1/types/google/api/http.js +0 -260
- package/lib/cosmos.authz.v1beta1/types/google/protobuf/any.js +0 -99
- package/lib/cosmos.authz.v1beta1/types/google/protobuf/descriptor.js +0 -2830
- package/lib/cosmos.authz.v1beta1/types/google/protobuf/duration.js +0 -84
- package/lib/cosmos.authz.v1beta1/types/google/protobuf/timestamp.js +0 -84
- package/lib/cosmos.authz.v1beta1/types/tendermint/abci/types.js +0 -3447
- package/lib/cosmos.authz.v1beta1/types/tendermint/crypto/keys.js +0 -100
- package/lib/cosmos.authz.v1beta1/types/tendermint/crypto/proof.js +0 -356
- package/lib/cosmos.authz.v1beta1/types/tendermint/types/params.js +0 -378
- package/lib/cosmos.authz.v1beta1/types/tendermint/types/types.js +0 -1207
- package/lib/cosmos.authz.v1beta1/types/tendermint/types/validator.js +0 -254
- package/lib/cosmos.authz.v1beta1/types/tendermint/version/types.js +0 -133
- package/lib/cosmos.authz.v1beta1/types.js +0 -7
- package/lib/cosmos.bank.v1beta1/index.js +0 -5
- package/lib/cosmos.bank.v1beta1/module.js +0 -125
- package/lib/cosmos.bank.v1beta1/registry.js +0 -7
- package/lib/cosmos.bank.v1beta1/rest.js +0 -222
- package/lib/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/authz.js +0 -50
- package/lib/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/bank.js +0 -455
- package/lib/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/genesis.js +0 -154
- package/lib/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/query.js +0 -1014
- package/lib/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/tx.js +0 -219
- package/lib/cosmos.bank.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/lib/cosmos.bank.v1beta1/types/cosmos/base/v1beta1/coin.js +0 -192
- package/lib/cosmos.bank.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
- package/lib/cosmos.bank.v1beta1/types/cosmos_proto/cosmos.js +0 -171
- package/lib/cosmos.bank.v1beta1/types/gogoproto/gogo.js +0 -2
- package/lib/cosmos.bank.v1beta1/types/google/api/annotations.js +0 -2
- package/lib/cosmos.bank.v1beta1/types/google/api/http.js +0 -260
- package/lib/cosmos.bank.v1beta1/types/google/protobuf/descriptor.js +0 -2830
- package/lib/cosmos.bank.v1beta1/types.js +0 -11
- package/lib/cosmos.base.tendermint.v1beta1/index.js +0 -5
- package/lib/cosmos.base.tendermint.v1beta1/module.js +0 -70
- package/lib/cosmos.base.tendermint.v1beta1/registry.js +0 -2
- package/lib/cosmos.base.tendermint.v1beta1/rest.js +0 -209
- package/lib/cosmos.base.tendermint.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/lib/cosmos.base.tendermint.v1beta1/types/cosmos/base/tendermint/v1beta1/query.js +0 -1281
- package/lib/cosmos.base.tendermint.v1beta1/types/cosmos/base/tendermint/v1beta1/types.js +0 -350
- package/lib/cosmos.base.tendermint.v1beta1/types/cosmos_proto/cosmos.js +0 -171
- package/lib/cosmos.base.tendermint.v1beta1/types/gogoproto/gogo.js +0 -2
- package/lib/cosmos.base.tendermint.v1beta1/types/google/api/annotations.js +0 -2
- package/lib/cosmos.base.tendermint.v1beta1/types/google/api/http.js +0 -260
- package/lib/cosmos.base.tendermint.v1beta1/types/google/protobuf/any.js +0 -99
- package/lib/cosmos.base.tendermint.v1beta1/types/google/protobuf/descriptor.js +0 -2830
- package/lib/cosmos.base.tendermint.v1beta1/types/google/protobuf/timestamp.js +0 -84
- package/lib/cosmos.base.tendermint.v1beta1/types/tendermint/crypto/keys.js +0 -100
- package/lib/cosmos.base.tendermint.v1beta1/types/tendermint/crypto/proof.js +0 -356
- package/lib/cosmos.base.tendermint.v1beta1/types/tendermint/p2p/types.js +0 -352
- package/lib/cosmos.base.tendermint.v1beta1/types/tendermint/types/block.js +0 -86
- package/lib/cosmos.base.tendermint.v1beta1/types/tendermint/types/evidence.js +0 -343
- package/lib/cosmos.base.tendermint.v1beta1/types/tendermint/types/types.js +0 -1207
- package/lib/cosmos.base.tendermint.v1beta1/types/tendermint/types/validator.js +0 -254
- package/lib/cosmos.base.tendermint.v1beta1/types/tendermint/version/types.js +0 -133
- package/lib/cosmos.base.tendermint.v1beta1/types.js +0 -8
- package/lib/cosmos.crisis.v1beta1/index.js +0 -5
- package/lib/cosmos.crisis.v1beta1/module.js +0 -81
- package/lib/cosmos.crisis.v1beta1/registry.js +0 -5
- package/lib/cosmos.crisis.v1beta1/rest.js +0 -83
- package/lib/cosmos.crisis.v1beta1/types/cosmos/base/v1beta1/coin.js +0 -192
- package/lib/cosmos.crisis.v1beta1/types/cosmos/crisis/v1beta1/genesis.js +0 -51
- package/lib/cosmos.crisis.v1beta1/types/cosmos/crisis/v1beta1/tx.js +0 -111
- package/lib/cosmos.crisis.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
- package/lib/cosmos.crisis.v1beta1/types/cosmos_proto/cosmos.js +0 -171
- package/lib/cosmos.crisis.v1beta1/types/gogoproto/gogo.js +0 -2
- package/lib/cosmos.crisis.v1beta1/types/google/protobuf/descriptor.js +0 -2830
- package/lib/cosmos.crisis.v1beta1/types.js +0 -1
- package/lib/cosmos.distribution.v1beta1/index.js +0 -5
- package/lib/cosmos.distribution.v1beta1/module.js +0 -189
- package/lib/cosmos.distribution.v1beta1/registry.js +0 -11
- package/lib/cosmos.distribution.v1beta1/rest.js +0 -214
- package/lib/cosmos.distribution.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/lib/cosmos.distribution.v1beta1/types/cosmos/base/v1beta1/coin.js +0 -192
- package/lib/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/distribution.js +0 -737
- package/lib/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/genesis.js +0 -656
- package/lib/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/query.js +0 -926
- package/lib/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/tx.js +0 -396
- package/lib/cosmos.distribution.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
- package/lib/cosmos.distribution.v1beta1/types/cosmos_proto/cosmos.js +0 -171
- package/lib/cosmos.distribution.v1beta1/types/gogoproto/gogo.js +0 -2
- package/lib/cosmos.distribution.v1beta1/types/google/api/annotations.js +0 -2
- package/lib/cosmos.distribution.v1beta1/types/google/api/http.js +0 -260
- package/lib/cosmos.distribution.v1beta1/types/google/protobuf/descriptor.js +0 -2830
- package/lib/cosmos.distribution.v1beta1/types.js +0 -20
- package/lib/cosmos.evidence.v1beta1/index.js +0 -5
- package/lib/cosmos.evidence.v1beta1/module.js +0 -84
- package/lib/cosmos.evidence.v1beta1/registry.js +0 -5
- package/lib/cosmos.evidence.v1beta1/rest.js +0 -115
- package/lib/cosmos.evidence.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/lib/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/evidence.js +0 -124
- package/lib/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/genesis.js +0 -50
- package/lib/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/query.js +0 -254
- package/lib/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/tx.js +0 -154
- package/lib/cosmos.evidence.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
- package/lib/cosmos.evidence.v1beta1/types/cosmos_proto/cosmos.js +0 -171
- package/lib/cosmos.evidence.v1beta1/types/gogoproto/gogo.js +0 -2
- package/lib/cosmos.evidence.v1beta1/types/google/api/annotations.js +0 -2
- package/lib/cosmos.evidence.v1beta1/types/google/api/http.js +0 -260
- package/lib/cosmos.evidence.v1beta1/types/google/protobuf/any.js +0 -99
- package/lib/cosmos.evidence.v1beta1/types/google/protobuf/descriptor.js +0 -2830
- package/lib/cosmos.evidence.v1beta1/types/google/protobuf/timestamp.js +0 -84
- package/lib/cosmos.evidence.v1beta1/types.js +0 -2
- package/lib/cosmos.feegrant.v1beta1/index.js +0 -5
- package/lib/cosmos.feegrant.v1beta1/module.js +0 -113
- package/lib/cosmos.feegrant.v1beta1/registry.js +0 -7
- package/lib/cosmos.feegrant.v1beta1/rest.js +0 -130
- package/lib/cosmos.feegrant.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/lib/cosmos.feegrant.v1beta1/types/cosmos/base/v1beta1/coin.js +0 -192
- package/lib/cosmos.feegrant.v1beta1/types/cosmos/feegrant/v1beta1/feegrant.js +0 -307
- package/lib/cosmos.feegrant.v1beta1/types/cosmos/feegrant/v1beta1/genesis.js +0 -52
- package/lib/cosmos.feegrant.v1beta1/types/cosmos/feegrant/v1beta1/query.js +0 -357
- package/lib/cosmos.feegrant.v1beta1/types/cosmos/feegrant/v1beta1/tx.js +0 -205
- package/lib/cosmos.feegrant.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
- package/lib/cosmos.feegrant.v1beta1/types/cosmos_proto/cosmos.js +0 -171
- package/lib/cosmos.feegrant.v1beta1/types/gogoproto/gogo.js +0 -2
- package/lib/cosmos.feegrant.v1beta1/types/google/api/annotations.js +0 -2
- package/lib/cosmos.feegrant.v1beta1/types/google/api/http.js +0 -260
- package/lib/cosmos.feegrant.v1beta1/types/google/protobuf/any.js +0 -99
- package/lib/cosmos.feegrant.v1beta1/types/google/protobuf/descriptor.js +0 -2830
- package/lib/cosmos.feegrant.v1beta1/types/google/protobuf/duration.js +0 -84
- package/lib/cosmos.feegrant.v1beta1/types/google/protobuf/timestamp.js +0 -84
- package/lib/cosmos.feegrant.v1beta1/types.js +0 -5
- package/lib/cosmos.gov.v1/index.js +0 -5
- package/lib/cosmos.gov.v1/module.js +0 -167
- package/lib/cosmos.gov.v1/registry.js +0 -11
- package/lib/cosmos.gov.v1/rest.js +0 -242
- package/lib/cosmos.gov.v1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/lib/cosmos.gov.v1/types/cosmos/base/v1beta1/coin.js +0 -192
- package/lib/cosmos.gov.v1/types/cosmos/gov/v1/genesis.js +0 -162
- package/lib/cosmos.gov.v1/types/cosmos/gov/v1/gov.js +0 -766
- package/lib/cosmos.gov.v1/types/cosmos/gov/v1/query.js +0 -917
- package/lib/cosmos.gov.v1/types/cosmos/gov/v1/tx.js +0 -590
- package/lib/cosmos.gov.v1/types/cosmos/msg/v1/msg.js +0 -2
- package/lib/cosmos.gov.v1/types/cosmos_proto/cosmos.js +0 -171
- package/lib/cosmos.gov.v1/types/gogoproto/gogo.js +0 -2
- package/lib/cosmos.gov.v1/types/google/api/annotations.js +0 -2
- package/lib/cosmos.gov.v1/types/google/api/http.js +0 -260
- package/lib/cosmos.gov.v1/types/google/protobuf/any.js +0 -99
- package/lib/cosmos.gov.v1/types/google/protobuf/descriptor.js +0 -2830
- package/lib/cosmos.gov.v1/types/google/protobuf/duration.js +0 -84
- package/lib/cosmos.gov.v1/types/google/protobuf/timestamp.js +0 -84
- package/lib/cosmos.gov.v1/types.js +0 -9
- package/lib/cosmos.gov.v1beta1/index.js +0 -5
- package/lib/cosmos.gov.v1beta1/module.js +0 -169
- package/lib/cosmos.gov.v1beta1/registry.js +0 -11
- package/lib/cosmos.gov.v1beta1/rest.js +0 -242
- package/lib/cosmos.gov.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/lib/cosmos.gov.v1beta1/types/cosmos/base/v1beta1/coin.js +0 -192
- package/lib/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/genesis.js +0 -162
- package/lib/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/gov.js +0 -832
- package/lib/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/query.js +0 -917
- package/lib/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/tx.js +0 -467
- package/lib/cosmos.gov.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
- package/lib/cosmos.gov.v1beta1/types/cosmos_proto/cosmos.js +0 -171
- package/lib/cosmos.gov.v1beta1/types/gogoproto/gogo.js +0 -2
- package/lib/cosmos.gov.v1beta1/types/google/api/annotations.js +0 -2
- package/lib/cosmos.gov.v1beta1/types/google/api/http.js +0 -260
- package/lib/cosmos.gov.v1beta1/types/google/protobuf/any.js +0 -99
- package/lib/cosmos.gov.v1beta1/types/google/protobuf/descriptor.js +0 -2830
- package/lib/cosmos.gov.v1beta1/types/google/protobuf/duration.js +0 -84
- package/lib/cosmos.gov.v1beta1/types/google/protobuf/timestamp.js +0 -84
- package/lib/cosmos.gov.v1beta1/types.js +0 -10
- package/lib/cosmos.group.v1/index.js +0 -5
- package/lib/cosmos.group.v1/module.js +0 -421
- package/lib/cosmos.group.v1/registry.js +0 -31
- package/lib/cosmos.group.v1/rest.js +0 -351
- package/lib/cosmos.group.v1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/lib/cosmos.group.v1/types/cosmos/group/v1/events.js +0 -433
- package/lib/cosmos.group.v1/types/cosmos/group/v1/genesis.js +0 -177
- package/lib/cosmos.group.v1/types/cosmos/group/v1/query.js +0 -1468
- package/lib/cosmos.group.v1/types/cosmos/group/v1/tx.js +0 -1621
- package/lib/cosmos.group.v1/types/cosmos/group/v1/types.js +0 -1105
- package/lib/cosmos.group.v1/types/cosmos/msg/v1/msg.js +0 -2
- package/lib/cosmos.group.v1/types/cosmos_proto/cosmos.js +0 -171
- package/lib/cosmos.group.v1/types/gogoproto/gogo.js +0 -2
- package/lib/cosmos.group.v1/types/google/api/annotations.js +0 -2
- package/lib/cosmos.group.v1/types/google/api/http.js +0 -260
- package/lib/cosmos.group.v1/types/google/protobuf/any.js +0 -99
- package/lib/cosmos.group.v1/types/google/protobuf/descriptor.js +0 -2830
- package/lib/cosmos.group.v1/types/google/protobuf/duration.js +0 -84
- package/lib/cosmos.group.v1/types/google/protobuf/timestamp.js +0 -84
- package/lib/cosmos.group.v1/types.js +0 -21
- package/lib/cosmos.mint.v1beta1/index.js +0 -5
- package/lib/cosmos.mint.v1beta1/module.js +0 -60
- package/lib/cosmos.mint.v1beta1/registry.js +0 -2
- package/lib/cosmos.mint.v1beta1/rest.js +0 -128
- package/lib/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/genesis.js +0 -63
- package/lib/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/mint.js +0 -179
- package/lib/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/query.js +0 -298
- package/lib/cosmos.mint.v1beta1/types/cosmos_proto/cosmos.js +0 -171
- package/lib/cosmos.mint.v1beta1/types/gogoproto/gogo.js +0 -2
- package/lib/cosmos.mint.v1beta1/types/google/api/annotations.js +0 -2
- package/lib/cosmos.mint.v1beta1/types/google/api/http.js +0 -260
- package/lib/cosmos.mint.v1beta1/types/google/protobuf/descriptor.js +0 -2830
- package/lib/cosmos.mint.v1beta1/types.js +0 -3
- package/lib/cosmos.nft.v1beta1/index.js +0 -5
- package/lib/cosmos.nft.v1beta1/module.js +0 -68
- package/lib/cosmos.nft.v1beta1/registry.js +0 -2
- package/lib/cosmos.nft.v1beta1/rest.js +0 -187
- package/lib/cosmos.nft.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/lib/cosmos.nft.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
- package/lib/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/event.js +0 -198
- package/lib/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/genesis.js +0 -126
- package/lib/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/nft.js +0 -183
- package/lib/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/query.js +0 -752
- package/lib/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/tx.js +0 -120
- package/lib/cosmos.nft.v1beta1/types/google/api/annotations.js +0 -2
- package/lib/cosmos.nft.v1beta1/types/google/api/http.js +0 -260
- package/lib/cosmos.nft.v1beta1/types/google/protobuf/any.js +0 -99
- package/lib/cosmos.nft.v1beta1/types/google/protobuf/descriptor.js +0 -2830
- package/lib/cosmos.nft.v1beta1/types.js +0 -7
- package/lib/cosmos.params.v1beta1/index.js +0 -5
- package/lib/cosmos.params.v1beta1/module.js +0 -62
- package/lib/cosmos.params.v1beta1/registry.js +0 -2
- package/lib/cosmos.params.v1beta1/rest.js +0 -116
- package/lib/cosmos.params.v1beta1/types/cosmos/params/v1beta1/params.js +0 -133
- package/lib/cosmos.params.v1beta1/types/cosmos/params/v1beta1/query.js +0 -257
- package/lib/cosmos.params.v1beta1/types/cosmos_proto/cosmos.js +0 -171
- package/lib/cosmos.params.v1beta1/types/gogoproto/gogo.js +0 -2
- package/lib/cosmos.params.v1beta1/types/google/api/annotations.js +0 -2
- package/lib/cosmos.params.v1beta1/types/google/api/http.js +0 -260
- package/lib/cosmos.params.v1beta1/types/google/protobuf/descriptor.js +0 -2830
- package/lib/cosmos.params.v1beta1/types.js +0 -4
- package/lib/cosmos.slashing.v1beta1/index.js +0 -5
- package/lib/cosmos.slashing.v1beta1/module.js +0 -92
- package/lib/cosmos.slashing.v1beta1/registry.js +0 -5
- package/lib/cosmos.slashing.v1beta1/rest.js +0 -129
- package/lib/cosmos.slashing.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/lib/cosmos.slashing.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
- package/lib/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/genesis.js +0 -279
- package/lib/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/query.js +0 -300
- package/lib/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/slashing.js +0 -275
- package/lib/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/tx.js +0 -91
- package/lib/cosmos.slashing.v1beta1/types/cosmos_proto/cosmos.js +0 -171
- package/lib/cosmos.slashing.v1beta1/types/gogoproto/gogo.js +0 -2
- package/lib/cosmos.slashing.v1beta1/types/google/api/annotations.js +0 -2
- package/lib/cosmos.slashing.v1beta1/types/google/api/http.js +0 -260
- package/lib/cosmos.slashing.v1beta1/types/google/protobuf/descriptor.js +0 -2830
- package/lib/cosmos.slashing.v1beta1/types/google/protobuf/duration.js +0 -84
- package/lib/cosmos.slashing.v1beta1/types/google/protobuf/timestamp.js +0 -84
- package/lib/cosmos.slashing.v1beta1/types.js +0 -6
- package/lib/cosmos.staking.v1beta1/index.js +0 -5
- package/lib/cosmos.staking.v1beta1/module.js +0 -243
- package/lib/cosmos.staking.v1beta1/registry.js +0 -15
- package/lib/cosmos.staking.v1beta1/rest.js +0 -308
- package/lib/cosmos.staking.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/lib/cosmos.staking.v1beta1/types/cosmos/base/v1beta1/coin.js +0 -192
- package/lib/cosmos.staking.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
- package/lib/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/authz.js +0 -184
- package/lib/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/genesis.js +0 -259
- package/lib/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/query.js +0 -1568
- package/lib/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/staking.js +0 -1436
- package/lib/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/tx.js +0 -768
- package/lib/cosmos.staking.v1beta1/types/cosmos_proto/cosmos.js +0 -171
- package/lib/cosmos.staking.v1beta1/types/gogoproto/gogo.js +0 -2
- package/lib/cosmos.staking.v1beta1/types/google/api/annotations.js +0 -2
- package/lib/cosmos.staking.v1beta1/types/google/api/http.js +0 -260
- package/lib/cosmos.staking.v1beta1/types/google/protobuf/any.js +0 -99
- package/lib/cosmos.staking.v1beta1/types/google/protobuf/descriptor.js +0 -2830
- package/lib/cosmos.staking.v1beta1/types/google/protobuf/duration.js +0 -84
- package/lib/cosmos.staking.v1beta1/types/google/protobuf/timestamp.js +0 -84
- package/lib/cosmos.staking.v1beta1/types/tendermint/crypto/keys.js +0 -100
- package/lib/cosmos.staking.v1beta1/types/tendermint/crypto/proof.js +0 -356
- package/lib/cosmos.staking.v1beta1/types/tendermint/types/types.js +0 -1207
- package/lib/cosmos.staking.v1beta1/types/tendermint/types/validator.js +0 -254
- package/lib/cosmos.staking.v1beta1/types/tendermint/version/types.js +0 -133
- package/lib/cosmos.staking.v1beta1/types.js +0 -24
- package/lib/cosmos.tx.v1beta1/index.js +0 -5
- package/lib/cosmos.tx.v1beta1/module.js +0 -82
- package/lib/cosmos.tx.v1beta1/registry.js +0 -2
- package/lib/cosmos.tx.v1beta1/rest.js +0 -256
- package/lib/cosmos.tx.v1beta1/types/cosmos/base/abci/v1beta1/abci.js +0 -803
- package/lib/cosmos.tx.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/lib/cosmos.tx.v1beta1/types/cosmos/base/v1beta1/coin.js +0 -192
- package/lib/cosmos.tx.v1beta1/types/cosmos/crypto/multisig/v1beta1/multisig.js +0 -147
- package/lib/cosmos.tx.v1beta1/types/cosmos/tx/signing/v1beta1/signing.js +0 -449
- package/lib/cosmos.tx.v1beta1/types/cosmos/tx/v1beta1/service.js +0 -802
- package/lib/cosmos.tx.v1beta1/types/cosmos/tx/v1beta1/tx.js +0 -959
- package/lib/cosmos.tx.v1beta1/types/cosmos_proto/cosmos.js +0 -171
- package/lib/cosmos.tx.v1beta1/types/gogoproto/gogo.js +0 -2
- package/lib/cosmos.tx.v1beta1/types/google/api/annotations.js +0 -2
- package/lib/cosmos.tx.v1beta1/types/google/api/http.js +0 -260
- package/lib/cosmos.tx.v1beta1/types/google/protobuf/any.js +0 -99
- package/lib/cosmos.tx.v1beta1/types/google/protobuf/descriptor.js +0 -2830
- package/lib/cosmos.tx.v1beta1/types/google/protobuf/duration.js +0 -84
- package/lib/cosmos.tx.v1beta1/types/google/protobuf/timestamp.js +0 -84
- package/lib/cosmos.tx.v1beta1/types/tendermint/abci/types.js +0 -3486
- package/lib/cosmos.tx.v1beta1/types/tendermint/crypto/keys.js +0 -100
- package/lib/cosmos.tx.v1beta1/types/tendermint/crypto/proof.js +0 -356
- package/lib/cosmos.tx.v1beta1/types/tendermint/types/block.js +0 -86
- package/lib/cosmos.tx.v1beta1/types/tendermint/types/evidence.js +0 -343
- package/lib/cosmos.tx.v1beta1/types/tendermint/types/params.js +0 -378
- package/lib/cosmos.tx.v1beta1/types/tendermint/types/types.js +0 -1207
- package/lib/cosmos.tx.v1beta1/types/tendermint/types/validator.js +0 -254
- package/lib/cosmos.tx.v1beta1/types/tendermint/version/types.js +0 -133
- package/lib/cosmos.tx.v1beta1/types.js +0 -14
- package/lib/cosmos.upgrade.v1beta1/index.js +0 -5
- package/lib/cosmos.upgrade.v1beta1/module.js +0 -113
- package/lib/cosmos.upgrade.v1beta1/registry.js +0 -7
- package/lib/cosmos.upgrade.v1beta1/rest.js +0 -162
- package/lib/cosmos.upgrade.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
- package/lib/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/query.js +0 -501
- package/lib/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/tx.js +0 -183
- package/lib/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/upgrade.js +0 -302
- package/lib/cosmos.upgrade.v1beta1/types/cosmos_proto/cosmos.js +0 -171
- package/lib/cosmos.upgrade.v1beta1/types/gogoproto/gogo.js +0 -2
- package/lib/cosmos.upgrade.v1beta1/types/google/api/annotations.js +0 -2
- package/lib/cosmos.upgrade.v1beta1/types/google/api/http.js +0 -260
- package/lib/cosmos.upgrade.v1beta1/types/google/protobuf/any.js +0 -99
- package/lib/cosmos.upgrade.v1beta1/types/google/protobuf/descriptor.js +0 -2830
- package/lib/cosmos.upgrade.v1beta1/types/google/protobuf/timestamp.js +0 -84
- package/lib/cosmos.upgrade.v1beta1/types.js +0 -5
- package/lib/cosmos.vesting.v1beta1/index.js +0 -5
- package/lib/cosmos.vesting.v1beta1/module.js +0 -140
- package/lib/cosmos.vesting.v1beta1/registry.js +0 -9
- package/lib/cosmos.vesting.v1beta1/rest.js +0 -83
- package/lib/cosmos.vesting.v1beta1/types/cosmos/auth/v1beta1/auth.js +0 -260
- package/lib/cosmos.vesting.v1beta1/types/cosmos/base/v1beta1/coin.js +0 -192
- package/lib/cosmos.vesting.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
- package/lib/cosmos.vesting.v1beta1/types/cosmos/vesting/v1beta1/tx.js +0 -383
- package/lib/cosmos.vesting.v1beta1/types/cosmos/vesting/v1beta1/vesting.js +0 -422
- package/lib/cosmos.vesting.v1beta1/types/cosmos_proto/cosmos.js +0 -171
- package/lib/cosmos.vesting.v1beta1/types/gogoproto/gogo.js +0 -2
- package/lib/cosmos.vesting.v1beta1/types/google/protobuf/any.js +0 -99
- package/lib/cosmos.vesting.v1beta1/types/google/protobuf/descriptor.js +0 -2830
- package/lib/cosmos.vesting.v1beta1/types.js +0 -7
- package/lib/env.js +0 -1
- package/lib/helpers.js +0 -11
- package/lib/ibc.applications.interchain_accounts.controller.v1/index.js +0 -5
- package/lib/ibc.applications.interchain_accounts.controller.v1/module.js +0 -58
- package/lib/ibc.applications.interchain_accounts.controller.v1/registry.js +0 -2
- package/lib/ibc.applications.interchain_accounts.controller.v1/rest.js +0 -114
- package/lib/ibc.applications.interchain_accounts.controller.v1/types/gogoproto/gogo.js +0 -2
- package/lib/ibc.applications.interchain_accounts.controller.v1/types/google/api/annotations.js +0 -2
- package/lib/ibc.applications.interchain_accounts.controller.v1/types/google/api/http.js +0 -260
- package/lib/ibc.applications.interchain_accounts.controller.v1/types/google/protobuf/descriptor.js +0 -2830
- package/lib/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/controller.js +0 -47
- package/lib/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/query.js +0 -193
- package/lib/ibc.applications.interchain_accounts.controller.v1/types.js +0 -2
- package/lib/ibc.applications.interchain_accounts.host.v1/index.js +0 -5
- package/lib/ibc.applications.interchain_accounts.host.v1/module.js +0 -58
- package/lib/ibc.applications.interchain_accounts.host.v1/registry.js +0 -2
- package/lib/ibc.applications.interchain_accounts.host.v1/rest.js +0 -100
- package/lib/ibc.applications.interchain_accounts.host.v1/types/gogoproto/gogo.js +0 -2
- package/lib/ibc.applications.interchain_accounts.host.v1/types/google/api/annotations.js +0 -2
- package/lib/ibc.applications.interchain_accounts.host.v1/types/google/api/http.js +0 -260
- package/lib/ibc.applications.interchain_accounts.host.v1/types/google/protobuf/descriptor.js +0 -2830
- package/lib/ibc.applications.interchain_accounts.host.v1/types/ibc/applications/interchain_accounts/host/v1/host.js +0 -63
- package/lib/ibc.applications.interchain_accounts.host.v1/types/ibc/applications/interchain_accounts/host/v1/query.js +0 -94
- package/lib/ibc.applications.interchain_accounts.host.v1/types.js +0 -2
- package/lib/ibc.applications.transfer.v1/index.js +0 -5
- package/lib/ibc.applications.transfer.v1/module.js +0 -86
- package/lib/ibc.applications.transfer.v1/registry.js +0 -5
- package/lib/ibc.applications.transfer.v1/rest.js +0 -157
- package/lib/ibc.applications.transfer.v1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/lib/ibc.applications.transfer.v1/types/cosmos/base/v1beta1/coin.js +0 -192
- package/lib/ibc.applications.transfer.v1/types/cosmos/upgrade/v1beta1/upgrade.js +0 -302
- package/lib/ibc.applications.transfer.v1/types/cosmos_proto/cosmos.js +0 -171
- package/lib/ibc.applications.transfer.v1/types/gogoproto/gogo.js +0 -2
- package/lib/ibc.applications.transfer.v1/types/google/api/annotations.js +0 -2
- package/lib/ibc.applications.transfer.v1/types/google/api/http.js +0 -260
- package/lib/ibc.applications.transfer.v1/types/google/protobuf/any.js +0 -99
- package/lib/ibc.applications.transfer.v1/types/google/protobuf/descriptor.js +0 -2830
- package/lib/ibc.applications.transfer.v1/types/google/protobuf/timestamp.js +0 -84
- package/lib/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/genesis.js +0 -75
- package/lib/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/query.js +0 -483
- package/lib/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/transfer.js +0 -110
- package/lib/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/tx.js +0 -186
- package/lib/ibc.applications.transfer.v1/types/ibc/core/client/v1/client.js +0 -448
- package/lib/ibc.applications.transfer.v1/types.js +0 -3
- package/lib/ibc.core.channel.v1/index.js +0 -5
- package/lib/ibc.core.channel.v1/module.js +0 -72
- package/lib/ibc.core.channel.v1/registry.js +0 -2
- package/lib/ibc.core.channel.v1/rest.js +0 -323
- package/lib/ibc.core.channel.v1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/lib/ibc.core.channel.v1/types/cosmos/upgrade/v1beta1/upgrade.js +0 -302
- package/lib/ibc.core.channel.v1/types/cosmos_proto/cosmos.js +0 -171
- package/lib/ibc.core.channel.v1/types/gogoproto/gogo.js +0 -2
- package/lib/ibc.core.channel.v1/types/google/api/annotations.js +0 -2
- package/lib/ibc.core.channel.v1/types/google/api/http.js +0 -260
- package/lib/ibc.core.channel.v1/types/google/protobuf/any.js +0 -99
- package/lib/ibc.core.channel.v1/types/google/protobuf/descriptor.js +0 -2830
- package/lib/ibc.core.channel.v1/types/google/protobuf/timestamp.js +0 -84
- package/lib/ibc.core.channel.v1/types/ibc/core/channel/v1/channel.js +0 -714
- package/lib/ibc.core.channel.v1/types/ibc/core/channel/v1/genesis.js +0 -254
- package/lib/ibc.core.channel.v1/types/ibc/core/channel/v1/query.js +0 -1866
- package/lib/ibc.core.channel.v1/types/ibc/core/channel/v1/tx.js +0 -1425
- package/lib/ibc.core.channel.v1/types/ibc/core/client/v1/client.js +0 -448
- package/lib/ibc.core.channel.v1/types.js +0 -9
- package/lib/ibc.core.client.v1/index.js +0 -5
- package/lib/ibc.core.client.v1/module.js +0 -74
- package/lib/ibc.core.client.v1/registry.js +0 -2
- package/lib/ibc.core.client.v1/rest.js +0 -218
- package/lib/ibc.core.client.v1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/lib/ibc.core.client.v1/types/cosmos/upgrade/v1beta1/upgrade.js +0 -302
- package/lib/ibc.core.client.v1/types/cosmos_proto/cosmos.js +0 -171
- package/lib/ibc.core.client.v1/types/gogoproto/gogo.js +0 -2
- package/lib/ibc.core.client.v1/types/google/api/annotations.js +0 -2
- package/lib/ibc.core.client.v1/types/google/api/http.js +0 -260
- package/lib/ibc.core.client.v1/types/google/protobuf/any.js +0 -99
- package/lib/ibc.core.client.v1/types/google/protobuf/descriptor.js +0 -2830
- package/lib/ibc.core.client.v1/types/google/protobuf/timestamp.js +0 -84
- package/lib/ibc.core.client.v1/types/ibc/core/client/v1/client.js +0 -448
- package/lib/ibc.core.client.v1/types/ibc/core/client/v1/genesis.js +0 -287
- package/lib/ibc.core.client.v1/types/ibc/core/client/v1/query.js +0 -1026
- package/lib/ibc.core.client.v1/types/ibc/core/client/v1/tx.js +0 -509
- package/lib/ibc.core.client.v1/types.js +0 -10
- package/lib/ibc.core.connection.v1/index.js +0 -5
- package/lib/ibc.core.connection.v1/module.js +0 -70
- package/lib/ibc.core.connection.v1/registry.js +0 -2
- package/lib/ibc.core.connection.v1/rest.js +0 -177
- package/lib/ibc.core.connection.v1/types/confio/proofs.js +0 -1120
- package/lib/ibc.core.connection.v1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/lib/ibc.core.connection.v1/types/cosmos/upgrade/v1beta1/upgrade.js +0 -302
- package/lib/ibc.core.connection.v1/types/cosmos_proto/cosmos.js +0 -171
- package/lib/ibc.core.connection.v1/types/gogoproto/gogo.js +0 -2
- package/lib/ibc.core.connection.v1/types/google/api/annotations.js +0 -2
- package/lib/ibc.core.connection.v1/types/google/api/http.js +0 -260
- package/lib/ibc.core.connection.v1/types/google/protobuf/any.js +0 -99
- package/lib/ibc.core.connection.v1/types/google/protobuf/descriptor.js +0 -2830
- package/lib/ibc.core.connection.v1/types/google/protobuf/timestamp.js +0 -84
- package/lib/ibc.core.connection.v1/types/ibc/core/client/v1/client.js +0 -448
- package/lib/ibc.core.connection.v1/types/ibc/core/commitment/v1/commitment.js +0 -223
- package/lib/ibc.core.connection.v1/types/ibc/core/connection/v1/connection.js +0 -537
- package/lib/ibc.core.connection.v1/types/ibc/core/connection/v1/genesis.js +0 -120
- package/lib/ibc.core.connection.v1/types/ibc/core/connection/v1/query.js +0 -684
- package/lib/ibc.core.connection.v1/types/ibc/core/connection/v1/tx.js +0 -705
- package/lib/ibc.core.connection.v1/types/proofs.js +0 -1126
- package/lib/ibc.core.connection.v1/types.js +0 -8
- package/lib/index.js +0 -62
- package/lib/modules.js +0 -1
- /package/{lib/DecentralCardGame.cardchain.cardchain → DecentralCardGame.cardchain.cardchain}/types/cardchain/tx.js +0 -0
- /package/{lib/cosmos.auth.v1beta1 → ibc.applications.interchain_accounts.controller.v1}/types/google/protobuf/any.js +0 -0
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
import Long from "long";
|
|
3
3
|
import _m0 from "protobufjs/minimal";
|
|
4
|
+
import { Coin } from "../../cosmos/base/v1beta1/coin";
|
|
4
5
|
import { responseFromJSON, responseToJSON } from "./council";
|
|
5
6
|
export const protobufPackage = "DecentralCardGame.cardchain.cardchain";
|
|
6
7
|
export var Outcome;
|
|
@@ -141,15 +142,15 @@ export const MsgCreateuserResponse = {
|
|
|
141
142
|
},
|
|
142
143
|
};
|
|
143
144
|
function createBaseMsgBuyCardScheme() {
|
|
144
|
-
return { creator: "", bid:
|
|
145
|
+
return { creator: "", bid: undefined };
|
|
145
146
|
}
|
|
146
147
|
export const MsgBuyCardScheme = {
|
|
147
148
|
encode(message, writer = _m0.Writer.create()) {
|
|
148
149
|
if (message.creator !== "") {
|
|
149
150
|
writer.uint32(10).string(message.creator);
|
|
150
151
|
}
|
|
151
|
-
if (message.bid !==
|
|
152
|
-
writer.uint32(18).
|
|
152
|
+
if (message.bid !== undefined) {
|
|
153
|
+
Coin.encode(message.bid, writer.uint32(18).fork()).ldelim();
|
|
153
154
|
}
|
|
154
155
|
return writer;
|
|
155
156
|
},
|
|
@@ -164,7 +165,7 @@ export const MsgBuyCardScheme = {
|
|
|
164
165
|
message.creator = reader.string();
|
|
165
166
|
break;
|
|
166
167
|
case 2:
|
|
167
|
-
message.bid = reader.
|
|
168
|
+
message.bid = Coin.decode(reader, reader.uint32());
|
|
168
169
|
break;
|
|
169
170
|
default:
|
|
170
171
|
reader.skipType(tag & 7);
|
|
@@ -176,19 +177,19 @@ export const MsgBuyCardScheme = {
|
|
|
176
177
|
fromJSON(object) {
|
|
177
178
|
return {
|
|
178
179
|
creator: isSet(object.creator) ? String(object.creator) : "",
|
|
179
|
-
bid: isSet(object.bid) ?
|
|
180
|
+
bid: isSet(object.bid) ? Coin.fromJSON(object.bid) : undefined,
|
|
180
181
|
};
|
|
181
182
|
},
|
|
182
183
|
toJSON(message) {
|
|
183
184
|
const obj = {};
|
|
184
185
|
message.creator !== undefined && (obj.creator = message.creator);
|
|
185
|
-
message.bid !== undefined && (obj.bid = message.bid);
|
|
186
|
+
message.bid !== undefined && (obj.bid = message.bid ? Coin.toJSON(message.bid) : undefined);
|
|
186
187
|
return obj;
|
|
187
188
|
},
|
|
188
189
|
fromPartial(object) {
|
|
189
190
|
const message = createBaseMsgBuyCardScheme();
|
|
190
191
|
message.creator = object.creator ?? "";
|
|
191
|
-
message.bid = object.bid
|
|
192
|
+
message.bid = (object.bid !== undefined && object.bid !== null) ? Coin.fromPartial(object.bid) : undefined;
|
|
192
193
|
return message;
|
|
193
194
|
},
|
|
194
195
|
};
|
|
@@ -328,7 +329,7 @@ export const MsgVoteCardResponse = {
|
|
|
328
329
|
},
|
|
329
330
|
};
|
|
330
331
|
function createBaseMsgSaveCardContent() {
|
|
331
|
-
return { creator: "", cardId: 0, content: new Uint8Array(), notes: "", artist: "" };
|
|
332
|
+
return { creator: "", cardId: 0, content: new Uint8Array(), notes: "", artist: "", balanceAnchor: false };
|
|
332
333
|
}
|
|
333
334
|
export const MsgSaveCardContent = {
|
|
334
335
|
encode(message, writer = _m0.Writer.create()) {
|
|
@@ -347,6 +348,9 @@ export const MsgSaveCardContent = {
|
|
|
347
348
|
if (message.artist !== "") {
|
|
348
349
|
writer.uint32(42).string(message.artist);
|
|
349
350
|
}
|
|
351
|
+
if (message.balanceAnchor === true) {
|
|
352
|
+
writer.uint32(48).bool(message.balanceAnchor);
|
|
353
|
+
}
|
|
350
354
|
return writer;
|
|
351
355
|
},
|
|
352
356
|
decode(input, length) {
|
|
@@ -371,6 +375,9 @@ export const MsgSaveCardContent = {
|
|
|
371
375
|
case 5:
|
|
372
376
|
message.artist = reader.string();
|
|
373
377
|
break;
|
|
378
|
+
case 6:
|
|
379
|
+
message.balanceAnchor = reader.bool();
|
|
380
|
+
break;
|
|
374
381
|
default:
|
|
375
382
|
reader.skipType(tag & 7);
|
|
376
383
|
break;
|
|
@@ -385,6 +392,7 @@ export const MsgSaveCardContent = {
|
|
|
385
392
|
content: isSet(object.content) ? bytesFromBase64(object.content) : new Uint8Array(),
|
|
386
393
|
notes: isSet(object.notes) ? String(object.notes) : "",
|
|
387
394
|
artist: isSet(object.artist) ? String(object.artist) : "",
|
|
395
|
+
balanceAnchor: isSet(object.balanceAnchor) ? Boolean(object.balanceAnchor) : false,
|
|
388
396
|
};
|
|
389
397
|
},
|
|
390
398
|
toJSON(message) {
|
|
@@ -395,6 +403,7 @@ export const MsgSaveCardContent = {
|
|
|
395
403
|
&& (obj.content = base64FromBytes(message.content !== undefined ? message.content : new Uint8Array()));
|
|
396
404
|
message.notes !== undefined && (obj.notes = message.notes);
|
|
397
405
|
message.artist !== undefined && (obj.artist = message.artist);
|
|
406
|
+
message.balanceAnchor !== undefined && (obj.balanceAnchor = message.balanceAnchor);
|
|
398
407
|
return obj;
|
|
399
408
|
},
|
|
400
409
|
fromPartial(object) {
|
|
@@ -404,6 +413,7 @@ export const MsgSaveCardContent = {
|
|
|
404
413
|
message.content = object.content ?? new Uint8Array();
|
|
405
414
|
message.notes = object.notes ?? "";
|
|
406
415
|
message.artist = object.artist ?? "";
|
|
416
|
+
message.balanceAnchor = object.balanceAnchor ?? false;
|
|
407
417
|
return message;
|
|
408
418
|
},
|
|
409
419
|
};
|
|
@@ -3836,6 +3846,148 @@ export const MsgSetUserBiographyResponse = {
|
|
|
3836
3846
|
return message;
|
|
3837
3847
|
},
|
|
3838
3848
|
};
|
|
3849
|
+
function createBaseSingleVote() {
|
|
3850
|
+
return { cardId: 0, voteType: "" };
|
|
3851
|
+
}
|
|
3852
|
+
export const SingleVote = {
|
|
3853
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
3854
|
+
if (message.cardId !== 0) {
|
|
3855
|
+
writer.uint32(8).uint64(message.cardId);
|
|
3856
|
+
}
|
|
3857
|
+
if (message.voteType !== "") {
|
|
3858
|
+
writer.uint32(18).string(message.voteType);
|
|
3859
|
+
}
|
|
3860
|
+
return writer;
|
|
3861
|
+
},
|
|
3862
|
+
decode(input, length) {
|
|
3863
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
3864
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
3865
|
+
const message = createBaseSingleVote();
|
|
3866
|
+
while (reader.pos < end) {
|
|
3867
|
+
const tag = reader.uint32();
|
|
3868
|
+
switch (tag >>> 3) {
|
|
3869
|
+
case 1:
|
|
3870
|
+
message.cardId = longToNumber(reader.uint64());
|
|
3871
|
+
break;
|
|
3872
|
+
case 2:
|
|
3873
|
+
message.voteType = reader.string();
|
|
3874
|
+
break;
|
|
3875
|
+
default:
|
|
3876
|
+
reader.skipType(tag & 7);
|
|
3877
|
+
break;
|
|
3878
|
+
}
|
|
3879
|
+
}
|
|
3880
|
+
return message;
|
|
3881
|
+
},
|
|
3882
|
+
fromJSON(object) {
|
|
3883
|
+
return {
|
|
3884
|
+
cardId: isSet(object.cardId) ? Number(object.cardId) : 0,
|
|
3885
|
+
voteType: isSet(object.voteType) ? String(object.voteType) : "",
|
|
3886
|
+
};
|
|
3887
|
+
},
|
|
3888
|
+
toJSON(message) {
|
|
3889
|
+
const obj = {};
|
|
3890
|
+
message.cardId !== undefined && (obj.cardId = Math.round(message.cardId));
|
|
3891
|
+
message.voteType !== undefined && (obj.voteType = message.voteType);
|
|
3892
|
+
return obj;
|
|
3893
|
+
},
|
|
3894
|
+
fromPartial(object) {
|
|
3895
|
+
const message = createBaseSingleVote();
|
|
3896
|
+
message.cardId = object.cardId ?? 0;
|
|
3897
|
+
message.voteType = object.voteType ?? "";
|
|
3898
|
+
return message;
|
|
3899
|
+
},
|
|
3900
|
+
};
|
|
3901
|
+
function createBaseMsgMultiVoteCard() {
|
|
3902
|
+
return { creator: "", votes: [] };
|
|
3903
|
+
}
|
|
3904
|
+
export const MsgMultiVoteCard = {
|
|
3905
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
3906
|
+
if (message.creator !== "") {
|
|
3907
|
+
writer.uint32(10).string(message.creator);
|
|
3908
|
+
}
|
|
3909
|
+
for (const v of message.votes) {
|
|
3910
|
+
SingleVote.encode(v, writer.uint32(18).fork()).ldelim();
|
|
3911
|
+
}
|
|
3912
|
+
return writer;
|
|
3913
|
+
},
|
|
3914
|
+
decode(input, length) {
|
|
3915
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
3916
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
3917
|
+
const message = createBaseMsgMultiVoteCard();
|
|
3918
|
+
while (reader.pos < end) {
|
|
3919
|
+
const tag = reader.uint32();
|
|
3920
|
+
switch (tag >>> 3) {
|
|
3921
|
+
case 1:
|
|
3922
|
+
message.creator = reader.string();
|
|
3923
|
+
break;
|
|
3924
|
+
case 2:
|
|
3925
|
+
message.votes.push(SingleVote.decode(reader, reader.uint32()));
|
|
3926
|
+
break;
|
|
3927
|
+
default:
|
|
3928
|
+
reader.skipType(tag & 7);
|
|
3929
|
+
break;
|
|
3930
|
+
}
|
|
3931
|
+
}
|
|
3932
|
+
return message;
|
|
3933
|
+
},
|
|
3934
|
+
fromJSON(object) {
|
|
3935
|
+
return {
|
|
3936
|
+
creator: isSet(object.creator) ? String(object.creator) : "",
|
|
3937
|
+
votes: Array.isArray(object?.votes) ? object.votes.map((e) => SingleVote.fromJSON(e)) : [],
|
|
3938
|
+
};
|
|
3939
|
+
},
|
|
3940
|
+
toJSON(message) {
|
|
3941
|
+
const obj = {};
|
|
3942
|
+
message.creator !== undefined && (obj.creator = message.creator);
|
|
3943
|
+
if (message.votes) {
|
|
3944
|
+
obj.votes = message.votes.map((e) => e ? SingleVote.toJSON(e) : undefined);
|
|
3945
|
+
}
|
|
3946
|
+
else {
|
|
3947
|
+
obj.votes = [];
|
|
3948
|
+
}
|
|
3949
|
+
return obj;
|
|
3950
|
+
},
|
|
3951
|
+
fromPartial(object) {
|
|
3952
|
+
const message = createBaseMsgMultiVoteCard();
|
|
3953
|
+
message.creator = object.creator ?? "";
|
|
3954
|
+
message.votes = object.votes?.map((e) => SingleVote.fromPartial(e)) || [];
|
|
3955
|
+
return message;
|
|
3956
|
+
},
|
|
3957
|
+
};
|
|
3958
|
+
function createBaseMsgMultiVoteCardResponse() {
|
|
3959
|
+
return {};
|
|
3960
|
+
}
|
|
3961
|
+
export const MsgMultiVoteCardResponse = {
|
|
3962
|
+
encode(_, writer = _m0.Writer.create()) {
|
|
3963
|
+
return writer;
|
|
3964
|
+
},
|
|
3965
|
+
decode(input, length) {
|
|
3966
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
3967
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
3968
|
+
const message = createBaseMsgMultiVoteCardResponse();
|
|
3969
|
+
while (reader.pos < end) {
|
|
3970
|
+
const tag = reader.uint32();
|
|
3971
|
+
switch (tag >>> 3) {
|
|
3972
|
+
default:
|
|
3973
|
+
reader.skipType(tag & 7);
|
|
3974
|
+
break;
|
|
3975
|
+
}
|
|
3976
|
+
}
|
|
3977
|
+
return message;
|
|
3978
|
+
},
|
|
3979
|
+
fromJSON(_) {
|
|
3980
|
+
return {};
|
|
3981
|
+
},
|
|
3982
|
+
toJSON(_) {
|
|
3983
|
+
const obj = {};
|
|
3984
|
+
return obj;
|
|
3985
|
+
},
|
|
3986
|
+
fromPartial(_) {
|
|
3987
|
+
const message = createBaseMsgMultiVoteCardResponse();
|
|
3988
|
+
return message;
|
|
3989
|
+
},
|
|
3990
|
+
};
|
|
3839
3991
|
export class MsgClientImpl {
|
|
3840
3992
|
constructor(rpc) {
|
|
3841
3993
|
this.rpc = rpc;
|
|
@@ -3879,6 +4031,7 @@ export class MsgClientImpl {
|
|
|
3879
4031
|
this.SetCollectionArtist = this.SetCollectionArtist.bind(this);
|
|
3880
4032
|
this.SetUserWebsite = this.SetUserWebsite.bind(this);
|
|
3881
4033
|
this.SetUserBiography = this.SetUserBiography.bind(this);
|
|
4034
|
+
this.MultiVoteCard = this.MultiVoteCard.bind(this);
|
|
3882
4035
|
}
|
|
3883
4036
|
Createuser(request) {
|
|
3884
4037
|
const data = MsgCreateuser.encode(request).finish();
|
|
@@ -4080,6 +4233,11 @@ export class MsgClientImpl {
|
|
|
4080
4233
|
const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "SetUserBiography", data);
|
|
4081
4234
|
return promise.then((data) => MsgSetUserBiographyResponse.decode(new _m0.Reader(data)));
|
|
4082
4235
|
}
|
|
4236
|
+
MultiVoteCard(request) {
|
|
4237
|
+
const data = MsgMultiVoteCard.encode(request).finish();
|
|
4238
|
+
const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "MultiVoteCard", data);
|
|
4239
|
+
return promise.then((data) => MsgMultiVoteCardResponse.decode(new _m0.Reader(data)));
|
|
4240
|
+
}
|
|
4083
4241
|
}
|
|
4084
4242
|
var globalThis = (() => {
|
|
4085
4243
|
if (typeof globalThis !== "undefined") {
|
|
@@ -102,7 +102,7 @@ function createBaseUser() {
|
|
|
102
102
|
ownedPrototypes: [],
|
|
103
103
|
cards: [],
|
|
104
104
|
voteRights: [],
|
|
105
|
-
|
|
105
|
+
CouncilStatus: 0,
|
|
106
106
|
ReportMatches: false,
|
|
107
107
|
profileCard: 0,
|
|
108
108
|
airDrops: undefined,
|
|
@@ -134,8 +134,8 @@ export const User = {
|
|
|
134
134
|
for (const v of message.voteRights) {
|
|
135
135
|
VoteRight.encode(v, writer.uint32(42).fork()).ldelim();
|
|
136
136
|
}
|
|
137
|
-
if (message.
|
|
138
|
-
|
|
137
|
+
if (message.CouncilStatus !== 0) {
|
|
138
|
+
writer.uint32(48).int32(message.CouncilStatus);
|
|
139
139
|
}
|
|
140
140
|
if (message.ReportMatches === true) {
|
|
141
141
|
writer.uint32(56).bool(message.ReportMatches);
|
|
@@ -204,7 +204,7 @@ export const User = {
|
|
|
204
204
|
message.voteRights.push(VoteRight.decode(reader, reader.uint32()));
|
|
205
205
|
break;
|
|
206
206
|
case 6:
|
|
207
|
-
message.
|
|
207
|
+
message.CouncilStatus = reader.int32();
|
|
208
208
|
break;
|
|
209
209
|
case 7:
|
|
210
210
|
message.ReportMatches = reader.bool();
|
|
@@ -240,9 +240,7 @@ export const User = {
|
|
|
240
240
|
ownedPrototypes: Array.isArray(object?.ownedPrototypes) ? object.ownedPrototypes.map((e) => Number(e)) : [],
|
|
241
241
|
cards: Array.isArray(object?.cards) ? object.cards.map((e) => Number(e)) : [],
|
|
242
242
|
voteRights: Array.isArray(object?.voteRights) ? object.voteRights.map((e) => VoteRight.fromJSON(e)) : [],
|
|
243
|
-
|
|
244
|
-
? CouncilParticipation.fromJSON(object.councilParticipation)
|
|
245
|
-
: undefined,
|
|
243
|
+
CouncilStatus: isSet(object.CouncilStatus) ? councilStatusFromJSON(object.CouncilStatus) : 0,
|
|
246
244
|
ReportMatches: isSet(object.ReportMatches) ? Boolean(object.ReportMatches) : false,
|
|
247
245
|
profileCard: isSet(object.profileCard) ? Number(object.profileCard) : 0,
|
|
248
246
|
airDrops: isSet(object.airDrops) ? AirDrops.fromJSON(object.airDrops) : undefined,
|
|
@@ -280,9 +278,7 @@ export const User = {
|
|
|
280
278
|
else {
|
|
281
279
|
obj.voteRights = [];
|
|
282
280
|
}
|
|
283
|
-
message.
|
|
284
|
-
? CouncilParticipation.toJSON(message.councilParticipation)
|
|
285
|
-
: undefined);
|
|
281
|
+
message.CouncilStatus !== undefined && (obj.CouncilStatus = councilStatusToJSON(message.CouncilStatus));
|
|
286
282
|
message.ReportMatches !== undefined && (obj.ReportMatches = message.ReportMatches);
|
|
287
283
|
message.profileCard !== undefined && (obj.profileCard = Math.round(message.profileCard));
|
|
288
284
|
message.airDrops !== undefined && (obj.airDrops = message.airDrops ? AirDrops.toJSON(message.airDrops) : undefined);
|
|
@@ -303,9 +299,7 @@ export const User = {
|
|
|
303
299
|
message.ownedPrototypes = object.ownedPrototypes?.map((e) => e) || [];
|
|
304
300
|
message.cards = object.cards?.map((e) => e) || [];
|
|
305
301
|
message.voteRights = object.voteRights?.map((e) => VoteRight.fromPartial(e)) || [];
|
|
306
|
-
message.
|
|
307
|
-
? CouncilParticipation.fromPartial(object.councilParticipation)
|
|
308
|
-
: undefined;
|
|
302
|
+
message.CouncilStatus = object.CouncilStatus ?? 0;
|
|
309
303
|
message.ReportMatches = object.ReportMatches ?? false;
|
|
310
304
|
message.profileCard = object.profileCard ?? 0;
|
|
311
305
|
message.airDrops = (object.airDrops !== undefined && object.airDrops !== null)
|
|
@@ -317,58 +311,6 @@ export const User = {
|
|
|
317
311
|
return message;
|
|
318
312
|
},
|
|
319
313
|
};
|
|
320
|
-
function createBaseCouncilParticipation() {
|
|
321
|
-
return { status: 0, council: 0 };
|
|
322
|
-
}
|
|
323
|
-
export const CouncilParticipation = {
|
|
324
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
325
|
-
if (message.status !== 0) {
|
|
326
|
-
writer.uint32(8).int32(message.status);
|
|
327
|
-
}
|
|
328
|
-
if (message.council !== 0) {
|
|
329
|
-
writer.uint32(16).uint64(message.council);
|
|
330
|
-
}
|
|
331
|
-
return writer;
|
|
332
|
-
},
|
|
333
|
-
decode(input, length) {
|
|
334
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
335
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
336
|
-
const message = createBaseCouncilParticipation();
|
|
337
|
-
while (reader.pos < end) {
|
|
338
|
-
const tag = reader.uint32();
|
|
339
|
-
switch (tag >>> 3) {
|
|
340
|
-
case 1:
|
|
341
|
-
message.status = reader.int32();
|
|
342
|
-
break;
|
|
343
|
-
case 2:
|
|
344
|
-
message.council = longToNumber(reader.uint64());
|
|
345
|
-
break;
|
|
346
|
-
default:
|
|
347
|
-
reader.skipType(tag & 7);
|
|
348
|
-
break;
|
|
349
|
-
}
|
|
350
|
-
}
|
|
351
|
-
return message;
|
|
352
|
-
},
|
|
353
|
-
fromJSON(object) {
|
|
354
|
-
return {
|
|
355
|
-
status: isSet(object.status) ? councilStatusFromJSON(object.status) : 0,
|
|
356
|
-
council: isSet(object.council) ? Number(object.council) : 0,
|
|
357
|
-
};
|
|
358
|
-
},
|
|
359
|
-
toJSON(message) {
|
|
360
|
-
const obj = {};
|
|
361
|
-
message.status !== undefined && (obj.status = councilStatusToJSON(message.status));
|
|
362
|
-
message.council !== undefined && (obj.council = Math.round(message.council));
|
|
363
|
-
return obj;
|
|
364
|
-
},
|
|
365
|
-
fromPartial(object) {
|
|
366
|
-
const message = createBaseCouncilParticipation();
|
|
367
|
-
message.status = object.status ?? 0;
|
|
368
|
-
message.council = object.council ?? 0;
|
|
369
|
-
return message;
|
|
370
|
-
},
|
|
371
|
-
};
|
|
372
314
|
function createBaseBoosterPack() {
|
|
373
315
|
return { collectionId: 0, timeStamp: 0, raritiesPerPack: [] };
|
|
374
316
|
}
|
|
@@ -11,7 +11,6 @@ function createBaseParams() {
|
|
|
11
11
|
collectionCreationFee: "",
|
|
12
12
|
collateralDeposit: "",
|
|
13
13
|
winnerReward: 0,
|
|
14
|
-
voterReward: 0,
|
|
15
14
|
hourlyFaucet: "",
|
|
16
15
|
inflationRate: "",
|
|
17
16
|
raresPerPack: 0,
|
|
@@ -22,6 +21,9 @@ function createBaseParams() {
|
|
|
22
21
|
cardAuctionPriceReductionPeriod: 0,
|
|
23
22
|
airDropValue: "",
|
|
24
23
|
airDropMaxBlockHeight: 0,
|
|
24
|
+
trialVoteReward: "",
|
|
25
|
+
votePoolFraction: 0,
|
|
26
|
+
votingRewardCap: 0,
|
|
25
27
|
};
|
|
26
28
|
}
|
|
27
29
|
export const Params = {
|
|
@@ -47,9 +49,6 @@ export const Params = {
|
|
|
47
49
|
if (message.winnerReward !== 0) {
|
|
48
50
|
writer.uint32(56).int64(message.winnerReward);
|
|
49
51
|
}
|
|
50
|
-
if (message.voterReward !== 0) {
|
|
51
|
-
writer.uint32(64).int64(message.voterReward);
|
|
52
|
-
}
|
|
53
52
|
if (message.hourlyFaucet !== "") {
|
|
54
53
|
writer.uint32(74).string(message.hourlyFaucet);
|
|
55
54
|
}
|
|
@@ -80,6 +79,15 @@ export const Params = {
|
|
|
80
79
|
if (message.airDropMaxBlockHeight !== 0) {
|
|
81
80
|
writer.uint32(144).int64(message.airDropMaxBlockHeight);
|
|
82
81
|
}
|
|
82
|
+
if (message.trialVoteReward !== "") {
|
|
83
|
+
writer.uint32(154).string(message.trialVoteReward);
|
|
84
|
+
}
|
|
85
|
+
if (message.votePoolFraction !== 0) {
|
|
86
|
+
writer.uint32(160).int64(message.votePoolFraction);
|
|
87
|
+
}
|
|
88
|
+
if (message.votingRewardCap !== 0) {
|
|
89
|
+
writer.uint32(64).int64(message.votingRewardCap);
|
|
90
|
+
}
|
|
83
91
|
return writer;
|
|
84
92
|
},
|
|
85
93
|
decode(input, length) {
|
|
@@ -110,9 +118,6 @@ export const Params = {
|
|
|
110
118
|
case 7:
|
|
111
119
|
message.winnerReward = longToNumber(reader.int64());
|
|
112
120
|
break;
|
|
113
|
-
case 8:
|
|
114
|
-
message.voterReward = longToNumber(reader.int64());
|
|
115
|
-
break;
|
|
116
121
|
case 9:
|
|
117
122
|
message.hourlyFaucet = reader.string();
|
|
118
123
|
break;
|
|
@@ -143,6 +148,15 @@ export const Params = {
|
|
|
143
148
|
case 18:
|
|
144
149
|
message.airDropMaxBlockHeight = longToNumber(reader.int64());
|
|
145
150
|
break;
|
|
151
|
+
case 19:
|
|
152
|
+
message.trialVoteReward = reader.string();
|
|
153
|
+
break;
|
|
154
|
+
case 20:
|
|
155
|
+
message.votePoolFraction = longToNumber(reader.int64());
|
|
156
|
+
break;
|
|
157
|
+
case 8:
|
|
158
|
+
message.votingRewardCap = longToNumber(reader.int64());
|
|
159
|
+
break;
|
|
146
160
|
default:
|
|
147
161
|
reader.skipType(tag & 7);
|
|
148
162
|
break;
|
|
@@ -161,7 +175,6 @@ export const Params = {
|
|
|
161
175
|
collectionCreationFee: isSet(object.collectionCreationFee) ? String(object.collectionCreationFee) : "",
|
|
162
176
|
collateralDeposit: isSet(object.collateralDeposit) ? String(object.collateralDeposit) : "",
|
|
163
177
|
winnerReward: isSet(object.winnerReward) ? Number(object.winnerReward) : 0,
|
|
164
|
-
voterReward: isSet(object.voterReward) ? Number(object.voterReward) : 0,
|
|
165
178
|
hourlyFaucet: isSet(object.hourlyFaucet) ? String(object.hourlyFaucet) : "",
|
|
166
179
|
inflationRate: isSet(object.inflationRate) ? String(object.inflationRate) : "",
|
|
167
180
|
raresPerPack: isSet(object.raresPerPack) ? Number(object.raresPerPack) : 0,
|
|
@@ -174,6 +187,9 @@ export const Params = {
|
|
|
174
187
|
: 0,
|
|
175
188
|
airDropValue: isSet(object.airDropValue) ? String(object.airDropValue) : "",
|
|
176
189
|
airDropMaxBlockHeight: isSet(object.airDropMaxBlockHeight) ? Number(object.airDropMaxBlockHeight) : 0,
|
|
190
|
+
trialVoteReward: isSet(object.trialVoteReward) ? String(object.trialVoteReward) : "",
|
|
191
|
+
votePoolFraction: isSet(object.votePoolFraction) ? Number(object.votePoolFraction) : 0,
|
|
192
|
+
votingRewardCap: isSet(object.votingRewardCap) ? Number(object.votingRewardCap) : 0,
|
|
177
193
|
};
|
|
178
194
|
},
|
|
179
195
|
toJSON(message) {
|
|
@@ -187,7 +203,6 @@ export const Params = {
|
|
|
187
203
|
message.collectionCreationFee !== undefined && (obj.collectionCreationFee = message.collectionCreationFee);
|
|
188
204
|
message.collateralDeposit !== undefined && (obj.collateralDeposit = message.collateralDeposit);
|
|
189
205
|
message.winnerReward !== undefined && (obj.winnerReward = Math.round(message.winnerReward));
|
|
190
|
-
message.voterReward !== undefined && (obj.voterReward = Math.round(message.voterReward));
|
|
191
206
|
message.hourlyFaucet !== undefined && (obj.hourlyFaucet = message.hourlyFaucet);
|
|
192
207
|
message.inflationRate !== undefined && (obj.inflationRate = message.inflationRate);
|
|
193
208
|
message.raresPerPack !== undefined && (obj.raresPerPack = Math.round(message.raresPerPack));
|
|
@@ -200,6 +215,9 @@ export const Params = {
|
|
|
200
215
|
message.airDropValue !== undefined && (obj.airDropValue = message.airDropValue);
|
|
201
216
|
message.airDropMaxBlockHeight !== undefined
|
|
202
217
|
&& (obj.airDropMaxBlockHeight = Math.round(message.airDropMaxBlockHeight));
|
|
218
|
+
message.trialVoteReward !== undefined && (obj.trialVoteReward = message.trialVoteReward);
|
|
219
|
+
message.votePoolFraction !== undefined && (obj.votePoolFraction = Math.round(message.votePoolFraction));
|
|
220
|
+
message.votingRewardCap !== undefined && (obj.votingRewardCap = Math.round(message.votingRewardCap));
|
|
203
221
|
return obj;
|
|
204
222
|
},
|
|
205
223
|
fromPartial(object) {
|
|
@@ -211,7 +229,6 @@ export const Params = {
|
|
|
211
229
|
message.collectionCreationFee = object.collectionCreationFee ?? "";
|
|
212
230
|
message.collateralDeposit = object.collateralDeposit ?? "";
|
|
213
231
|
message.winnerReward = object.winnerReward ?? 0;
|
|
214
|
-
message.voterReward = object.voterReward ?? 0;
|
|
215
232
|
message.hourlyFaucet = object.hourlyFaucet ?? "";
|
|
216
233
|
message.inflationRate = object.inflationRate ?? "";
|
|
217
234
|
message.raresPerPack = object.raresPerPack ?? 0;
|
|
@@ -222,6 +239,9 @@ export const Params = {
|
|
|
222
239
|
message.cardAuctionPriceReductionPeriod = object.cardAuctionPriceReductionPeriod ?? 0;
|
|
223
240
|
message.airDropValue = object.airDropValue ?? "";
|
|
224
241
|
message.airDropMaxBlockHeight = object.airDropMaxBlockHeight ?? 0;
|
|
242
|
+
message.trialVoteReward = object.trialVoteReward ?? "";
|
|
243
|
+
message.votePoolFraction = object.votePoolFraction ?? 0;
|
|
244
|
+
message.votingRewardCap = object.votingRewardCap ?? 0;
|
|
225
245
|
return message;
|
|
226
246
|
},
|
|
227
247
|
};
|
|
@@ -1,21 +1,22 @@
|
|
|
1
|
-
import { Card } from "./types/cardchain/card";
|
|
2
|
-
import { Collection } from "./types/cardchain/collection";
|
|
3
|
-
import { CollectionProposal } from "./types/cardchain/collection_proposal";
|
|
4
|
-
import { CopyrightProposal } from "./types/cardchain/copyright_proposal";
|
|
5
|
-
import { WrapClearResponse } from "./types/cardchain/council";
|
|
6
|
-
import { WrapHashResponse } from "./types/cardchain/council";
|
|
7
|
-
import { Image } from "./types/cardchain/image";
|
|
8
|
-
import { MatchPlayer } from "./types/cardchain/match";
|
|
9
|
-
import { MatchReporterProposal } from "./types/cardchain/match_reporter_proposal";
|
|
10
|
-
import { Num } from "./types/cardchain/num";
|
|
11
|
-
import { Params } from "./types/cardchain/params";
|
|
12
|
-
import { IgnoreMatches } from "./types/cardchain/query";
|
|
13
|
-
import { IgnoreSellOffers } from "./types/cardchain/query";
|
|
14
|
-
import { QueryQServerResponse } from "./types/cardchain/query";
|
|
15
|
-
import { RunningAverage } from "./types/cardchain/running_average";
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
|
|
1
|
+
import { Card } from "./types/cardchain/cardchain/card";
|
|
2
|
+
import { Collection } from "./types/cardchain/cardchain/collection";
|
|
3
|
+
import { CollectionProposal } from "./types/cardchain/cardchain/collection_proposal";
|
|
4
|
+
import { CopyrightProposal } from "./types/cardchain/cardchain/copyright_proposal";
|
|
5
|
+
import { WrapClearResponse } from "./types/cardchain/cardchain/council";
|
|
6
|
+
import { WrapHashResponse } from "./types/cardchain/cardchain/council";
|
|
7
|
+
import { Image } from "./types/cardchain/cardchain/image";
|
|
8
|
+
import { MatchPlayer } from "./types/cardchain/cardchain/match";
|
|
9
|
+
import { MatchReporterProposal } from "./types/cardchain/cardchain/match_reporter_proposal";
|
|
10
|
+
import { Num } from "./types/cardchain/cardchain/num";
|
|
11
|
+
import { Params } from "./types/cardchain/cardchain/params";
|
|
12
|
+
import { IgnoreMatches } from "./types/cardchain/cardchain/query";
|
|
13
|
+
import { IgnoreSellOffers } from "./types/cardchain/cardchain/query";
|
|
14
|
+
import { QueryQServerResponse } from "./types/cardchain/cardchain/query";
|
|
15
|
+
import { RunningAverage } from "./types/cardchain/cardchain/running_average";
|
|
16
|
+
import { SingleVote } from "./types/cardchain/cardchain/tx";
|
|
17
|
+
import { BoosterPack } from "./types/cardchain/cardchain/user";
|
|
18
|
+
import { AirDrops } from "./types/cardchain/cardchain/user";
|
|
19
|
+
import { VoteRight } from "./types/cardchain/cardchain/vote_right";
|
|
20
|
+
import { VotingResult } from "./types/cardchain/cardchain/voting_result";
|
|
21
|
+
import { VotingResults } from "./types/cardchain/cardchain/voting_results";
|
|
22
|
+
export { Card, Collection, CollectionProposal, CopyrightProposal, WrapClearResponse, WrapHashResponse, Image, MatchPlayer, MatchReporterProposal, Num, Params, IgnoreMatches, IgnoreSellOffers, QueryQServerResponse, RunningAverage, SingleVote, BoosterPack, AirDrops, VoteRight, VotingResult, VotingResults, };
|
package/README.md
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# Semi auto generated ts/js client for interaction with the crowdcontrol blockchain
|
|
2
|
+
|
|
3
|
+
## Before deploying
|
|
4
|
+
|
|
5
|
+
Run
|
|
6
|
+
```shell
|
|
7
|
+
tsc
|
|
8
|
+
```
|
|
9
|
+
|
|
10
|
+
## Deployment
|
|
11
|
+
|
|
12
|
+
Change version in package.json commit and push, then:
|
|
13
|
+
```shell
|
|
14
|
+
npm login # With the right credentials
|
|
15
|
+
npm publish
|
|
16
|
+
```
|
package/client.js
CHANGED
|
@@ -6,7 +6,7 @@ const defaultFee = {
|
|
|
6
6
|
amount: [],
|
|
7
7
|
gas: "200000",
|
|
8
8
|
};
|
|
9
|
-
|
|
9
|
+
class IgniteClient extends EventEmitter {
|
|
10
10
|
static plugin(plugin) {
|
|
11
11
|
const currentPlugins = this.plugins;
|
|
12
12
|
class AugmentedClient extends this {
|
|
@@ -133,3 +133,4 @@ export class IgniteClient extends EventEmitter {
|
|
|
133
133
|
}
|
|
134
134
|
}
|
|
135
135
|
IgniteClient.plugins = [];
|
|
136
|
+
export { IgniteClient };
|
|
@@ -3,16 +3,16 @@ import { SigningStargateClient } from "@cosmjs/stargate";
|
|
|
3
3
|
import { Registry } from "@cosmjs/proto-signing";
|
|
4
4
|
import { msgTypes } from './registry';
|
|
5
5
|
import { Api } from "./rest";
|
|
6
|
-
import { MsgGrant } from "./types/cosmos/authz/v1beta1/tx";
|
|
7
6
|
import { MsgExec } from "./types/cosmos/authz/v1beta1/tx";
|
|
8
7
|
import { MsgRevoke } from "./types/cosmos/authz/v1beta1/tx";
|
|
8
|
+
import { MsgGrant } from "./types/cosmos/authz/v1beta1/tx";
|
|
9
9
|
import { GenericAuthorization as typeGenericAuthorization } from "./types";
|
|
10
10
|
import { Grant as typeGrant } from "./types";
|
|
11
11
|
import { GrantAuthorization as typeGrantAuthorization } from "./types";
|
|
12
12
|
import { GrantQueueItem as typeGrantQueueItem } from "./types";
|
|
13
13
|
import { EventGrant as typeEventGrant } from "./types";
|
|
14
14
|
import { EventRevoke as typeEventRevoke } from "./types";
|
|
15
|
-
export {
|
|
15
|
+
export { MsgExec, MsgRevoke, MsgGrant };
|
|
16
16
|
export const registry = new Registry(msgTypes);
|
|
17
17
|
function getStructure(template) {
|
|
18
18
|
const structure = { fields: [] };
|
|
@@ -28,20 +28,6 @@ const defaultFee = {
|
|
|
28
28
|
};
|
|
29
29
|
export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26657", prefix: "cosmos" }) => {
|
|
30
30
|
return {
|
|
31
|
-
async sendMsgGrant({ value, fee, memo }) {
|
|
32
|
-
if (!signer) {
|
|
33
|
-
throw new Error('TxClient:sendMsgGrant: Unable to sign Tx. Signer is not present.');
|
|
34
|
-
}
|
|
35
|
-
try {
|
|
36
|
-
const { address } = (await signer.getAccounts())[0];
|
|
37
|
-
const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
|
|
38
|
-
let msg = this.msgGrant({ value: MsgGrant.fromPartial(value) });
|
|
39
|
-
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
|
|
40
|
-
}
|
|
41
|
-
catch (e) {
|
|
42
|
-
throw new Error('TxClient:sendMsgGrant: Could not broadcast Tx: ' + e.message);
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
31
|
async sendMsgExec({ value, fee, memo }) {
|
|
46
32
|
if (!signer) {
|
|
47
33
|
throw new Error('TxClient:sendMsgExec: Unable to sign Tx. Signer is not present.');
|
|
@@ -70,12 +56,18 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
|
|
|
70
56
|
throw new Error('TxClient:sendMsgRevoke: Could not broadcast Tx: ' + e.message);
|
|
71
57
|
}
|
|
72
58
|
},
|
|
73
|
-
|
|
59
|
+
async sendMsgGrant({ value, fee, memo }) {
|
|
60
|
+
if (!signer) {
|
|
61
|
+
throw new Error('TxClient:sendMsgGrant: Unable to sign Tx. Signer is not present.');
|
|
62
|
+
}
|
|
74
63
|
try {
|
|
75
|
-
|
|
64
|
+
const { address } = (await signer.getAccounts())[0];
|
|
65
|
+
const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
|
|
66
|
+
let msg = this.msgGrant({ value: MsgGrant.fromPartial(value) });
|
|
67
|
+
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
|
|
76
68
|
}
|
|
77
69
|
catch (e) {
|
|
78
|
-
throw new Error('TxClient:
|
|
70
|
+
throw new Error('TxClient:sendMsgGrant: Could not broadcast Tx: ' + e.message);
|
|
79
71
|
}
|
|
80
72
|
},
|
|
81
73
|
msgExec({ value }) {
|
|
@@ -94,6 +86,14 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
|
|
|
94
86
|
throw new Error('TxClient:MsgRevoke: Could not create message: ' + e.message);
|
|
95
87
|
}
|
|
96
88
|
},
|
|
89
|
+
msgGrant({ value }) {
|
|
90
|
+
try {
|
|
91
|
+
return { typeUrl: "/cosmos.authz.v1beta1.MsgGrant", value: MsgGrant.fromPartial(value) };
|
|
92
|
+
}
|
|
93
|
+
catch (e) {
|
|
94
|
+
throw new Error('TxClient:MsgGrant: Could not create message: ' + e.message);
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
97
|
};
|
|
98
98
|
};
|
|
99
99
|
export const queryClient = ({ addr: addr } = { addr: "http://localhost:1317" }) => {
|