decentralcardgame-cardchain-client-ts 0.0.5 → 0.0.7
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.ts +471 -469
- package/DecentralCardGame.cardchain.cardchain/registry.ts +60 -60
- package/DecentralCardGame.cardchain.cardchain/rest.ts +3 -0
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/card.ts +51 -0
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/genesis.ts +16 -2
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/query.ts +11 -0
- package/DecentralCardGame.cardchain.cardchain/types.ts +2 -0
- package/client.js +1 -2
- package/package.json +1 -1
- package/tsconfig.json +1 -0
- package/DecentralCardGame.cardchain.cardchain/index.js +0 -5
- package/DecentralCardGame.cardchain.cardchain/module.js +0 -1044
- package/DecentralCardGame.cardchain.cardchain/registry.js +0 -85
- package/DecentralCardGame.cardchain.cardchain/rest.js +0 -396
- 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/cardchain/card.js +0 -521
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/collection.js +0 -365
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/collection_proposal.js +0 -93
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/copyright_proposal.js +0 -102
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/council.js +0 -350
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/genesis.js +0 -241
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/image.js +0 -88
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/match.js +0 -210
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/match_reporter_proposal.js +0 -67
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/num.js +0 -73
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/params.js +0 -275
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/query.js +0 -1970
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/running_average.js +0 -85
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/sell_offer.js +0 -148
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/server.js +0 -93
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/tx.js +0 -4294
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/user.js +0 -496
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/vote_right.js +0 -84
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/voting_result.js +0 -127
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/voting_results.js +0 -148
- 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/DecentralCardGame.cardchain.cardchain/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/DecentralCardGame.cardchain.cardchain/types/cosmos/base/v1beta1/coin.js +0 -192
- package/DecentralCardGame.cardchain.cardchain/types/cosmos_proto/cosmos.js +0 -171
- package/DecentralCardGame.cardchain.cardchain/types/gogoproto/gogo.js +0 -2
- package/DecentralCardGame.cardchain.cardchain/types/google/api/annotations.js +0 -2
- package/DecentralCardGame.cardchain.cardchain/types/google/api/http.js +0 -260
- package/DecentralCardGame.cardchain.cardchain/types/google/protobuf/descriptor.js +0 -2830
- package/DecentralCardGame.cardchain.cardchain/types.js +0 -22
- package/cosmos.auth.v1beta1/index.js +0 -5
- package/cosmos.auth.v1beta1/module.js +0 -62
- package/cosmos.auth.v1beta1/registry.js +0 -2
- package/cosmos.auth.v1beta1/rest.js +0 -213
- package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/auth.js +0 -260
- package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/genesis.js +0 -67
- package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/query.js +0 -868
- package/cosmos.auth.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/cosmos.auth.v1beta1/types/cosmos_proto/cosmos.js +0 -171
- package/cosmos.auth.v1beta1/types/gogoproto/gogo.js +0 -2
- package/cosmos.auth.v1beta1/types/google/api/annotations.js +0 -2
- package/cosmos.auth.v1beta1/types/google/api/http.js +0 -260
- package/cosmos.auth.v1beta1/types/google/protobuf/any.js +0 -99
- package/cosmos.auth.v1beta1/types/google/protobuf/descriptor.js +0 -2830
- package/cosmos.auth.v1beta1/types.js +0 -4
- package/cosmos.authz.v1beta1/index.js +0 -5
- package/cosmos.authz.v1beta1/module.js +0 -140
- package/cosmos.authz.v1beta1/registry.js +0 -9
- package/cosmos.authz.v1beta1/rest.js +0 -131
- package/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/authz.js +0 -244
- package/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/event.js +0 -128
- package/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/genesis.js +0 -54
- package/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/query.js +0 -394
- package/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/tx.js +0 -362
- 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/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/cosmos.authz.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
- package/cosmos.authz.v1beta1/types/cosmos_proto/cosmos.js +0 -171
- package/cosmos.authz.v1beta1/types/gogoproto/gogo.js +0 -2
- package/cosmos.authz.v1beta1/types/google/api/annotations.js +0 -2
- package/cosmos.authz.v1beta1/types/google/api/http.js +0 -260
- package/cosmos.authz.v1beta1/types/google/protobuf/any.js +0 -99
- package/cosmos.authz.v1beta1/types/google/protobuf/descriptor.js +0 -2830
- 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/google/protobuf/timestamp.js +0 -84
- 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/cosmos.authz.v1beta1/types.js +0 -7
- package/cosmos.bank.v1beta1/index.js +0 -5
- package/cosmos.bank.v1beta1/module.js +0 -125
- package/cosmos.bank.v1beta1/registry.js +0 -7
- package/cosmos.bank.v1beta1/rest.js +0 -222
- package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/authz.js +0 -50
- package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/bank.js +0 -455
- package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/genesis.js +0 -154
- package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/query.js +0 -1014
- package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/tx.js +0 -219
- package/cosmos.bank.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/cosmos.bank.v1beta1/types/cosmos/base/v1beta1/coin.js +0 -192
- package/cosmos.bank.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
- package/cosmos.bank.v1beta1/types/cosmos_proto/cosmos.js +0 -171
- package/cosmos.bank.v1beta1/types/gogoproto/gogo.js +0 -2
- package/cosmos.bank.v1beta1/types/google/api/annotations.js +0 -2
- package/cosmos.bank.v1beta1/types/google/api/http.js +0 -260
- package/cosmos.bank.v1beta1/types/google/protobuf/descriptor.js +0 -2830
- package/cosmos.bank.v1beta1/types.js +0 -11
- package/cosmos.base.tendermint.v1beta1/index.js +0 -5
- package/cosmos.base.tendermint.v1beta1/module.js +0 -70
- package/cosmos.base.tendermint.v1beta1/registry.js +0 -2
- package/cosmos.base.tendermint.v1beta1/rest.js +0 -209
- package/cosmos.base.tendermint.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/cosmos.base.tendermint.v1beta1/types/cosmos/base/tendermint/v1beta1/query.js +0 -1281
- package/cosmos.base.tendermint.v1beta1/types/cosmos/base/tendermint/v1beta1/types.js +0 -350
- package/cosmos.base.tendermint.v1beta1/types/cosmos_proto/cosmos.js +0 -171
- package/cosmos.base.tendermint.v1beta1/types/gogoproto/gogo.js +0 -2
- package/cosmos.base.tendermint.v1beta1/types/google/api/annotations.js +0 -2
- package/cosmos.base.tendermint.v1beta1/types/google/api/http.js +0 -260
- package/cosmos.base.tendermint.v1beta1/types/google/protobuf/any.js +0 -99
- package/cosmos.base.tendermint.v1beta1/types/google/protobuf/descriptor.js +0 -2830
- package/cosmos.base.tendermint.v1beta1/types/google/protobuf/timestamp.js +0 -84
- package/cosmos.base.tendermint.v1beta1/types/tendermint/crypto/keys.js +0 -100
- package/cosmos.base.tendermint.v1beta1/types/tendermint/crypto/proof.js +0 -356
- package/cosmos.base.tendermint.v1beta1/types/tendermint/p2p/types.js +0 -352
- package/cosmos.base.tendermint.v1beta1/types/tendermint/types/block.js +0 -86
- package/cosmos.base.tendermint.v1beta1/types/tendermint/types/evidence.js +0 -343
- package/cosmos.base.tendermint.v1beta1/types/tendermint/types/types.js +0 -1207
- package/cosmos.base.tendermint.v1beta1/types/tendermint/types/validator.js +0 -254
- package/cosmos.base.tendermint.v1beta1/types/tendermint/version/types.js +0 -133
- package/cosmos.base.tendermint.v1beta1/types.js +0 -8
- package/cosmos.crisis.v1beta1/index.js +0 -5
- package/cosmos.crisis.v1beta1/module.js +0 -81
- package/cosmos.crisis.v1beta1/registry.js +0 -5
- package/cosmos.crisis.v1beta1/rest.js +0 -83
- package/cosmos.crisis.v1beta1/types/cosmos/base/v1beta1/coin.js +0 -192
- package/cosmos.crisis.v1beta1/types/cosmos/crisis/v1beta1/genesis.js +0 -51
- package/cosmos.crisis.v1beta1/types/cosmos/crisis/v1beta1/tx.js +0 -111
- package/cosmos.crisis.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
- package/cosmos.crisis.v1beta1/types/cosmos_proto/cosmos.js +0 -171
- package/cosmos.crisis.v1beta1/types/gogoproto/gogo.js +0 -2
- package/cosmos.crisis.v1beta1/types/google/protobuf/descriptor.js +0 -2830
- package/cosmos.crisis.v1beta1/types.js +0 -1
- package/cosmos.distribution.v1beta1/index.js +0 -5
- package/cosmos.distribution.v1beta1/module.js +0 -189
- package/cosmos.distribution.v1beta1/registry.js +0 -11
- package/cosmos.distribution.v1beta1/rest.js +0 -214
- package/cosmos.distribution.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/cosmos.distribution.v1beta1/types/cosmos/base/v1beta1/coin.js +0 -192
- package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/distribution.js +0 -737
- package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/genesis.js +0 -656
- package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/query.js +0 -926
- package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/tx.js +0 -396
- package/cosmos.distribution.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
- package/cosmos.distribution.v1beta1/types/cosmos_proto/cosmos.js +0 -171
- package/cosmos.distribution.v1beta1/types/gogoproto/gogo.js +0 -2
- package/cosmos.distribution.v1beta1/types/google/api/annotations.js +0 -2
- package/cosmos.distribution.v1beta1/types/google/api/http.js +0 -260
- package/cosmos.distribution.v1beta1/types/google/protobuf/descriptor.js +0 -2830
- package/cosmos.distribution.v1beta1/types.js +0 -20
- package/cosmos.evidence.v1beta1/index.js +0 -5
- package/cosmos.evidence.v1beta1/module.js +0 -84
- package/cosmos.evidence.v1beta1/registry.js +0 -5
- package/cosmos.evidence.v1beta1/rest.js +0 -115
- package/cosmos.evidence.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/evidence.js +0 -124
- package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/genesis.js +0 -50
- package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/query.js +0 -254
- package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/tx.js +0 -154
- package/cosmos.evidence.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
- package/cosmos.evidence.v1beta1/types/cosmos_proto/cosmos.js +0 -171
- package/cosmos.evidence.v1beta1/types/gogoproto/gogo.js +0 -2
- package/cosmos.evidence.v1beta1/types/google/api/annotations.js +0 -2
- package/cosmos.evidence.v1beta1/types/google/api/http.js +0 -260
- package/cosmos.evidence.v1beta1/types/google/protobuf/any.js +0 -99
- package/cosmos.evidence.v1beta1/types/google/protobuf/descriptor.js +0 -2830
- package/cosmos.evidence.v1beta1/types/google/protobuf/timestamp.js +0 -84
- package/cosmos.evidence.v1beta1/types.js +0 -2
- package/cosmos.feegrant.v1beta1/index.js +0 -5
- package/cosmos.feegrant.v1beta1/module.js +0 -113
- package/cosmos.feegrant.v1beta1/registry.js +0 -7
- package/cosmos.feegrant.v1beta1/rest.js +0 -130
- package/cosmos.feegrant.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/cosmos.feegrant.v1beta1/types/cosmos/base/v1beta1/coin.js +0 -192
- package/cosmos.feegrant.v1beta1/types/cosmos/feegrant/v1beta1/feegrant.js +0 -307
- package/cosmos.feegrant.v1beta1/types/cosmos/feegrant/v1beta1/genesis.js +0 -52
- package/cosmos.feegrant.v1beta1/types/cosmos/feegrant/v1beta1/query.js +0 -357
- package/cosmos.feegrant.v1beta1/types/cosmos/feegrant/v1beta1/tx.js +0 -205
- package/cosmos.feegrant.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
- package/cosmos.feegrant.v1beta1/types/cosmos_proto/cosmos.js +0 -171
- package/cosmos.feegrant.v1beta1/types/gogoproto/gogo.js +0 -2
- package/cosmos.feegrant.v1beta1/types/google/api/annotations.js +0 -2
- package/cosmos.feegrant.v1beta1/types/google/api/http.js +0 -260
- package/cosmos.feegrant.v1beta1/types/google/protobuf/any.js +0 -99
- package/cosmos.feegrant.v1beta1/types/google/protobuf/descriptor.js +0 -2830
- package/cosmos.feegrant.v1beta1/types/google/protobuf/duration.js +0 -84
- package/cosmos.feegrant.v1beta1/types/google/protobuf/timestamp.js +0 -84
- package/cosmos.feegrant.v1beta1/types.js +0 -5
- package/cosmos.gov.v1/index.js +0 -5
- package/cosmos.gov.v1/module.js +0 -167
- package/cosmos.gov.v1/registry.js +0 -11
- package/cosmos.gov.v1/rest.js +0 -242
- package/cosmos.gov.v1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/cosmos.gov.v1/types/cosmos/base/v1beta1/coin.js +0 -192
- package/cosmos.gov.v1/types/cosmos/gov/v1/genesis.js +0 -162
- package/cosmos.gov.v1/types/cosmos/gov/v1/gov.js +0 -766
- package/cosmos.gov.v1/types/cosmos/gov/v1/query.js +0 -917
- package/cosmos.gov.v1/types/cosmos/gov/v1/tx.js +0 -590
- package/cosmos.gov.v1/types/cosmos/msg/v1/msg.js +0 -2
- package/cosmos.gov.v1/types/cosmos_proto/cosmos.js +0 -171
- package/cosmos.gov.v1/types/gogoproto/gogo.js +0 -2
- package/cosmos.gov.v1/types/google/api/annotations.js +0 -2
- package/cosmos.gov.v1/types/google/api/http.js +0 -260
- package/cosmos.gov.v1/types/google/protobuf/any.js +0 -99
- package/cosmos.gov.v1/types/google/protobuf/descriptor.js +0 -2830
- package/cosmos.gov.v1/types/google/protobuf/duration.js +0 -84
- package/cosmos.gov.v1/types/google/protobuf/timestamp.js +0 -84
- package/cosmos.gov.v1/types.js +0 -9
- package/cosmos.gov.v1beta1/index.js +0 -5
- package/cosmos.gov.v1beta1/module.js +0 -169
- package/cosmos.gov.v1beta1/registry.js +0 -11
- package/cosmos.gov.v1beta1/rest.js +0 -242
- package/cosmos.gov.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/cosmos.gov.v1beta1/types/cosmos/base/v1beta1/coin.js +0 -192
- package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/genesis.js +0 -162
- package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/gov.js +0 -832
- package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/query.js +0 -917
- package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/tx.js +0 -467
- package/cosmos.gov.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
- package/cosmos.gov.v1beta1/types/cosmos_proto/cosmos.js +0 -171
- package/cosmos.gov.v1beta1/types/gogoproto/gogo.js +0 -2
- package/cosmos.gov.v1beta1/types/google/api/annotations.js +0 -2
- package/cosmos.gov.v1beta1/types/google/api/http.js +0 -260
- package/cosmos.gov.v1beta1/types/google/protobuf/any.js +0 -99
- package/cosmos.gov.v1beta1/types/google/protobuf/descriptor.js +0 -2830
- package/cosmos.gov.v1beta1/types/google/protobuf/duration.js +0 -84
- package/cosmos.gov.v1beta1/types/google/protobuf/timestamp.js +0 -84
- package/cosmos.gov.v1beta1/types.js +0 -10
- package/cosmos.group.v1/index.js +0 -5
- package/cosmos.group.v1/module.js +0 -421
- package/cosmos.group.v1/registry.js +0 -31
- package/cosmos.group.v1/rest.js +0 -366
- package/cosmos.group.v1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/cosmos.group.v1/types/cosmos/group/v1/events.js +0 -433
- package/cosmos.group.v1/types/cosmos/group/v1/genesis.js +0 -177
- package/cosmos.group.v1/types/cosmos/group/v1/query.js +0 -1578
- package/cosmos.group.v1/types/cosmos/group/v1/tx.js +0 -1621
- package/cosmos.group.v1/types/cosmos/group/v1/types.js +0 -1105
- package/cosmos.group.v1/types/cosmos/msg/v1/msg.js +0 -2
- package/cosmos.group.v1/types/cosmos_proto/cosmos.js +0 -171
- package/cosmos.group.v1/types/gogoproto/gogo.js +0 -2
- package/cosmos.group.v1/types/google/api/annotations.js +0 -2
- package/cosmos.group.v1/types/google/api/http.js +0 -260
- package/cosmos.group.v1/types/google/protobuf/any.js +0 -99
- package/cosmos.group.v1/types/google/protobuf/descriptor.js +0 -2830
- package/cosmos.group.v1/types/google/protobuf/duration.js +0 -84
- package/cosmos.group.v1/types/google/protobuf/timestamp.js +0 -84
- package/cosmos.group.v1/types.js +0 -21
- package/cosmos.mint.v1beta1/index.js +0 -5
- package/cosmos.mint.v1beta1/module.js +0 -60
- package/cosmos.mint.v1beta1/registry.js +0 -2
- package/cosmos.mint.v1beta1/rest.js +0 -128
- package/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/genesis.js +0 -63
- package/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/mint.js +0 -179
- package/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/query.js +0 -298
- package/cosmos.mint.v1beta1/types/cosmos_proto/cosmos.js +0 -171
- package/cosmos.mint.v1beta1/types/gogoproto/gogo.js +0 -2
- package/cosmos.mint.v1beta1/types/google/api/annotations.js +0 -2
- package/cosmos.mint.v1beta1/types/google/api/http.js +0 -260
- package/cosmos.mint.v1beta1/types/google/protobuf/descriptor.js +0 -2830
- package/cosmos.mint.v1beta1/types.js +0 -3
- package/cosmos.nft.v1beta1/index.js +0 -5
- package/cosmos.nft.v1beta1/module.js +0 -68
- package/cosmos.nft.v1beta1/registry.js +0 -2
- package/cosmos.nft.v1beta1/rest.js +0 -187
- package/cosmos.nft.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/cosmos.nft.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
- package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/event.js +0 -198
- package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/genesis.js +0 -126
- package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/nft.js +0 -183
- package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/query.js +0 -752
- package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/tx.js +0 -120
- package/cosmos.nft.v1beta1/types/google/api/annotations.js +0 -2
- package/cosmos.nft.v1beta1/types/google/api/http.js +0 -260
- package/cosmos.nft.v1beta1/types/google/protobuf/any.js +0 -99
- package/cosmos.nft.v1beta1/types/google/protobuf/descriptor.js +0 -2830
- package/cosmos.nft.v1beta1/types.js +0 -7
- package/cosmos.params.v1beta1/index.js +0 -5
- package/cosmos.params.v1beta1/module.js +0 -62
- package/cosmos.params.v1beta1/registry.js +0 -2
- package/cosmos.params.v1beta1/rest.js +0 -116
- package/cosmos.params.v1beta1/types/cosmos/params/v1beta1/params.js +0 -133
- package/cosmos.params.v1beta1/types/cosmos/params/v1beta1/query.js +0 -257
- package/cosmos.params.v1beta1/types/cosmos_proto/cosmos.js +0 -171
- package/cosmos.params.v1beta1/types/gogoproto/gogo.js +0 -2
- package/cosmos.params.v1beta1/types/google/api/annotations.js +0 -2
- package/cosmos.params.v1beta1/types/google/api/http.js +0 -260
- package/cosmos.params.v1beta1/types/google/protobuf/descriptor.js +0 -2830
- package/cosmos.params.v1beta1/types.js +0 -4
- package/cosmos.slashing.v1beta1/index.js +0 -5
- package/cosmos.slashing.v1beta1/module.js +0 -92
- package/cosmos.slashing.v1beta1/registry.js +0 -5
- package/cosmos.slashing.v1beta1/rest.js +0 -129
- package/cosmos.slashing.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/cosmos.slashing.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
- package/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/genesis.js +0 -279
- package/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/query.js +0 -300
- package/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/slashing.js +0 -275
- package/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/tx.js +0 -91
- package/cosmos.slashing.v1beta1/types/cosmos_proto/cosmos.js +0 -171
- package/cosmos.slashing.v1beta1/types/gogoproto/gogo.js +0 -2
- package/cosmos.slashing.v1beta1/types/google/api/annotations.js +0 -2
- package/cosmos.slashing.v1beta1/types/google/api/http.js +0 -260
- package/cosmos.slashing.v1beta1/types/google/protobuf/descriptor.js +0 -2830
- package/cosmos.slashing.v1beta1/types/google/protobuf/duration.js +0 -84
- package/cosmos.slashing.v1beta1/types/google/protobuf/timestamp.js +0 -84
- package/cosmos.slashing.v1beta1/types.js +0 -6
- package/cosmos.staking.v1beta1/index.js +0 -5
- package/cosmos.staking.v1beta1/module.js +0 -243
- package/cosmos.staking.v1beta1/registry.js +0 -15
- package/cosmos.staking.v1beta1/rest.js +0 -308
- package/cosmos.staking.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/cosmos.staking.v1beta1/types/cosmos/base/v1beta1/coin.js +0 -192
- package/cosmos.staking.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
- package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/authz.js +0 -184
- package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/genesis.js +0 -259
- package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/query.js +0 -1568
- package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/staking.js +0 -1436
- package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/tx.js +0 -768
- package/cosmos.staking.v1beta1/types/cosmos_proto/cosmos.js +0 -171
- package/cosmos.staking.v1beta1/types/gogoproto/gogo.js +0 -2
- package/cosmos.staking.v1beta1/types/google/api/annotations.js +0 -2
- package/cosmos.staking.v1beta1/types/google/api/http.js +0 -260
- package/cosmos.staking.v1beta1/types/google/protobuf/any.js +0 -99
- package/cosmos.staking.v1beta1/types/google/protobuf/descriptor.js +0 -2830
- package/cosmos.staking.v1beta1/types/google/protobuf/duration.js +0 -84
- package/cosmos.staking.v1beta1/types/google/protobuf/timestamp.js +0 -84
- package/cosmos.staking.v1beta1/types/tendermint/crypto/keys.js +0 -100
- package/cosmos.staking.v1beta1/types/tendermint/crypto/proof.js +0 -356
- package/cosmos.staking.v1beta1/types/tendermint/types/types.js +0 -1207
- package/cosmos.staking.v1beta1/types/tendermint/types/validator.js +0 -254
- package/cosmos.staking.v1beta1/types/tendermint/version/types.js +0 -133
- package/cosmos.staking.v1beta1/types.js +0 -24
- package/cosmos.tx.v1beta1/index.js +0 -5
- package/cosmos.tx.v1beta1/module.js +0 -82
- package/cosmos.tx.v1beta1/registry.js +0 -2
- package/cosmos.tx.v1beta1/rest.js +0 -256
- package/cosmos.tx.v1beta1/types/cosmos/base/abci/v1beta1/abci.js +0 -803
- package/cosmos.tx.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/cosmos.tx.v1beta1/types/cosmos/base/v1beta1/coin.js +0 -192
- package/cosmos.tx.v1beta1/types/cosmos/crypto/multisig/v1beta1/multisig.js +0 -147
- package/cosmos.tx.v1beta1/types/cosmos/tx/signing/v1beta1/signing.js +0 -449
- package/cosmos.tx.v1beta1/types/cosmos/tx/v1beta1/service.js +0 -802
- package/cosmos.tx.v1beta1/types/cosmos/tx/v1beta1/tx.js +0 -959
- package/cosmos.tx.v1beta1/types/cosmos_proto/cosmos.js +0 -171
- package/cosmos.tx.v1beta1/types/gogoproto/gogo.js +0 -2
- package/cosmos.tx.v1beta1/types/google/api/annotations.js +0 -2
- package/cosmos.tx.v1beta1/types/google/api/http.js +0 -260
- package/cosmos.tx.v1beta1/types/google/protobuf/any.js +0 -99
- package/cosmos.tx.v1beta1/types/google/protobuf/descriptor.js +0 -2830
- package/cosmos.tx.v1beta1/types/google/protobuf/duration.js +0 -84
- package/cosmos.tx.v1beta1/types/google/protobuf/timestamp.js +0 -84
- package/cosmos.tx.v1beta1/types/tendermint/abci/types.js +0 -3486
- package/cosmos.tx.v1beta1/types/tendermint/crypto/keys.js +0 -100
- package/cosmos.tx.v1beta1/types/tendermint/crypto/proof.js +0 -356
- package/cosmos.tx.v1beta1/types/tendermint/types/block.js +0 -86
- package/cosmos.tx.v1beta1/types/tendermint/types/evidence.js +0 -343
- package/cosmos.tx.v1beta1/types/tendermint/types/params.js +0 -378
- package/cosmos.tx.v1beta1/types/tendermint/types/types.js +0 -1207
- package/cosmos.tx.v1beta1/types/tendermint/types/validator.js +0 -254
- package/cosmos.tx.v1beta1/types/tendermint/version/types.js +0 -133
- package/cosmos.tx.v1beta1/types.js +0 -14
- package/cosmos.upgrade.v1beta1/index.js +0 -5
- package/cosmos.upgrade.v1beta1/module.js +0 -113
- package/cosmos.upgrade.v1beta1/registry.js +0 -7
- package/cosmos.upgrade.v1beta1/rest.js +0 -162
- package/cosmos.upgrade.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
- package/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/query.js +0 -501
- package/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/tx.js +0 -183
- package/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/upgrade.js +0 -302
- package/cosmos.upgrade.v1beta1/types/cosmos_proto/cosmos.js +0 -171
- package/cosmos.upgrade.v1beta1/types/gogoproto/gogo.js +0 -2
- package/cosmos.upgrade.v1beta1/types/google/api/annotations.js +0 -2
- package/cosmos.upgrade.v1beta1/types/google/api/http.js +0 -260
- package/cosmos.upgrade.v1beta1/types/google/protobuf/any.js +0 -99
- package/cosmos.upgrade.v1beta1/types/google/protobuf/descriptor.js +0 -2830
- package/cosmos.upgrade.v1beta1/types/google/protobuf/timestamp.js +0 -84
- package/cosmos.upgrade.v1beta1/types.js +0 -5
- package/cosmos.vesting.v1beta1/index.js +0 -5
- package/cosmos.vesting.v1beta1/module.js +0 -140
- package/cosmos.vesting.v1beta1/registry.js +0 -9
- package/cosmos.vesting.v1beta1/rest.js +0 -83
- package/cosmos.vesting.v1beta1/types/cosmos/auth/v1beta1/auth.js +0 -260
- package/cosmos.vesting.v1beta1/types/cosmos/base/v1beta1/coin.js +0 -192
- package/cosmos.vesting.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
- package/cosmos.vesting.v1beta1/types/cosmos/vesting/v1beta1/tx.js +0 -383
- package/cosmos.vesting.v1beta1/types/cosmos/vesting/v1beta1/vesting.js +0 -422
- package/cosmos.vesting.v1beta1/types/cosmos_proto/cosmos.js +0 -171
- package/cosmos.vesting.v1beta1/types/gogoproto/gogo.js +0 -2
- package/cosmos.vesting.v1beta1/types/google/protobuf/any.js +0 -99
- package/cosmos.vesting.v1beta1/types/google/protobuf/descriptor.js +0 -2830
- package/cosmos.vesting.v1beta1/types.js +0 -7
- package/ibc.applications.interchain_accounts.controller.v1/index.js +0 -5
- package/ibc.applications.interchain_accounts.controller.v1/module.js +0 -58
- package/ibc.applications.interchain_accounts.controller.v1/registry.js +0 -2
- package/ibc.applications.interchain_accounts.controller.v1/rest.js +0 -123
- package/ibc.applications.interchain_accounts.controller.v1/types/gogoproto/gogo.js +0 -2
- package/ibc.applications.interchain_accounts.controller.v1/types/google/api/annotations.js +0 -2
- package/ibc.applications.interchain_accounts.controller.v1/types/google/api/http.js +0 -260
- package/ibc.applications.interchain_accounts.controller.v1/types/google/protobuf/any.js +0 -99
- package/ibc.applications.interchain_accounts.controller.v1/types/google/protobuf/descriptor.js +0 -2830
- package/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/controller.js +0 -47
- package/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/query.js +0 -193
- package/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/tx.js +0 -266
- package/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/v1/packet.js +0 -192
- package/ibc.applications.interchain_accounts.controller.v1/types.js +0 -2
- package/ibc.applications.interchain_accounts.host.v1/index.js +0 -5
- package/ibc.applications.interchain_accounts.host.v1/module.js +0 -58
- package/ibc.applications.interchain_accounts.host.v1/registry.js +0 -2
- package/ibc.applications.interchain_accounts.host.v1/rest.js +0 -100
- package/ibc.applications.interchain_accounts.host.v1/types/gogoproto/gogo.js +0 -2
- package/ibc.applications.interchain_accounts.host.v1/types/google/api/annotations.js +0 -2
- package/ibc.applications.interchain_accounts.host.v1/types/google/api/http.js +0 -260
- package/ibc.applications.interchain_accounts.host.v1/types/google/protobuf/descriptor.js +0 -2830
- package/ibc.applications.interchain_accounts.host.v1/types/ibc/applications/interchain_accounts/host/v1/host.js +0 -63
- package/ibc.applications.interchain_accounts.host.v1/types/ibc/applications/interchain_accounts/host/v1/query.js +0 -94
- package/ibc.applications.interchain_accounts.host.v1/types.js +0 -2
- package/ibc.applications.transfer.v1/index.js +0 -5
- package/ibc.applications.transfer.v1/module.js +0 -86
- package/ibc.applications.transfer.v1/registry.js +0 -5
- package/ibc.applications.transfer.v1/rest.js +0 -157
- package/ibc.applications.transfer.v1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/ibc.applications.transfer.v1/types/cosmos/base/v1beta1/coin.js +0 -192
- package/ibc.applications.transfer.v1/types/cosmos/upgrade/v1beta1/upgrade.js +0 -302
- package/ibc.applications.transfer.v1/types/cosmos_proto/cosmos.js +0 -171
- package/ibc.applications.transfer.v1/types/gogoproto/gogo.js +0 -2
- package/ibc.applications.transfer.v1/types/google/api/annotations.js +0 -2
- package/ibc.applications.transfer.v1/types/google/api/http.js +0 -260
- package/ibc.applications.transfer.v1/types/google/protobuf/any.js +0 -99
- package/ibc.applications.transfer.v1/types/google/protobuf/descriptor.js +0 -2830
- package/ibc.applications.transfer.v1/types/google/protobuf/timestamp.js +0 -84
- package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/genesis.js +0 -75
- package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/query.js +0 -483
- package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/transfer.js +0 -110
- package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/tx.js +0 -204
- package/ibc.applications.transfer.v1/types/ibc/core/client/v1/client.js +0 -448
- package/ibc.applications.transfer.v1/types.js +0 -3
- package/ibc.core.channel.v1/index.js +0 -5
- package/ibc.core.channel.v1/module.js +0 -72
- package/ibc.core.channel.v1/registry.js +0 -2
- package/ibc.core.channel.v1/rest.js +0 -323
- package/ibc.core.channel.v1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/ibc.core.channel.v1/types/cosmos/upgrade/v1beta1/upgrade.js +0 -302
- package/ibc.core.channel.v1/types/cosmos_proto/cosmos.js +0 -171
- package/ibc.core.channel.v1/types/gogoproto/gogo.js +0 -2
- package/ibc.core.channel.v1/types/google/api/annotations.js +0 -2
- package/ibc.core.channel.v1/types/google/api/http.js +0 -260
- package/ibc.core.channel.v1/types/google/protobuf/any.js +0 -99
- package/ibc.core.channel.v1/types/google/protobuf/descriptor.js +0 -2830
- package/ibc.core.channel.v1/types/google/protobuf/timestamp.js +0 -84
- package/ibc.core.channel.v1/types/ibc/core/channel/v1/channel.js +0 -714
- package/ibc.core.channel.v1/types/ibc/core/channel/v1/genesis.js +0 -254
- package/ibc.core.channel.v1/types/ibc/core/channel/v1/query.js +0 -1866
- package/ibc.core.channel.v1/types/ibc/core/channel/v1/tx.js +0 -1425
- package/ibc.core.channel.v1/types/ibc/core/client/v1/client.js +0 -448
- package/ibc.core.channel.v1/types.js +0 -9
- package/ibc.core.client.v1/index.js +0 -5
- package/ibc.core.client.v1/module.js +0 -74
- package/ibc.core.client.v1/registry.js +0 -2
- package/ibc.core.client.v1/rest.js +0 -218
- package/ibc.core.client.v1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/ibc.core.client.v1/types/cosmos/upgrade/v1beta1/upgrade.js +0 -302
- package/ibc.core.client.v1/types/cosmos_proto/cosmos.js +0 -171
- package/ibc.core.client.v1/types/gogoproto/gogo.js +0 -2
- package/ibc.core.client.v1/types/google/api/annotations.js +0 -2
- package/ibc.core.client.v1/types/google/api/http.js +0 -260
- package/ibc.core.client.v1/types/google/protobuf/any.js +0 -99
- package/ibc.core.client.v1/types/google/protobuf/descriptor.js +0 -2830
- package/ibc.core.client.v1/types/google/protobuf/timestamp.js +0 -84
- package/ibc.core.client.v1/types/ibc/core/client/v1/client.js +0 -448
- package/ibc.core.client.v1/types/ibc/core/client/v1/genesis.js +0 -287
- package/ibc.core.client.v1/types/ibc/core/client/v1/query.js +0 -1026
- package/ibc.core.client.v1/types/ibc/core/client/v1/tx.js +0 -509
- package/ibc.core.client.v1/types.js +0 -10
- package/ibc.core.connection.v1/index.js +0 -5
- package/ibc.core.connection.v1/module.js +0 -70
- package/ibc.core.connection.v1/registry.js +0 -2
- package/ibc.core.connection.v1/rest.js +0 -191
- package/ibc.core.connection.v1/types/confio/proofs.js +0 -1120
- package/ibc.core.connection.v1/types/confio/proofs.ts +0 -1402
- package/ibc.core.connection.v1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/ibc.core.connection.v1/types/cosmos/upgrade/v1beta1/upgrade.js +0 -302
- package/ibc.core.connection.v1/types/cosmos_proto/cosmos.js +0 -171
- package/ibc.core.connection.v1/types/gogoproto/gogo.js +0 -2
- package/ibc.core.connection.v1/types/google/api/annotations.js +0 -2
- package/ibc.core.connection.v1/types/google/api/http.js +0 -260
- package/ibc.core.connection.v1/types/google/protobuf/any.js +0 -99
- package/ibc.core.connection.v1/types/google/protobuf/descriptor.js +0 -2830
- package/ibc.core.connection.v1/types/google/protobuf/timestamp.js +0 -84
- package/ibc.core.connection.v1/types/ibc/core/client/v1/client.js +0 -448
- package/ibc.core.connection.v1/types/ibc/core/commitment/v1/commitment.js +0 -223
- package/ibc.core.connection.v1/types/ibc/core/connection/v1/connection.js +0 -537
- package/ibc.core.connection.v1/types/ibc/core/connection/v1/genesis.js +0 -120
- package/ibc.core.connection.v1/types/ibc/core/connection/v1/query.js +0 -766
- package/ibc.core.connection.v1/types/ibc/core/connection/v1/tx.js +0 -705
- package/ibc.core.connection.v1/types/proofs.js +0 -1126
- package/ibc.core.connection.v1/types.js +0 -8
|
@@ -7,49 +7,50 @@ import { msgTypes } from './registry';
|
|
|
7
7
|
import { IgniteClient } from "../client"
|
|
8
8
|
import { MissingWalletError } from "../helpers"
|
|
9
9
|
import { Api } from "./rest";
|
|
10
|
-
import { MsgCreateCouncil } from "./types/cardchain/cardchain/tx";
|
|
11
|
-
import { MsgCommitCouncilResponse } from "./types/cardchain/cardchain/tx";
|
|
12
|
-
import { MsgFinalizeCollection } from "./types/cardchain/cardchain/tx";
|
|
13
|
-
import { MsgSetCardRarity } from "./types/cardchain/cardchain/tx";
|
|
14
|
-
import { MsgAddContributorToCollection } from "./types/cardchain/cardchain/tx";
|
|
15
10
|
import { MsgTransferCard } from "./types/cardchain/cardchain/tx";
|
|
16
|
-
import {
|
|
17
|
-
import { MsgRemoveSellOffer } from "./types/cardchain/cardchain/tx";
|
|
11
|
+
import { MsgOpenBoosterPack } from "./types/cardchain/cardchain/tx";
|
|
18
12
|
import { MsgCreateCollection } from "./types/cardchain/cardchain/tx";
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import { MsgDonateToCard } from "./types/cardchain/cardchain/tx";
|
|
13
|
+
import { MsgCreateuser } from "./types/cardchain/cardchain/tx";
|
|
14
|
+
import { MsgSubmitMatchReporterProposal } from "./types/cardchain/cardchain/tx";
|
|
22
15
|
import { MsgRemoveContributorFromCollection } from "./types/cardchain/cardchain/tx";
|
|
23
|
-
import { MsgAddStoryToCollection } from "./types/cardchain/cardchain/tx";
|
|
24
16
|
import { MsgSubmitCopyrightProposal } from "./types/cardchain/cardchain/tx";
|
|
25
|
-
import {
|
|
26
|
-
import { MsgAddArtwork } from "./types/cardchain/cardchain/tx";
|
|
27
|
-
import { MsgRegisterForCouncil } from "./types/cardchain/cardchain/tx";
|
|
28
|
-
import { MsgSetUserWebsite } from "./types/cardchain/cardchain/tx";
|
|
29
|
-
import { MsgSaveCardContent } from "./types/cardchain/cardchain/tx";
|
|
30
|
-
import { MsgOpenBoosterPack } from "./types/cardchain/cardchain/tx";
|
|
17
|
+
import { MsgRewokeCouncilRegistration } from "./types/cardchain/cardchain/tx";
|
|
31
18
|
import { MsgReportMatch } from "./types/cardchain/cardchain/tx";
|
|
32
|
-
import { MsgBuyCollection } from "./types/cardchain/cardchain/tx";
|
|
33
|
-
import { MsgAddCardToCollection } from "./types/cardchain/cardchain/tx";
|
|
34
19
|
import { MsgSubmitCollectionProposal } from "./types/cardchain/cardchain/tx";
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
20
|
+
import { MsgSaveCardContent } from "./types/cardchain/cardchain/tx";
|
|
21
|
+
import { MsgDonateToCard } from "./types/cardchain/cardchain/tx";
|
|
22
|
+
import { MsgAddStoryToCollection } from "./types/cardchain/cardchain/tx";
|
|
37
23
|
import { MsgTransferBoosterPack } from "./types/cardchain/cardchain/tx";
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import { MsgSubmitMatchReporterProposal } from "./types/cardchain/cardchain/tx";
|
|
41
|
-
import { MsgSetCollectionStoryWriter } from "./types/cardchain/cardchain/tx";
|
|
42
|
-
import { MsgCreateuser } from "./types/cardchain/cardchain/tx";
|
|
24
|
+
import { MsgSetProfileCard } from "./types/cardchain/cardchain/tx";
|
|
25
|
+
import { MsgRemoveCardFromCollection } from "./types/cardchain/cardchain/tx";
|
|
43
26
|
import { MsgAddArtworkToCollection } from "./types/cardchain/cardchain/tx";
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
27
|
+
import { MsgAddCardToCollection } from "./types/cardchain/cardchain/tx";
|
|
28
|
+
import { MsgSetCardRarity } from "./types/cardchain/cardchain/tx";
|
|
29
|
+
import { MsgFinalizeCollection } from "./types/cardchain/cardchain/tx";
|
|
30
|
+
import { MsgAddContributorToCollection } from "./types/cardchain/cardchain/tx";
|
|
31
|
+
import { MsgCreateCouncil } from "./types/cardchain/cardchain/tx";
|
|
32
|
+
import { MsgRestartCouncil } from "./types/cardchain/cardchain/tx";
|
|
33
|
+
import { MsgSetUserWebsite } from "./types/cardchain/cardchain/tx";
|
|
47
34
|
import { MsgConfirmMatch } from "./types/cardchain/cardchain/tx";
|
|
35
|
+
import { MsgSetUserBiography } from "./types/cardchain/cardchain/tx";
|
|
36
|
+
import { MsgMultiVoteCard } from "./types/cardchain/cardchain/tx";
|
|
48
37
|
import { MsgChangeArtist } from "./types/cardchain/cardchain/tx";
|
|
49
38
|
import { MsgCreateSellOffer } from "./types/cardchain/cardchain/tx";
|
|
50
|
-
import {
|
|
39
|
+
import { MsgSetCollectionStoryWriter } from "./types/cardchain/cardchain/tx";
|
|
40
|
+
import { MsgRemoveSellOffer } from "./types/cardchain/cardchain/tx";
|
|
41
|
+
import { MsgAddArtwork } from "./types/cardchain/cardchain/tx";
|
|
42
|
+
import { MsgApointMatchReporter } from "./types/cardchain/cardchain/tx";
|
|
43
|
+
import { MsgRegisterForCouncil } from "./types/cardchain/cardchain/tx";
|
|
44
|
+
import { MsgRevealCouncilResponse } from "./types/cardchain/cardchain/tx";
|
|
45
|
+
import { MsgVoteCard } from "./types/cardchain/cardchain/tx";
|
|
46
|
+
import { MsgSetCollectionArtist } from "./types/cardchain/cardchain/tx";
|
|
47
|
+
import { MsgBuyCardScheme } from "./types/cardchain/cardchain/tx";
|
|
48
|
+
import { MsgBuyCollection } from "./types/cardchain/cardchain/tx";
|
|
49
|
+
import { MsgBuyCard } from "./types/cardchain/cardchain/tx";
|
|
50
|
+
import { MsgCommitCouncilResponse } from "./types/cardchain/cardchain/tx";
|
|
51
51
|
|
|
52
52
|
import { Card as typeCard} from "./types"
|
|
53
|
+
import { TimeStamp as typeTimeStamp} from "./types"
|
|
53
54
|
import { Collection as typeCollection} from "./types"
|
|
54
55
|
import { CollectionProposal as typeCollectionProposal} from "./types"
|
|
55
56
|
import { CopyrightProposal as typeCopyrightProposal} from "./types"
|
|
@@ -71,70 +72,70 @@ import { VoteRight as typeVoteRight} from "./types"
|
|
|
71
72
|
import { VotingResult as typeVotingResult} from "./types"
|
|
72
73
|
import { VotingResults as typeVotingResults} from "./types"
|
|
73
74
|
|
|
74
|
-
export {
|
|
75
|
+
export { MsgTransferCard, MsgOpenBoosterPack, MsgCreateCollection, MsgCreateuser, MsgSubmitMatchReporterProposal, MsgRemoveContributorFromCollection, MsgSubmitCopyrightProposal, MsgRewokeCouncilRegistration, MsgReportMatch, MsgSubmitCollectionProposal, MsgSaveCardContent, MsgDonateToCard, MsgAddStoryToCollection, MsgTransferBoosterPack, MsgSetProfileCard, MsgRemoveCardFromCollection, MsgAddArtworkToCollection, MsgAddCardToCollection, MsgSetCardRarity, MsgFinalizeCollection, MsgAddContributorToCollection, MsgCreateCouncil, MsgRestartCouncil, MsgSetUserWebsite, MsgConfirmMatch, MsgSetUserBiography, MsgMultiVoteCard, MsgChangeArtist, MsgCreateSellOffer, MsgSetCollectionStoryWriter, MsgRemoveSellOffer, MsgAddArtwork, MsgApointMatchReporter, MsgRegisterForCouncil, MsgRevealCouncilResponse, MsgVoteCard, MsgSetCollectionArtist, MsgBuyCardScheme, MsgBuyCollection, MsgBuyCard, MsgCommitCouncilResponse };
|
|
75
76
|
|
|
76
|
-
type
|
|
77
|
-
value:
|
|
77
|
+
type sendMsgTransferCardParams = {
|
|
78
|
+
value: MsgTransferCard,
|
|
78
79
|
fee?: StdFee,
|
|
79
80
|
memo?: string
|
|
80
81
|
};
|
|
81
82
|
|
|
82
|
-
type
|
|
83
|
-
value:
|
|
83
|
+
type sendMsgOpenBoosterPackParams = {
|
|
84
|
+
value: MsgOpenBoosterPack,
|
|
84
85
|
fee?: StdFee,
|
|
85
86
|
memo?: string
|
|
86
87
|
};
|
|
87
88
|
|
|
88
|
-
type
|
|
89
|
-
value:
|
|
89
|
+
type sendMsgCreateCollectionParams = {
|
|
90
|
+
value: MsgCreateCollection,
|
|
90
91
|
fee?: StdFee,
|
|
91
92
|
memo?: string
|
|
92
93
|
};
|
|
93
94
|
|
|
94
|
-
type
|
|
95
|
-
value:
|
|
95
|
+
type sendMsgCreateuserParams = {
|
|
96
|
+
value: MsgCreateuser,
|
|
96
97
|
fee?: StdFee,
|
|
97
98
|
memo?: string
|
|
98
99
|
};
|
|
99
100
|
|
|
100
|
-
type
|
|
101
|
-
value:
|
|
101
|
+
type sendMsgSubmitMatchReporterProposalParams = {
|
|
102
|
+
value: MsgSubmitMatchReporterProposal,
|
|
102
103
|
fee?: StdFee,
|
|
103
104
|
memo?: string
|
|
104
105
|
};
|
|
105
106
|
|
|
106
|
-
type
|
|
107
|
-
value:
|
|
107
|
+
type sendMsgRemoveContributorFromCollectionParams = {
|
|
108
|
+
value: MsgRemoveContributorFromCollection,
|
|
108
109
|
fee?: StdFee,
|
|
109
110
|
memo?: string
|
|
110
111
|
};
|
|
111
112
|
|
|
112
|
-
type
|
|
113
|
-
value:
|
|
113
|
+
type sendMsgSubmitCopyrightProposalParams = {
|
|
114
|
+
value: MsgSubmitCopyrightProposal,
|
|
114
115
|
fee?: StdFee,
|
|
115
116
|
memo?: string
|
|
116
117
|
};
|
|
117
118
|
|
|
118
|
-
type
|
|
119
|
-
value:
|
|
119
|
+
type sendMsgRewokeCouncilRegistrationParams = {
|
|
120
|
+
value: MsgRewokeCouncilRegistration,
|
|
120
121
|
fee?: StdFee,
|
|
121
122
|
memo?: string
|
|
122
123
|
};
|
|
123
124
|
|
|
124
|
-
type
|
|
125
|
-
value:
|
|
125
|
+
type sendMsgReportMatchParams = {
|
|
126
|
+
value: MsgReportMatch,
|
|
126
127
|
fee?: StdFee,
|
|
127
128
|
memo?: string
|
|
128
129
|
};
|
|
129
130
|
|
|
130
|
-
type
|
|
131
|
-
value:
|
|
131
|
+
type sendMsgSubmitCollectionProposalParams = {
|
|
132
|
+
value: MsgSubmitCollectionProposal,
|
|
132
133
|
fee?: StdFee,
|
|
133
134
|
memo?: string
|
|
134
135
|
};
|
|
135
136
|
|
|
136
|
-
type
|
|
137
|
-
value:
|
|
137
|
+
type sendMsgSaveCardContentParams = {
|
|
138
|
+
value: MsgSaveCardContent,
|
|
138
139
|
fee?: StdFee,
|
|
139
140
|
memo?: string
|
|
140
141
|
};
|
|
@@ -145,343 +146,343 @@ type sendMsgDonateToCardParams = {
|
|
|
145
146
|
memo?: string
|
|
146
147
|
};
|
|
147
148
|
|
|
148
|
-
type
|
|
149
|
-
value:
|
|
149
|
+
type sendMsgAddStoryToCollectionParams = {
|
|
150
|
+
value: MsgAddStoryToCollection,
|
|
150
151
|
fee?: StdFee,
|
|
151
152
|
memo?: string
|
|
152
153
|
};
|
|
153
154
|
|
|
154
|
-
type
|
|
155
|
-
value:
|
|
155
|
+
type sendMsgTransferBoosterPackParams = {
|
|
156
|
+
value: MsgTransferBoosterPack,
|
|
156
157
|
fee?: StdFee,
|
|
157
158
|
memo?: string
|
|
158
159
|
};
|
|
159
160
|
|
|
160
|
-
type
|
|
161
|
-
value:
|
|
161
|
+
type sendMsgSetProfileCardParams = {
|
|
162
|
+
value: MsgSetProfileCard,
|
|
162
163
|
fee?: StdFee,
|
|
163
164
|
memo?: string
|
|
164
165
|
};
|
|
165
166
|
|
|
166
|
-
type
|
|
167
|
-
value:
|
|
167
|
+
type sendMsgRemoveCardFromCollectionParams = {
|
|
168
|
+
value: MsgRemoveCardFromCollection,
|
|
168
169
|
fee?: StdFee,
|
|
169
170
|
memo?: string
|
|
170
171
|
};
|
|
171
172
|
|
|
172
|
-
type
|
|
173
|
-
value:
|
|
173
|
+
type sendMsgAddArtworkToCollectionParams = {
|
|
174
|
+
value: MsgAddArtworkToCollection,
|
|
174
175
|
fee?: StdFee,
|
|
175
176
|
memo?: string
|
|
176
177
|
};
|
|
177
178
|
|
|
178
|
-
type
|
|
179
|
-
value:
|
|
179
|
+
type sendMsgAddCardToCollectionParams = {
|
|
180
|
+
value: MsgAddCardToCollection,
|
|
180
181
|
fee?: StdFee,
|
|
181
182
|
memo?: string
|
|
182
183
|
};
|
|
183
184
|
|
|
184
|
-
type
|
|
185
|
-
value:
|
|
185
|
+
type sendMsgSetCardRarityParams = {
|
|
186
|
+
value: MsgSetCardRarity,
|
|
186
187
|
fee?: StdFee,
|
|
187
188
|
memo?: string
|
|
188
189
|
};
|
|
189
190
|
|
|
190
|
-
type
|
|
191
|
-
value:
|
|
191
|
+
type sendMsgFinalizeCollectionParams = {
|
|
192
|
+
value: MsgFinalizeCollection,
|
|
192
193
|
fee?: StdFee,
|
|
193
194
|
memo?: string
|
|
194
195
|
};
|
|
195
196
|
|
|
196
|
-
type
|
|
197
|
-
value:
|
|
197
|
+
type sendMsgAddContributorToCollectionParams = {
|
|
198
|
+
value: MsgAddContributorToCollection,
|
|
198
199
|
fee?: StdFee,
|
|
199
200
|
memo?: string
|
|
200
201
|
};
|
|
201
202
|
|
|
202
|
-
type
|
|
203
|
-
value:
|
|
203
|
+
type sendMsgCreateCouncilParams = {
|
|
204
|
+
value: MsgCreateCouncil,
|
|
204
205
|
fee?: StdFee,
|
|
205
206
|
memo?: string
|
|
206
207
|
};
|
|
207
208
|
|
|
208
|
-
type
|
|
209
|
-
value:
|
|
209
|
+
type sendMsgRestartCouncilParams = {
|
|
210
|
+
value: MsgRestartCouncil,
|
|
210
211
|
fee?: StdFee,
|
|
211
212
|
memo?: string
|
|
212
213
|
};
|
|
213
214
|
|
|
214
|
-
type
|
|
215
|
-
value:
|
|
215
|
+
type sendMsgSetUserWebsiteParams = {
|
|
216
|
+
value: MsgSetUserWebsite,
|
|
216
217
|
fee?: StdFee,
|
|
217
218
|
memo?: string
|
|
218
219
|
};
|
|
219
220
|
|
|
220
|
-
type
|
|
221
|
-
value:
|
|
221
|
+
type sendMsgConfirmMatchParams = {
|
|
222
|
+
value: MsgConfirmMatch,
|
|
222
223
|
fee?: StdFee,
|
|
223
224
|
memo?: string
|
|
224
225
|
};
|
|
225
226
|
|
|
226
|
-
type
|
|
227
|
-
value:
|
|
227
|
+
type sendMsgSetUserBiographyParams = {
|
|
228
|
+
value: MsgSetUserBiography,
|
|
228
229
|
fee?: StdFee,
|
|
229
230
|
memo?: string
|
|
230
231
|
};
|
|
231
232
|
|
|
232
|
-
type
|
|
233
|
-
value:
|
|
233
|
+
type sendMsgMultiVoteCardParams = {
|
|
234
|
+
value: MsgMultiVoteCard,
|
|
234
235
|
fee?: StdFee,
|
|
235
236
|
memo?: string
|
|
236
237
|
};
|
|
237
238
|
|
|
238
|
-
type
|
|
239
|
-
value:
|
|
239
|
+
type sendMsgChangeArtistParams = {
|
|
240
|
+
value: MsgChangeArtist,
|
|
240
241
|
fee?: StdFee,
|
|
241
242
|
memo?: string
|
|
242
243
|
};
|
|
243
244
|
|
|
244
|
-
type
|
|
245
|
-
value:
|
|
245
|
+
type sendMsgCreateSellOfferParams = {
|
|
246
|
+
value: MsgCreateSellOffer,
|
|
246
247
|
fee?: StdFee,
|
|
247
248
|
memo?: string
|
|
248
249
|
};
|
|
249
250
|
|
|
250
|
-
type
|
|
251
|
-
value:
|
|
251
|
+
type sendMsgSetCollectionStoryWriterParams = {
|
|
252
|
+
value: MsgSetCollectionStoryWriter,
|
|
252
253
|
fee?: StdFee,
|
|
253
254
|
memo?: string
|
|
254
255
|
};
|
|
255
256
|
|
|
256
|
-
type
|
|
257
|
-
value:
|
|
257
|
+
type sendMsgRemoveSellOfferParams = {
|
|
258
|
+
value: MsgRemoveSellOffer,
|
|
258
259
|
fee?: StdFee,
|
|
259
260
|
memo?: string
|
|
260
261
|
};
|
|
261
262
|
|
|
262
|
-
type
|
|
263
|
-
value:
|
|
263
|
+
type sendMsgAddArtworkParams = {
|
|
264
|
+
value: MsgAddArtwork,
|
|
264
265
|
fee?: StdFee,
|
|
265
266
|
memo?: string
|
|
266
267
|
};
|
|
267
268
|
|
|
268
|
-
type
|
|
269
|
-
value:
|
|
269
|
+
type sendMsgApointMatchReporterParams = {
|
|
270
|
+
value: MsgApointMatchReporter,
|
|
270
271
|
fee?: StdFee,
|
|
271
272
|
memo?: string
|
|
272
273
|
};
|
|
273
274
|
|
|
274
|
-
type
|
|
275
|
-
value:
|
|
275
|
+
type sendMsgRegisterForCouncilParams = {
|
|
276
|
+
value: MsgRegisterForCouncil,
|
|
276
277
|
fee?: StdFee,
|
|
277
278
|
memo?: string
|
|
278
279
|
};
|
|
279
280
|
|
|
280
|
-
type
|
|
281
|
-
value:
|
|
281
|
+
type sendMsgRevealCouncilResponseParams = {
|
|
282
|
+
value: MsgRevealCouncilResponse,
|
|
282
283
|
fee?: StdFee,
|
|
283
284
|
memo?: string
|
|
284
285
|
};
|
|
285
286
|
|
|
286
|
-
type
|
|
287
|
-
value:
|
|
287
|
+
type sendMsgVoteCardParams = {
|
|
288
|
+
value: MsgVoteCard,
|
|
288
289
|
fee?: StdFee,
|
|
289
290
|
memo?: string
|
|
290
291
|
};
|
|
291
292
|
|
|
292
|
-
type
|
|
293
|
-
value:
|
|
293
|
+
type sendMsgSetCollectionArtistParams = {
|
|
294
|
+
value: MsgSetCollectionArtist,
|
|
294
295
|
fee?: StdFee,
|
|
295
296
|
memo?: string
|
|
296
297
|
};
|
|
297
298
|
|
|
298
|
-
type
|
|
299
|
-
value:
|
|
299
|
+
type sendMsgBuyCardSchemeParams = {
|
|
300
|
+
value: MsgBuyCardScheme,
|
|
300
301
|
fee?: StdFee,
|
|
301
302
|
memo?: string
|
|
302
303
|
};
|
|
303
304
|
|
|
304
|
-
type
|
|
305
|
-
value:
|
|
305
|
+
type sendMsgBuyCollectionParams = {
|
|
306
|
+
value: MsgBuyCollection,
|
|
306
307
|
fee?: StdFee,
|
|
307
308
|
memo?: string
|
|
308
309
|
};
|
|
309
310
|
|
|
310
|
-
type
|
|
311
|
-
value:
|
|
311
|
+
type sendMsgBuyCardParams = {
|
|
312
|
+
value: MsgBuyCard,
|
|
312
313
|
fee?: StdFee,
|
|
313
314
|
memo?: string
|
|
314
315
|
};
|
|
315
316
|
|
|
316
|
-
type
|
|
317
|
-
value:
|
|
317
|
+
type sendMsgCommitCouncilResponseParams = {
|
|
318
|
+
value: MsgCommitCouncilResponse,
|
|
318
319
|
fee?: StdFee,
|
|
319
320
|
memo?: string
|
|
320
321
|
};
|
|
321
322
|
|
|
322
323
|
|
|
323
|
-
type
|
|
324
|
-
value:
|
|
324
|
+
type msgTransferCardParams = {
|
|
325
|
+
value: MsgTransferCard,
|
|
325
326
|
};
|
|
326
327
|
|
|
327
|
-
type
|
|
328
|
-
value:
|
|
328
|
+
type msgOpenBoosterPackParams = {
|
|
329
|
+
value: MsgOpenBoosterPack,
|
|
329
330
|
};
|
|
330
331
|
|
|
331
|
-
type
|
|
332
|
-
value:
|
|
332
|
+
type msgCreateCollectionParams = {
|
|
333
|
+
value: MsgCreateCollection,
|
|
333
334
|
};
|
|
334
335
|
|
|
335
|
-
type
|
|
336
|
-
value:
|
|
336
|
+
type msgCreateuserParams = {
|
|
337
|
+
value: MsgCreateuser,
|
|
337
338
|
};
|
|
338
339
|
|
|
339
|
-
type
|
|
340
|
-
value:
|
|
340
|
+
type msgSubmitMatchReporterProposalParams = {
|
|
341
|
+
value: MsgSubmitMatchReporterProposal,
|
|
341
342
|
};
|
|
342
343
|
|
|
343
|
-
type
|
|
344
|
-
value:
|
|
344
|
+
type msgRemoveContributorFromCollectionParams = {
|
|
345
|
+
value: MsgRemoveContributorFromCollection,
|
|
345
346
|
};
|
|
346
347
|
|
|
347
|
-
type
|
|
348
|
-
value:
|
|
348
|
+
type msgSubmitCopyrightProposalParams = {
|
|
349
|
+
value: MsgSubmitCopyrightProposal,
|
|
349
350
|
};
|
|
350
351
|
|
|
351
|
-
type
|
|
352
|
-
value:
|
|
352
|
+
type msgRewokeCouncilRegistrationParams = {
|
|
353
|
+
value: MsgRewokeCouncilRegistration,
|
|
353
354
|
};
|
|
354
355
|
|
|
355
|
-
type
|
|
356
|
-
value:
|
|
356
|
+
type msgReportMatchParams = {
|
|
357
|
+
value: MsgReportMatch,
|
|
357
358
|
};
|
|
358
359
|
|
|
359
|
-
type
|
|
360
|
-
value:
|
|
360
|
+
type msgSubmitCollectionProposalParams = {
|
|
361
|
+
value: MsgSubmitCollectionProposal,
|
|
361
362
|
};
|
|
362
363
|
|
|
363
|
-
type
|
|
364
|
-
value:
|
|
364
|
+
type msgSaveCardContentParams = {
|
|
365
|
+
value: MsgSaveCardContent,
|
|
365
366
|
};
|
|
366
367
|
|
|
367
368
|
type msgDonateToCardParams = {
|
|
368
369
|
value: MsgDonateToCard,
|
|
369
370
|
};
|
|
370
371
|
|
|
371
|
-
type msgRemoveContributorFromCollectionParams = {
|
|
372
|
-
value: MsgRemoveContributorFromCollection,
|
|
373
|
-
};
|
|
374
|
-
|
|
375
372
|
type msgAddStoryToCollectionParams = {
|
|
376
373
|
value: MsgAddStoryToCollection,
|
|
377
374
|
};
|
|
378
375
|
|
|
379
|
-
type
|
|
380
|
-
value:
|
|
381
|
-
};
|
|
382
|
-
|
|
383
|
-
type msgMultiVoteCardParams = {
|
|
384
|
-
value: MsgMultiVoteCard,
|
|
376
|
+
type msgTransferBoosterPackParams = {
|
|
377
|
+
value: MsgTransferBoosterPack,
|
|
385
378
|
};
|
|
386
379
|
|
|
387
|
-
type
|
|
388
|
-
value:
|
|
380
|
+
type msgSetProfileCardParams = {
|
|
381
|
+
value: MsgSetProfileCard,
|
|
389
382
|
};
|
|
390
383
|
|
|
391
|
-
type
|
|
392
|
-
value:
|
|
384
|
+
type msgRemoveCardFromCollectionParams = {
|
|
385
|
+
value: MsgRemoveCardFromCollection,
|
|
393
386
|
};
|
|
394
387
|
|
|
395
|
-
type
|
|
396
|
-
value:
|
|
388
|
+
type msgAddArtworkToCollectionParams = {
|
|
389
|
+
value: MsgAddArtworkToCollection,
|
|
397
390
|
};
|
|
398
391
|
|
|
399
|
-
type
|
|
400
|
-
value:
|
|
392
|
+
type msgAddCardToCollectionParams = {
|
|
393
|
+
value: MsgAddCardToCollection,
|
|
401
394
|
};
|
|
402
395
|
|
|
403
|
-
type
|
|
404
|
-
value:
|
|
396
|
+
type msgSetCardRarityParams = {
|
|
397
|
+
value: MsgSetCardRarity,
|
|
405
398
|
};
|
|
406
399
|
|
|
407
|
-
type
|
|
408
|
-
value:
|
|
400
|
+
type msgFinalizeCollectionParams = {
|
|
401
|
+
value: MsgFinalizeCollection,
|
|
409
402
|
};
|
|
410
403
|
|
|
411
|
-
type
|
|
412
|
-
value:
|
|
404
|
+
type msgAddContributorToCollectionParams = {
|
|
405
|
+
value: MsgAddContributorToCollection,
|
|
413
406
|
};
|
|
414
407
|
|
|
415
|
-
type
|
|
416
|
-
value:
|
|
408
|
+
type msgCreateCouncilParams = {
|
|
409
|
+
value: MsgCreateCouncil,
|
|
417
410
|
};
|
|
418
411
|
|
|
419
|
-
type
|
|
420
|
-
value:
|
|
412
|
+
type msgRestartCouncilParams = {
|
|
413
|
+
value: MsgRestartCouncil,
|
|
421
414
|
};
|
|
422
415
|
|
|
423
|
-
type
|
|
424
|
-
value:
|
|
416
|
+
type msgSetUserWebsiteParams = {
|
|
417
|
+
value: MsgSetUserWebsite,
|
|
425
418
|
};
|
|
426
419
|
|
|
427
|
-
type
|
|
428
|
-
value:
|
|
420
|
+
type msgConfirmMatchParams = {
|
|
421
|
+
value: MsgConfirmMatch,
|
|
429
422
|
};
|
|
430
423
|
|
|
431
|
-
type
|
|
432
|
-
value:
|
|
424
|
+
type msgSetUserBiographyParams = {
|
|
425
|
+
value: MsgSetUserBiography,
|
|
433
426
|
};
|
|
434
427
|
|
|
435
|
-
type
|
|
436
|
-
value:
|
|
428
|
+
type msgMultiVoteCardParams = {
|
|
429
|
+
value: MsgMultiVoteCard,
|
|
437
430
|
};
|
|
438
431
|
|
|
439
|
-
type
|
|
440
|
-
value:
|
|
432
|
+
type msgChangeArtistParams = {
|
|
433
|
+
value: MsgChangeArtist,
|
|
441
434
|
};
|
|
442
435
|
|
|
443
|
-
type
|
|
444
|
-
value:
|
|
436
|
+
type msgCreateSellOfferParams = {
|
|
437
|
+
value: MsgCreateSellOffer,
|
|
445
438
|
};
|
|
446
439
|
|
|
447
440
|
type msgSetCollectionStoryWriterParams = {
|
|
448
441
|
value: MsgSetCollectionStoryWriter,
|
|
449
442
|
};
|
|
450
443
|
|
|
451
|
-
type
|
|
452
|
-
value:
|
|
444
|
+
type msgRemoveSellOfferParams = {
|
|
445
|
+
value: MsgRemoveSellOffer,
|
|
453
446
|
};
|
|
454
447
|
|
|
455
|
-
type
|
|
456
|
-
value:
|
|
448
|
+
type msgAddArtworkParams = {
|
|
449
|
+
value: MsgAddArtwork,
|
|
457
450
|
};
|
|
458
451
|
|
|
459
|
-
type
|
|
460
|
-
value:
|
|
452
|
+
type msgApointMatchReporterParams = {
|
|
453
|
+
value: MsgApointMatchReporter,
|
|
461
454
|
};
|
|
462
455
|
|
|
463
|
-
type
|
|
464
|
-
value:
|
|
456
|
+
type msgRegisterForCouncilParams = {
|
|
457
|
+
value: MsgRegisterForCouncil,
|
|
465
458
|
};
|
|
466
459
|
|
|
467
460
|
type msgRevealCouncilResponseParams = {
|
|
468
461
|
value: MsgRevealCouncilResponse,
|
|
469
462
|
};
|
|
470
463
|
|
|
471
|
-
type
|
|
472
|
-
value:
|
|
464
|
+
type msgVoteCardParams = {
|
|
465
|
+
value: MsgVoteCard,
|
|
473
466
|
};
|
|
474
467
|
|
|
475
|
-
type
|
|
476
|
-
value:
|
|
468
|
+
type msgSetCollectionArtistParams = {
|
|
469
|
+
value: MsgSetCollectionArtist,
|
|
477
470
|
};
|
|
478
471
|
|
|
479
|
-
type
|
|
480
|
-
value:
|
|
472
|
+
type msgBuyCardSchemeParams = {
|
|
473
|
+
value: MsgBuyCardScheme,
|
|
481
474
|
};
|
|
482
475
|
|
|
483
|
-
type
|
|
484
|
-
value:
|
|
476
|
+
type msgBuyCollectionParams = {
|
|
477
|
+
value: MsgBuyCollection,
|
|
478
|
+
};
|
|
479
|
+
|
|
480
|
+
type msgBuyCardParams = {
|
|
481
|
+
value: MsgBuyCard,
|
|
482
|
+
};
|
|
483
|
+
|
|
484
|
+
type msgCommitCouncilResponseParams = {
|
|
485
|
+
value: MsgCommitCouncilResponse,
|
|
485
486
|
};
|
|
486
487
|
|
|
487
488
|
|
|
@@ -514,157 +515,157 @@ export const txClient = ({ signer, prefix, addr }: TxClientOptions = { addr: "ht
|
|
|
514
515
|
|
|
515
516
|
return {
|
|
516
517
|
|
|
517
|
-
async
|
|
518
|
+
async sendMsgTransferCard({ value, fee, memo }: sendMsgTransferCardParams): Promise<DeliverTxResponse> {
|
|
518
519
|
if (!signer) {
|
|
519
|
-
throw new Error('TxClient:
|
|
520
|
+
throw new Error('TxClient:sendMsgTransferCard: Unable to sign Tx. Signer is not present.')
|
|
520
521
|
}
|
|
521
522
|
try {
|
|
522
523
|
const { address } = (await signer.getAccounts())[0];
|
|
523
524
|
const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
|
|
524
|
-
let msg = this.
|
|
525
|
+
let msg = this.msgTransferCard({ value: MsgTransferCard.fromPartial(value) })
|
|
525
526
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
|
|
526
527
|
} catch (e: any) {
|
|
527
|
-
throw new Error('TxClient:
|
|
528
|
+
throw new Error('TxClient:sendMsgTransferCard: Could not broadcast Tx: '+ e.message)
|
|
528
529
|
}
|
|
529
530
|
},
|
|
530
531
|
|
|
531
|
-
async
|
|
532
|
+
async sendMsgOpenBoosterPack({ value, fee, memo }: sendMsgOpenBoosterPackParams): Promise<DeliverTxResponse> {
|
|
532
533
|
if (!signer) {
|
|
533
|
-
throw new Error('TxClient:
|
|
534
|
+
throw new Error('TxClient:sendMsgOpenBoosterPack: Unable to sign Tx. Signer is not present.')
|
|
534
535
|
}
|
|
535
536
|
try {
|
|
536
537
|
const { address } = (await signer.getAccounts())[0];
|
|
537
538
|
const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
|
|
538
|
-
let msg = this.
|
|
539
|
+
let msg = this.msgOpenBoosterPack({ value: MsgOpenBoosterPack.fromPartial(value) })
|
|
539
540
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
|
|
540
541
|
} catch (e: any) {
|
|
541
|
-
throw new Error('TxClient:
|
|
542
|
+
throw new Error('TxClient:sendMsgOpenBoosterPack: Could not broadcast Tx: '+ e.message)
|
|
542
543
|
}
|
|
543
544
|
},
|
|
544
545
|
|
|
545
|
-
async
|
|
546
|
+
async sendMsgCreateCollection({ value, fee, memo }: sendMsgCreateCollectionParams): Promise<DeliverTxResponse> {
|
|
546
547
|
if (!signer) {
|
|
547
|
-
throw new Error('TxClient:
|
|
548
|
+
throw new Error('TxClient:sendMsgCreateCollection: Unable to sign Tx. Signer is not present.')
|
|
548
549
|
}
|
|
549
550
|
try {
|
|
550
551
|
const { address } = (await signer.getAccounts())[0];
|
|
551
552
|
const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
|
|
552
|
-
let msg = this.
|
|
553
|
+
let msg = this.msgCreateCollection({ value: MsgCreateCollection.fromPartial(value) })
|
|
553
554
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
|
|
554
555
|
} catch (e: any) {
|
|
555
|
-
throw new Error('TxClient:
|
|
556
|
+
throw new Error('TxClient:sendMsgCreateCollection: Could not broadcast Tx: '+ e.message)
|
|
556
557
|
}
|
|
557
558
|
},
|
|
558
559
|
|
|
559
|
-
async
|
|
560
|
+
async sendMsgCreateuser({ value, fee, memo }: sendMsgCreateuserParams): Promise<DeliverTxResponse> {
|
|
560
561
|
if (!signer) {
|
|
561
|
-
throw new Error('TxClient:
|
|
562
|
+
throw new Error('TxClient:sendMsgCreateuser: Unable to sign Tx. Signer is not present.')
|
|
562
563
|
}
|
|
563
564
|
try {
|
|
564
565
|
const { address } = (await signer.getAccounts())[0];
|
|
565
566
|
const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
|
|
566
|
-
let msg = this.
|
|
567
|
+
let msg = this.msgCreateuser({ value: MsgCreateuser.fromPartial(value) })
|
|
567
568
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
|
|
568
569
|
} catch (e: any) {
|
|
569
|
-
throw new Error('TxClient:
|
|
570
|
+
throw new Error('TxClient:sendMsgCreateuser: Could not broadcast Tx: '+ e.message)
|
|
570
571
|
}
|
|
571
572
|
},
|
|
572
573
|
|
|
573
|
-
async
|
|
574
|
+
async sendMsgSubmitMatchReporterProposal({ value, fee, memo }: sendMsgSubmitMatchReporterProposalParams): Promise<DeliverTxResponse> {
|
|
574
575
|
if (!signer) {
|
|
575
|
-
throw new Error('TxClient:
|
|
576
|
+
throw new Error('TxClient:sendMsgSubmitMatchReporterProposal: Unable to sign Tx. Signer is not present.')
|
|
576
577
|
}
|
|
577
578
|
try {
|
|
578
579
|
const { address } = (await signer.getAccounts())[0];
|
|
579
580
|
const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
|
|
580
|
-
let msg = this.
|
|
581
|
+
let msg = this.msgSubmitMatchReporterProposal({ value: MsgSubmitMatchReporterProposal.fromPartial(value) })
|
|
581
582
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
|
|
582
583
|
} catch (e: any) {
|
|
583
|
-
throw new Error('TxClient:
|
|
584
|
+
throw new Error('TxClient:sendMsgSubmitMatchReporterProposal: Could not broadcast Tx: '+ e.message)
|
|
584
585
|
}
|
|
585
586
|
},
|
|
586
587
|
|
|
587
|
-
async
|
|
588
|
+
async sendMsgRemoveContributorFromCollection({ value, fee, memo }: sendMsgRemoveContributorFromCollectionParams): Promise<DeliverTxResponse> {
|
|
588
589
|
if (!signer) {
|
|
589
|
-
throw new Error('TxClient:
|
|
590
|
+
throw new Error('TxClient:sendMsgRemoveContributorFromCollection: Unable to sign Tx. Signer is not present.')
|
|
590
591
|
}
|
|
591
592
|
try {
|
|
592
593
|
const { address } = (await signer.getAccounts())[0];
|
|
593
594
|
const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
|
|
594
|
-
let msg = this.
|
|
595
|
+
let msg = this.msgRemoveContributorFromCollection({ value: MsgRemoveContributorFromCollection.fromPartial(value) })
|
|
595
596
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
|
|
596
597
|
} catch (e: any) {
|
|
597
|
-
throw new Error('TxClient:
|
|
598
|
+
throw new Error('TxClient:sendMsgRemoveContributorFromCollection: Could not broadcast Tx: '+ e.message)
|
|
598
599
|
}
|
|
599
600
|
},
|
|
600
601
|
|
|
601
|
-
async
|
|
602
|
+
async sendMsgSubmitCopyrightProposal({ value, fee, memo }: sendMsgSubmitCopyrightProposalParams): Promise<DeliverTxResponse> {
|
|
602
603
|
if (!signer) {
|
|
603
|
-
throw new Error('TxClient:
|
|
604
|
+
throw new Error('TxClient:sendMsgSubmitCopyrightProposal: Unable to sign Tx. Signer is not present.')
|
|
604
605
|
}
|
|
605
606
|
try {
|
|
606
607
|
const { address } = (await signer.getAccounts())[0];
|
|
607
608
|
const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
|
|
608
|
-
let msg = this.
|
|
609
|
+
let msg = this.msgSubmitCopyrightProposal({ value: MsgSubmitCopyrightProposal.fromPartial(value) })
|
|
609
610
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
|
|
610
611
|
} catch (e: any) {
|
|
611
|
-
throw new Error('TxClient:
|
|
612
|
+
throw new Error('TxClient:sendMsgSubmitCopyrightProposal: Could not broadcast Tx: '+ e.message)
|
|
612
613
|
}
|
|
613
614
|
},
|
|
614
615
|
|
|
615
|
-
async
|
|
616
|
+
async sendMsgRewokeCouncilRegistration({ value, fee, memo }: sendMsgRewokeCouncilRegistrationParams): Promise<DeliverTxResponse> {
|
|
616
617
|
if (!signer) {
|
|
617
|
-
throw new Error('TxClient:
|
|
618
|
+
throw new Error('TxClient:sendMsgRewokeCouncilRegistration: Unable to sign Tx. Signer is not present.')
|
|
618
619
|
}
|
|
619
620
|
try {
|
|
620
621
|
const { address } = (await signer.getAccounts())[0];
|
|
621
622
|
const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
|
|
622
|
-
let msg = this.
|
|
623
|
+
let msg = this.msgRewokeCouncilRegistration({ value: MsgRewokeCouncilRegistration.fromPartial(value) })
|
|
623
624
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
|
|
624
625
|
} catch (e: any) {
|
|
625
|
-
throw new Error('TxClient:
|
|
626
|
+
throw new Error('TxClient:sendMsgRewokeCouncilRegistration: Could not broadcast Tx: '+ e.message)
|
|
626
627
|
}
|
|
627
628
|
},
|
|
628
629
|
|
|
629
|
-
async
|
|
630
|
+
async sendMsgReportMatch({ value, fee, memo }: sendMsgReportMatchParams): Promise<DeliverTxResponse> {
|
|
630
631
|
if (!signer) {
|
|
631
|
-
throw new Error('TxClient:
|
|
632
|
+
throw new Error('TxClient:sendMsgReportMatch: Unable to sign Tx. Signer is not present.')
|
|
632
633
|
}
|
|
633
634
|
try {
|
|
634
635
|
const { address } = (await signer.getAccounts())[0];
|
|
635
636
|
const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
|
|
636
|
-
let msg = this.
|
|
637
|
+
let msg = this.msgReportMatch({ value: MsgReportMatch.fromPartial(value) })
|
|
637
638
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
|
|
638
639
|
} catch (e: any) {
|
|
639
|
-
throw new Error('TxClient:
|
|
640
|
+
throw new Error('TxClient:sendMsgReportMatch: Could not broadcast Tx: '+ e.message)
|
|
640
641
|
}
|
|
641
642
|
},
|
|
642
643
|
|
|
643
|
-
async
|
|
644
|
+
async sendMsgSubmitCollectionProposal({ value, fee, memo }: sendMsgSubmitCollectionProposalParams): Promise<DeliverTxResponse> {
|
|
644
645
|
if (!signer) {
|
|
645
|
-
throw new Error('TxClient:
|
|
646
|
+
throw new Error('TxClient:sendMsgSubmitCollectionProposal: Unable to sign Tx. Signer is not present.')
|
|
646
647
|
}
|
|
647
648
|
try {
|
|
648
649
|
const { address } = (await signer.getAccounts())[0];
|
|
649
650
|
const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
|
|
650
|
-
let msg = this.
|
|
651
|
+
let msg = this.msgSubmitCollectionProposal({ value: MsgSubmitCollectionProposal.fromPartial(value) })
|
|
651
652
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
|
|
652
653
|
} catch (e: any) {
|
|
653
|
-
throw new Error('TxClient:
|
|
654
|
+
throw new Error('TxClient:sendMsgSubmitCollectionProposal: Could not broadcast Tx: '+ e.message)
|
|
654
655
|
}
|
|
655
656
|
},
|
|
656
657
|
|
|
657
|
-
async
|
|
658
|
+
async sendMsgSaveCardContent({ value, fee, memo }: sendMsgSaveCardContentParams): Promise<DeliverTxResponse> {
|
|
658
659
|
if (!signer) {
|
|
659
|
-
throw new Error('TxClient:
|
|
660
|
+
throw new Error('TxClient:sendMsgSaveCardContent: Unable to sign Tx. Signer is not present.')
|
|
660
661
|
}
|
|
661
662
|
try {
|
|
662
663
|
const { address } = (await signer.getAccounts())[0];
|
|
663
664
|
const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
|
|
664
|
-
let msg = this.
|
|
665
|
+
let msg = this.msgSaveCardContent({ value: MsgSaveCardContent.fromPartial(value) })
|
|
665
666
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
|
|
666
667
|
} catch (e: any) {
|
|
667
|
-
throw new Error('TxClient:
|
|
668
|
+
throw new Error('TxClient:sendMsgSaveCardContent: Could not broadcast Tx: '+ e.message)
|
|
668
669
|
}
|
|
669
670
|
},
|
|
670
671
|
|
|
@@ -682,498 +683,498 @@ export const txClient = ({ signer, prefix, addr }: TxClientOptions = { addr: "ht
|
|
|
682
683
|
}
|
|
683
684
|
},
|
|
684
685
|
|
|
685
|
-
async
|
|
686
|
+
async sendMsgAddStoryToCollection({ value, fee, memo }: sendMsgAddStoryToCollectionParams): Promise<DeliverTxResponse> {
|
|
686
687
|
if (!signer) {
|
|
687
|
-
throw new Error('TxClient:
|
|
688
|
+
throw new Error('TxClient:sendMsgAddStoryToCollection: Unable to sign Tx. Signer is not present.')
|
|
688
689
|
}
|
|
689
690
|
try {
|
|
690
691
|
const { address } = (await signer.getAccounts())[0];
|
|
691
692
|
const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
|
|
692
|
-
let msg = this.
|
|
693
|
+
let msg = this.msgAddStoryToCollection({ value: MsgAddStoryToCollection.fromPartial(value) })
|
|
693
694
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
|
|
694
695
|
} catch (e: any) {
|
|
695
|
-
throw new Error('TxClient:
|
|
696
|
+
throw new Error('TxClient:sendMsgAddStoryToCollection: Could not broadcast Tx: '+ e.message)
|
|
696
697
|
}
|
|
697
698
|
},
|
|
698
699
|
|
|
699
|
-
async
|
|
700
|
+
async sendMsgTransferBoosterPack({ value, fee, memo }: sendMsgTransferBoosterPackParams): Promise<DeliverTxResponse> {
|
|
700
701
|
if (!signer) {
|
|
701
|
-
throw new Error('TxClient:
|
|
702
|
+
throw new Error('TxClient:sendMsgTransferBoosterPack: Unable to sign Tx. Signer is not present.')
|
|
702
703
|
}
|
|
703
704
|
try {
|
|
704
705
|
const { address } = (await signer.getAccounts())[0];
|
|
705
706
|
const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
|
|
706
|
-
let msg = this.
|
|
707
|
+
let msg = this.msgTransferBoosterPack({ value: MsgTransferBoosterPack.fromPartial(value) })
|
|
707
708
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
|
|
708
709
|
} catch (e: any) {
|
|
709
|
-
throw new Error('TxClient:
|
|
710
|
+
throw new Error('TxClient:sendMsgTransferBoosterPack: Could not broadcast Tx: '+ e.message)
|
|
710
711
|
}
|
|
711
712
|
},
|
|
712
713
|
|
|
713
|
-
async
|
|
714
|
+
async sendMsgSetProfileCard({ value, fee, memo }: sendMsgSetProfileCardParams): Promise<DeliverTxResponse> {
|
|
714
715
|
if (!signer) {
|
|
715
|
-
throw new Error('TxClient:
|
|
716
|
+
throw new Error('TxClient:sendMsgSetProfileCard: Unable to sign Tx. Signer is not present.')
|
|
716
717
|
}
|
|
717
718
|
try {
|
|
718
719
|
const { address } = (await signer.getAccounts())[0];
|
|
719
720
|
const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
|
|
720
|
-
let msg = this.
|
|
721
|
+
let msg = this.msgSetProfileCard({ value: MsgSetProfileCard.fromPartial(value) })
|
|
721
722
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
|
|
722
723
|
} catch (e: any) {
|
|
723
|
-
throw new Error('TxClient:
|
|
724
|
+
throw new Error('TxClient:sendMsgSetProfileCard: Could not broadcast Tx: '+ e.message)
|
|
724
725
|
}
|
|
725
726
|
},
|
|
726
727
|
|
|
727
|
-
async
|
|
728
|
+
async sendMsgRemoveCardFromCollection({ value, fee, memo }: sendMsgRemoveCardFromCollectionParams): Promise<DeliverTxResponse> {
|
|
728
729
|
if (!signer) {
|
|
729
|
-
throw new Error('TxClient:
|
|
730
|
+
throw new Error('TxClient:sendMsgRemoveCardFromCollection: Unable to sign Tx. Signer is not present.')
|
|
730
731
|
}
|
|
731
732
|
try {
|
|
732
733
|
const { address } = (await signer.getAccounts())[0];
|
|
733
734
|
const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
|
|
734
|
-
let msg = this.
|
|
735
|
+
let msg = this.msgRemoveCardFromCollection({ value: MsgRemoveCardFromCollection.fromPartial(value) })
|
|
735
736
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
|
|
736
737
|
} catch (e: any) {
|
|
737
|
-
throw new Error('TxClient:
|
|
738
|
+
throw new Error('TxClient:sendMsgRemoveCardFromCollection: Could not broadcast Tx: '+ e.message)
|
|
738
739
|
}
|
|
739
740
|
},
|
|
740
741
|
|
|
741
|
-
async
|
|
742
|
+
async sendMsgAddArtworkToCollection({ value, fee, memo }: sendMsgAddArtworkToCollectionParams): Promise<DeliverTxResponse> {
|
|
742
743
|
if (!signer) {
|
|
743
|
-
throw new Error('TxClient:
|
|
744
|
+
throw new Error('TxClient:sendMsgAddArtworkToCollection: Unable to sign Tx. Signer is not present.')
|
|
744
745
|
}
|
|
745
746
|
try {
|
|
746
747
|
const { address } = (await signer.getAccounts())[0];
|
|
747
748
|
const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
|
|
748
|
-
let msg = this.
|
|
749
|
+
let msg = this.msgAddArtworkToCollection({ value: MsgAddArtworkToCollection.fromPartial(value) })
|
|
749
750
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
|
|
750
751
|
} catch (e: any) {
|
|
751
|
-
throw new Error('TxClient:
|
|
752
|
+
throw new Error('TxClient:sendMsgAddArtworkToCollection: Could not broadcast Tx: '+ e.message)
|
|
752
753
|
}
|
|
753
754
|
},
|
|
754
755
|
|
|
755
|
-
async
|
|
756
|
+
async sendMsgAddCardToCollection({ value, fee, memo }: sendMsgAddCardToCollectionParams): Promise<DeliverTxResponse> {
|
|
756
757
|
if (!signer) {
|
|
757
|
-
throw new Error('TxClient:
|
|
758
|
+
throw new Error('TxClient:sendMsgAddCardToCollection: Unable to sign Tx. Signer is not present.')
|
|
758
759
|
}
|
|
759
760
|
try {
|
|
760
761
|
const { address } = (await signer.getAccounts())[0];
|
|
761
762
|
const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
|
|
762
|
-
let msg = this.
|
|
763
|
+
let msg = this.msgAddCardToCollection({ value: MsgAddCardToCollection.fromPartial(value) })
|
|
763
764
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
|
|
764
765
|
} catch (e: any) {
|
|
765
|
-
throw new Error('TxClient:
|
|
766
|
+
throw new Error('TxClient:sendMsgAddCardToCollection: Could not broadcast Tx: '+ e.message)
|
|
766
767
|
}
|
|
767
768
|
},
|
|
768
769
|
|
|
769
|
-
async
|
|
770
|
+
async sendMsgSetCardRarity({ value, fee, memo }: sendMsgSetCardRarityParams): Promise<DeliverTxResponse> {
|
|
770
771
|
if (!signer) {
|
|
771
|
-
throw new Error('TxClient:
|
|
772
|
+
throw new Error('TxClient:sendMsgSetCardRarity: Unable to sign Tx. Signer is not present.')
|
|
772
773
|
}
|
|
773
774
|
try {
|
|
774
775
|
const { address } = (await signer.getAccounts())[0];
|
|
775
776
|
const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
|
|
776
|
-
let msg = this.
|
|
777
|
+
let msg = this.msgSetCardRarity({ value: MsgSetCardRarity.fromPartial(value) })
|
|
777
778
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
|
|
778
779
|
} catch (e: any) {
|
|
779
|
-
throw new Error('TxClient:
|
|
780
|
+
throw new Error('TxClient:sendMsgSetCardRarity: Could not broadcast Tx: '+ e.message)
|
|
780
781
|
}
|
|
781
782
|
},
|
|
782
783
|
|
|
783
|
-
async
|
|
784
|
+
async sendMsgFinalizeCollection({ value, fee, memo }: sendMsgFinalizeCollectionParams): Promise<DeliverTxResponse> {
|
|
784
785
|
if (!signer) {
|
|
785
|
-
throw new Error('TxClient:
|
|
786
|
+
throw new Error('TxClient:sendMsgFinalizeCollection: Unable to sign Tx. Signer is not present.')
|
|
786
787
|
}
|
|
787
788
|
try {
|
|
788
789
|
const { address } = (await signer.getAccounts())[0];
|
|
789
790
|
const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
|
|
790
|
-
let msg = this.
|
|
791
|
+
let msg = this.msgFinalizeCollection({ value: MsgFinalizeCollection.fromPartial(value) })
|
|
791
792
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
|
|
792
793
|
} catch (e: any) {
|
|
793
|
-
throw new Error('TxClient:
|
|
794
|
+
throw new Error('TxClient:sendMsgFinalizeCollection: Could not broadcast Tx: '+ e.message)
|
|
794
795
|
}
|
|
795
796
|
},
|
|
796
797
|
|
|
797
|
-
async
|
|
798
|
+
async sendMsgAddContributorToCollection({ value, fee, memo }: sendMsgAddContributorToCollectionParams): Promise<DeliverTxResponse> {
|
|
798
799
|
if (!signer) {
|
|
799
|
-
throw new Error('TxClient:
|
|
800
|
+
throw new Error('TxClient:sendMsgAddContributorToCollection: Unable to sign Tx. Signer is not present.')
|
|
800
801
|
}
|
|
801
802
|
try {
|
|
802
803
|
const { address } = (await signer.getAccounts())[0];
|
|
803
804
|
const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
|
|
804
|
-
let msg = this.
|
|
805
|
+
let msg = this.msgAddContributorToCollection({ value: MsgAddContributorToCollection.fromPartial(value) })
|
|
805
806
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
|
|
806
807
|
} catch (e: any) {
|
|
807
|
-
throw new Error('TxClient:
|
|
808
|
+
throw new Error('TxClient:sendMsgAddContributorToCollection: Could not broadcast Tx: '+ e.message)
|
|
808
809
|
}
|
|
809
810
|
},
|
|
810
811
|
|
|
811
|
-
async
|
|
812
|
+
async sendMsgCreateCouncil({ value, fee, memo }: sendMsgCreateCouncilParams): Promise<DeliverTxResponse> {
|
|
812
813
|
if (!signer) {
|
|
813
|
-
throw new Error('TxClient:
|
|
814
|
+
throw new Error('TxClient:sendMsgCreateCouncil: Unable to sign Tx. Signer is not present.')
|
|
814
815
|
}
|
|
815
816
|
try {
|
|
816
817
|
const { address } = (await signer.getAccounts())[0];
|
|
817
818
|
const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
|
|
818
|
-
let msg = this.
|
|
819
|
+
let msg = this.msgCreateCouncil({ value: MsgCreateCouncil.fromPartial(value) })
|
|
819
820
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
|
|
820
821
|
} catch (e: any) {
|
|
821
|
-
throw new Error('TxClient:
|
|
822
|
+
throw new Error('TxClient:sendMsgCreateCouncil: Could not broadcast Tx: '+ e.message)
|
|
822
823
|
}
|
|
823
824
|
},
|
|
824
825
|
|
|
825
|
-
async
|
|
826
|
+
async sendMsgRestartCouncil({ value, fee, memo }: sendMsgRestartCouncilParams): Promise<DeliverTxResponse> {
|
|
826
827
|
if (!signer) {
|
|
827
|
-
throw new Error('TxClient:
|
|
828
|
+
throw new Error('TxClient:sendMsgRestartCouncil: Unable to sign Tx. Signer is not present.')
|
|
828
829
|
}
|
|
829
830
|
try {
|
|
830
831
|
const { address } = (await signer.getAccounts())[0];
|
|
831
832
|
const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
|
|
832
|
-
let msg = this.
|
|
833
|
+
let msg = this.msgRestartCouncil({ value: MsgRestartCouncil.fromPartial(value) })
|
|
833
834
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
|
|
834
835
|
} catch (e: any) {
|
|
835
|
-
throw new Error('TxClient:
|
|
836
|
+
throw new Error('TxClient:sendMsgRestartCouncil: Could not broadcast Tx: '+ e.message)
|
|
836
837
|
}
|
|
837
838
|
},
|
|
838
839
|
|
|
839
|
-
async
|
|
840
|
+
async sendMsgSetUserWebsite({ value, fee, memo }: sendMsgSetUserWebsiteParams): Promise<DeliverTxResponse> {
|
|
840
841
|
if (!signer) {
|
|
841
|
-
throw new Error('TxClient:
|
|
842
|
+
throw new Error('TxClient:sendMsgSetUserWebsite: Unable to sign Tx. Signer is not present.')
|
|
842
843
|
}
|
|
843
844
|
try {
|
|
844
845
|
const { address } = (await signer.getAccounts())[0];
|
|
845
846
|
const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
|
|
846
|
-
let msg = this.
|
|
847
|
+
let msg = this.msgSetUserWebsite({ value: MsgSetUserWebsite.fromPartial(value) })
|
|
847
848
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
|
|
848
849
|
} catch (e: any) {
|
|
849
|
-
throw new Error('TxClient:
|
|
850
|
+
throw new Error('TxClient:sendMsgSetUserWebsite: Could not broadcast Tx: '+ e.message)
|
|
850
851
|
}
|
|
851
852
|
},
|
|
852
853
|
|
|
853
|
-
async
|
|
854
|
+
async sendMsgConfirmMatch({ value, fee, memo }: sendMsgConfirmMatchParams): Promise<DeliverTxResponse> {
|
|
854
855
|
if (!signer) {
|
|
855
|
-
throw new Error('TxClient:
|
|
856
|
+
throw new Error('TxClient:sendMsgConfirmMatch: Unable to sign Tx. Signer is not present.')
|
|
856
857
|
}
|
|
857
858
|
try {
|
|
858
859
|
const { address } = (await signer.getAccounts())[0];
|
|
859
860
|
const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
|
|
860
|
-
let msg = this.
|
|
861
|
+
let msg = this.msgConfirmMatch({ value: MsgConfirmMatch.fromPartial(value) })
|
|
861
862
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
|
|
862
863
|
} catch (e: any) {
|
|
863
|
-
throw new Error('TxClient:
|
|
864
|
+
throw new Error('TxClient:sendMsgConfirmMatch: Could not broadcast Tx: '+ e.message)
|
|
864
865
|
}
|
|
865
866
|
},
|
|
866
867
|
|
|
867
|
-
async
|
|
868
|
+
async sendMsgSetUserBiography({ value, fee, memo }: sendMsgSetUserBiographyParams): Promise<DeliverTxResponse> {
|
|
868
869
|
if (!signer) {
|
|
869
|
-
throw new Error('TxClient:
|
|
870
|
+
throw new Error('TxClient:sendMsgSetUserBiography: Unable to sign Tx. Signer is not present.')
|
|
870
871
|
}
|
|
871
872
|
try {
|
|
872
873
|
const { address } = (await signer.getAccounts())[0];
|
|
873
874
|
const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
|
|
874
|
-
let msg = this.
|
|
875
|
+
let msg = this.msgSetUserBiography({ value: MsgSetUserBiography.fromPartial(value) })
|
|
875
876
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
|
|
876
877
|
} catch (e: any) {
|
|
877
|
-
throw new Error('TxClient:
|
|
878
|
+
throw new Error('TxClient:sendMsgSetUserBiography: Could not broadcast Tx: '+ e.message)
|
|
878
879
|
}
|
|
879
880
|
},
|
|
880
881
|
|
|
881
|
-
async
|
|
882
|
+
async sendMsgMultiVoteCard({ value, fee, memo }: sendMsgMultiVoteCardParams): Promise<DeliverTxResponse> {
|
|
882
883
|
if (!signer) {
|
|
883
|
-
throw new Error('TxClient:
|
|
884
|
+
throw new Error('TxClient:sendMsgMultiVoteCard: Unable to sign Tx. Signer is not present.')
|
|
884
885
|
}
|
|
885
886
|
try {
|
|
886
887
|
const { address } = (await signer.getAccounts())[0];
|
|
887
888
|
const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
|
|
888
|
-
let msg = this.
|
|
889
|
+
let msg = this.msgMultiVoteCard({ value: MsgMultiVoteCard.fromPartial(value) })
|
|
889
890
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
|
|
890
891
|
} catch (e: any) {
|
|
891
|
-
throw new Error('TxClient:
|
|
892
|
+
throw new Error('TxClient:sendMsgMultiVoteCard: Could not broadcast Tx: '+ e.message)
|
|
892
893
|
}
|
|
893
894
|
},
|
|
894
895
|
|
|
895
|
-
async
|
|
896
|
+
async sendMsgChangeArtist({ value, fee, memo }: sendMsgChangeArtistParams): Promise<DeliverTxResponse> {
|
|
896
897
|
if (!signer) {
|
|
897
|
-
throw new Error('TxClient:
|
|
898
|
+
throw new Error('TxClient:sendMsgChangeArtist: Unable to sign Tx. Signer is not present.')
|
|
898
899
|
}
|
|
899
900
|
try {
|
|
900
901
|
const { address } = (await signer.getAccounts())[0];
|
|
901
902
|
const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
|
|
902
|
-
let msg = this.
|
|
903
|
+
let msg = this.msgChangeArtist({ value: MsgChangeArtist.fromPartial(value) })
|
|
903
904
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
|
|
904
905
|
} catch (e: any) {
|
|
905
|
-
throw new Error('TxClient:
|
|
906
|
+
throw new Error('TxClient:sendMsgChangeArtist: Could not broadcast Tx: '+ e.message)
|
|
906
907
|
}
|
|
907
908
|
},
|
|
908
909
|
|
|
909
|
-
async
|
|
910
|
+
async sendMsgCreateSellOffer({ value, fee, memo }: sendMsgCreateSellOfferParams): Promise<DeliverTxResponse> {
|
|
910
911
|
if (!signer) {
|
|
911
|
-
throw new Error('TxClient:
|
|
912
|
+
throw new Error('TxClient:sendMsgCreateSellOffer: Unable to sign Tx. Signer is not present.')
|
|
912
913
|
}
|
|
913
914
|
try {
|
|
914
915
|
const { address } = (await signer.getAccounts())[0];
|
|
915
916
|
const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
|
|
916
|
-
let msg = this.
|
|
917
|
+
let msg = this.msgCreateSellOffer({ value: MsgCreateSellOffer.fromPartial(value) })
|
|
917
918
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
|
|
918
919
|
} catch (e: any) {
|
|
919
|
-
throw new Error('TxClient:
|
|
920
|
+
throw new Error('TxClient:sendMsgCreateSellOffer: Could not broadcast Tx: '+ e.message)
|
|
920
921
|
}
|
|
921
922
|
},
|
|
922
923
|
|
|
923
|
-
async
|
|
924
|
+
async sendMsgSetCollectionStoryWriter({ value, fee, memo }: sendMsgSetCollectionStoryWriterParams): Promise<DeliverTxResponse> {
|
|
924
925
|
if (!signer) {
|
|
925
|
-
throw new Error('TxClient:
|
|
926
|
+
throw new Error('TxClient:sendMsgSetCollectionStoryWriter: Unable to sign Tx. Signer is not present.')
|
|
926
927
|
}
|
|
927
928
|
try {
|
|
928
929
|
const { address } = (await signer.getAccounts())[0];
|
|
929
930
|
const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
|
|
930
|
-
let msg = this.
|
|
931
|
+
let msg = this.msgSetCollectionStoryWriter({ value: MsgSetCollectionStoryWriter.fromPartial(value) })
|
|
931
932
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
|
|
932
933
|
} catch (e: any) {
|
|
933
|
-
throw new Error('TxClient:
|
|
934
|
+
throw new Error('TxClient:sendMsgSetCollectionStoryWriter: Could not broadcast Tx: '+ e.message)
|
|
934
935
|
}
|
|
935
936
|
},
|
|
936
937
|
|
|
937
|
-
async
|
|
938
|
+
async sendMsgRemoveSellOffer({ value, fee, memo }: sendMsgRemoveSellOfferParams): Promise<DeliverTxResponse> {
|
|
938
939
|
if (!signer) {
|
|
939
|
-
throw new Error('TxClient:
|
|
940
|
+
throw new Error('TxClient:sendMsgRemoveSellOffer: Unable to sign Tx. Signer is not present.')
|
|
940
941
|
}
|
|
941
942
|
try {
|
|
942
943
|
const { address } = (await signer.getAccounts())[0];
|
|
943
944
|
const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
|
|
944
|
-
let msg = this.
|
|
945
|
+
let msg = this.msgRemoveSellOffer({ value: MsgRemoveSellOffer.fromPartial(value) })
|
|
945
946
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
|
|
946
947
|
} catch (e: any) {
|
|
947
|
-
throw new Error('TxClient:
|
|
948
|
+
throw new Error('TxClient:sendMsgRemoveSellOffer: Could not broadcast Tx: '+ e.message)
|
|
948
949
|
}
|
|
949
950
|
},
|
|
950
951
|
|
|
951
|
-
async
|
|
952
|
+
async sendMsgAddArtwork({ value, fee, memo }: sendMsgAddArtworkParams): Promise<DeliverTxResponse> {
|
|
952
953
|
if (!signer) {
|
|
953
|
-
throw new Error('TxClient:
|
|
954
|
+
throw new Error('TxClient:sendMsgAddArtwork: Unable to sign Tx. Signer is not present.')
|
|
954
955
|
}
|
|
955
956
|
try {
|
|
956
957
|
const { address } = (await signer.getAccounts())[0];
|
|
957
958
|
const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
|
|
958
|
-
let msg = this.
|
|
959
|
+
let msg = this.msgAddArtwork({ value: MsgAddArtwork.fromPartial(value) })
|
|
959
960
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
|
|
960
961
|
} catch (e: any) {
|
|
961
|
-
throw new Error('TxClient:
|
|
962
|
+
throw new Error('TxClient:sendMsgAddArtwork: Could not broadcast Tx: '+ e.message)
|
|
962
963
|
}
|
|
963
964
|
},
|
|
964
965
|
|
|
965
|
-
async
|
|
966
|
+
async sendMsgApointMatchReporter({ value, fee, memo }: sendMsgApointMatchReporterParams): Promise<DeliverTxResponse> {
|
|
966
967
|
if (!signer) {
|
|
967
|
-
throw new Error('TxClient:
|
|
968
|
+
throw new Error('TxClient:sendMsgApointMatchReporter: Unable to sign Tx. Signer is not present.')
|
|
968
969
|
}
|
|
969
970
|
try {
|
|
970
971
|
const { address } = (await signer.getAccounts())[0];
|
|
971
972
|
const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
|
|
972
|
-
let msg = this.
|
|
973
|
+
let msg = this.msgApointMatchReporter({ value: MsgApointMatchReporter.fromPartial(value) })
|
|
973
974
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
|
|
974
975
|
} catch (e: any) {
|
|
975
|
-
throw new Error('TxClient:
|
|
976
|
+
throw new Error('TxClient:sendMsgApointMatchReporter: Could not broadcast Tx: '+ e.message)
|
|
976
977
|
}
|
|
977
978
|
},
|
|
978
979
|
|
|
979
|
-
async
|
|
980
|
+
async sendMsgRegisterForCouncil({ value, fee, memo }: sendMsgRegisterForCouncilParams): Promise<DeliverTxResponse> {
|
|
980
981
|
if (!signer) {
|
|
981
|
-
throw new Error('TxClient:
|
|
982
|
+
throw new Error('TxClient:sendMsgRegisterForCouncil: Unable to sign Tx. Signer is not present.')
|
|
982
983
|
}
|
|
983
984
|
try {
|
|
984
985
|
const { address } = (await signer.getAccounts())[0];
|
|
985
986
|
const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
|
|
986
|
-
let msg = this.
|
|
987
|
+
let msg = this.msgRegisterForCouncil({ value: MsgRegisterForCouncil.fromPartial(value) })
|
|
987
988
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
|
|
988
989
|
} catch (e: any) {
|
|
989
|
-
throw new Error('TxClient:
|
|
990
|
+
throw new Error('TxClient:sendMsgRegisterForCouncil: Could not broadcast Tx: '+ e.message)
|
|
990
991
|
}
|
|
991
992
|
},
|
|
992
993
|
|
|
993
|
-
async
|
|
994
|
+
async sendMsgRevealCouncilResponse({ value, fee, memo }: sendMsgRevealCouncilResponseParams): Promise<DeliverTxResponse> {
|
|
994
995
|
if (!signer) {
|
|
995
|
-
throw new Error('TxClient:
|
|
996
|
+
throw new Error('TxClient:sendMsgRevealCouncilResponse: Unable to sign Tx. Signer is not present.')
|
|
996
997
|
}
|
|
997
998
|
try {
|
|
998
999
|
const { address } = (await signer.getAccounts())[0];
|
|
999
1000
|
const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
|
|
1000
|
-
let msg = this.
|
|
1001
|
+
let msg = this.msgRevealCouncilResponse({ value: MsgRevealCouncilResponse.fromPartial(value) })
|
|
1001
1002
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
|
|
1002
1003
|
} catch (e: any) {
|
|
1003
|
-
throw new Error('TxClient:
|
|
1004
|
+
throw new Error('TxClient:sendMsgRevealCouncilResponse: Could not broadcast Tx: '+ e.message)
|
|
1004
1005
|
}
|
|
1005
1006
|
},
|
|
1006
1007
|
|
|
1007
|
-
async
|
|
1008
|
+
async sendMsgVoteCard({ value, fee, memo }: sendMsgVoteCardParams): Promise<DeliverTxResponse> {
|
|
1008
1009
|
if (!signer) {
|
|
1009
|
-
throw new Error('TxClient:
|
|
1010
|
+
throw new Error('TxClient:sendMsgVoteCard: Unable to sign Tx. Signer is not present.')
|
|
1010
1011
|
}
|
|
1011
1012
|
try {
|
|
1012
1013
|
const { address } = (await signer.getAccounts())[0];
|
|
1013
1014
|
const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
|
|
1014
|
-
let msg = this.
|
|
1015
|
+
let msg = this.msgVoteCard({ value: MsgVoteCard.fromPartial(value) })
|
|
1015
1016
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
|
|
1016
1017
|
} catch (e: any) {
|
|
1017
|
-
throw new Error('TxClient:
|
|
1018
|
+
throw new Error('TxClient:sendMsgVoteCard: Could not broadcast Tx: '+ e.message)
|
|
1018
1019
|
}
|
|
1019
1020
|
},
|
|
1020
1021
|
|
|
1021
|
-
async
|
|
1022
|
+
async sendMsgSetCollectionArtist({ value, fee, memo }: sendMsgSetCollectionArtistParams): Promise<DeliverTxResponse> {
|
|
1022
1023
|
if (!signer) {
|
|
1023
|
-
throw new Error('TxClient:
|
|
1024
|
+
throw new Error('TxClient:sendMsgSetCollectionArtist: Unable to sign Tx. Signer is not present.')
|
|
1024
1025
|
}
|
|
1025
1026
|
try {
|
|
1026
1027
|
const { address } = (await signer.getAccounts())[0];
|
|
1027
1028
|
const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
|
|
1028
|
-
let msg = this.
|
|
1029
|
+
let msg = this.msgSetCollectionArtist({ value: MsgSetCollectionArtist.fromPartial(value) })
|
|
1029
1030
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
|
|
1030
1031
|
} catch (e: any) {
|
|
1031
|
-
throw new Error('TxClient:
|
|
1032
|
+
throw new Error('TxClient:sendMsgSetCollectionArtist: Could not broadcast Tx: '+ e.message)
|
|
1032
1033
|
}
|
|
1033
1034
|
},
|
|
1034
1035
|
|
|
1035
|
-
async
|
|
1036
|
+
async sendMsgBuyCardScheme({ value, fee, memo }: sendMsgBuyCardSchemeParams): Promise<DeliverTxResponse> {
|
|
1036
1037
|
if (!signer) {
|
|
1037
|
-
throw new Error('TxClient:
|
|
1038
|
+
throw new Error('TxClient:sendMsgBuyCardScheme: Unable to sign Tx. Signer is not present.')
|
|
1038
1039
|
}
|
|
1039
1040
|
try {
|
|
1040
1041
|
const { address } = (await signer.getAccounts())[0];
|
|
1041
1042
|
const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
|
|
1042
|
-
let msg = this.
|
|
1043
|
+
let msg = this.msgBuyCardScheme({ value: MsgBuyCardScheme.fromPartial(value) })
|
|
1043
1044
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
|
|
1044
1045
|
} catch (e: any) {
|
|
1045
|
-
throw new Error('TxClient:
|
|
1046
|
+
throw new Error('TxClient:sendMsgBuyCardScheme: Could not broadcast Tx: '+ e.message)
|
|
1046
1047
|
}
|
|
1047
1048
|
},
|
|
1048
1049
|
|
|
1049
|
-
async
|
|
1050
|
+
async sendMsgBuyCollection({ value, fee, memo }: sendMsgBuyCollectionParams): Promise<DeliverTxResponse> {
|
|
1050
1051
|
if (!signer) {
|
|
1051
|
-
throw new Error('TxClient:
|
|
1052
|
+
throw new Error('TxClient:sendMsgBuyCollection: Unable to sign Tx. Signer is not present.')
|
|
1052
1053
|
}
|
|
1053
1054
|
try {
|
|
1054
1055
|
const { address } = (await signer.getAccounts())[0];
|
|
1055
1056
|
const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
|
|
1056
|
-
let msg = this.
|
|
1057
|
+
let msg = this.msgBuyCollection({ value: MsgBuyCollection.fromPartial(value) })
|
|
1057
1058
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
|
|
1058
1059
|
} catch (e: any) {
|
|
1059
|
-
throw new Error('TxClient:
|
|
1060
|
+
throw new Error('TxClient:sendMsgBuyCollection: Could not broadcast Tx: '+ e.message)
|
|
1060
1061
|
}
|
|
1061
1062
|
},
|
|
1062
1063
|
|
|
1063
|
-
async
|
|
1064
|
+
async sendMsgBuyCard({ value, fee, memo }: sendMsgBuyCardParams): Promise<DeliverTxResponse> {
|
|
1064
1065
|
if (!signer) {
|
|
1065
|
-
throw new Error('TxClient:
|
|
1066
|
+
throw new Error('TxClient:sendMsgBuyCard: Unable to sign Tx. Signer is not present.')
|
|
1066
1067
|
}
|
|
1067
1068
|
try {
|
|
1068
1069
|
const { address } = (await signer.getAccounts())[0];
|
|
1069
1070
|
const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
|
|
1070
|
-
let msg = this.
|
|
1071
|
+
let msg = this.msgBuyCard({ value: MsgBuyCard.fromPartial(value) })
|
|
1071
1072
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
|
|
1072
1073
|
} catch (e: any) {
|
|
1073
|
-
throw new Error('TxClient:
|
|
1074
|
+
throw new Error('TxClient:sendMsgBuyCard: Could not broadcast Tx: '+ e.message)
|
|
1074
1075
|
}
|
|
1075
1076
|
},
|
|
1076
1077
|
|
|
1077
|
-
async
|
|
1078
|
+
async sendMsgCommitCouncilResponse({ value, fee, memo }: sendMsgCommitCouncilResponseParams): Promise<DeliverTxResponse> {
|
|
1078
1079
|
if (!signer) {
|
|
1079
|
-
throw new Error('TxClient:
|
|
1080
|
+
throw new Error('TxClient:sendMsgCommitCouncilResponse: Unable to sign Tx. Signer is not present.')
|
|
1080
1081
|
}
|
|
1081
1082
|
try {
|
|
1082
1083
|
const { address } = (await signer.getAccounts())[0];
|
|
1083
1084
|
const signingClient = await SigningStargateClient.connectWithSigner(addr,signer,{registry, prefix});
|
|
1084
|
-
let msg = this.
|
|
1085
|
+
let msg = this.msgCommitCouncilResponse({ value: MsgCommitCouncilResponse.fromPartial(value) })
|
|
1085
1086
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo)
|
|
1086
1087
|
} catch (e: any) {
|
|
1087
|
-
throw new Error('TxClient:
|
|
1088
|
+
throw new Error('TxClient:sendMsgCommitCouncilResponse: Could not broadcast Tx: '+ e.message)
|
|
1088
1089
|
}
|
|
1089
1090
|
},
|
|
1090
1091
|
|
|
1091
1092
|
|
|
1092
|
-
|
|
1093
|
+
msgTransferCard({ value }: msgTransferCardParams): EncodeObject {
|
|
1093
1094
|
try {
|
|
1094
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
1095
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgTransferCard", value: MsgTransferCard.fromPartial( value ) }
|
|
1095
1096
|
} catch (e: any) {
|
|
1096
|
-
throw new Error('TxClient:
|
|
1097
|
+
throw new Error('TxClient:MsgTransferCard: Could not create message: ' + e.message)
|
|
1097
1098
|
}
|
|
1098
1099
|
},
|
|
1099
1100
|
|
|
1100
|
-
|
|
1101
|
+
msgOpenBoosterPack({ value }: msgOpenBoosterPackParams): EncodeObject {
|
|
1101
1102
|
try {
|
|
1102
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
1103
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgOpenBoosterPack", value: MsgOpenBoosterPack.fromPartial( value ) }
|
|
1103
1104
|
} catch (e: any) {
|
|
1104
|
-
throw new Error('TxClient:
|
|
1105
|
+
throw new Error('TxClient:MsgOpenBoosterPack: Could not create message: ' + e.message)
|
|
1105
1106
|
}
|
|
1106
1107
|
},
|
|
1107
1108
|
|
|
1108
|
-
|
|
1109
|
+
msgCreateCollection({ value }: msgCreateCollectionParams): EncodeObject {
|
|
1109
1110
|
try {
|
|
1110
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
1111
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgCreateCollection", value: MsgCreateCollection.fromPartial( value ) }
|
|
1111
1112
|
} catch (e: any) {
|
|
1112
|
-
throw new Error('TxClient:
|
|
1113
|
+
throw new Error('TxClient:MsgCreateCollection: Could not create message: ' + e.message)
|
|
1113
1114
|
}
|
|
1114
1115
|
},
|
|
1115
1116
|
|
|
1116
|
-
|
|
1117
|
+
msgCreateuser({ value }: msgCreateuserParams): EncodeObject {
|
|
1117
1118
|
try {
|
|
1118
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
1119
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgCreateuser", value: MsgCreateuser.fromPartial( value ) }
|
|
1119
1120
|
} catch (e: any) {
|
|
1120
|
-
throw new Error('TxClient:
|
|
1121
|
+
throw new Error('TxClient:MsgCreateuser: Could not create message: ' + e.message)
|
|
1121
1122
|
}
|
|
1122
1123
|
},
|
|
1123
1124
|
|
|
1124
|
-
|
|
1125
|
+
msgSubmitMatchReporterProposal({ value }: msgSubmitMatchReporterProposalParams): EncodeObject {
|
|
1125
1126
|
try {
|
|
1126
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
1127
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSubmitMatchReporterProposal", value: MsgSubmitMatchReporterProposal.fromPartial( value ) }
|
|
1127
1128
|
} catch (e: any) {
|
|
1128
|
-
throw new Error('TxClient:
|
|
1129
|
+
throw new Error('TxClient:MsgSubmitMatchReporterProposal: Could not create message: ' + e.message)
|
|
1129
1130
|
}
|
|
1130
1131
|
},
|
|
1131
1132
|
|
|
1132
|
-
|
|
1133
|
+
msgRemoveContributorFromCollection({ value }: msgRemoveContributorFromCollectionParams): EncodeObject {
|
|
1133
1134
|
try {
|
|
1134
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
1135
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgRemoveContributorFromCollection", value: MsgRemoveContributorFromCollection.fromPartial( value ) }
|
|
1135
1136
|
} catch (e: any) {
|
|
1136
|
-
throw new Error('TxClient:
|
|
1137
|
+
throw new Error('TxClient:MsgRemoveContributorFromCollection: Could not create message: ' + e.message)
|
|
1137
1138
|
}
|
|
1138
1139
|
},
|
|
1139
1140
|
|
|
1140
|
-
|
|
1141
|
+
msgSubmitCopyrightProposal({ value }: msgSubmitCopyrightProposalParams): EncodeObject {
|
|
1141
1142
|
try {
|
|
1142
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
1143
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSubmitCopyrightProposal", value: MsgSubmitCopyrightProposal.fromPartial( value ) }
|
|
1143
1144
|
} catch (e: any) {
|
|
1144
|
-
throw new Error('TxClient:
|
|
1145
|
+
throw new Error('TxClient:MsgSubmitCopyrightProposal: Could not create message: ' + e.message)
|
|
1145
1146
|
}
|
|
1146
1147
|
},
|
|
1147
1148
|
|
|
1148
|
-
|
|
1149
|
+
msgRewokeCouncilRegistration({ value }: msgRewokeCouncilRegistrationParams): EncodeObject {
|
|
1149
1150
|
try {
|
|
1150
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
1151
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgRewokeCouncilRegistration", value: MsgRewokeCouncilRegistration.fromPartial( value ) }
|
|
1151
1152
|
} catch (e: any) {
|
|
1152
|
-
throw new Error('TxClient:
|
|
1153
|
+
throw new Error('TxClient:MsgRewokeCouncilRegistration: Could not create message: ' + e.message)
|
|
1153
1154
|
}
|
|
1154
1155
|
},
|
|
1155
1156
|
|
|
1156
|
-
|
|
1157
|
+
msgReportMatch({ value }: msgReportMatchParams): EncodeObject {
|
|
1157
1158
|
try {
|
|
1158
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
1159
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgReportMatch", value: MsgReportMatch.fromPartial( value ) }
|
|
1159
1160
|
} catch (e: any) {
|
|
1160
|
-
throw new Error('TxClient:
|
|
1161
|
+
throw new Error('TxClient:MsgReportMatch: Could not create message: ' + e.message)
|
|
1161
1162
|
}
|
|
1162
1163
|
},
|
|
1163
1164
|
|
|
1164
|
-
|
|
1165
|
+
msgSubmitCollectionProposal({ value }: msgSubmitCollectionProposalParams): EncodeObject {
|
|
1165
1166
|
try {
|
|
1166
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
1167
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSubmitCollectionProposal", value: MsgSubmitCollectionProposal.fromPartial( value ) }
|
|
1167
1168
|
} catch (e: any) {
|
|
1168
|
-
throw new Error('TxClient:
|
|
1169
|
+
throw new Error('TxClient:MsgSubmitCollectionProposal: Could not create message: ' + e.message)
|
|
1169
1170
|
}
|
|
1170
1171
|
},
|
|
1171
1172
|
|
|
1172
|
-
|
|
1173
|
+
msgSaveCardContent({ value }: msgSaveCardContentParams): EncodeObject {
|
|
1173
1174
|
try {
|
|
1174
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
1175
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSaveCardContent", value: MsgSaveCardContent.fromPartial( value ) }
|
|
1175
1176
|
} catch (e: any) {
|
|
1176
|
-
throw new Error('TxClient:
|
|
1177
|
+
throw new Error('TxClient:MsgSaveCardContent: Could not create message: ' + e.message)
|
|
1177
1178
|
}
|
|
1178
1179
|
},
|
|
1179
1180
|
|
|
@@ -1185,235 +1186,235 @@ export const txClient = ({ signer, prefix, addr }: TxClientOptions = { addr: "ht
|
|
|
1185
1186
|
}
|
|
1186
1187
|
},
|
|
1187
1188
|
|
|
1188
|
-
|
|
1189
|
+
msgAddStoryToCollection({ value }: msgAddStoryToCollectionParams): EncodeObject {
|
|
1189
1190
|
try {
|
|
1190
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
1191
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgAddStoryToCollection", value: MsgAddStoryToCollection.fromPartial( value ) }
|
|
1191
1192
|
} catch (e: any) {
|
|
1192
|
-
throw new Error('TxClient:
|
|
1193
|
+
throw new Error('TxClient:MsgAddStoryToCollection: Could not create message: ' + e.message)
|
|
1193
1194
|
}
|
|
1194
1195
|
},
|
|
1195
1196
|
|
|
1196
|
-
|
|
1197
|
+
msgTransferBoosterPack({ value }: msgTransferBoosterPackParams): EncodeObject {
|
|
1197
1198
|
try {
|
|
1198
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
1199
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgTransferBoosterPack", value: MsgTransferBoosterPack.fromPartial( value ) }
|
|
1199
1200
|
} catch (e: any) {
|
|
1200
|
-
throw new Error('TxClient:
|
|
1201
|
+
throw new Error('TxClient:MsgTransferBoosterPack: Could not create message: ' + e.message)
|
|
1201
1202
|
}
|
|
1202
1203
|
},
|
|
1203
1204
|
|
|
1204
|
-
|
|
1205
|
+
msgSetProfileCard({ value }: msgSetProfileCardParams): EncodeObject {
|
|
1205
1206
|
try {
|
|
1206
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
1207
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSetProfileCard", value: MsgSetProfileCard.fromPartial( value ) }
|
|
1207
1208
|
} catch (e: any) {
|
|
1208
|
-
throw new Error('TxClient:
|
|
1209
|
+
throw new Error('TxClient:MsgSetProfileCard: Could not create message: ' + e.message)
|
|
1209
1210
|
}
|
|
1210
1211
|
},
|
|
1211
1212
|
|
|
1212
|
-
|
|
1213
|
+
msgRemoveCardFromCollection({ value }: msgRemoveCardFromCollectionParams): EncodeObject {
|
|
1213
1214
|
try {
|
|
1214
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
1215
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgRemoveCardFromCollection", value: MsgRemoveCardFromCollection.fromPartial( value ) }
|
|
1215
1216
|
} catch (e: any) {
|
|
1216
|
-
throw new Error('TxClient:
|
|
1217
|
+
throw new Error('TxClient:MsgRemoveCardFromCollection: Could not create message: ' + e.message)
|
|
1217
1218
|
}
|
|
1218
1219
|
},
|
|
1219
1220
|
|
|
1220
|
-
|
|
1221
|
+
msgAddArtworkToCollection({ value }: msgAddArtworkToCollectionParams): EncodeObject {
|
|
1221
1222
|
try {
|
|
1222
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
1223
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgAddArtworkToCollection", value: MsgAddArtworkToCollection.fromPartial( value ) }
|
|
1223
1224
|
} catch (e: any) {
|
|
1224
|
-
throw new Error('TxClient:
|
|
1225
|
+
throw new Error('TxClient:MsgAddArtworkToCollection: Could not create message: ' + e.message)
|
|
1225
1226
|
}
|
|
1226
1227
|
},
|
|
1227
1228
|
|
|
1228
|
-
|
|
1229
|
+
msgAddCardToCollection({ value }: msgAddCardToCollectionParams): EncodeObject {
|
|
1229
1230
|
try {
|
|
1230
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
1231
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgAddCardToCollection", value: MsgAddCardToCollection.fromPartial( value ) }
|
|
1231
1232
|
} catch (e: any) {
|
|
1232
|
-
throw new Error('TxClient:
|
|
1233
|
+
throw new Error('TxClient:MsgAddCardToCollection: Could not create message: ' + e.message)
|
|
1233
1234
|
}
|
|
1234
1235
|
},
|
|
1235
1236
|
|
|
1236
|
-
|
|
1237
|
+
msgSetCardRarity({ value }: msgSetCardRarityParams): EncodeObject {
|
|
1237
1238
|
try {
|
|
1238
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
1239
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSetCardRarity", value: MsgSetCardRarity.fromPartial( value ) }
|
|
1239
1240
|
} catch (e: any) {
|
|
1240
|
-
throw new Error('TxClient:
|
|
1241
|
+
throw new Error('TxClient:MsgSetCardRarity: Could not create message: ' + e.message)
|
|
1241
1242
|
}
|
|
1242
1243
|
},
|
|
1243
1244
|
|
|
1244
|
-
|
|
1245
|
+
msgFinalizeCollection({ value }: msgFinalizeCollectionParams): EncodeObject {
|
|
1245
1246
|
try {
|
|
1246
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
1247
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgFinalizeCollection", value: MsgFinalizeCollection.fromPartial( value ) }
|
|
1247
1248
|
} catch (e: any) {
|
|
1248
|
-
throw new Error('TxClient:
|
|
1249
|
+
throw new Error('TxClient:MsgFinalizeCollection: Could not create message: ' + e.message)
|
|
1249
1250
|
}
|
|
1250
1251
|
},
|
|
1251
1252
|
|
|
1252
|
-
|
|
1253
|
+
msgAddContributorToCollection({ value }: msgAddContributorToCollectionParams): EncodeObject {
|
|
1253
1254
|
try {
|
|
1254
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
1255
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgAddContributorToCollection", value: MsgAddContributorToCollection.fromPartial( value ) }
|
|
1255
1256
|
} catch (e: any) {
|
|
1256
|
-
throw new Error('TxClient:
|
|
1257
|
+
throw new Error('TxClient:MsgAddContributorToCollection: Could not create message: ' + e.message)
|
|
1257
1258
|
}
|
|
1258
1259
|
},
|
|
1259
1260
|
|
|
1260
|
-
|
|
1261
|
+
msgCreateCouncil({ value }: msgCreateCouncilParams): EncodeObject {
|
|
1261
1262
|
try {
|
|
1262
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
1263
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgCreateCouncil", value: MsgCreateCouncil.fromPartial( value ) }
|
|
1263
1264
|
} catch (e: any) {
|
|
1264
|
-
throw new Error('TxClient:
|
|
1265
|
+
throw new Error('TxClient:MsgCreateCouncil: Could not create message: ' + e.message)
|
|
1265
1266
|
}
|
|
1266
1267
|
},
|
|
1267
1268
|
|
|
1268
|
-
|
|
1269
|
+
msgRestartCouncil({ value }: msgRestartCouncilParams): EncodeObject {
|
|
1269
1270
|
try {
|
|
1270
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
1271
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgRestartCouncil", value: MsgRestartCouncil.fromPartial( value ) }
|
|
1271
1272
|
} catch (e: any) {
|
|
1272
|
-
throw new Error('TxClient:
|
|
1273
|
+
throw new Error('TxClient:MsgRestartCouncil: Could not create message: ' + e.message)
|
|
1273
1274
|
}
|
|
1274
1275
|
},
|
|
1275
1276
|
|
|
1276
|
-
|
|
1277
|
+
msgSetUserWebsite({ value }: msgSetUserWebsiteParams): EncodeObject {
|
|
1277
1278
|
try {
|
|
1278
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
1279
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSetUserWebsite", value: MsgSetUserWebsite.fromPartial( value ) }
|
|
1279
1280
|
} catch (e: any) {
|
|
1280
|
-
throw new Error('TxClient:
|
|
1281
|
+
throw new Error('TxClient:MsgSetUserWebsite: Could not create message: ' + e.message)
|
|
1281
1282
|
}
|
|
1282
1283
|
},
|
|
1283
1284
|
|
|
1284
|
-
|
|
1285
|
+
msgConfirmMatch({ value }: msgConfirmMatchParams): EncodeObject {
|
|
1285
1286
|
try {
|
|
1286
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
1287
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgConfirmMatch", value: MsgConfirmMatch.fromPartial( value ) }
|
|
1287
1288
|
} catch (e: any) {
|
|
1288
|
-
throw new Error('TxClient:
|
|
1289
|
+
throw new Error('TxClient:MsgConfirmMatch: Could not create message: ' + e.message)
|
|
1289
1290
|
}
|
|
1290
1291
|
},
|
|
1291
1292
|
|
|
1292
|
-
|
|
1293
|
+
msgSetUserBiography({ value }: msgSetUserBiographyParams): EncodeObject {
|
|
1293
1294
|
try {
|
|
1294
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
1295
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSetUserBiography", value: MsgSetUserBiography.fromPartial( value ) }
|
|
1295
1296
|
} catch (e: any) {
|
|
1296
|
-
throw new Error('TxClient:
|
|
1297
|
+
throw new Error('TxClient:MsgSetUserBiography: Could not create message: ' + e.message)
|
|
1297
1298
|
}
|
|
1298
1299
|
},
|
|
1299
1300
|
|
|
1300
|
-
|
|
1301
|
+
msgMultiVoteCard({ value }: msgMultiVoteCardParams): EncodeObject {
|
|
1301
1302
|
try {
|
|
1302
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
1303
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgMultiVoteCard", value: MsgMultiVoteCard.fromPartial( value ) }
|
|
1303
1304
|
} catch (e: any) {
|
|
1304
|
-
throw new Error('TxClient:
|
|
1305
|
+
throw new Error('TxClient:MsgMultiVoteCard: Could not create message: ' + e.message)
|
|
1305
1306
|
}
|
|
1306
1307
|
},
|
|
1307
1308
|
|
|
1308
|
-
|
|
1309
|
+
msgChangeArtist({ value }: msgChangeArtistParams): EncodeObject {
|
|
1309
1310
|
try {
|
|
1310
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
1311
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgChangeArtist", value: MsgChangeArtist.fromPartial( value ) }
|
|
1311
1312
|
} catch (e: any) {
|
|
1312
|
-
throw new Error('TxClient:
|
|
1313
|
+
throw new Error('TxClient:MsgChangeArtist: Could not create message: ' + e.message)
|
|
1313
1314
|
}
|
|
1314
1315
|
},
|
|
1315
1316
|
|
|
1316
|
-
|
|
1317
|
+
msgCreateSellOffer({ value }: msgCreateSellOfferParams): EncodeObject {
|
|
1317
1318
|
try {
|
|
1318
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
1319
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgCreateSellOffer", value: MsgCreateSellOffer.fromPartial( value ) }
|
|
1319
1320
|
} catch (e: any) {
|
|
1320
|
-
throw new Error('TxClient:
|
|
1321
|
+
throw new Error('TxClient:MsgCreateSellOffer: Could not create message: ' + e.message)
|
|
1321
1322
|
}
|
|
1322
1323
|
},
|
|
1323
1324
|
|
|
1324
|
-
|
|
1325
|
+
msgSetCollectionStoryWriter({ value }: msgSetCollectionStoryWriterParams): EncodeObject {
|
|
1325
1326
|
try {
|
|
1326
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
1327
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSetCollectionStoryWriter", value: MsgSetCollectionStoryWriter.fromPartial( value ) }
|
|
1327
1328
|
} catch (e: any) {
|
|
1328
|
-
throw new Error('TxClient:
|
|
1329
|
+
throw new Error('TxClient:MsgSetCollectionStoryWriter: Could not create message: ' + e.message)
|
|
1329
1330
|
}
|
|
1330
1331
|
},
|
|
1331
1332
|
|
|
1332
|
-
|
|
1333
|
+
msgRemoveSellOffer({ value }: msgRemoveSellOfferParams): EncodeObject {
|
|
1333
1334
|
try {
|
|
1334
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
1335
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgRemoveSellOffer", value: MsgRemoveSellOffer.fromPartial( value ) }
|
|
1335
1336
|
} catch (e: any) {
|
|
1336
|
-
throw new Error('TxClient:
|
|
1337
|
+
throw new Error('TxClient:MsgRemoveSellOffer: Could not create message: ' + e.message)
|
|
1337
1338
|
}
|
|
1338
1339
|
},
|
|
1339
1340
|
|
|
1340
|
-
|
|
1341
|
+
msgAddArtwork({ value }: msgAddArtworkParams): EncodeObject {
|
|
1341
1342
|
try {
|
|
1342
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
1343
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgAddArtwork", value: MsgAddArtwork.fromPartial( value ) }
|
|
1343
1344
|
} catch (e: any) {
|
|
1344
|
-
throw new Error('TxClient:
|
|
1345
|
+
throw new Error('TxClient:MsgAddArtwork: Could not create message: ' + e.message)
|
|
1345
1346
|
}
|
|
1346
1347
|
},
|
|
1347
1348
|
|
|
1348
|
-
|
|
1349
|
+
msgApointMatchReporter({ value }: msgApointMatchReporterParams): EncodeObject {
|
|
1349
1350
|
try {
|
|
1350
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
1351
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgApointMatchReporter", value: MsgApointMatchReporter.fromPartial( value ) }
|
|
1351
1352
|
} catch (e: any) {
|
|
1352
|
-
throw new Error('TxClient:
|
|
1353
|
+
throw new Error('TxClient:MsgApointMatchReporter: Could not create message: ' + e.message)
|
|
1353
1354
|
}
|
|
1354
1355
|
},
|
|
1355
1356
|
|
|
1356
|
-
|
|
1357
|
+
msgRegisterForCouncil({ value }: msgRegisterForCouncilParams): EncodeObject {
|
|
1357
1358
|
try {
|
|
1358
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
1359
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgRegisterForCouncil", value: MsgRegisterForCouncil.fromPartial( value ) }
|
|
1359
1360
|
} catch (e: any) {
|
|
1360
|
-
throw new Error('TxClient:
|
|
1361
|
+
throw new Error('TxClient:MsgRegisterForCouncil: Could not create message: ' + e.message)
|
|
1361
1362
|
}
|
|
1362
1363
|
},
|
|
1363
1364
|
|
|
1364
|
-
|
|
1365
|
+
msgRevealCouncilResponse({ value }: msgRevealCouncilResponseParams): EncodeObject {
|
|
1365
1366
|
try {
|
|
1366
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
1367
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgRevealCouncilResponse", value: MsgRevealCouncilResponse.fromPartial( value ) }
|
|
1367
1368
|
} catch (e: any) {
|
|
1368
|
-
throw new Error('TxClient:
|
|
1369
|
+
throw new Error('TxClient:MsgRevealCouncilResponse: Could not create message: ' + e.message)
|
|
1369
1370
|
}
|
|
1370
1371
|
},
|
|
1371
1372
|
|
|
1372
|
-
|
|
1373
|
+
msgVoteCard({ value }: msgVoteCardParams): EncodeObject {
|
|
1373
1374
|
try {
|
|
1374
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
1375
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgVoteCard", value: MsgVoteCard.fromPartial( value ) }
|
|
1375
1376
|
} catch (e: any) {
|
|
1376
|
-
throw new Error('TxClient:
|
|
1377
|
+
throw new Error('TxClient:MsgVoteCard: Could not create message: ' + e.message)
|
|
1377
1378
|
}
|
|
1378
1379
|
},
|
|
1379
1380
|
|
|
1380
|
-
|
|
1381
|
+
msgSetCollectionArtist({ value }: msgSetCollectionArtistParams): EncodeObject {
|
|
1381
1382
|
try {
|
|
1382
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
1383
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgSetCollectionArtist", value: MsgSetCollectionArtist.fromPartial( value ) }
|
|
1383
1384
|
} catch (e: any) {
|
|
1384
|
-
throw new Error('TxClient:
|
|
1385
|
+
throw new Error('TxClient:MsgSetCollectionArtist: Could not create message: ' + e.message)
|
|
1385
1386
|
}
|
|
1386
1387
|
},
|
|
1387
1388
|
|
|
1388
|
-
|
|
1389
|
+
msgBuyCardScheme({ value }: msgBuyCardSchemeParams): EncodeObject {
|
|
1389
1390
|
try {
|
|
1390
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
1391
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgBuyCardScheme", value: MsgBuyCardScheme.fromPartial( value ) }
|
|
1391
1392
|
} catch (e: any) {
|
|
1392
|
-
throw new Error('TxClient:
|
|
1393
|
+
throw new Error('TxClient:MsgBuyCardScheme: Could not create message: ' + e.message)
|
|
1393
1394
|
}
|
|
1394
1395
|
},
|
|
1395
1396
|
|
|
1396
|
-
|
|
1397
|
+
msgBuyCollection({ value }: msgBuyCollectionParams): EncodeObject {
|
|
1397
1398
|
try {
|
|
1398
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
1399
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgBuyCollection", value: MsgBuyCollection.fromPartial( value ) }
|
|
1399
1400
|
} catch (e: any) {
|
|
1400
|
-
throw new Error('TxClient:
|
|
1401
|
+
throw new Error('TxClient:MsgBuyCollection: Could not create message: ' + e.message)
|
|
1401
1402
|
}
|
|
1402
1403
|
},
|
|
1403
1404
|
|
|
1404
|
-
|
|
1405
|
+
msgBuyCard({ value }: msgBuyCardParams): EncodeObject {
|
|
1405
1406
|
try {
|
|
1406
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
1407
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgBuyCard", value: MsgBuyCard.fromPartial( value ) }
|
|
1407
1408
|
} catch (e: any) {
|
|
1408
|
-
throw new Error('TxClient:
|
|
1409
|
+
throw new Error('TxClient:MsgBuyCard: Could not create message: ' + e.message)
|
|
1409
1410
|
}
|
|
1410
1411
|
},
|
|
1411
1412
|
|
|
1412
|
-
|
|
1413
|
+
msgCommitCouncilResponse({ value }: msgCommitCouncilResponseParams): EncodeObject {
|
|
1413
1414
|
try {
|
|
1414
|
-
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.
|
|
1415
|
+
return { typeUrl: "/DecentralCardGame.cardchain.cardchain.MsgCommitCouncilResponse", value: MsgCommitCouncilResponse.fromPartial( value ) }
|
|
1415
1416
|
} catch (e: any) {
|
|
1416
|
-
throw new Error('TxClient:
|
|
1417
|
+
throw new Error('TxClient:MsgCommitCouncilResponse: Could not create message: ' + e.message)
|
|
1417
1418
|
}
|
|
1418
1419
|
},
|
|
1419
1420
|
|
|
@@ -1440,6 +1441,7 @@ class SDKModule {
|
|
|
1440
1441
|
this.updateTX(client);
|
|
1441
1442
|
this.structure = {
|
|
1442
1443
|
Card: getStructure(typeCard.fromPartial({})),
|
|
1444
|
+
TimeStamp: getStructure(typeTimeStamp.fromPartial({})),
|
|
1443
1445
|
Collection: getStructure(typeCollection.fromPartial({})),
|
|
1444
1446
|
CollectionProposal: getStructure(typeCollectionProposal.fromPartial({})),
|
|
1445
1447
|
CopyrightProposal: getStructure(typeCopyrightProposal.fromPartial({})),
|