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
|
@@ -3,46 +3,47 @@ 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 {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
6
|
+
import { MsgCreateCouncil } from "./types/cardchain/cardchain/tx";
|
|
7
|
+
import { MsgCommitCouncilResponse } from "./types/cardchain/cardchain/tx";
|
|
8
|
+
import { MsgFinalizeCollection } from "./types/cardchain/cardchain/tx";
|
|
9
|
+
import { MsgSetCardRarity } from "./types/cardchain/cardchain/tx";
|
|
10
|
+
import { MsgAddContributorToCollection } from "./types/cardchain/cardchain/tx";
|
|
11
|
+
import { MsgTransferCard } from "./types/cardchain/cardchain/tx";
|
|
12
|
+
import { MsgSetUserBiography } from "./types/cardchain/cardchain/tx";
|
|
13
|
+
import { MsgRemoveSellOffer } from "./types/cardchain/cardchain/tx";
|
|
14
|
+
import { MsgCreateCollection } from "./types/cardchain/cardchain/tx";
|
|
15
|
+
import { MsgApointMatchReporter } from "./types/cardchain/cardchain/tx";
|
|
16
|
+
import { MsgSetProfileCard } from "./types/cardchain/cardchain/tx";
|
|
17
|
+
import { MsgDonateToCard } from "./types/cardchain/cardchain/tx";
|
|
18
|
+
import { MsgRemoveContributorFromCollection } from "./types/cardchain/cardchain/tx";
|
|
19
|
+
import { MsgAddStoryToCollection } from "./types/cardchain/cardchain/tx";
|
|
20
|
+
import { MsgSubmitCopyrightProposal } from "./types/cardchain/cardchain/tx";
|
|
21
|
+
import { MsgMultiVoteCard } from "./types/cardchain/cardchain/tx";
|
|
22
|
+
import { MsgAddArtwork } from "./types/cardchain/cardchain/tx";
|
|
23
|
+
import { MsgRegisterForCouncil } from "./types/cardchain/cardchain/tx";
|
|
24
|
+
import { MsgSetUserWebsite } from "./types/cardchain/cardchain/tx";
|
|
25
|
+
import { MsgSaveCardContent } from "./types/cardchain/cardchain/tx";
|
|
26
|
+
import { MsgOpenBoosterPack } from "./types/cardchain/cardchain/tx";
|
|
27
|
+
import { MsgReportMatch } from "./types/cardchain/cardchain/tx";
|
|
28
|
+
import { MsgBuyCollection } from "./types/cardchain/cardchain/tx";
|
|
29
|
+
import { MsgAddCardToCollection } from "./types/cardchain/cardchain/tx";
|
|
30
|
+
import { MsgSubmitCollectionProposal } from "./types/cardchain/cardchain/tx";
|
|
31
|
+
import { MsgRewokeCouncilRegistration } from "./types/cardchain/cardchain/tx";
|
|
32
|
+
import { MsgVoteCard } from "./types/cardchain/cardchain/tx";
|
|
33
|
+
import { MsgTransferBoosterPack } from "./types/cardchain/cardchain/tx";
|
|
34
|
+
import { MsgRestartCouncil } from "./types/cardchain/cardchain/tx";
|
|
35
|
+
import { MsgBuyCardScheme } from "./types/cardchain/cardchain/tx";
|
|
36
|
+
import { MsgSubmitMatchReporterProposal } from "./types/cardchain/cardchain/tx";
|
|
37
|
+
import { MsgSetCollectionStoryWriter } from "./types/cardchain/cardchain/tx";
|
|
38
|
+
import { MsgCreateuser } from "./types/cardchain/cardchain/tx";
|
|
39
|
+
import { MsgAddArtworkToCollection } from "./types/cardchain/cardchain/tx";
|
|
40
|
+
import { MsgBuyCard } from "./types/cardchain/cardchain/tx";
|
|
41
|
+
import { MsgSetCollectionArtist } from "./types/cardchain/cardchain/tx";
|
|
42
|
+
import { MsgRevealCouncilResponse } from "./types/cardchain/cardchain/tx";
|
|
43
|
+
import { MsgConfirmMatch } from "./types/cardchain/cardchain/tx";
|
|
44
|
+
import { MsgChangeArtist } from "./types/cardchain/cardchain/tx";
|
|
45
|
+
import { MsgCreateSellOffer } from "./types/cardchain/cardchain/tx";
|
|
46
|
+
import { MsgRemoveCardFromCollection } from "./types/cardchain/cardchain/tx";
|
|
46
47
|
import { Card as typeCard } from "./types";
|
|
47
48
|
import { Collection as typeCollection } from "./types";
|
|
48
49
|
import { CollectionProposal as typeCollectionProposal } from "./types";
|
|
@@ -58,12 +59,13 @@ import { IgnoreMatches as typeIgnoreMatches } from "./types";
|
|
|
58
59
|
import { IgnoreSellOffers as typeIgnoreSellOffers } from "./types";
|
|
59
60
|
import { QueryQServerResponse as typeQueryQServerResponse } from "./types";
|
|
60
61
|
import { RunningAverage as typeRunningAverage } from "./types";
|
|
62
|
+
import { SingleVote as typeSingleVote } from "./types";
|
|
61
63
|
import { BoosterPack as typeBoosterPack } from "./types";
|
|
62
64
|
import { AirDrops as typeAirDrops } from "./types";
|
|
63
65
|
import { VoteRight as typeVoteRight } from "./types";
|
|
64
66
|
import { VotingResult as typeVotingResult } from "./types";
|
|
65
67
|
import { VotingResults as typeVotingResults } from "./types";
|
|
66
|
-
export {
|
|
68
|
+
export { MsgCreateCouncil, MsgCommitCouncilResponse, MsgFinalizeCollection, MsgSetCardRarity, MsgAddContributorToCollection, MsgTransferCard, MsgSetUserBiography, MsgRemoveSellOffer, MsgCreateCollection, MsgApointMatchReporter, MsgSetProfileCard, MsgDonateToCard, MsgRemoveContributorFromCollection, MsgAddStoryToCollection, MsgSubmitCopyrightProposal, MsgMultiVoteCard, MsgAddArtwork, MsgRegisterForCouncil, MsgSetUserWebsite, MsgSaveCardContent, MsgOpenBoosterPack, MsgReportMatch, MsgBuyCollection, MsgAddCardToCollection, MsgSubmitCollectionProposal, MsgRewokeCouncilRegistration, MsgVoteCard, MsgTransferBoosterPack, MsgRestartCouncil, MsgBuyCardScheme, MsgSubmitMatchReporterProposal, MsgSetCollectionStoryWriter, MsgCreateuser, MsgAddArtworkToCollection, MsgBuyCard, MsgSetCollectionArtist, MsgRevealCouncilResponse, MsgConfirmMatch, MsgChangeArtist, MsgCreateSellOffer, MsgRemoveCardFromCollection };
|
|
67
69
|
export const registry = new Registry(msgTypes);
|
|
68
70
|
function getStructure(template) {
|
|
69
71
|
const structure = { fields: [] };
|
|
@@ -79,788 +81,794 @@ const defaultFee = {
|
|
|
79
81
|
};
|
|
80
82
|
export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26657", prefix: "cosmos" }) => {
|
|
81
83
|
return {
|
|
82
|
-
async
|
|
84
|
+
async sendMsgCreateCouncil({ value, fee, memo }) {
|
|
83
85
|
if (!signer) {
|
|
84
|
-
throw new Error('TxClient:
|
|
86
|
+
throw new Error('TxClient:sendMsgCreateCouncil: Unable to sign Tx. Signer is not present.');
|
|
85
87
|
}
|
|
86
88
|
try {
|
|
87
89
|
const { address } = (await signer.getAccounts())[0];
|
|
88
90
|
const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
|
|
89
|
-
let msg = this.
|
|
91
|
+
let msg = this.msgCreateCouncil({ value: MsgCreateCouncil.fromPartial(value) });
|
|
90
92
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
|
|
91
93
|
}
|
|
92
94
|
catch (e) {
|
|
93
|
-
throw new Error('TxClient:
|
|
95
|
+
throw new Error('TxClient:sendMsgCreateCouncil: Could not broadcast Tx: ' + e.message);
|
|
94
96
|
}
|
|
95
97
|
},
|
|
96
|
-
async
|
|
98
|
+
async sendMsgCommitCouncilResponse({ value, fee, memo }) {
|
|
97
99
|
if (!signer) {
|
|
98
|
-
throw new Error('TxClient:
|
|
100
|
+
throw new Error('TxClient:sendMsgCommitCouncilResponse: Unable to sign Tx. Signer is not present.');
|
|
99
101
|
}
|
|
100
102
|
try {
|
|
101
103
|
const { address } = (await signer.getAccounts())[0];
|
|
102
104
|
const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
|
|
103
|
-
let msg = this.
|
|
105
|
+
let msg = this.msgCommitCouncilResponse({ value: MsgCommitCouncilResponse.fromPartial(value) });
|
|
104
106
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
|
|
105
107
|
}
|
|
106
108
|
catch (e) {
|
|
107
|
-
throw new Error('TxClient:
|
|
109
|
+
throw new Error('TxClient:sendMsgCommitCouncilResponse: Could not broadcast Tx: ' + e.message);
|
|
108
110
|
}
|
|
109
111
|
},
|
|
110
|
-
async
|
|
112
|
+
async sendMsgFinalizeCollection({ value, fee, memo }) {
|
|
111
113
|
if (!signer) {
|
|
112
|
-
throw new Error('TxClient:
|
|
114
|
+
throw new Error('TxClient:sendMsgFinalizeCollection: Unable to sign Tx. Signer is not present.');
|
|
113
115
|
}
|
|
114
116
|
try {
|
|
115
117
|
const { address } = (await signer.getAccounts())[0];
|
|
116
118
|
const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
|
|
117
|
-
let msg = this.
|
|
119
|
+
let msg = this.msgFinalizeCollection({ value: MsgFinalizeCollection.fromPartial(value) });
|
|
118
120
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
|
|
119
121
|
}
|
|
120
122
|
catch (e) {
|
|
121
|
-
throw new Error('TxClient:
|
|
123
|
+
throw new Error('TxClient:sendMsgFinalizeCollection: Could not broadcast Tx: ' + e.message);
|
|
122
124
|
}
|
|
123
125
|
},
|
|
124
|
-
async
|
|
126
|
+
async sendMsgSetCardRarity({ value, fee, memo }) {
|
|
125
127
|
if (!signer) {
|
|
126
|
-
throw new Error('TxClient:
|
|
128
|
+
throw new Error('TxClient:sendMsgSetCardRarity: Unable to sign Tx. Signer is not present.');
|
|
127
129
|
}
|
|
128
130
|
try {
|
|
129
131
|
const { address } = (await signer.getAccounts())[0];
|
|
130
132
|
const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
|
|
131
|
-
let msg = this.
|
|
133
|
+
let msg = this.msgSetCardRarity({ value: MsgSetCardRarity.fromPartial(value) });
|
|
132
134
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
|
|
133
135
|
}
|
|
134
136
|
catch (e) {
|
|
135
|
-
throw new Error('TxClient:
|
|
137
|
+
throw new Error('TxClient:sendMsgSetCardRarity: Could not broadcast Tx: ' + e.message);
|
|
136
138
|
}
|
|
137
139
|
},
|
|
138
|
-
async
|
|
140
|
+
async sendMsgAddContributorToCollection({ value, fee, memo }) {
|
|
139
141
|
if (!signer) {
|
|
140
|
-
throw new Error('TxClient:
|
|
142
|
+
throw new Error('TxClient:sendMsgAddContributorToCollection: Unable to sign Tx. Signer is not present.');
|
|
141
143
|
}
|
|
142
144
|
try {
|
|
143
145
|
const { address } = (await signer.getAccounts())[0];
|
|
144
146
|
const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
|
|
145
|
-
let msg = this.
|
|
147
|
+
let msg = this.msgAddContributorToCollection({ value: MsgAddContributorToCollection.fromPartial(value) });
|
|
146
148
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
|
|
147
149
|
}
|
|
148
150
|
catch (e) {
|
|
149
|
-
throw new Error('TxClient:
|
|
151
|
+
throw new Error('TxClient:sendMsgAddContributorToCollection: Could not broadcast Tx: ' + e.message);
|
|
150
152
|
}
|
|
151
153
|
},
|
|
152
|
-
async
|
|
154
|
+
async sendMsgTransferCard({ value, fee, memo }) {
|
|
153
155
|
if (!signer) {
|
|
154
|
-
throw new Error('TxClient:
|
|
156
|
+
throw new Error('TxClient:sendMsgTransferCard: Unable to sign Tx. Signer is not present.');
|
|
155
157
|
}
|
|
156
158
|
try {
|
|
157
159
|
const { address } = (await signer.getAccounts())[0];
|
|
158
160
|
const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
|
|
159
|
-
let msg = this.
|
|
161
|
+
let msg = this.msgTransferCard({ value: MsgTransferCard.fromPartial(value) });
|
|
160
162
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
|
|
161
163
|
}
|
|
162
164
|
catch (e) {
|
|
163
|
-
throw new Error('TxClient:
|
|
165
|
+
throw new Error('TxClient:sendMsgTransferCard: Could not broadcast Tx: ' + e.message);
|
|
164
166
|
}
|
|
165
167
|
},
|
|
166
|
-
async
|
|
168
|
+
async sendMsgSetUserBiography({ value, fee, memo }) {
|
|
167
169
|
if (!signer) {
|
|
168
|
-
throw new Error('TxClient:
|
|
170
|
+
throw new Error('TxClient:sendMsgSetUserBiography: Unable to sign Tx. Signer is not present.');
|
|
169
171
|
}
|
|
170
172
|
try {
|
|
171
173
|
const { address } = (await signer.getAccounts())[0];
|
|
172
174
|
const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
|
|
173
|
-
let msg = this.
|
|
175
|
+
let msg = this.msgSetUserBiography({ value: MsgSetUserBiography.fromPartial(value) });
|
|
174
176
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
|
|
175
177
|
}
|
|
176
178
|
catch (e) {
|
|
177
|
-
throw new Error('TxClient:
|
|
179
|
+
throw new Error('TxClient:sendMsgSetUserBiography: Could not broadcast Tx: ' + e.message);
|
|
178
180
|
}
|
|
179
181
|
},
|
|
180
|
-
async
|
|
182
|
+
async sendMsgRemoveSellOffer({ value, fee, memo }) {
|
|
181
183
|
if (!signer) {
|
|
182
|
-
throw new Error('TxClient:
|
|
184
|
+
throw new Error('TxClient:sendMsgRemoveSellOffer: Unable to sign Tx. Signer is not present.');
|
|
183
185
|
}
|
|
184
186
|
try {
|
|
185
187
|
const { address } = (await signer.getAccounts())[0];
|
|
186
188
|
const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
|
|
187
|
-
let msg = this.
|
|
189
|
+
let msg = this.msgRemoveSellOffer({ value: MsgRemoveSellOffer.fromPartial(value) });
|
|
188
190
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
|
|
189
191
|
}
|
|
190
192
|
catch (e) {
|
|
191
|
-
throw new Error('TxClient:
|
|
193
|
+
throw new Error('TxClient:sendMsgRemoveSellOffer: Could not broadcast Tx: ' + e.message);
|
|
192
194
|
}
|
|
193
195
|
},
|
|
194
|
-
async
|
|
196
|
+
async sendMsgCreateCollection({ value, fee, memo }) {
|
|
195
197
|
if (!signer) {
|
|
196
|
-
throw new Error('TxClient:
|
|
198
|
+
throw new Error('TxClient:sendMsgCreateCollection: Unable to sign Tx. Signer is not present.');
|
|
197
199
|
}
|
|
198
200
|
try {
|
|
199
201
|
const { address } = (await signer.getAccounts())[0];
|
|
200
202
|
const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
|
|
201
|
-
let msg = this.
|
|
203
|
+
let msg = this.msgCreateCollection({ value: MsgCreateCollection.fromPartial(value) });
|
|
202
204
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
|
|
203
205
|
}
|
|
204
206
|
catch (e) {
|
|
205
|
-
throw new Error('TxClient:
|
|
207
|
+
throw new Error('TxClient:sendMsgCreateCollection: Could not broadcast Tx: ' + e.message);
|
|
206
208
|
}
|
|
207
209
|
},
|
|
208
|
-
async
|
|
210
|
+
async sendMsgApointMatchReporter({ value, fee, memo }) {
|
|
209
211
|
if (!signer) {
|
|
210
|
-
throw new Error('TxClient:
|
|
212
|
+
throw new Error('TxClient:sendMsgApointMatchReporter: Unable to sign Tx. Signer is not present.');
|
|
211
213
|
}
|
|
212
214
|
try {
|
|
213
215
|
const { address } = (await signer.getAccounts())[0];
|
|
214
216
|
const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
|
|
215
|
-
let msg = this.
|
|
217
|
+
let msg = this.msgApointMatchReporter({ value: MsgApointMatchReporter.fromPartial(value) });
|
|
216
218
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
|
|
217
219
|
}
|
|
218
220
|
catch (e) {
|
|
219
|
-
throw new Error('TxClient:
|
|
221
|
+
throw new Error('TxClient:sendMsgApointMatchReporter: Could not broadcast Tx: ' + e.message);
|
|
220
222
|
}
|
|
221
223
|
},
|
|
222
|
-
async
|
|
224
|
+
async sendMsgSetProfileCard({ value, fee, memo }) {
|
|
223
225
|
if (!signer) {
|
|
224
|
-
throw new Error('TxClient:
|
|
226
|
+
throw new Error('TxClient:sendMsgSetProfileCard: Unable to sign Tx. Signer is not present.');
|
|
225
227
|
}
|
|
226
228
|
try {
|
|
227
229
|
const { address } = (await signer.getAccounts())[0];
|
|
228
230
|
const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
|
|
229
|
-
let msg = this.
|
|
231
|
+
let msg = this.msgSetProfileCard({ value: MsgSetProfileCard.fromPartial(value) });
|
|
230
232
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
|
|
231
233
|
}
|
|
232
234
|
catch (e) {
|
|
233
|
-
throw new Error('TxClient:
|
|
235
|
+
throw new Error('TxClient:sendMsgSetProfileCard: Could not broadcast Tx: ' + e.message);
|
|
234
236
|
}
|
|
235
237
|
},
|
|
236
|
-
async
|
|
238
|
+
async sendMsgDonateToCard({ value, fee, memo }) {
|
|
237
239
|
if (!signer) {
|
|
238
|
-
throw new Error('TxClient:
|
|
240
|
+
throw new Error('TxClient:sendMsgDonateToCard: Unable to sign Tx. Signer is not present.');
|
|
239
241
|
}
|
|
240
242
|
try {
|
|
241
243
|
const { address } = (await signer.getAccounts())[0];
|
|
242
244
|
const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
|
|
243
|
-
let msg = this.
|
|
245
|
+
let msg = this.msgDonateToCard({ value: MsgDonateToCard.fromPartial(value) });
|
|
244
246
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
|
|
245
247
|
}
|
|
246
248
|
catch (e) {
|
|
247
|
-
throw new Error('TxClient:
|
|
249
|
+
throw new Error('TxClient:sendMsgDonateToCard: Could not broadcast Tx: ' + e.message);
|
|
248
250
|
}
|
|
249
251
|
},
|
|
250
|
-
async
|
|
252
|
+
async sendMsgRemoveContributorFromCollection({ value, fee, memo }) {
|
|
251
253
|
if (!signer) {
|
|
252
|
-
throw new Error('TxClient:
|
|
254
|
+
throw new Error('TxClient:sendMsgRemoveContributorFromCollection: Unable to sign Tx. Signer is not present.');
|
|
253
255
|
}
|
|
254
256
|
try {
|
|
255
257
|
const { address } = (await signer.getAccounts())[0];
|
|
256
258
|
const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
|
|
257
|
-
let msg = this.
|
|
259
|
+
let msg = this.msgRemoveContributorFromCollection({ value: MsgRemoveContributorFromCollection.fromPartial(value) });
|
|
258
260
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
|
|
259
261
|
}
|
|
260
262
|
catch (e) {
|
|
261
|
-
throw new Error('TxClient:
|
|
263
|
+
throw new Error('TxClient:sendMsgRemoveContributorFromCollection: Could not broadcast Tx: ' + e.message);
|
|
262
264
|
}
|
|
263
265
|
},
|
|
264
|
-
async
|
|
266
|
+
async sendMsgAddStoryToCollection({ value, fee, memo }) {
|
|
265
267
|
if (!signer) {
|
|
266
|
-
throw new Error('TxClient:
|
|
268
|
+
throw new Error('TxClient:sendMsgAddStoryToCollection: Unable to sign Tx. Signer is not present.');
|
|
267
269
|
}
|
|
268
270
|
try {
|
|
269
271
|
const { address } = (await signer.getAccounts())[0];
|
|
270
272
|
const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
|
|
271
|
-
let msg = this.
|
|
273
|
+
let msg = this.msgAddStoryToCollection({ value: MsgAddStoryToCollection.fromPartial(value) });
|
|
272
274
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
|
|
273
275
|
}
|
|
274
276
|
catch (e) {
|
|
275
|
-
throw new Error('TxClient:
|
|
277
|
+
throw new Error('TxClient:sendMsgAddStoryToCollection: Could not broadcast Tx: ' + e.message);
|
|
276
278
|
}
|
|
277
279
|
},
|
|
278
|
-
async
|
|
280
|
+
async sendMsgSubmitCopyrightProposal({ value, fee, memo }) {
|
|
279
281
|
if (!signer) {
|
|
280
|
-
throw new Error('TxClient:
|
|
282
|
+
throw new Error('TxClient:sendMsgSubmitCopyrightProposal: Unable to sign Tx. Signer is not present.');
|
|
281
283
|
}
|
|
282
284
|
try {
|
|
283
285
|
const { address } = (await signer.getAccounts())[0];
|
|
284
286
|
const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
|
|
285
|
-
let msg = this.
|
|
287
|
+
let msg = this.msgSubmitCopyrightProposal({ value: MsgSubmitCopyrightProposal.fromPartial(value) });
|
|
286
288
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
|
|
287
289
|
}
|
|
288
290
|
catch (e) {
|
|
289
|
-
throw new Error('TxClient:
|
|
291
|
+
throw new Error('TxClient:sendMsgSubmitCopyrightProposal: Could not broadcast Tx: ' + e.message);
|
|
290
292
|
}
|
|
291
293
|
},
|
|
292
|
-
async
|
|
294
|
+
async sendMsgMultiVoteCard({ value, fee, memo }) {
|
|
293
295
|
if (!signer) {
|
|
294
|
-
throw new Error('TxClient:
|
|
296
|
+
throw new Error('TxClient:sendMsgMultiVoteCard: Unable to sign Tx. Signer is not present.');
|
|
295
297
|
}
|
|
296
298
|
try {
|
|
297
299
|
const { address } = (await signer.getAccounts())[0];
|
|
298
300
|
const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
|
|
299
|
-
let msg = this.
|
|
301
|
+
let msg = this.msgMultiVoteCard({ value: MsgMultiVoteCard.fromPartial(value) });
|
|
300
302
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
|
|
301
303
|
}
|
|
302
304
|
catch (e) {
|
|
303
|
-
throw new Error('TxClient:
|
|
305
|
+
throw new Error('TxClient:sendMsgMultiVoteCard: Could not broadcast Tx: ' + e.message);
|
|
304
306
|
}
|
|
305
307
|
},
|
|
306
|
-
async
|
|
308
|
+
async sendMsgAddArtwork({ value, fee, memo }) {
|
|
307
309
|
if (!signer) {
|
|
308
|
-
throw new Error('TxClient:
|
|
310
|
+
throw new Error('TxClient:sendMsgAddArtwork: Unable to sign Tx. Signer is not present.');
|
|
309
311
|
}
|
|
310
312
|
try {
|
|
311
313
|
const { address } = (await signer.getAccounts())[0];
|
|
312
314
|
const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
|
|
313
|
-
let msg = this.
|
|
315
|
+
let msg = this.msgAddArtwork({ value: MsgAddArtwork.fromPartial(value) });
|
|
314
316
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
|
|
315
317
|
}
|
|
316
318
|
catch (e) {
|
|
317
|
-
throw new Error('TxClient:
|
|
319
|
+
throw new Error('TxClient:sendMsgAddArtwork: Could not broadcast Tx: ' + e.message);
|
|
318
320
|
}
|
|
319
321
|
},
|
|
320
|
-
async
|
|
322
|
+
async sendMsgRegisterForCouncil({ value, fee, memo }) {
|
|
321
323
|
if (!signer) {
|
|
322
|
-
throw new Error('TxClient:
|
|
324
|
+
throw new Error('TxClient:sendMsgRegisterForCouncil: Unable to sign Tx. Signer is not present.');
|
|
323
325
|
}
|
|
324
326
|
try {
|
|
325
327
|
const { address } = (await signer.getAccounts())[0];
|
|
326
328
|
const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
|
|
327
|
-
let msg = this.
|
|
329
|
+
let msg = this.msgRegisterForCouncil({ value: MsgRegisterForCouncil.fromPartial(value) });
|
|
328
330
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
|
|
329
331
|
}
|
|
330
332
|
catch (e) {
|
|
331
|
-
throw new Error('TxClient:
|
|
333
|
+
throw new Error('TxClient:sendMsgRegisterForCouncil: Could not broadcast Tx: ' + e.message);
|
|
332
334
|
}
|
|
333
335
|
},
|
|
334
|
-
async
|
|
336
|
+
async sendMsgSetUserWebsite({ value, fee, memo }) {
|
|
335
337
|
if (!signer) {
|
|
336
|
-
throw new Error('TxClient:
|
|
338
|
+
throw new Error('TxClient:sendMsgSetUserWebsite: Unable to sign Tx. Signer is not present.');
|
|
337
339
|
}
|
|
338
340
|
try {
|
|
339
341
|
const { address } = (await signer.getAccounts())[0];
|
|
340
342
|
const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
|
|
341
|
-
let msg = this.
|
|
343
|
+
let msg = this.msgSetUserWebsite({ value: MsgSetUserWebsite.fromPartial(value) });
|
|
342
344
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
|
|
343
345
|
}
|
|
344
346
|
catch (e) {
|
|
345
|
-
throw new Error('TxClient:
|
|
347
|
+
throw new Error('TxClient:sendMsgSetUserWebsite: Could not broadcast Tx: ' + e.message);
|
|
346
348
|
}
|
|
347
349
|
},
|
|
348
|
-
async
|
|
350
|
+
async sendMsgSaveCardContent({ value, fee, memo }) {
|
|
349
351
|
if (!signer) {
|
|
350
|
-
throw new Error('TxClient:
|
|
352
|
+
throw new Error('TxClient:sendMsgSaveCardContent: Unable to sign Tx. Signer is not present.');
|
|
351
353
|
}
|
|
352
354
|
try {
|
|
353
355
|
const { address } = (await signer.getAccounts())[0];
|
|
354
356
|
const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
|
|
355
|
-
let msg = this.
|
|
357
|
+
let msg = this.msgSaveCardContent({ value: MsgSaveCardContent.fromPartial(value) });
|
|
356
358
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
|
|
357
359
|
}
|
|
358
360
|
catch (e) {
|
|
359
|
-
throw new Error('TxClient:
|
|
361
|
+
throw new Error('TxClient:sendMsgSaveCardContent: Could not broadcast Tx: ' + e.message);
|
|
360
362
|
}
|
|
361
363
|
},
|
|
362
|
-
async
|
|
364
|
+
async sendMsgOpenBoosterPack({ value, fee, memo }) {
|
|
363
365
|
if (!signer) {
|
|
364
|
-
throw new Error('TxClient:
|
|
366
|
+
throw new Error('TxClient:sendMsgOpenBoosterPack: Unable to sign Tx. Signer is not present.');
|
|
365
367
|
}
|
|
366
368
|
try {
|
|
367
369
|
const { address } = (await signer.getAccounts())[0];
|
|
368
370
|
const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
|
|
369
|
-
let msg = this.
|
|
371
|
+
let msg = this.msgOpenBoosterPack({ value: MsgOpenBoosterPack.fromPartial(value) });
|
|
370
372
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
|
|
371
373
|
}
|
|
372
374
|
catch (e) {
|
|
373
|
-
throw new Error('TxClient:
|
|
375
|
+
throw new Error('TxClient:sendMsgOpenBoosterPack: Could not broadcast Tx: ' + e.message);
|
|
374
376
|
}
|
|
375
377
|
},
|
|
376
|
-
async
|
|
378
|
+
async sendMsgReportMatch({ value, fee, memo }) {
|
|
377
379
|
if (!signer) {
|
|
378
|
-
throw new Error('TxClient:
|
|
380
|
+
throw new Error('TxClient:sendMsgReportMatch: Unable to sign Tx. Signer is not present.');
|
|
379
381
|
}
|
|
380
382
|
try {
|
|
381
383
|
const { address } = (await signer.getAccounts())[0];
|
|
382
384
|
const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
|
|
383
|
-
let msg = this.
|
|
385
|
+
let msg = this.msgReportMatch({ value: MsgReportMatch.fromPartial(value) });
|
|
384
386
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
|
|
385
387
|
}
|
|
386
388
|
catch (e) {
|
|
387
|
-
throw new Error('TxClient:
|
|
389
|
+
throw new Error('TxClient:sendMsgReportMatch: Could not broadcast Tx: ' + e.message);
|
|
388
390
|
}
|
|
389
391
|
},
|
|
390
|
-
async
|
|
392
|
+
async sendMsgBuyCollection({ value, fee, memo }) {
|
|
391
393
|
if (!signer) {
|
|
392
|
-
throw new Error('TxClient:
|
|
394
|
+
throw new Error('TxClient:sendMsgBuyCollection: Unable to sign Tx. Signer is not present.');
|
|
393
395
|
}
|
|
394
396
|
try {
|
|
395
397
|
const { address } = (await signer.getAccounts())[0];
|
|
396
398
|
const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
|
|
397
|
-
let msg = this.
|
|
399
|
+
let msg = this.msgBuyCollection({ value: MsgBuyCollection.fromPartial(value) });
|
|
398
400
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
|
|
399
401
|
}
|
|
400
402
|
catch (e) {
|
|
401
|
-
throw new Error('TxClient:
|
|
403
|
+
throw new Error('TxClient:sendMsgBuyCollection: Could not broadcast Tx: ' + e.message);
|
|
402
404
|
}
|
|
403
405
|
},
|
|
404
|
-
async
|
|
406
|
+
async sendMsgAddCardToCollection({ value, fee, memo }) {
|
|
405
407
|
if (!signer) {
|
|
406
|
-
throw new Error('TxClient:
|
|
408
|
+
throw new Error('TxClient:sendMsgAddCardToCollection: Unable to sign Tx. Signer is not present.');
|
|
407
409
|
}
|
|
408
410
|
try {
|
|
409
411
|
const { address } = (await signer.getAccounts())[0];
|
|
410
412
|
const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
|
|
411
|
-
let msg = this.
|
|
413
|
+
let msg = this.msgAddCardToCollection({ value: MsgAddCardToCollection.fromPartial(value) });
|
|
412
414
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
|
|
413
415
|
}
|
|
414
416
|
catch (e) {
|
|
415
|
-
throw new Error('TxClient:
|
|
417
|
+
throw new Error('TxClient:sendMsgAddCardToCollection: Could not broadcast Tx: ' + e.message);
|
|
416
418
|
}
|
|
417
419
|
},
|
|
418
|
-
async
|
|
420
|
+
async sendMsgSubmitCollectionProposal({ value, fee, memo }) {
|
|
419
421
|
if (!signer) {
|
|
420
|
-
throw new Error('TxClient:
|
|
422
|
+
throw new Error('TxClient:sendMsgSubmitCollectionProposal: Unable to sign Tx. Signer is not present.');
|
|
421
423
|
}
|
|
422
424
|
try {
|
|
423
425
|
const { address } = (await signer.getAccounts())[0];
|
|
424
426
|
const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
|
|
425
|
-
let msg = this.
|
|
427
|
+
let msg = this.msgSubmitCollectionProposal({ value: MsgSubmitCollectionProposal.fromPartial(value) });
|
|
426
428
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
|
|
427
429
|
}
|
|
428
430
|
catch (e) {
|
|
429
|
-
throw new Error('TxClient:
|
|
431
|
+
throw new Error('TxClient:sendMsgSubmitCollectionProposal: Could not broadcast Tx: ' + e.message);
|
|
430
432
|
}
|
|
431
433
|
},
|
|
432
|
-
async
|
|
434
|
+
async sendMsgRewokeCouncilRegistration({ value, fee, memo }) {
|
|
433
435
|
if (!signer) {
|
|
434
|
-
throw new Error('TxClient:
|
|
436
|
+
throw new Error('TxClient:sendMsgRewokeCouncilRegistration: Unable to sign Tx. Signer is not present.');
|
|
435
437
|
}
|
|
436
438
|
try {
|
|
437
439
|
const { address } = (await signer.getAccounts())[0];
|
|
438
440
|
const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
|
|
439
|
-
let msg = this.
|
|
441
|
+
let msg = this.msgRewokeCouncilRegistration({ value: MsgRewokeCouncilRegistration.fromPartial(value) });
|
|
440
442
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
|
|
441
443
|
}
|
|
442
444
|
catch (e) {
|
|
443
|
-
throw new Error('TxClient:
|
|
445
|
+
throw new Error('TxClient:sendMsgRewokeCouncilRegistration: Could not broadcast Tx: ' + e.message);
|
|
444
446
|
}
|
|
445
447
|
},
|
|
446
|
-
async
|
|
448
|
+
async sendMsgVoteCard({ value, fee, memo }) {
|
|
447
449
|
if (!signer) {
|
|
448
|
-
throw new Error('TxClient:
|
|
450
|
+
throw new Error('TxClient:sendMsgVoteCard: Unable to sign Tx. Signer is not present.');
|
|
449
451
|
}
|
|
450
452
|
try {
|
|
451
453
|
const { address } = (await signer.getAccounts())[0];
|
|
452
454
|
const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
|
|
453
|
-
let msg = this.
|
|
455
|
+
let msg = this.msgVoteCard({ value: MsgVoteCard.fromPartial(value) });
|
|
454
456
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
|
|
455
457
|
}
|
|
456
458
|
catch (e) {
|
|
457
|
-
throw new Error('TxClient:
|
|
459
|
+
throw new Error('TxClient:sendMsgVoteCard: Could not broadcast Tx: ' + e.message);
|
|
458
460
|
}
|
|
459
461
|
},
|
|
460
|
-
async
|
|
462
|
+
async sendMsgTransferBoosterPack({ value, fee, memo }) {
|
|
461
463
|
if (!signer) {
|
|
462
|
-
throw new Error('TxClient:
|
|
464
|
+
throw new Error('TxClient:sendMsgTransferBoosterPack: Unable to sign Tx. Signer is not present.');
|
|
463
465
|
}
|
|
464
466
|
try {
|
|
465
467
|
const { address } = (await signer.getAccounts())[0];
|
|
466
468
|
const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
|
|
467
|
-
let msg = this.
|
|
469
|
+
let msg = this.msgTransferBoosterPack({ value: MsgTransferBoosterPack.fromPartial(value) });
|
|
468
470
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
|
|
469
471
|
}
|
|
470
472
|
catch (e) {
|
|
471
|
-
throw new Error('TxClient:
|
|
473
|
+
throw new Error('TxClient:sendMsgTransferBoosterPack: Could not broadcast Tx: ' + e.message);
|
|
472
474
|
}
|
|
473
475
|
},
|
|
474
|
-
async
|
|
476
|
+
async sendMsgRestartCouncil({ value, fee, memo }) {
|
|
475
477
|
if (!signer) {
|
|
476
|
-
throw new Error('TxClient:
|
|
478
|
+
throw new Error('TxClient:sendMsgRestartCouncil: Unable to sign Tx. Signer is not present.');
|
|
477
479
|
}
|
|
478
480
|
try {
|
|
479
481
|
const { address } = (await signer.getAccounts())[0];
|
|
480
482
|
const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
|
|
481
|
-
let msg = this.
|
|
483
|
+
let msg = this.msgRestartCouncil({ value: MsgRestartCouncil.fromPartial(value) });
|
|
482
484
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
|
|
483
485
|
}
|
|
484
486
|
catch (e) {
|
|
485
|
-
throw new Error('TxClient:
|
|
487
|
+
throw new Error('TxClient:sendMsgRestartCouncil: Could not broadcast Tx: ' + e.message);
|
|
486
488
|
}
|
|
487
489
|
},
|
|
488
|
-
async
|
|
490
|
+
async sendMsgBuyCardScheme({ value, fee, memo }) {
|
|
489
491
|
if (!signer) {
|
|
490
|
-
throw new Error('TxClient:
|
|
492
|
+
throw new Error('TxClient:sendMsgBuyCardScheme: Unable to sign Tx. Signer is not present.');
|
|
491
493
|
}
|
|
492
494
|
try {
|
|
493
495
|
const { address } = (await signer.getAccounts())[0];
|
|
494
496
|
const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
|
|
495
|
-
let msg = this.
|
|
497
|
+
let msg = this.msgBuyCardScheme({ value: MsgBuyCardScheme.fromPartial(value) });
|
|
496
498
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
|
|
497
499
|
}
|
|
498
500
|
catch (e) {
|
|
499
|
-
throw new Error('TxClient:
|
|
501
|
+
throw new Error('TxClient:sendMsgBuyCardScheme: Could not broadcast Tx: ' + e.message);
|
|
500
502
|
}
|
|
501
503
|
},
|
|
502
|
-
async
|
|
504
|
+
async sendMsgSubmitMatchReporterProposal({ value, fee, memo }) {
|
|
503
505
|
if (!signer) {
|
|
504
|
-
throw new Error('TxClient:
|
|
506
|
+
throw new Error('TxClient:sendMsgSubmitMatchReporterProposal: Unable to sign Tx. Signer is not present.');
|
|
505
507
|
}
|
|
506
508
|
try {
|
|
507
509
|
const { address } = (await signer.getAccounts())[0];
|
|
508
510
|
const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
|
|
509
|
-
let msg = this.
|
|
511
|
+
let msg = this.msgSubmitMatchReporterProposal({ value: MsgSubmitMatchReporterProposal.fromPartial(value) });
|
|
510
512
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
|
|
511
513
|
}
|
|
512
514
|
catch (e) {
|
|
513
|
-
throw new Error('TxClient:
|
|
515
|
+
throw new Error('TxClient:sendMsgSubmitMatchReporterProposal: Could not broadcast Tx: ' + e.message);
|
|
514
516
|
}
|
|
515
517
|
},
|
|
516
|
-
async
|
|
518
|
+
async sendMsgSetCollectionStoryWriter({ value, fee, memo }) {
|
|
517
519
|
if (!signer) {
|
|
518
|
-
throw new Error('TxClient:
|
|
520
|
+
throw new Error('TxClient:sendMsgSetCollectionStoryWriter: Unable to sign Tx. Signer is not present.');
|
|
519
521
|
}
|
|
520
522
|
try {
|
|
521
523
|
const { address } = (await signer.getAccounts())[0];
|
|
522
524
|
const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
|
|
523
|
-
let msg = this.
|
|
525
|
+
let msg = this.msgSetCollectionStoryWriter({ value: MsgSetCollectionStoryWriter.fromPartial(value) });
|
|
524
526
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
|
|
525
527
|
}
|
|
526
528
|
catch (e) {
|
|
527
|
-
throw new Error('TxClient:
|
|
529
|
+
throw new Error('TxClient:sendMsgSetCollectionStoryWriter: Could not broadcast Tx: ' + e.message);
|
|
528
530
|
}
|
|
529
531
|
},
|
|
530
|
-
async
|
|
532
|
+
async sendMsgCreateuser({ value, fee, memo }) {
|
|
531
533
|
if (!signer) {
|
|
532
|
-
throw new Error('TxClient:
|
|
534
|
+
throw new Error('TxClient:sendMsgCreateuser: Unable to sign Tx. Signer is not present.');
|
|
533
535
|
}
|
|
534
536
|
try {
|
|
535
537
|
const { address } = (await signer.getAccounts())[0];
|
|
536
538
|
const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
|
|
537
|
-
let msg = this.
|
|
539
|
+
let msg = this.msgCreateuser({ value: MsgCreateuser.fromPartial(value) });
|
|
538
540
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
|
|
539
541
|
}
|
|
540
542
|
catch (e) {
|
|
541
|
-
throw new Error('TxClient:
|
|
543
|
+
throw new Error('TxClient:sendMsgCreateuser: Could not broadcast Tx: ' + e.message);
|
|
542
544
|
}
|
|
543
545
|
},
|
|
544
|
-
async
|
|
546
|
+
async sendMsgAddArtworkToCollection({ value, fee, memo }) {
|
|
545
547
|
if (!signer) {
|
|
546
|
-
throw new Error('TxClient:
|
|
548
|
+
throw new Error('TxClient:sendMsgAddArtworkToCollection: Unable to sign Tx. Signer is not present.');
|
|
547
549
|
}
|
|
548
550
|
try {
|
|
549
551
|
const { address } = (await signer.getAccounts())[0];
|
|
550
552
|
const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
|
|
551
|
-
let msg = this.
|
|
553
|
+
let msg = this.msgAddArtworkToCollection({ value: MsgAddArtworkToCollection.fromPartial(value) });
|
|
552
554
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
|
|
553
555
|
}
|
|
554
556
|
catch (e) {
|
|
555
|
-
throw new Error('TxClient:
|
|
557
|
+
throw new Error('TxClient:sendMsgAddArtworkToCollection: Could not broadcast Tx: ' + e.message);
|
|
556
558
|
}
|
|
557
559
|
},
|
|
558
|
-
async
|
|
560
|
+
async sendMsgBuyCard({ value, fee, memo }) {
|
|
559
561
|
if (!signer) {
|
|
560
|
-
throw new Error('TxClient:
|
|
562
|
+
throw new Error('TxClient:sendMsgBuyCard: Unable to sign Tx. Signer is not present.');
|
|
561
563
|
}
|
|
562
564
|
try {
|
|
563
565
|
const { address } = (await signer.getAccounts())[0];
|
|
564
566
|
const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
|
|
565
|
-
let msg = this.
|
|
567
|
+
let msg = this.msgBuyCard({ value: MsgBuyCard.fromPartial(value) });
|
|
566
568
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
|
|
567
569
|
}
|
|
568
570
|
catch (e) {
|
|
569
|
-
throw new Error('TxClient:
|
|
571
|
+
throw new Error('TxClient:sendMsgBuyCard: Could not broadcast Tx: ' + e.message);
|
|
570
572
|
}
|
|
571
573
|
},
|
|
572
|
-
async
|
|
574
|
+
async sendMsgSetCollectionArtist({ value, fee, memo }) {
|
|
573
575
|
if (!signer) {
|
|
574
|
-
throw new Error('TxClient:
|
|
576
|
+
throw new Error('TxClient:sendMsgSetCollectionArtist: Unable to sign Tx. Signer is not present.');
|
|
575
577
|
}
|
|
576
578
|
try {
|
|
577
579
|
const { address } = (await signer.getAccounts())[0];
|
|
578
580
|
const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
|
|
579
|
-
let msg = this.
|
|
581
|
+
let msg = this.msgSetCollectionArtist({ value: MsgSetCollectionArtist.fromPartial(value) });
|
|
580
582
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
|
|
581
583
|
}
|
|
582
584
|
catch (e) {
|
|
583
|
-
throw new Error('TxClient:
|
|
585
|
+
throw new Error('TxClient:sendMsgSetCollectionArtist: Could not broadcast Tx: ' + e.message);
|
|
584
586
|
}
|
|
585
587
|
},
|
|
586
|
-
async
|
|
588
|
+
async sendMsgRevealCouncilResponse({ value, fee, memo }) {
|
|
587
589
|
if (!signer) {
|
|
588
|
-
throw new Error('TxClient:
|
|
590
|
+
throw new Error('TxClient:sendMsgRevealCouncilResponse: Unable to sign Tx. Signer is not present.');
|
|
589
591
|
}
|
|
590
592
|
try {
|
|
591
593
|
const { address } = (await signer.getAccounts())[0];
|
|
592
594
|
const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
|
|
593
|
-
let msg = this.
|
|
595
|
+
let msg = this.msgRevealCouncilResponse({ value: MsgRevealCouncilResponse.fromPartial(value) });
|
|
594
596
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
|
|
595
597
|
}
|
|
596
598
|
catch (e) {
|
|
597
|
-
throw new Error('TxClient:
|
|
599
|
+
throw new Error('TxClient:sendMsgRevealCouncilResponse: Could not broadcast Tx: ' + e.message);
|
|
598
600
|
}
|
|
599
601
|
},
|
|
600
|
-
async
|
|
602
|
+
async sendMsgConfirmMatch({ value, fee, memo }) {
|
|
601
603
|
if (!signer) {
|
|
602
|
-
throw new Error('TxClient:
|
|
604
|
+
throw new Error('TxClient:sendMsgConfirmMatch: Unable to sign Tx. Signer is not present.');
|
|
603
605
|
}
|
|
604
606
|
try {
|
|
605
607
|
const { address } = (await signer.getAccounts())[0];
|
|
606
608
|
const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
|
|
607
|
-
let msg = this.
|
|
609
|
+
let msg = this.msgConfirmMatch({ value: MsgConfirmMatch.fromPartial(value) });
|
|
608
610
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
|
|
609
611
|
}
|
|
610
612
|
catch (e) {
|
|
611
|
-
throw new Error('TxClient:
|
|
613
|
+
throw new Error('TxClient:sendMsgConfirmMatch: Could not broadcast Tx: ' + e.message);
|
|
612
614
|
}
|
|
613
615
|
},
|
|
614
|
-
async
|
|
616
|
+
async sendMsgChangeArtist({ value, fee, memo }) {
|
|
615
617
|
if (!signer) {
|
|
616
|
-
throw new Error('TxClient:
|
|
618
|
+
throw new Error('TxClient:sendMsgChangeArtist: Unable to sign Tx. Signer is not present.');
|
|
617
619
|
}
|
|
618
620
|
try {
|
|
619
621
|
const { address } = (await signer.getAccounts())[0];
|
|
620
622
|
const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
|
|
621
|
-
let msg = this.
|
|
623
|
+
let msg = this.msgChangeArtist({ value: MsgChangeArtist.fromPartial(value) });
|
|
622
624
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
|
|
623
625
|
}
|
|
624
626
|
catch (e) {
|
|
625
|
-
throw new Error('TxClient:
|
|
627
|
+
throw new Error('TxClient:sendMsgChangeArtist: Could not broadcast Tx: ' + e.message);
|
|
626
628
|
}
|
|
627
629
|
},
|
|
628
|
-
async
|
|
630
|
+
async sendMsgCreateSellOffer({ value, fee, memo }) {
|
|
629
631
|
if (!signer) {
|
|
630
|
-
throw new Error('TxClient:
|
|
632
|
+
throw new Error('TxClient:sendMsgCreateSellOffer: Unable to sign Tx. Signer is not present.');
|
|
631
633
|
}
|
|
632
634
|
try {
|
|
633
635
|
const { address } = (await signer.getAccounts())[0];
|
|
634
636
|
const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
|
|
635
|
-
let msg = this.
|
|
637
|
+
let msg = this.msgCreateSellOffer({ value: MsgCreateSellOffer.fromPartial(value) });
|
|
636
638
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
|
|
637
639
|
}
|
|
638
640
|
catch (e) {
|
|
639
|
-
throw new Error('TxClient:
|
|
641
|
+
throw new Error('TxClient:sendMsgCreateSellOffer: Could not broadcast Tx: ' + e.message);
|
|
640
642
|
}
|
|
641
643
|
},
|
|
642
|
-
|
|
644
|
+
async sendMsgRemoveCardFromCollection({ value, fee, memo }) {
|
|
645
|
+
if (!signer) {
|
|
646
|
+
throw new Error('TxClient:sendMsgRemoveCardFromCollection: Unable to sign Tx. Signer is not present.');
|
|
647
|
+
}
|
|
643
648
|
try {
|
|
644
|
-
|
|
649
|
+
const { address } = (await signer.getAccounts())[0];
|
|
650
|
+
const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
|
|
651
|
+
let msg = this.msgRemoveCardFromCollection({ value: MsgRemoveCardFromCollection.fromPartial(value) });
|
|
652
|
+
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
|
|
645
653
|
}
|
|
646
654
|
catch (e) {
|
|
647
|
-
throw new Error('TxClient:
|
|
655
|
+
throw new Error('TxClient:sendMsgRemoveCardFromCollection: Could not broadcast Tx: ' + e.message);
|
|
648
656
|
}
|
|
649
657
|
},
|
|
650
|
-
|
|
658
|
+
msgCreateCouncil({ value }) {
|
|
651
659
|
try {
|
|
652
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
660
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgCreateCouncil", value: MsgCreateCouncil.fromPartial(value) };
|
|
653
661
|
}
|
|
654
662
|
catch (e) {
|
|
655
|
-
throw new Error('TxClient:
|
|
663
|
+
throw new Error('TxClient:MsgCreateCouncil: Could not create message: ' + e.message);
|
|
656
664
|
}
|
|
657
665
|
},
|
|
658
|
-
|
|
666
|
+
msgCommitCouncilResponse({ value }) {
|
|
659
667
|
try {
|
|
660
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
668
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgCommitCouncilResponse", value: MsgCommitCouncilResponse.fromPartial(value) };
|
|
661
669
|
}
|
|
662
670
|
catch (e) {
|
|
663
|
-
throw new Error('TxClient:
|
|
671
|
+
throw new Error('TxClient:MsgCommitCouncilResponse: Could not create message: ' + e.message);
|
|
664
672
|
}
|
|
665
673
|
},
|
|
666
|
-
|
|
674
|
+
msgFinalizeCollection({ value }) {
|
|
667
675
|
try {
|
|
668
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
676
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgFinalizeCollection", value: MsgFinalizeCollection.fromPartial(value) };
|
|
669
677
|
}
|
|
670
678
|
catch (e) {
|
|
671
|
-
throw new Error('TxClient:
|
|
679
|
+
throw new Error('TxClient:MsgFinalizeCollection: Could not create message: ' + e.message);
|
|
672
680
|
}
|
|
673
681
|
},
|
|
674
|
-
|
|
682
|
+
msgSetCardRarity({ value }) {
|
|
675
683
|
try {
|
|
676
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
684
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSetCardRarity", value: MsgSetCardRarity.fromPartial(value) };
|
|
677
685
|
}
|
|
678
686
|
catch (e) {
|
|
679
|
-
throw new Error('TxClient:
|
|
687
|
+
throw new Error('TxClient:MsgSetCardRarity: Could not create message: ' + e.message);
|
|
680
688
|
}
|
|
681
689
|
},
|
|
682
|
-
|
|
690
|
+
msgAddContributorToCollection({ value }) {
|
|
683
691
|
try {
|
|
684
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
692
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgAddContributorToCollection", value: MsgAddContributorToCollection.fromPartial(value) };
|
|
685
693
|
}
|
|
686
694
|
catch (e) {
|
|
687
|
-
throw new Error('TxClient:
|
|
695
|
+
throw new Error('TxClient:MsgAddContributorToCollection: Could not create message: ' + e.message);
|
|
688
696
|
}
|
|
689
697
|
},
|
|
690
|
-
|
|
698
|
+
msgTransferCard({ value }) {
|
|
691
699
|
try {
|
|
692
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
700
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgTransferCard", value: MsgTransferCard.fromPartial(value) };
|
|
693
701
|
}
|
|
694
702
|
catch (e) {
|
|
695
|
-
throw new Error('TxClient:
|
|
703
|
+
throw new Error('TxClient:MsgTransferCard: Could not create message: ' + e.message);
|
|
696
704
|
}
|
|
697
705
|
},
|
|
698
|
-
|
|
706
|
+
msgSetUserBiography({ value }) {
|
|
699
707
|
try {
|
|
700
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
708
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSetUserBiography", value: MsgSetUserBiography.fromPartial(value) };
|
|
701
709
|
}
|
|
702
710
|
catch (e) {
|
|
703
|
-
throw new Error('TxClient:
|
|
711
|
+
throw new Error('TxClient:MsgSetUserBiography: Could not create message: ' + e.message);
|
|
704
712
|
}
|
|
705
713
|
},
|
|
706
|
-
|
|
714
|
+
msgRemoveSellOffer({ value }) {
|
|
707
715
|
try {
|
|
708
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
716
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgRemoveSellOffer", value: MsgRemoveSellOffer.fromPartial(value) };
|
|
709
717
|
}
|
|
710
718
|
catch (e) {
|
|
711
|
-
throw new Error('TxClient:
|
|
719
|
+
throw new Error('TxClient:MsgRemoveSellOffer: Could not create message: ' + e.message);
|
|
712
720
|
}
|
|
713
721
|
},
|
|
714
|
-
|
|
722
|
+
msgCreateCollection({ value }) {
|
|
715
723
|
try {
|
|
716
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
724
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgCreateCollection", value: MsgCreateCollection.fromPartial(value) };
|
|
717
725
|
}
|
|
718
726
|
catch (e) {
|
|
719
|
-
throw new Error('TxClient:
|
|
727
|
+
throw new Error('TxClient:MsgCreateCollection: Could not create message: ' + e.message);
|
|
720
728
|
}
|
|
721
729
|
},
|
|
722
|
-
|
|
730
|
+
msgApointMatchReporter({ value }) {
|
|
723
731
|
try {
|
|
724
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
732
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgApointMatchReporter", value: MsgApointMatchReporter.fromPartial(value) };
|
|
725
733
|
}
|
|
726
734
|
catch (e) {
|
|
727
|
-
throw new Error('TxClient:
|
|
735
|
+
throw new Error('TxClient:MsgApointMatchReporter: Could not create message: ' + e.message);
|
|
728
736
|
}
|
|
729
737
|
},
|
|
730
|
-
|
|
738
|
+
msgSetProfileCard({ value }) {
|
|
731
739
|
try {
|
|
732
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
740
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSetProfileCard", value: MsgSetProfileCard.fromPartial(value) };
|
|
733
741
|
}
|
|
734
742
|
catch (e) {
|
|
735
|
-
throw new Error('TxClient:
|
|
743
|
+
throw new Error('TxClient:MsgSetProfileCard: Could not create message: ' + e.message);
|
|
736
744
|
}
|
|
737
745
|
},
|
|
738
|
-
|
|
746
|
+
msgDonateToCard({ value }) {
|
|
739
747
|
try {
|
|
740
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
748
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgDonateToCard", value: MsgDonateToCard.fromPartial(value) };
|
|
741
749
|
}
|
|
742
750
|
catch (e) {
|
|
743
|
-
throw new Error('TxClient:
|
|
751
|
+
throw new Error('TxClient:MsgDonateToCard: Could not create message: ' + e.message);
|
|
744
752
|
}
|
|
745
753
|
},
|
|
746
|
-
|
|
754
|
+
msgRemoveContributorFromCollection({ value }) {
|
|
747
755
|
try {
|
|
748
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
756
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgRemoveContributorFromCollection", value: MsgRemoveContributorFromCollection.fromPartial(value) };
|
|
749
757
|
}
|
|
750
758
|
catch (e) {
|
|
751
|
-
throw new Error('TxClient:
|
|
759
|
+
throw new Error('TxClient:MsgRemoveContributorFromCollection: Could not create message: ' + e.message);
|
|
752
760
|
}
|
|
753
761
|
},
|
|
754
|
-
|
|
762
|
+
msgAddStoryToCollection({ value }) {
|
|
755
763
|
try {
|
|
756
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
764
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgAddStoryToCollection", value: MsgAddStoryToCollection.fromPartial(value) };
|
|
757
765
|
}
|
|
758
766
|
catch (e) {
|
|
759
|
-
throw new Error('TxClient:
|
|
767
|
+
throw new Error('TxClient:MsgAddStoryToCollection: Could not create message: ' + e.message);
|
|
760
768
|
}
|
|
761
769
|
},
|
|
762
|
-
|
|
770
|
+
msgSubmitCopyrightProposal({ value }) {
|
|
763
771
|
try {
|
|
764
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
772
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSubmitCopyrightProposal", value: MsgSubmitCopyrightProposal.fromPartial(value) };
|
|
765
773
|
}
|
|
766
774
|
catch (e) {
|
|
767
|
-
throw new Error('TxClient:
|
|
775
|
+
throw new Error('TxClient:MsgSubmitCopyrightProposal: Could not create message: ' + e.message);
|
|
768
776
|
}
|
|
769
777
|
},
|
|
770
|
-
|
|
778
|
+
msgMultiVoteCard({ value }) {
|
|
771
779
|
try {
|
|
772
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
780
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgMultiVoteCard", value: MsgMultiVoteCard.fromPartial(value) };
|
|
773
781
|
}
|
|
774
782
|
catch (e) {
|
|
775
|
-
throw new Error('TxClient:
|
|
783
|
+
throw new Error('TxClient:MsgMultiVoteCard: Could not create message: ' + e.message);
|
|
776
784
|
}
|
|
777
785
|
},
|
|
778
|
-
|
|
786
|
+
msgAddArtwork({ value }) {
|
|
779
787
|
try {
|
|
780
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
788
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgAddArtwork", value: MsgAddArtwork.fromPartial(value) };
|
|
781
789
|
}
|
|
782
790
|
catch (e) {
|
|
783
|
-
throw new Error('TxClient:
|
|
791
|
+
throw new Error('TxClient:MsgAddArtwork: Could not create message: ' + e.message);
|
|
784
792
|
}
|
|
785
793
|
},
|
|
786
|
-
|
|
794
|
+
msgRegisterForCouncil({ value }) {
|
|
787
795
|
try {
|
|
788
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
796
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgRegisterForCouncil", value: MsgRegisterForCouncil.fromPartial(value) };
|
|
789
797
|
}
|
|
790
798
|
catch (e) {
|
|
791
|
-
throw new Error('TxClient:
|
|
799
|
+
throw new Error('TxClient:MsgRegisterForCouncil: Could not create message: ' + e.message);
|
|
792
800
|
}
|
|
793
801
|
},
|
|
794
|
-
|
|
802
|
+
msgSetUserWebsite({ value }) {
|
|
795
803
|
try {
|
|
796
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
804
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSetUserWebsite", value: MsgSetUserWebsite.fromPartial(value) };
|
|
797
805
|
}
|
|
798
806
|
catch (e) {
|
|
799
|
-
throw new Error('TxClient:
|
|
807
|
+
throw new Error('TxClient:MsgSetUserWebsite: Could not create message: ' + e.message);
|
|
800
808
|
}
|
|
801
809
|
},
|
|
802
|
-
|
|
810
|
+
msgSaveCardContent({ value }) {
|
|
803
811
|
try {
|
|
804
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
812
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSaveCardContent", value: MsgSaveCardContent.fromPartial(value) };
|
|
805
813
|
}
|
|
806
814
|
catch (e) {
|
|
807
|
-
throw new Error('TxClient:
|
|
815
|
+
throw new Error('TxClient:MsgSaveCardContent: Could not create message: ' + e.message);
|
|
808
816
|
}
|
|
809
817
|
},
|
|
810
|
-
|
|
818
|
+
msgOpenBoosterPack({ value }) {
|
|
811
819
|
try {
|
|
812
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
820
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgOpenBoosterPack", value: MsgOpenBoosterPack.fromPartial(value) };
|
|
813
821
|
}
|
|
814
822
|
catch (e) {
|
|
815
|
-
throw new Error('TxClient:
|
|
823
|
+
throw new Error('TxClient:MsgOpenBoosterPack: Could not create message: ' + e.message);
|
|
816
824
|
}
|
|
817
825
|
},
|
|
818
|
-
|
|
826
|
+
msgReportMatch({ value }) {
|
|
819
827
|
try {
|
|
820
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
828
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgReportMatch", value: MsgReportMatch.fromPartial(value) };
|
|
821
829
|
}
|
|
822
830
|
catch (e) {
|
|
823
|
-
throw new Error('TxClient:
|
|
831
|
+
throw new Error('TxClient:MsgReportMatch: Could not create message: ' + e.message);
|
|
824
832
|
}
|
|
825
833
|
},
|
|
826
|
-
|
|
834
|
+
msgBuyCollection({ value }) {
|
|
827
835
|
try {
|
|
828
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
836
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgBuyCollection", value: MsgBuyCollection.fromPartial(value) };
|
|
829
837
|
}
|
|
830
838
|
catch (e) {
|
|
831
|
-
throw new Error('TxClient:
|
|
839
|
+
throw new Error('TxClient:MsgBuyCollection: Could not create message: ' + e.message);
|
|
832
840
|
}
|
|
833
841
|
},
|
|
834
|
-
|
|
842
|
+
msgAddCardToCollection({ value }) {
|
|
835
843
|
try {
|
|
836
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
844
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgAddCardToCollection", value: MsgAddCardToCollection.fromPartial(value) };
|
|
837
845
|
}
|
|
838
846
|
catch (e) {
|
|
839
|
-
throw new Error('TxClient:
|
|
847
|
+
throw new Error('TxClient:MsgAddCardToCollection: Could not create message: ' + e.message);
|
|
840
848
|
}
|
|
841
849
|
},
|
|
842
|
-
|
|
850
|
+
msgSubmitCollectionProposal({ value }) {
|
|
843
851
|
try {
|
|
844
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
852
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSubmitCollectionProposal", value: MsgSubmitCollectionProposal.fromPartial(value) };
|
|
845
853
|
}
|
|
846
854
|
catch (e) {
|
|
847
|
-
throw new Error('TxClient:
|
|
855
|
+
throw new Error('TxClient:MsgSubmitCollectionProposal: Could not create message: ' + e.message);
|
|
848
856
|
}
|
|
849
857
|
},
|
|
850
|
-
|
|
858
|
+
msgRewokeCouncilRegistration({ value }) {
|
|
851
859
|
try {
|
|
852
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
860
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgRewokeCouncilRegistration", value: MsgRewokeCouncilRegistration.fromPartial(value) };
|
|
853
861
|
}
|
|
854
862
|
catch (e) {
|
|
855
|
-
throw new Error('TxClient:
|
|
863
|
+
throw new Error('TxClient:MsgRewokeCouncilRegistration: Could not create message: ' + e.message);
|
|
856
864
|
}
|
|
857
865
|
},
|
|
858
|
-
|
|
866
|
+
msgVoteCard({ value }) {
|
|
859
867
|
try {
|
|
860
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
868
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgVoteCard", value: MsgVoteCard.fromPartial(value) };
|
|
861
869
|
}
|
|
862
870
|
catch (e) {
|
|
863
|
-
throw new Error('TxClient:
|
|
871
|
+
throw new Error('TxClient:MsgVoteCard: Could not create message: ' + e.message);
|
|
864
872
|
}
|
|
865
873
|
},
|
|
866
874
|
msgTransferBoosterPack({ value }) {
|
|
@@ -871,92 +879,108 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
|
|
|
871
879
|
throw new Error('TxClient:MsgTransferBoosterPack: Could not create message: ' + e.message);
|
|
872
880
|
}
|
|
873
881
|
},
|
|
874
|
-
|
|
882
|
+
msgRestartCouncil({ value }) {
|
|
875
883
|
try {
|
|
876
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
884
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgRestartCouncil", value: MsgRestartCouncil.fromPartial(value) };
|
|
877
885
|
}
|
|
878
886
|
catch (e) {
|
|
879
|
-
throw new Error('TxClient:
|
|
887
|
+
throw new Error('TxClient:MsgRestartCouncil: Could not create message: ' + e.message);
|
|
880
888
|
}
|
|
881
889
|
},
|
|
882
|
-
|
|
890
|
+
msgBuyCardScheme({ value }) {
|
|
883
891
|
try {
|
|
884
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
892
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgBuyCardScheme", value: MsgBuyCardScheme.fromPartial(value) };
|
|
885
893
|
}
|
|
886
894
|
catch (e) {
|
|
887
|
-
throw new Error('TxClient:
|
|
895
|
+
throw new Error('TxClient:MsgBuyCardScheme: Could not create message: ' + e.message);
|
|
888
896
|
}
|
|
889
897
|
},
|
|
890
|
-
|
|
898
|
+
msgSubmitMatchReporterProposal({ value }) {
|
|
891
899
|
try {
|
|
892
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
900
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSubmitMatchReporterProposal", value: MsgSubmitMatchReporterProposal.fromPartial(value) };
|
|
893
901
|
}
|
|
894
902
|
catch (e) {
|
|
895
|
-
throw new Error('TxClient:
|
|
903
|
+
throw new Error('TxClient:MsgSubmitMatchReporterProposal: Could not create message: ' + e.message);
|
|
896
904
|
}
|
|
897
905
|
},
|
|
898
|
-
|
|
906
|
+
msgSetCollectionStoryWriter({ value }) {
|
|
899
907
|
try {
|
|
900
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
908
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSetCollectionStoryWriter", value: MsgSetCollectionStoryWriter.fromPartial(value) };
|
|
901
909
|
}
|
|
902
910
|
catch (e) {
|
|
903
|
-
throw new Error('TxClient:
|
|
911
|
+
throw new Error('TxClient:MsgSetCollectionStoryWriter: Could not create message: ' + e.message);
|
|
904
912
|
}
|
|
905
913
|
},
|
|
906
|
-
|
|
914
|
+
msgCreateuser({ value }) {
|
|
907
915
|
try {
|
|
908
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
916
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgCreateuser", value: MsgCreateuser.fromPartial(value) };
|
|
909
917
|
}
|
|
910
918
|
catch (e) {
|
|
911
|
-
throw new Error('TxClient:
|
|
919
|
+
throw new Error('TxClient:MsgCreateuser: Could not create message: ' + e.message);
|
|
912
920
|
}
|
|
913
921
|
},
|
|
914
|
-
|
|
922
|
+
msgAddArtworkToCollection({ value }) {
|
|
915
923
|
try {
|
|
916
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
924
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgAddArtworkToCollection", value: MsgAddArtworkToCollection.fromPartial(value) };
|
|
917
925
|
}
|
|
918
926
|
catch (e) {
|
|
919
|
-
throw new Error('TxClient:
|
|
927
|
+
throw new Error('TxClient:MsgAddArtworkToCollection: Could not create message: ' + e.message);
|
|
920
928
|
}
|
|
921
929
|
},
|
|
922
|
-
|
|
930
|
+
msgBuyCard({ value }) {
|
|
923
931
|
try {
|
|
924
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
932
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgBuyCard", value: MsgBuyCard.fromPartial(value) };
|
|
925
933
|
}
|
|
926
934
|
catch (e) {
|
|
927
|
-
throw new Error('TxClient:
|
|
935
|
+
throw new Error('TxClient:MsgBuyCard: Could not create message: ' + e.message);
|
|
928
936
|
}
|
|
929
937
|
},
|
|
930
|
-
|
|
938
|
+
msgSetCollectionArtist({ value }) {
|
|
931
939
|
try {
|
|
932
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
940
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSetCollectionArtist", value: MsgSetCollectionArtist.fromPartial(value) };
|
|
933
941
|
}
|
|
934
942
|
catch (e) {
|
|
935
|
-
throw new Error('TxClient:
|
|
943
|
+
throw new Error('TxClient:MsgSetCollectionArtist: Could not create message: ' + e.message);
|
|
936
944
|
}
|
|
937
945
|
},
|
|
938
|
-
|
|
946
|
+
msgRevealCouncilResponse({ value }) {
|
|
939
947
|
try {
|
|
940
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
948
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgRevealCouncilResponse", value: MsgRevealCouncilResponse.fromPartial(value) };
|
|
941
949
|
}
|
|
942
950
|
catch (e) {
|
|
943
|
-
throw new Error('TxClient:
|
|
951
|
+
throw new Error('TxClient:MsgRevealCouncilResponse: Could not create message: ' + e.message);
|
|
944
952
|
}
|
|
945
953
|
},
|
|
946
|
-
|
|
954
|
+
msgConfirmMatch({ value }) {
|
|
947
955
|
try {
|
|
948
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
956
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgConfirmMatch", value: MsgConfirmMatch.fromPartial(value) };
|
|
949
957
|
}
|
|
950
958
|
catch (e) {
|
|
951
|
-
throw new Error('TxClient:
|
|
959
|
+
throw new Error('TxClient:MsgConfirmMatch: Could not create message: ' + e.message);
|
|
952
960
|
}
|
|
953
961
|
},
|
|
954
|
-
|
|
962
|
+
msgChangeArtist({ value }) {
|
|
955
963
|
try {
|
|
956
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
964
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgChangeArtist", value: MsgChangeArtist.fromPartial(value) };
|
|
957
965
|
}
|
|
958
966
|
catch (e) {
|
|
959
|
-
throw new Error('TxClient:
|
|
967
|
+
throw new Error('TxClient:MsgChangeArtist: Could not create message: ' + e.message);
|
|
968
|
+
}
|
|
969
|
+
},
|
|
970
|
+
msgCreateSellOffer({ value }) {
|
|
971
|
+
try {
|
|
972
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgCreateSellOffer", value: MsgCreateSellOffer.fromPartial(value) };
|
|
973
|
+
}
|
|
974
|
+
catch (e) {
|
|
975
|
+
throw new Error('TxClient:MsgCreateSellOffer: Could not create message: ' + e.message);
|
|
976
|
+
}
|
|
977
|
+
},
|
|
978
|
+
msgRemoveCardFromCollection({ value }) {
|
|
979
|
+
try {
|
|
980
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgRemoveCardFromCollection", value: MsgRemoveCardFromCollection.fromPartial(value) };
|
|
981
|
+
}
|
|
982
|
+
catch (e) {
|
|
983
|
+
throw new Error('TxClient:MsgRemoveCardFromCollection: Could not create message: ' + e.message);
|
|
960
984
|
}
|
|
961
985
|
},
|
|
962
986
|
};
|
|
@@ -985,6 +1009,7 @@ class SDKModule {
|
|
|
985
1009
|
IgnoreSellOffers: getStructure(typeIgnoreSellOffers.fromPartial({})),
|
|
986
1010
|
QueryQServerResponse: getStructure(typeQueryQServerResponse.fromPartial({})),
|
|
987
1011
|
RunningAverage: getStructure(typeRunningAverage.fromPartial({})),
|
|
1012
|
+
SingleVote: getStructure(typeSingleVote.fromPartial({})),
|
|
988
1013
|
BoosterPack: getStructure(typeBoosterPack.fromPartial({})),
|
|
989
1014
|
AirDrops: getStructure(typeAirDrops.fromPartial({})),
|
|
990
1015
|
VoteRight: getStructure(typeVoteRight.fromPartial({})),
|