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