decentralcardgame-cardchain-client-ts 0.0.9 → 0.0.10
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 +478 -478
- package/DecentralCardGame.cardchain.cardchain/registry.ts +73 -73
- package/DecentralCardGame.cardchain.cardchain/rest.ts +8 -3
- package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/genesis.ts +1 -1
- package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/tx.ts +44 -13
- package/DecentralCardGame.cardchain.cardchain/types/amino/amino.ts +2 -0
- package/DecentralCardGame.cardchain.cardchain/types.ts +22 -22
- package/client.ts +11 -10
- package/cosmos.auth.v1beta1/module.ts +2 -0
- package/cosmos.auth.v1beta1/rest.ts +113 -3
- package/cosmos.auth.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/auth.ts +104 -0
- package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/genesis.ts +1 -1
- package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/query.ts +157 -4
- package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/tx.ts +172 -0
- package/cosmos.auth.v1beta1/types/cosmos/query/v1/query.ts +2 -0
- package/cosmos.auth.v1beta1/types.ts +2 -0
- package/cosmos.authz.v1beta1/module.ts +29 -29
- package/cosmos.authz.v1beta1/registry.ts +2 -2
- package/cosmos.authz.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/tx.ts +1 -1
- package/cosmos.bank.v1beta1/module.ts +24 -24
- package/cosmos.bank.v1beta1/registry.ts +2 -2
- package/cosmos.bank.v1beta1/rest.ts +99 -6
- package/cosmos.bank.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/authz.ts +24 -2
- package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/bank.ts +9 -0
- package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/genesis.ts +25 -4
- package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/query.ts +356 -5
- package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/tx.ts +305 -1
- package/cosmos.bank.v1beta1/types/cosmos/query/v1/query.ts +2 -0
- package/cosmos.base.tendermint.v1beta1/rest.ts +18 -27
- package/cosmos.base.tendermint.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.base.tendermint.v1beta1/types/cosmos/base/tendermint/v1beta1/query.ts +16 -46
- package/{DecentralCardGame.cardchain.cardchain/index.js → cosmos.consensus.v1/index.ts} +1 -0
- package/cosmos.consensus.v1/module.ts +129 -0
- package/cosmos.consensus.v1/registry.ts +9 -0
- package/cosmos.consensus.v1/rest.ts +268 -0
- package/cosmos.consensus.v1/types/cosmos/consensus/v1/query.ts +147 -0
- package/cosmos.consensus.v1/types/cosmos/consensus/v1/tx.ts +196 -0
- package/cosmos.consensus.v1/types/cosmos_proto/cosmos.ts +247 -0
- package/cosmos.consensus.v1/types/google/api/http.ts +589 -0
- package/cosmos.consensus.v1/types/google/protobuf/descriptor.ts +3753 -0
- package/cosmos.consensus.v1/types/google/protobuf/duration.ts +187 -0
- package/cosmos.consensus.v1/types/tendermint/types/params.ts +498 -0
- package/cosmos.consensus.v1/types.ts +5 -0
- package/cosmos.crisis.v1beta1/module.ts +34 -1
- package/cosmos.crisis.v1beta1/registry.ts +2 -0
- package/cosmos.crisis.v1beta1/rest.ts +19 -0
- package/cosmos.crisis.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.crisis.v1beta1/types/cosmos/crisis/v1beta1/tx.ts +140 -1
- package/cosmos.distribution.v1beta1/module.ts +91 -25
- package/cosmos.distribution.v1beta1/registry.ts +8 -4
- package/cosmos.distribution.v1beta1/rest.ts +66 -7
- package/cosmos.distribution.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/distribution.ts +19 -0
- package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/genesis.ts +4 -4
- package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/query.ts +158 -1
- package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/tx.ts +300 -3
- package/cosmos.evidence.v1beta1/rest.ts +4 -3
- package/cosmos.evidence.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/evidence.ts +7 -1
- package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/query.ts +25 -3
- package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/tx.ts +2 -0
- package/cosmos.feegrant.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.gov.v1/module.ts +62 -27
- package/cosmos.gov.v1/registry.ts +4 -2
- package/cosmos.gov.v1/rest.ts +155 -41
- package/cosmos.gov.v1/types/amino/amino.ts +2 -0
- package/cosmos.gov.v1/types/cosmos/gov/v1/genesis.ts +40 -5
- package/cosmos.gov.v1/types/cosmos/gov/v1/gov.ts +277 -6
- package/cosmos.gov.v1/types/cosmos/gov/v1/query.ts +45 -7
- package/cosmos.gov.v1/types/cosmos/gov/v1/tx.ts +186 -3
- package/cosmos.gov.v1/types.ts +2 -0
- package/cosmos.gov.v1beta1/module.ts +36 -36
- package/cosmos.gov.v1beta1/registry.ts +4 -4
- package/cosmos.gov.v1beta1/rest.ts +65 -96
- package/cosmos.gov.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/genesis.ts +3 -3
- package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/gov.ts +45 -10
- package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/query.ts +4 -2
- package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/tx.ts +16 -1
- package/cosmos.group.v1/module.ts +149 -147
- package/cosmos.group.v1/registry.ts +16 -16
- package/cosmos.group.v1/rest.ts +29 -9
- package/cosmos.group.v1/types/amino/amino.ts +2 -0
- package/cosmos.group.v1/types/cosmos/group/v1/events.ts +89 -1
- package/cosmos.group.v1/types/cosmos/group/v1/query.ts +5 -5
- package/cosmos.group.v1/types/cosmos/group/v1/tx.ts +79 -49
- package/cosmos.group.v1/types/cosmos/group/v1/types.ts +46 -6
- package/cosmos.group.v1/types.ts +2 -0
- package/cosmos.mint.v1beta1/rest.ts +9 -1
- package/cosmos.mint.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/genesis.ts +1 -1
- package/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/mint.ts +1 -1
- package/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/tx.ts +172 -0
- package/cosmos.nft.v1beta1/rest.ts +18 -22
- package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/event.ts +10 -0
- package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/genesis.ts +1 -0
- package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/query.ts +20 -0
- package/cosmos.nft.v1beta1/types/cosmos_proto/cosmos.ts +247 -0
- package/cosmos.params.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.slashing.v1beta1/rest.ts +8 -0
- package/cosmos.slashing.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/genesis.ts +1 -1
- package/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/tx.ts +139 -0
- package/cosmos.staking.v1beta1/module.ts +50 -48
- package/cosmos.staking.v1beta1/registry.ts +6 -6
- package/cosmos.staking.v1beta1/rest.ts +49 -8
- package/cosmos.staking.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.staking.v1beta1/types/cosmos/query/v1/query.ts +2 -0
- package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/genesis.ts +1 -1
- package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/query.ts +36 -5
- package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/staking.ts +206 -3
- package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/tx.ts +138 -1
- package/cosmos.staking.v1beta1/types/tendermint/abci/types.ts +4525 -0
- package/cosmos.staking.v1beta1/types/tendermint/types/params.ts +498 -0
- package/cosmos.staking.v1beta1/types.ts +2 -0
- package/cosmos.tx.v1beta1/rest.ts +177 -16
- package/cosmos.tx.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.tx.v1beta1/types/cosmos/tx/v1beta1/service.ts +524 -2
- package/cosmos.tx.v1beta1/types/tendermint/abci/types.ts +703 -332
- package/cosmos.tx.v1beta1/types/tendermint/types/params.ts +9 -25
- package/cosmos.upgrade.v1beta1/rest.ts +0 -1
- package/cosmos.upgrade.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/tx.ts +3 -3
- package/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/upgrade.ts +6 -4
- package/cosmos.vesting.v1beta1/module.ts +29 -29
- package/cosmos.vesting.v1beta1/registry.ts +2 -2
- package/cosmos.vesting.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.vesting.v1beta1/types/cosmos/auth/v1beta1/auth.ts +104 -0
- package/ibc.applications.interchain_accounts.controller.v1/rest.ts +1 -0
- package/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/tx.ts +16 -4
- package/ibc.applications.transfer.v1/module.ts +5 -34
- package/ibc.applications.transfer.v1/registry.ts +0 -2
- package/ibc.applications.transfer.v1/rest.ts +30 -1
- package/ibc.applications.transfer.v1/types/amino/amino.ts +2 -0
- package/ibc.applications.transfer.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +6 -4
- package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/authz.ts +178 -0
- package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/genesis.ts +23 -2
- package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/query.ts +120 -0
- package/ibc.applications.transfer.v1/types/ibc/core/client/v1/client.ts +5 -1
- package/ibc.applications.transfer.v1/types.ts +4 -0
- package/ibc.core.channel.v1/rest.ts +1 -0
- package/ibc.core.channel.v1/types/amino/amino.ts +2 -0
- package/ibc.core.channel.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +6 -4
- package/ibc.core.channel.v1/types/ibc/core/channel/v1/tx.ts +14 -2
- package/ibc.core.channel.v1/types/ibc/core/client/v1/client.ts +5 -1
- package/ibc.core.client.v1/rest.ts +5 -1
- package/ibc.core.client.v1/types/amino/amino.ts +2 -0
- package/ibc.core.client.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +6 -4
- package/ibc.core.client.v1/types/ibc/core/client/v1/client.ts +5 -1
- package/ibc.core.client.v1/types/ibc/core/client/v1/tx.ts +28 -14
- package/ibc.core.connection.v1/types/amino/amino.ts +2 -0
- package/ibc.core.connection.v1/types/{proofs.ts → cosmos/ics23/v1/proofs.ts} +1 -1
- package/ibc.core.connection.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +6 -4
- package/ibc.core.connection.v1/types/ibc/core/client/v1/client.ts +5 -1
- package/ibc.core.connection.v1/types/ibc/core/commitment/v1/commitment.ts +1 -1
- package/ibc.core.connection.v1/types/ibc/core/connection/v1/tx.ts +34 -0
- package/index.ts +3 -1
- package/package.json +1 -4
- package/DecentralCardGame.cardchain.cardchain/module.js +0 -1046
- package/DecentralCardGame.cardchain.cardchain/registry.js +0 -85
- package/DecentralCardGame.cardchain.cardchain/rest.js +0 -396
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/card.js +0 -562
- 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 -254
- 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 -1980
- 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/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/google/api/http.js +0 -260
- package/DecentralCardGame.cardchain.cardchain/types/google/protobuf/descriptor.js +0 -2830
- package/DecentralCardGame.cardchain.cardchain/types.js +0 -23
- 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/query/v1beta1/pagination.js +0 -190
- 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/timestamp.js +0 -84
- 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_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_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/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
- /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/card.ts +0 -0
- /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/collection.ts +0 -0
- /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/collection_proposal.ts +0 -0
- /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/copyright_proposal.ts +0 -0
- /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/council.ts +0 -0
- /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/image.ts +0 -0
- /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/match.ts +0 -0
- /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/match_reporter_proposal.ts +0 -0
- /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/num.ts +0 -0
- /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/params.ts +0 -0
- /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/query.ts +0 -0
- /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/running_average.ts +0 -0
- /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/sell_offer.ts +0 -0
- /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/server.ts +0 -0
- /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/user.ts +0 -0
- /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/vote_right.ts +0 -0
- /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/voting_result.ts +0 -0
- /package/DecentralCardGame.cardchain.cardchain/types/{cardchain → DecentralCardGame/cardchain}/cardchain/voting_results.ts +0 -0
- /package/{cosmos.authz.v1beta1/types/cosmos/msg/v1/msg.js → cosmos.auth.v1beta1/types/cosmos/msg/v1/msg.ts} +0 -0
- /package/{cosmos.bank.v1beta1/types/cosmos/msg/v1/msg.js → cosmos.consensus.v1/types/cosmos/msg/v1/msg.ts} +0 -0
- /package/{DecentralCardGame.cardchain.cardchain/types/gogoproto/gogo.js → cosmos.consensus.v1/types/gogoproto/gogo.ts} +0 -0
- /package/{DecentralCardGame.cardchain.cardchain/types/google/api/annotations.js → cosmos.consensus.v1/types/google/api/annotations.ts} +0 -0
- /package/{cosmos.crisis.v1beta1/types/cosmos/msg/v1/msg.js → cosmos.mint.v1beta1/types/cosmos/msg/v1/msg.ts} +0 -0
|
@@ -1,4294 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
import Long from "long";
|
|
3
|
-
import _m0 from "protobufjs/minimal";
|
|
4
|
-
import { Coin } from "../../cosmos/base/v1beta1/coin";
|
|
5
|
-
import { responseFromJSON, responseToJSON } from "./council";
|
|
6
|
-
export const protobufPackage = "DecentralCardGame.cardchain.cardchain";
|
|
7
|
-
export var Outcome;
|
|
8
|
-
(function (Outcome) {
|
|
9
|
-
Outcome[Outcome["AWon"] = 0] = "AWon";
|
|
10
|
-
Outcome[Outcome["BWon"] = 1] = "BWon";
|
|
11
|
-
Outcome[Outcome["Draw"] = 2] = "Draw";
|
|
12
|
-
Outcome[Outcome["Aborted"] = 3] = "Aborted";
|
|
13
|
-
Outcome[Outcome["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
14
|
-
})(Outcome || (Outcome = {}));
|
|
15
|
-
export function outcomeFromJSON(object) {
|
|
16
|
-
switch (object) {
|
|
17
|
-
case 0:
|
|
18
|
-
case "AWon":
|
|
19
|
-
return Outcome.AWon;
|
|
20
|
-
case 1:
|
|
21
|
-
case "BWon":
|
|
22
|
-
return Outcome.BWon;
|
|
23
|
-
case 2:
|
|
24
|
-
case "Draw":
|
|
25
|
-
return Outcome.Draw;
|
|
26
|
-
case 3:
|
|
27
|
-
case "Aborted":
|
|
28
|
-
return Outcome.Aborted;
|
|
29
|
-
case -1:
|
|
30
|
-
case "UNRECOGNIZED":
|
|
31
|
-
default:
|
|
32
|
-
return Outcome.UNRECOGNIZED;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
export function outcomeToJSON(object) {
|
|
36
|
-
switch (object) {
|
|
37
|
-
case Outcome.AWon:
|
|
38
|
-
return "AWon";
|
|
39
|
-
case Outcome.BWon:
|
|
40
|
-
return "BWon";
|
|
41
|
-
case Outcome.Draw:
|
|
42
|
-
return "Draw";
|
|
43
|
-
case Outcome.Aborted:
|
|
44
|
-
return "Aborted";
|
|
45
|
-
case Outcome.UNRECOGNIZED:
|
|
46
|
-
default:
|
|
47
|
-
return "UNRECOGNIZED";
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
function createBaseMsgCreateuser() {
|
|
51
|
-
return { creator: "", newUser: "", alias: "" };
|
|
52
|
-
}
|
|
53
|
-
export const MsgCreateuser = {
|
|
54
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
55
|
-
if (message.creator !== "") {
|
|
56
|
-
writer.uint32(10).string(message.creator);
|
|
57
|
-
}
|
|
58
|
-
if (message.newUser !== "") {
|
|
59
|
-
writer.uint32(18).string(message.newUser);
|
|
60
|
-
}
|
|
61
|
-
if (message.alias !== "") {
|
|
62
|
-
writer.uint32(26).string(message.alias);
|
|
63
|
-
}
|
|
64
|
-
return writer;
|
|
65
|
-
},
|
|
66
|
-
decode(input, length) {
|
|
67
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
68
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
69
|
-
const message = createBaseMsgCreateuser();
|
|
70
|
-
while (reader.pos < end) {
|
|
71
|
-
const tag = reader.uint32();
|
|
72
|
-
switch (tag >>> 3) {
|
|
73
|
-
case 1:
|
|
74
|
-
message.creator = reader.string();
|
|
75
|
-
break;
|
|
76
|
-
case 2:
|
|
77
|
-
message.newUser = reader.string();
|
|
78
|
-
break;
|
|
79
|
-
case 3:
|
|
80
|
-
message.alias = reader.string();
|
|
81
|
-
break;
|
|
82
|
-
default:
|
|
83
|
-
reader.skipType(tag & 7);
|
|
84
|
-
break;
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
return message;
|
|
88
|
-
},
|
|
89
|
-
fromJSON(object) {
|
|
90
|
-
return {
|
|
91
|
-
creator: isSet(object.creator) ? String(object.creator) : "",
|
|
92
|
-
newUser: isSet(object.newUser) ? String(object.newUser) : "",
|
|
93
|
-
alias: isSet(object.alias) ? String(object.alias) : "",
|
|
94
|
-
};
|
|
95
|
-
},
|
|
96
|
-
toJSON(message) {
|
|
97
|
-
const obj = {};
|
|
98
|
-
message.creator !== undefined && (obj.creator = message.creator);
|
|
99
|
-
message.newUser !== undefined && (obj.newUser = message.newUser);
|
|
100
|
-
message.alias !== undefined && (obj.alias = message.alias);
|
|
101
|
-
return obj;
|
|
102
|
-
},
|
|
103
|
-
fromPartial(object) {
|
|
104
|
-
const message = createBaseMsgCreateuser();
|
|
105
|
-
message.creator = object.creator ?? "";
|
|
106
|
-
message.newUser = object.newUser ?? "";
|
|
107
|
-
message.alias = object.alias ?? "";
|
|
108
|
-
return message;
|
|
109
|
-
},
|
|
110
|
-
};
|
|
111
|
-
function createBaseMsgCreateuserResponse() {
|
|
112
|
-
return {};
|
|
113
|
-
}
|
|
114
|
-
export const MsgCreateuserResponse = {
|
|
115
|
-
encode(_, writer = _m0.Writer.create()) {
|
|
116
|
-
return writer;
|
|
117
|
-
},
|
|
118
|
-
decode(input, length) {
|
|
119
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
120
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
121
|
-
const message = createBaseMsgCreateuserResponse();
|
|
122
|
-
while (reader.pos < end) {
|
|
123
|
-
const tag = reader.uint32();
|
|
124
|
-
switch (tag >>> 3) {
|
|
125
|
-
default:
|
|
126
|
-
reader.skipType(tag & 7);
|
|
127
|
-
break;
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
return message;
|
|
131
|
-
},
|
|
132
|
-
fromJSON(_) {
|
|
133
|
-
return {};
|
|
134
|
-
},
|
|
135
|
-
toJSON(_) {
|
|
136
|
-
const obj = {};
|
|
137
|
-
return obj;
|
|
138
|
-
},
|
|
139
|
-
fromPartial(_) {
|
|
140
|
-
const message = createBaseMsgCreateuserResponse();
|
|
141
|
-
return message;
|
|
142
|
-
},
|
|
143
|
-
};
|
|
144
|
-
function createBaseMsgBuyCardScheme() {
|
|
145
|
-
return { creator: "", bid: undefined };
|
|
146
|
-
}
|
|
147
|
-
export const MsgBuyCardScheme = {
|
|
148
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
149
|
-
if (message.creator !== "") {
|
|
150
|
-
writer.uint32(10).string(message.creator);
|
|
151
|
-
}
|
|
152
|
-
if (message.bid !== undefined) {
|
|
153
|
-
Coin.encode(message.bid, writer.uint32(18).fork()).ldelim();
|
|
154
|
-
}
|
|
155
|
-
return writer;
|
|
156
|
-
},
|
|
157
|
-
decode(input, length) {
|
|
158
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
159
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
160
|
-
const message = createBaseMsgBuyCardScheme();
|
|
161
|
-
while (reader.pos < end) {
|
|
162
|
-
const tag = reader.uint32();
|
|
163
|
-
switch (tag >>> 3) {
|
|
164
|
-
case 1:
|
|
165
|
-
message.creator = reader.string();
|
|
166
|
-
break;
|
|
167
|
-
case 2:
|
|
168
|
-
message.bid = Coin.decode(reader, reader.uint32());
|
|
169
|
-
break;
|
|
170
|
-
default:
|
|
171
|
-
reader.skipType(tag & 7);
|
|
172
|
-
break;
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
return message;
|
|
176
|
-
},
|
|
177
|
-
fromJSON(object) {
|
|
178
|
-
return {
|
|
179
|
-
creator: isSet(object.creator) ? String(object.creator) : "",
|
|
180
|
-
bid: isSet(object.bid) ? Coin.fromJSON(object.bid) : undefined,
|
|
181
|
-
};
|
|
182
|
-
},
|
|
183
|
-
toJSON(message) {
|
|
184
|
-
const obj = {};
|
|
185
|
-
message.creator !== undefined && (obj.creator = message.creator);
|
|
186
|
-
message.bid !== undefined && (obj.bid = message.bid ? Coin.toJSON(message.bid) : undefined);
|
|
187
|
-
return obj;
|
|
188
|
-
},
|
|
189
|
-
fromPartial(object) {
|
|
190
|
-
const message = createBaseMsgBuyCardScheme();
|
|
191
|
-
message.creator = object.creator ?? "";
|
|
192
|
-
message.bid = (object.bid !== undefined && object.bid !== null) ? Coin.fromPartial(object.bid) : undefined;
|
|
193
|
-
return message;
|
|
194
|
-
},
|
|
195
|
-
};
|
|
196
|
-
function createBaseMsgBuyCardSchemeResponse() {
|
|
197
|
-
return {};
|
|
198
|
-
}
|
|
199
|
-
export const MsgBuyCardSchemeResponse = {
|
|
200
|
-
encode(_, writer = _m0.Writer.create()) {
|
|
201
|
-
return writer;
|
|
202
|
-
},
|
|
203
|
-
decode(input, length) {
|
|
204
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
205
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
206
|
-
const message = createBaseMsgBuyCardSchemeResponse();
|
|
207
|
-
while (reader.pos < end) {
|
|
208
|
-
const tag = reader.uint32();
|
|
209
|
-
switch (tag >>> 3) {
|
|
210
|
-
default:
|
|
211
|
-
reader.skipType(tag & 7);
|
|
212
|
-
break;
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
return message;
|
|
216
|
-
},
|
|
217
|
-
fromJSON(_) {
|
|
218
|
-
return {};
|
|
219
|
-
},
|
|
220
|
-
toJSON(_) {
|
|
221
|
-
const obj = {};
|
|
222
|
-
return obj;
|
|
223
|
-
},
|
|
224
|
-
fromPartial(_) {
|
|
225
|
-
const message = createBaseMsgBuyCardSchemeResponse();
|
|
226
|
-
return message;
|
|
227
|
-
},
|
|
228
|
-
};
|
|
229
|
-
function createBaseMsgVoteCard() {
|
|
230
|
-
return { creator: "", cardId: 0, voteType: "" };
|
|
231
|
-
}
|
|
232
|
-
export const MsgVoteCard = {
|
|
233
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
234
|
-
if (message.creator !== "") {
|
|
235
|
-
writer.uint32(10).string(message.creator);
|
|
236
|
-
}
|
|
237
|
-
if (message.cardId !== 0) {
|
|
238
|
-
writer.uint32(16).uint64(message.cardId);
|
|
239
|
-
}
|
|
240
|
-
if (message.voteType !== "") {
|
|
241
|
-
writer.uint32(26).string(message.voteType);
|
|
242
|
-
}
|
|
243
|
-
return writer;
|
|
244
|
-
},
|
|
245
|
-
decode(input, length) {
|
|
246
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
247
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
248
|
-
const message = createBaseMsgVoteCard();
|
|
249
|
-
while (reader.pos < end) {
|
|
250
|
-
const tag = reader.uint32();
|
|
251
|
-
switch (tag >>> 3) {
|
|
252
|
-
case 1:
|
|
253
|
-
message.creator = reader.string();
|
|
254
|
-
break;
|
|
255
|
-
case 2:
|
|
256
|
-
message.cardId = longToNumber(reader.uint64());
|
|
257
|
-
break;
|
|
258
|
-
case 3:
|
|
259
|
-
message.voteType = reader.string();
|
|
260
|
-
break;
|
|
261
|
-
default:
|
|
262
|
-
reader.skipType(tag & 7);
|
|
263
|
-
break;
|
|
264
|
-
}
|
|
265
|
-
}
|
|
266
|
-
return message;
|
|
267
|
-
},
|
|
268
|
-
fromJSON(object) {
|
|
269
|
-
return {
|
|
270
|
-
creator: isSet(object.creator) ? String(object.creator) : "",
|
|
271
|
-
cardId: isSet(object.cardId) ? Number(object.cardId) : 0,
|
|
272
|
-
voteType: isSet(object.voteType) ? String(object.voteType) : "",
|
|
273
|
-
};
|
|
274
|
-
},
|
|
275
|
-
toJSON(message) {
|
|
276
|
-
const obj = {};
|
|
277
|
-
message.creator !== undefined && (obj.creator = message.creator);
|
|
278
|
-
message.cardId !== undefined && (obj.cardId = Math.round(message.cardId));
|
|
279
|
-
message.voteType !== undefined && (obj.voteType = message.voteType);
|
|
280
|
-
return obj;
|
|
281
|
-
},
|
|
282
|
-
fromPartial(object) {
|
|
283
|
-
const message = createBaseMsgVoteCard();
|
|
284
|
-
message.creator = object.creator ?? "";
|
|
285
|
-
message.cardId = object.cardId ?? 0;
|
|
286
|
-
message.voteType = object.voteType ?? "";
|
|
287
|
-
return message;
|
|
288
|
-
},
|
|
289
|
-
};
|
|
290
|
-
function createBaseMsgVoteCardResponse() {
|
|
291
|
-
return { airdropClaimed: false };
|
|
292
|
-
}
|
|
293
|
-
export const MsgVoteCardResponse = {
|
|
294
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
295
|
-
if (message.airdropClaimed === true) {
|
|
296
|
-
writer.uint32(8).bool(message.airdropClaimed);
|
|
297
|
-
}
|
|
298
|
-
return writer;
|
|
299
|
-
},
|
|
300
|
-
decode(input, length) {
|
|
301
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
302
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
303
|
-
const message = createBaseMsgVoteCardResponse();
|
|
304
|
-
while (reader.pos < end) {
|
|
305
|
-
const tag = reader.uint32();
|
|
306
|
-
switch (tag >>> 3) {
|
|
307
|
-
case 1:
|
|
308
|
-
message.airdropClaimed = reader.bool();
|
|
309
|
-
break;
|
|
310
|
-
default:
|
|
311
|
-
reader.skipType(tag & 7);
|
|
312
|
-
break;
|
|
313
|
-
}
|
|
314
|
-
}
|
|
315
|
-
return message;
|
|
316
|
-
},
|
|
317
|
-
fromJSON(object) {
|
|
318
|
-
return { airdropClaimed: isSet(object.airdropClaimed) ? Boolean(object.airdropClaimed) : false };
|
|
319
|
-
},
|
|
320
|
-
toJSON(message) {
|
|
321
|
-
const obj = {};
|
|
322
|
-
message.airdropClaimed !== undefined && (obj.airdropClaimed = message.airdropClaimed);
|
|
323
|
-
return obj;
|
|
324
|
-
},
|
|
325
|
-
fromPartial(object) {
|
|
326
|
-
const message = createBaseMsgVoteCardResponse();
|
|
327
|
-
message.airdropClaimed = object.airdropClaimed ?? false;
|
|
328
|
-
return message;
|
|
329
|
-
},
|
|
330
|
-
};
|
|
331
|
-
function createBaseMsgSaveCardContent() {
|
|
332
|
-
return { creator: "", cardId: 0, content: new Uint8Array(), notes: "", artist: "", balanceAnchor: false };
|
|
333
|
-
}
|
|
334
|
-
export const MsgSaveCardContent = {
|
|
335
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
336
|
-
if (message.creator !== "") {
|
|
337
|
-
writer.uint32(10).string(message.creator);
|
|
338
|
-
}
|
|
339
|
-
if (message.cardId !== 0) {
|
|
340
|
-
writer.uint32(16).uint64(message.cardId);
|
|
341
|
-
}
|
|
342
|
-
if (message.content.length !== 0) {
|
|
343
|
-
writer.uint32(26).bytes(message.content);
|
|
344
|
-
}
|
|
345
|
-
if (message.notes !== "") {
|
|
346
|
-
writer.uint32(34).string(message.notes);
|
|
347
|
-
}
|
|
348
|
-
if (message.artist !== "") {
|
|
349
|
-
writer.uint32(42).string(message.artist);
|
|
350
|
-
}
|
|
351
|
-
if (message.balanceAnchor === true) {
|
|
352
|
-
writer.uint32(48).bool(message.balanceAnchor);
|
|
353
|
-
}
|
|
354
|
-
return writer;
|
|
355
|
-
},
|
|
356
|
-
decode(input, length) {
|
|
357
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
358
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
359
|
-
const message = createBaseMsgSaveCardContent();
|
|
360
|
-
while (reader.pos < end) {
|
|
361
|
-
const tag = reader.uint32();
|
|
362
|
-
switch (tag >>> 3) {
|
|
363
|
-
case 1:
|
|
364
|
-
message.creator = reader.string();
|
|
365
|
-
break;
|
|
366
|
-
case 2:
|
|
367
|
-
message.cardId = longToNumber(reader.uint64());
|
|
368
|
-
break;
|
|
369
|
-
case 3:
|
|
370
|
-
message.content = reader.bytes();
|
|
371
|
-
break;
|
|
372
|
-
case 4:
|
|
373
|
-
message.notes = reader.string();
|
|
374
|
-
break;
|
|
375
|
-
case 5:
|
|
376
|
-
message.artist = reader.string();
|
|
377
|
-
break;
|
|
378
|
-
case 6:
|
|
379
|
-
message.balanceAnchor = reader.bool();
|
|
380
|
-
break;
|
|
381
|
-
default:
|
|
382
|
-
reader.skipType(tag & 7);
|
|
383
|
-
break;
|
|
384
|
-
}
|
|
385
|
-
}
|
|
386
|
-
return message;
|
|
387
|
-
},
|
|
388
|
-
fromJSON(object) {
|
|
389
|
-
return {
|
|
390
|
-
creator: isSet(object.creator) ? String(object.creator) : "",
|
|
391
|
-
cardId: isSet(object.cardId) ? Number(object.cardId) : 0,
|
|
392
|
-
content: isSet(object.content) ? bytesFromBase64(object.content) : new Uint8Array(),
|
|
393
|
-
notes: isSet(object.notes) ? String(object.notes) : "",
|
|
394
|
-
artist: isSet(object.artist) ? String(object.artist) : "",
|
|
395
|
-
balanceAnchor: isSet(object.balanceAnchor) ? Boolean(object.balanceAnchor) : false,
|
|
396
|
-
};
|
|
397
|
-
},
|
|
398
|
-
toJSON(message) {
|
|
399
|
-
const obj = {};
|
|
400
|
-
message.creator !== undefined && (obj.creator = message.creator);
|
|
401
|
-
message.cardId !== undefined && (obj.cardId = Math.round(message.cardId));
|
|
402
|
-
message.content !== undefined
|
|
403
|
-
&& (obj.content = base64FromBytes(message.content !== undefined ? message.content : new Uint8Array()));
|
|
404
|
-
message.notes !== undefined && (obj.notes = message.notes);
|
|
405
|
-
message.artist !== undefined && (obj.artist = message.artist);
|
|
406
|
-
message.balanceAnchor !== undefined && (obj.balanceAnchor = message.balanceAnchor);
|
|
407
|
-
return obj;
|
|
408
|
-
},
|
|
409
|
-
fromPartial(object) {
|
|
410
|
-
const message = createBaseMsgSaveCardContent();
|
|
411
|
-
message.creator = object.creator ?? "";
|
|
412
|
-
message.cardId = object.cardId ?? 0;
|
|
413
|
-
message.content = object.content ?? new Uint8Array();
|
|
414
|
-
message.notes = object.notes ?? "";
|
|
415
|
-
message.artist = object.artist ?? "";
|
|
416
|
-
message.balanceAnchor = object.balanceAnchor ?? false;
|
|
417
|
-
return message;
|
|
418
|
-
},
|
|
419
|
-
};
|
|
420
|
-
function createBaseMsgSaveCardContentResponse() {
|
|
421
|
-
return { airdropClaimed: false };
|
|
422
|
-
}
|
|
423
|
-
export const MsgSaveCardContentResponse = {
|
|
424
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
425
|
-
if (message.airdropClaimed === true) {
|
|
426
|
-
writer.uint32(8).bool(message.airdropClaimed);
|
|
427
|
-
}
|
|
428
|
-
return writer;
|
|
429
|
-
},
|
|
430
|
-
decode(input, length) {
|
|
431
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
432
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
433
|
-
const message = createBaseMsgSaveCardContentResponse();
|
|
434
|
-
while (reader.pos < end) {
|
|
435
|
-
const tag = reader.uint32();
|
|
436
|
-
switch (tag >>> 3) {
|
|
437
|
-
case 1:
|
|
438
|
-
message.airdropClaimed = reader.bool();
|
|
439
|
-
break;
|
|
440
|
-
default:
|
|
441
|
-
reader.skipType(tag & 7);
|
|
442
|
-
break;
|
|
443
|
-
}
|
|
444
|
-
}
|
|
445
|
-
return message;
|
|
446
|
-
},
|
|
447
|
-
fromJSON(object) {
|
|
448
|
-
return { airdropClaimed: isSet(object.airdropClaimed) ? Boolean(object.airdropClaimed) : false };
|
|
449
|
-
},
|
|
450
|
-
toJSON(message) {
|
|
451
|
-
const obj = {};
|
|
452
|
-
message.airdropClaimed !== undefined && (obj.airdropClaimed = message.airdropClaimed);
|
|
453
|
-
return obj;
|
|
454
|
-
},
|
|
455
|
-
fromPartial(object) {
|
|
456
|
-
const message = createBaseMsgSaveCardContentResponse();
|
|
457
|
-
message.airdropClaimed = object.airdropClaimed ?? false;
|
|
458
|
-
return message;
|
|
459
|
-
},
|
|
460
|
-
};
|
|
461
|
-
function createBaseMsgTransferCard() {
|
|
462
|
-
return { creator: "", cardId: 0, receiver: "" };
|
|
463
|
-
}
|
|
464
|
-
export const MsgTransferCard = {
|
|
465
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
466
|
-
if (message.creator !== "") {
|
|
467
|
-
writer.uint32(10).string(message.creator);
|
|
468
|
-
}
|
|
469
|
-
if (message.cardId !== 0) {
|
|
470
|
-
writer.uint32(16).uint64(message.cardId);
|
|
471
|
-
}
|
|
472
|
-
if (message.receiver !== "") {
|
|
473
|
-
writer.uint32(34).string(message.receiver);
|
|
474
|
-
}
|
|
475
|
-
return writer;
|
|
476
|
-
},
|
|
477
|
-
decode(input, length) {
|
|
478
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
479
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
480
|
-
const message = createBaseMsgTransferCard();
|
|
481
|
-
while (reader.pos < end) {
|
|
482
|
-
const tag = reader.uint32();
|
|
483
|
-
switch (tag >>> 3) {
|
|
484
|
-
case 1:
|
|
485
|
-
message.creator = reader.string();
|
|
486
|
-
break;
|
|
487
|
-
case 2:
|
|
488
|
-
message.cardId = longToNumber(reader.uint64());
|
|
489
|
-
break;
|
|
490
|
-
case 4:
|
|
491
|
-
message.receiver = reader.string();
|
|
492
|
-
break;
|
|
493
|
-
default:
|
|
494
|
-
reader.skipType(tag & 7);
|
|
495
|
-
break;
|
|
496
|
-
}
|
|
497
|
-
}
|
|
498
|
-
return message;
|
|
499
|
-
},
|
|
500
|
-
fromJSON(object) {
|
|
501
|
-
return {
|
|
502
|
-
creator: isSet(object.creator) ? String(object.creator) : "",
|
|
503
|
-
cardId: isSet(object.cardId) ? Number(object.cardId) : 0,
|
|
504
|
-
receiver: isSet(object.receiver) ? String(object.receiver) : "",
|
|
505
|
-
};
|
|
506
|
-
},
|
|
507
|
-
toJSON(message) {
|
|
508
|
-
const obj = {};
|
|
509
|
-
message.creator !== undefined && (obj.creator = message.creator);
|
|
510
|
-
message.cardId !== undefined && (obj.cardId = Math.round(message.cardId));
|
|
511
|
-
message.receiver !== undefined && (obj.receiver = message.receiver);
|
|
512
|
-
return obj;
|
|
513
|
-
},
|
|
514
|
-
fromPartial(object) {
|
|
515
|
-
const message = createBaseMsgTransferCard();
|
|
516
|
-
message.creator = object.creator ?? "";
|
|
517
|
-
message.cardId = object.cardId ?? 0;
|
|
518
|
-
message.receiver = object.receiver ?? "";
|
|
519
|
-
return message;
|
|
520
|
-
},
|
|
521
|
-
};
|
|
522
|
-
function createBaseMsgTransferCardResponse() {
|
|
523
|
-
return {};
|
|
524
|
-
}
|
|
525
|
-
export const MsgTransferCardResponse = {
|
|
526
|
-
encode(_, writer = _m0.Writer.create()) {
|
|
527
|
-
return writer;
|
|
528
|
-
},
|
|
529
|
-
decode(input, length) {
|
|
530
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
531
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
532
|
-
const message = createBaseMsgTransferCardResponse();
|
|
533
|
-
while (reader.pos < end) {
|
|
534
|
-
const tag = reader.uint32();
|
|
535
|
-
switch (tag >>> 3) {
|
|
536
|
-
default:
|
|
537
|
-
reader.skipType(tag & 7);
|
|
538
|
-
break;
|
|
539
|
-
}
|
|
540
|
-
}
|
|
541
|
-
return message;
|
|
542
|
-
},
|
|
543
|
-
fromJSON(_) {
|
|
544
|
-
return {};
|
|
545
|
-
},
|
|
546
|
-
toJSON(_) {
|
|
547
|
-
const obj = {};
|
|
548
|
-
return obj;
|
|
549
|
-
},
|
|
550
|
-
fromPartial(_) {
|
|
551
|
-
const message = createBaseMsgTransferCardResponse();
|
|
552
|
-
return message;
|
|
553
|
-
},
|
|
554
|
-
};
|
|
555
|
-
function createBaseMsgDonateToCard() {
|
|
556
|
-
return { creator: "", cardId: 0, amount: "" };
|
|
557
|
-
}
|
|
558
|
-
export const MsgDonateToCard = {
|
|
559
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
560
|
-
if (message.creator !== "") {
|
|
561
|
-
writer.uint32(10).string(message.creator);
|
|
562
|
-
}
|
|
563
|
-
if (message.cardId !== 0) {
|
|
564
|
-
writer.uint32(16).uint64(message.cardId);
|
|
565
|
-
}
|
|
566
|
-
if (message.amount !== "") {
|
|
567
|
-
writer.uint32(26).string(message.amount);
|
|
568
|
-
}
|
|
569
|
-
return writer;
|
|
570
|
-
},
|
|
571
|
-
decode(input, length) {
|
|
572
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
573
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
574
|
-
const message = createBaseMsgDonateToCard();
|
|
575
|
-
while (reader.pos < end) {
|
|
576
|
-
const tag = reader.uint32();
|
|
577
|
-
switch (tag >>> 3) {
|
|
578
|
-
case 1:
|
|
579
|
-
message.creator = reader.string();
|
|
580
|
-
break;
|
|
581
|
-
case 2:
|
|
582
|
-
message.cardId = longToNumber(reader.uint64());
|
|
583
|
-
break;
|
|
584
|
-
case 3:
|
|
585
|
-
message.amount = reader.string();
|
|
586
|
-
break;
|
|
587
|
-
default:
|
|
588
|
-
reader.skipType(tag & 7);
|
|
589
|
-
break;
|
|
590
|
-
}
|
|
591
|
-
}
|
|
592
|
-
return message;
|
|
593
|
-
},
|
|
594
|
-
fromJSON(object) {
|
|
595
|
-
return {
|
|
596
|
-
creator: isSet(object.creator) ? String(object.creator) : "",
|
|
597
|
-
cardId: isSet(object.cardId) ? Number(object.cardId) : 0,
|
|
598
|
-
amount: isSet(object.amount) ? String(object.amount) : "",
|
|
599
|
-
};
|
|
600
|
-
},
|
|
601
|
-
toJSON(message) {
|
|
602
|
-
const obj = {};
|
|
603
|
-
message.creator !== undefined && (obj.creator = message.creator);
|
|
604
|
-
message.cardId !== undefined && (obj.cardId = Math.round(message.cardId));
|
|
605
|
-
message.amount !== undefined && (obj.amount = message.amount);
|
|
606
|
-
return obj;
|
|
607
|
-
},
|
|
608
|
-
fromPartial(object) {
|
|
609
|
-
const message = createBaseMsgDonateToCard();
|
|
610
|
-
message.creator = object.creator ?? "";
|
|
611
|
-
message.cardId = object.cardId ?? 0;
|
|
612
|
-
message.amount = object.amount ?? "";
|
|
613
|
-
return message;
|
|
614
|
-
},
|
|
615
|
-
};
|
|
616
|
-
function createBaseMsgDonateToCardResponse() {
|
|
617
|
-
return {};
|
|
618
|
-
}
|
|
619
|
-
export const MsgDonateToCardResponse = {
|
|
620
|
-
encode(_, writer = _m0.Writer.create()) {
|
|
621
|
-
return writer;
|
|
622
|
-
},
|
|
623
|
-
decode(input, length) {
|
|
624
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
625
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
626
|
-
const message = createBaseMsgDonateToCardResponse();
|
|
627
|
-
while (reader.pos < end) {
|
|
628
|
-
const tag = reader.uint32();
|
|
629
|
-
switch (tag >>> 3) {
|
|
630
|
-
default:
|
|
631
|
-
reader.skipType(tag & 7);
|
|
632
|
-
break;
|
|
633
|
-
}
|
|
634
|
-
}
|
|
635
|
-
return message;
|
|
636
|
-
},
|
|
637
|
-
fromJSON(_) {
|
|
638
|
-
return {};
|
|
639
|
-
},
|
|
640
|
-
toJSON(_) {
|
|
641
|
-
const obj = {};
|
|
642
|
-
return obj;
|
|
643
|
-
},
|
|
644
|
-
fromPartial(_) {
|
|
645
|
-
const message = createBaseMsgDonateToCardResponse();
|
|
646
|
-
return message;
|
|
647
|
-
},
|
|
648
|
-
};
|
|
649
|
-
function createBaseMsgAddArtwork() {
|
|
650
|
-
return { creator: "", cardId: 0, image: new Uint8Array(), fullArt: false };
|
|
651
|
-
}
|
|
652
|
-
export const MsgAddArtwork = {
|
|
653
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
654
|
-
if (message.creator !== "") {
|
|
655
|
-
writer.uint32(10).string(message.creator);
|
|
656
|
-
}
|
|
657
|
-
if (message.cardId !== 0) {
|
|
658
|
-
writer.uint32(16).uint64(message.cardId);
|
|
659
|
-
}
|
|
660
|
-
if (message.image.length !== 0) {
|
|
661
|
-
writer.uint32(26).bytes(message.image);
|
|
662
|
-
}
|
|
663
|
-
if (message.fullArt === true) {
|
|
664
|
-
writer.uint32(32).bool(message.fullArt);
|
|
665
|
-
}
|
|
666
|
-
return writer;
|
|
667
|
-
},
|
|
668
|
-
decode(input, length) {
|
|
669
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
670
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
671
|
-
const message = createBaseMsgAddArtwork();
|
|
672
|
-
while (reader.pos < end) {
|
|
673
|
-
const tag = reader.uint32();
|
|
674
|
-
switch (tag >>> 3) {
|
|
675
|
-
case 1:
|
|
676
|
-
message.creator = reader.string();
|
|
677
|
-
break;
|
|
678
|
-
case 2:
|
|
679
|
-
message.cardId = longToNumber(reader.uint64());
|
|
680
|
-
break;
|
|
681
|
-
case 3:
|
|
682
|
-
message.image = reader.bytes();
|
|
683
|
-
break;
|
|
684
|
-
case 4:
|
|
685
|
-
message.fullArt = reader.bool();
|
|
686
|
-
break;
|
|
687
|
-
default:
|
|
688
|
-
reader.skipType(tag & 7);
|
|
689
|
-
break;
|
|
690
|
-
}
|
|
691
|
-
}
|
|
692
|
-
return message;
|
|
693
|
-
},
|
|
694
|
-
fromJSON(object) {
|
|
695
|
-
return {
|
|
696
|
-
creator: isSet(object.creator) ? String(object.creator) : "",
|
|
697
|
-
cardId: isSet(object.cardId) ? Number(object.cardId) : 0,
|
|
698
|
-
image: isSet(object.image) ? bytesFromBase64(object.image) : new Uint8Array(),
|
|
699
|
-
fullArt: isSet(object.fullArt) ? Boolean(object.fullArt) : false,
|
|
700
|
-
};
|
|
701
|
-
},
|
|
702
|
-
toJSON(message) {
|
|
703
|
-
const obj = {};
|
|
704
|
-
message.creator !== undefined && (obj.creator = message.creator);
|
|
705
|
-
message.cardId !== undefined && (obj.cardId = Math.round(message.cardId));
|
|
706
|
-
message.image !== undefined
|
|
707
|
-
&& (obj.image = base64FromBytes(message.image !== undefined ? message.image : new Uint8Array()));
|
|
708
|
-
message.fullArt !== undefined && (obj.fullArt = message.fullArt);
|
|
709
|
-
return obj;
|
|
710
|
-
},
|
|
711
|
-
fromPartial(object) {
|
|
712
|
-
const message = createBaseMsgAddArtwork();
|
|
713
|
-
message.creator = object.creator ?? "";
|
|
714
|
-
message.cardId = object.cardId ?? 0;
|
|
715
|
-
message.image = object.image ?? new Uint8Array();
|
|
716
|
-
message.fullArt = object.fullArt ?? false;
|
|
717
|
-
return message;
|
|
718
|
-
},
|
|
719
|
-
};
|
|
720
|
-
function createBaseMsgAddArtworkResponse() {
|
|
721
|
-
return {};
|
|
722
|
-
}
|
|
723
|
-
export const MsgAddArtworkResponse = {
|
|
724
|
-
encode(_, writer = _m0.Writer.create()) {
|
|
725
|
-
return writer;
|
|
726
|
-
},
|
|
727
|
-
decode(input, length) {
|
|
728
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
729
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
730
|
-
const message = createBaseMsgAddArtworkResponse();
|
|
731
|
-
while (reader.pos < end) {
|
|
732
|
-
const tag = reader.uint32();
|
|
733
|
-
switch (tag >>> 3) {
|
|
734
|
-
default:
|
|
735
|
-
reader.skipType(tag & 7);
|
|
736
|
-
break;
|
|
737
|
-
}
|
|
738
|
-
}
|
|
739
|
-
return message;
|
|
740
|
-
},
|
|
741
|
-
fromJSON(_) {
|
|
742
|
-
return {};
|
|
743
|
-
},
|
|
744
|
-
toJSON(_) {
|
|
745
|
-
const obj = {};
|
|
746
|
-
return obj;
|
|
747
|
-
},
|
|
748
|
-
fromPartial(_) {
|
|
749
|
-
const message = createBaseMsgAddArtworkResponse();
|
|
750
|
-
return message;
|
|
751
|
-
},
|
|
752
|
-
};
|
|
753
|
-
function createBaseMsgSubmitCopyrightProposal() {
|
|
754
|
-
return { creator: "", cardId: 0, description: "", link: "" };
|
|
755
|
-
}
|
|
756
|
-
export const MsgSubmitCopyrightProposal = {
|
|
757
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
758
|
-
if (message.creator !== "") {
|
|
759
|
-
writer.uint32(10).string(message.creator);
|
|
760
|
-
}
|
|
761
|
-
if (message.cardId !== 0) {
|
|
762
|
-
writer.uint32(16).uint64(message.cardId);
|
|
763
|
-
}
|
|
764
|
-
if (message.description !== "") {
|
|
765
|
-
writer.uint32(26).string(message.description);
|
|
766
|
-
}
|
|
767
|
-
if (message.link !== "") {
|
|
768
|
-
writer.uint32(34).string(message.link);
|
|
769
|
-
}
|
|
770
|
-
return writer;
|
|
771
|
-
},
|
|
772
|
-
decode(input, length) {
|
|
773
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
774
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
775
|
-
const message = createBaseMsgSubmitCopyrightProposal();
|
|
776
|
-
while (reader.pos < end) {
|
|
777
|
-
const tag = reader.uint32();
|
|
778
|
-
switch (tag >>> 3) {
|
|
779
|
-
case 1:
|
|
780
|
-
message.creator = reader.string();
|
|
781
|
-
break;
|
|
782
|
-
case 2:
|
|
783
|
-
message.cardId = longToNumber(reader.uint64());
|
|
784
|
-
break;
|
|
785
|
-
case 3:
|
|
786
|
-
message.description = reader.string();
|
|
787
|
-
break;
|
|
788
|
-
case 4:
|
|
789
|
-
message.link = reader.string();
|
|
790
|
-
break;
|
|
791
|
-
default:
|
|
792
|
-
reader.skipType(tag & 7);
|
|
793
|
-
break;
|
|
794
|
-
}
|
|
795
|
-
}
|
|
796
|
-
return message;
|
|
797
|
-
},
|
|
798
|
-
fromJSON(object) {
|
|
799
|
-
return {
|
|
800
|
-
creator: isSet(object.creator) ? String(object.creator) : "",
|
|
801
|
-
cardId: isSet(object.cardId) ? Number(object.cardId) : 0,
|
|
802
|
-
description: isSet(object.description) ? String(object.description) : "",
|
|
803
|
-
link: isSet(object.link) ? String(object.link) : "",
|
|
804
|
-
};
|
|
805
|
-
},
|
|
806
|
-
toJSON(message) {
|
|
807
|
-
const obj = {};
|
|
808
|
-
message.creator !== undefined && (obj.creator = message.creator);
|
|
809
|
-
message.cardId !== undefined && (obj.cardId = Math.round(message.cardId));
|
|
810
|
-
message.description !== undefined && (obj.description = message.description);
|
|
811
|
-
message.link !== undefined && (obj.link = message.link);
|
|
812
|
-
return obj;
|
|
813
|
-
},
|
|
814
|
-
fromPartial(object) {
|
|
815
|
-
const message = createBaseMsgSubmitCopyrightProposal();
|
|
816
|
-
message.creator = object.creator ?? "";
|
|
817
|
-
message.cardId = object.cardId ?? 0;
|
|
818
|
-
message.description = object.description ?? "";
|
|
819
|
-
message.link = object.link ?? "";
|
|
820
|
-
return message;
|
|
821
|
-
},
|
|
822
|
-
};
|
|
823
|
-
function createBaseMsgSubmitCopyrightProposalResponse() {
|
|
824
|
-
return {};
|
|
825
|
-
}
|
|
826
|
-
export const MsgSubmitCopyrightProposalResponse = {
|
|
827
|
-
encode(_, writer = _m0.Writer.create()) {
|
|
828
|
-
return writer;
|
|
829
|
-
},
|
|
830
|
-
decode(input, length) {
|
|
831
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
832
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
833
|
-
const message = createBaseMsgSubmitCopyrightProposalResponse();
|
|
834
|
-
while (reader.pos < end) {
|
|
835
|
-
const tag = reader.uint32();
|
|
836
|
-
switch (tag >>> 3) {
|
|
837
|
-
default:
|
|
838
|
-
reader.skipType(tag & 7);
|
|
839
|
-
break;
|
|
840
|
-
}
|
|
841
|
-
}
|
|
842
|
-
return message;
|
|
843
|
-
},
|
|
844
|
-
fromJSON(_) {
|
|
845
|
-
return {};
|
|
846
|
-
},
|
|
847
|
-
toJSON(_) {
|
|
848
|
-
const obj = {};
|
|
849
|
-
return obj;
|
|
850
|
-
},
|
|
851
|
-
fromPartial(_) {
|
|
852
|
-
const message = createBaseMsgSubmitCopyrightProposalResponse();
|
|
853
|
-
return message;
|
|
854
|
-
},
|
|
855
|
-
};
|
|
856
|
-
function createBaseMsgChangeArtist() {
|
|
857
|
-
return { creator: "", cardID: 0, artist: "" };
|
|
858
|
-
}
|
|
859
|
-
export const MsgChangeArtist = {
|
|
860
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
861
|
-
if (message.creator !== "") {
|
|
862
|
-
writer.uint32(10).string(message.creator);
|
|
863
|
-
}
|
|
864
|
-
if (message.cardID !== 0) {
|
|
865
|
-
writer.uint32(16).uint64(message.cardID);
|
|
866
|
-
}
|
|
867
|
-
if (message.artist !== "") {
|
|
868
|
-
writer.uint32(26).string(message.artist);
|
|
869
|
-
}
|
|
870
|
-
return writer;
|
|
871
|
-
},
|
|
872
|
-
decode(input, length) {
|
|
873
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
874
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
875
|
-
const message = createBaseMsgChangeArtist();
|
|
876
|
-
while (reader.pos < end) {
|
|
877
|
-
const tag = reader.uint32();
|
|
878
|
-
switch (tag >>> 3) {
|
|
879
|
-
case 1:
|
|
880
|
-
message.creator = reader.string();
|
|
881
|
-
break;
|
|
882
|
-
case 2:
|
|
883
|
-
message.cardID = longToNumber(reader.uint64());
|
|
884
|
-
break;
|
|
885
|
-
case 3:
|
|
886
|
-
message.artist = reader.string();
|
|
887
|
-
break;
|
|
888
|
-
default:
|
|
889
|
-
reader.skipType(tag & 7);
|
|
890
|
-
break;
|
|
891
|
-
}
|
|
892
|
-
}
|
|
893
|
-
return message;
|
|
894
|
-
},
|
|
895
|
-
fromJSON(object) {
|
|
896
|
-
return {
|
|
897
|
-
creator: isSet(object.creator) ? String(object.creator) : "",
|
|
898
|
-
cardID: isSet(object.cardID) ? Number(object.cardID) : 0,
|
|
899
|
-
artist: isSet(object.artist) ? String(object.artist) : "",
|
|
900
|
-
};
|
|
901
|
-
},
|
|
902
|
-
toJSON(message) {
|
|
903
|
-
const obj = {};
|
|
904
|
-
message.creator !== undefined && (obj.creator = message.creator);
|
|
905
|
-
message.cardID !== undefined && (obj.cardID = Math.round(message.cardID));
|
|
906
|
-
message.artist !== undefined && (obj.artist = message.artist);
|
|
907
|
-
return obj;
|
|
908
|
-
},
|
|
909
|
-
fromPartial(object) {
|
|
910
|
-
const message = createBaseMsgChangeArtist();
|
|
911
|
-
message.creator = object.creator ?? "";
|
|
912
|
-
message.cardID = object.cardID ?? 0;
|
|
913
|
-
message.artist = object.artist ?? "";
|
|
914
|
-
return message;
|
|
915
|
-
},
|
|
916
|
-
};
|
|
917
|
-
function createBaseMsgChangeArtistResponse() {
|
|
918
|
-
return {};
|
|
919
|
-
}
|
|
920
|
-
export const MsgChangeArtistResponse = {
|
|
921
|
-
encode(_, writer = _m0.Writer.create()) {
|
|
922
|
-
return writer;
|
|
923
|
-
},
|
|
924
|
-
decode(input, length) {
|
|
925
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
926
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
927
|
-
const message = createBaseMsgChangeArtistResponse();
|
|
928
|
-
while (reader.pos < end) {
|
|
929
|
-
const tag = reader.uint32();
|
|
930
|
-
switch (tag >>> 3) {
|
|
931
|
-
default:
|
|
932
|
-
reader.skipType(tag & 7);
|
|
933
|
-
break;
|
|
934
|
-
}
|
|
935
|
-
}
|
|
936
|
-
return message;
|
|
937
|
-
},
|
|
938
|
-
fromJSON(_) {
|
|
939
|
-
return {};
|
|
940
|
-
},
|
|
941
|
-
toJSON(_) {
|
|
942
|
-
const obj = {};
|
|
943
|
-
return obj;
|
|
944
|
-
},
|
|
945
|
-
fromPartial(_) {
|
|
946
|
-
const message = createBaseMsgChangeArtistResponse();
|
|
947
|
-
return message;
|
|
948
|
-
},
|
|
949
|
-
};
|
|
950
|
-
function createBaseMsgRegisterForCouncil() {
|
|
951
|
-
return { creator: "" };
|
|
952
|
-
}
|
|
953
|
-
export const MsgRegisterForCouncil = {
|
|
954
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
955
|
-
if (message.creator !== "") {
|
|
956
|
-
writer.uint32(10).string(message.creator);
|
|
957
|
-
}
|
|
958
|
-
return writer;
|
|
959
|
-
},
|
|
960
|
-
decode(input, length) {
|
|
961
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
962
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
963
|
-
const message = createBaseMsgRegisterForCouncil();
|
|
964
|
-
while (reader.pos < end) {
|
|
965
|
-
const tag = reader.uint32();
|
|
966
|
-
switch (tag >>> 3) {
|
|
967
|
-
case 1:
|
|
968
|
-
message.creator = reader.string();
|
|
969
|
-
break;
|
|
970
|
-
default:
|
|
971
|
-
reader.skipType(tag & 7);
|
|
972
|
-
break;
|
|
973
|
-
}
|
|
974
|
-
}
|
|
975
|
-
return message;
|
|
976
|
-
},
|
|
977
|
-
fromJSON(object) {
|
|
978
|
-
return { creator: isSet(object.creator) ? String(object.creator) : "" };
|
|
979
|
-
},
|
|
980
|
-
toJSON(message) {
|
|
981
|
-
const obj = {};
|
|
982
|
-
message.creator !== undefined && (obj.creator = message.creator);
|
|
983
|
-
return obj;
|
|
984
|
-
},
|
|
985
|
-
fromPartial(object) {
|
|
986
|
-
const message = createBaseMsgRegisterForCouncil();
|
|
987
|
-
message.creator = object.creator ?? "";
|
|
988
|
-
return message;
|
|
989
|
-
},
|
|
990
|
-
};
|
|
991
|
-
function createBaseMsgRegisterForCouncilResponse() {
|
|
992
|
-
return {};
|
|
993
|
-
}
|
|
994
|
-
export const MsgRegisterForCouncilResponse = {
|
|
995
|
-
encode(_, writer = _m0.Writer.create()) {
|
|
996
|
-
return writer;
|
|
997
|
-
},
|
|
998
|
-
decode(input, length) {
|
|
999
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
1000
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1001
|
-
const message = createBaseMsgRegisterForCouncilResponse();
|
|
1002
|
-
while (reader.pos < end) {
|
|
1003
|
-
const tag = reader.uint32();
|
|
1004
|
-
switch (tag >>> 3) {
|
|
1005
|
-
default:
|
|
1006
|
-
reader.skipType(tag & 7);
|
|
1007
|
-
break;
|
|
1008
|
-
}
|
|
1009
|
-
}
|
|
1010
|
-
return message;
|
|
1011
|
-
},
|
|
1012
|
-
fromJSON(_) {
|
|
1013
|
-
return {};
|
|
1014
|
-
},
|
|
1015
|
-
toJSON(_) {
|
|
1016
|
-
const obj = {};
|
|
1017
|
-
return obj;
|
|
1018
|
-
},
|
|
1019
|
-
fromPartial(_) {
|
|
1020
|
-
const message = createBaseMsgRegisterForCouncilResponse();
|
|
1021
|
-
return message;
|
|
1022
|
-
},
|
|
1023
|
-
};
|
|
1024
|
-
function createBaseMsgReportMatch() {
|
|
1025
|
-
return { creator: "", playerA: "", playerB: "", cardsA: [], cardsB: [], outcome: 0 };
|
|
1026
|
-
}
|
|
1027
|
-
export const MsgReportMatch = {
|
|
1028
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
1029
|
-
if (message.creator !== "") {
|
|
1030
|
-
writer.uint32(10).string(message.creator);
|
|
1031
|
-
}
|
|
1032
|
-
if (message.playerA !== "") {
|
|
1033
|
-
writer.uint32(18).string(message.playerA);
|
|
1034
|
-
}
|
|
1035
|
-
if (message.playerB !== "") {
|
|
1036
|
-
writer.uint32(26).string(message.playerB);
|
|
1037
|
-
}
|
|
1038
|
-
writer.uint32(42).fork();
|
|
1039
|
-
for (const v of message.cardsA) {
|
|
1040
|
-
writer.uint64(v);
|
|
1041
|
-
}
|
|
1042
|
-
writer.ldelim();
|
|
1043
|
-
writer.uint32(50).fork();
|
|
1044
|
-
for (const v of message.cardsB) {
|
|
1045
|
-
writer.uint64(v);
|
|
1046
|
-
}
|
|
1047
|
-
writer.ldelim();
|
|
1048
|
-
if (message.outcome !== 0) {
|
|
1049
|
-
writer.uint32(56).int32(message.outcome);
|
|
1050
|
-
}
|
|
1051
|
-
return writer;
|
|
1052
|
-
},
|
|
1053
|
-
decode(input, length) {
|
|
1054
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
1055
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1056
|
-
const message = createBaseMsgReportMatch();
|
|
1057
|
-
while (reader.pos < end) {
|
|
1058
|
-
const tag = reader.uint32();
|
|
1059
|
-
switch (tag >>> 3) {
|
|
1060
|
-
case 1:
|
|
1061
|
-
message.creator = reader.string();
|
|
1062
|
-
break;
|
|
1063
|
-
case 2:
|
|
1064
|
-
message.playerA = reader.string();
|
|
1065
|
-
break;
|
|
1066
|
-
case 3:
|
|
1067
|
-
message.playerB = reader.string();
|
|
1068
|
-
break;
|
|
1069
|
-
case 5:
|
|
1070
|
-
if ((tag & 7) === 2) {
|
|
1071
|
-
const end2 = reader.uint32() + reader.pos;
|
|
1072
|
-
while (reader.pos < end2) {
|
|
1073
|
-
message.cardsA.push(longToNumber(reader.uint64()));
|
|
1074
|
-
}
|
|
1075
|
-
}
|
|
1076
|
-
else {
|
|
1077
|
-
message.cardsA.push(longToNumber(reader.uint64()));
|
|
1078
|
-
}
|
|
1079
|
-
break;
|
|
1080
|
-
case 6:
|
|
1081
|
-
if ((tag & 7) === 2) {
|
|
1082
|
-
const end2 = reader.uint32() + reader.pos;
|
|
1083
|
-
while (reader.pos < end2) {
|
|
1084
|
-
message.cardsB.push(longToNumber(reader.uint64()));
|
|
1085
|
-
}
|
|
1086
|
-
}
|
|
1087
|
-
else {
|
|
1088
|
-
message.cardsB.push(longToNumber(reader.uint64()));
|
|
1089
|
-
}
|
|
1090
|
-
break;
|
|
1091
|
-
case 7:
|
|
1092
|
-
message.outcome = reader.int32();
|
|
1093
|
-
break;
|
|
1094
|
-
default:
|
|
1095
|
-
reader.skipType(tag & 7);
|
|
1096
|
-
break;
|
|
1097
|
-
}
|
|
1098
|
-
}
|
|
1099
|
-
return message;
|
|
1100
|
-
},
|
|
1101
|
-
fromJSON(object) {
|
|
1102
|
-
return {
|
|
1103
|
-
creator: isSet(object.creator) ? String(object.creator) : "",
|
|
1104
|
-
playerA: isSet(object.playerA) ? String(object.playerA) : "",
|
|
1105
|
-
playerB: isSet(object.playerB) ? String(object.playerB) : "",
|
|
1106
|
-
cardsA: Array.isArray(object?.cardsA) ? object.cardsA.map((e) => Number(e)) : [],
|
|
1107
|
-
cardsB: Array.isArray(object?.cardsB) ? object.cardsB.map((e) => Number(e)) : [],
|
|
1108
|
-
outcome: isSet(object.outcome) ? outcomeFromJSON(object.outcome) : 0,
|
|
1109
|
-
};
|
|
1110
|
-
},
|
|
1111
|
-
toJSON(message) {
|
|
1112
|
-
const obj = {};
|
|
1113
|
-
message.creator !== undefined && (obj.creator = message.creator);
|
|
1114
|
-
message.playerA !== undefined && (obj.playerA = message.playerA);
|
|
1115
|
-
message.playerB !== undefined && (obj.playerB = message.playerB);
|
|
1116
|
-
if (message.cardsA) {
|
|
1117
|
-
obj.cardsA = message.cardsA.map((e) => Math.round(e));
|
|
1118
|
-
}
|
|
1119
|
-
else {
|
|
1120
|
-
obj.cardsA = [];
|
|
1121
|
-
}
|
|
1122
|
-
if (message.cardsB) {
|
|
1123
|
-
obj.cardsB = message.cardsB.map((e) => Math.round(e));
|
|
1124
|
-
}
|
|
1125
|
-
else {
|
|
1126
|
-
obj.cardsB = [];
|
|
1127
|
-
}
|
|
1128
|
-
message.outcome !== undefined && (obj.outcome = outcomeToJSON(message.outcome));
|
|
1129
|
-
return obj;
|
|
1130
|
-
},
|
|
1131
|
-
fromPartial(object) {
|
|
1132
|
-
const message = createBaseMsgReportMatch();
|
|
1133
|
-
message.creator = object.creator ?? "";
|
|
1134
|
-
message.playerA = object.playerA ?? "";
|
|
1135
|
-
message.playerB = object.playerB ?? "";
|
|
1136
|
-
message.cardsA = object.cardsA?.map((e) => e) || [];
|
|
1137
|
-
message.cardsB = object.cardsB?.map((e) => e) || [];
|
|
1138
|
-
message.outcome = object.outcome ?? 0;
|
|
1139
|
-
return message;
|
|
1140
|
-
},
|
|
1141
|
-
};
|
|
1142
|
-
function createBaseMsgReportMatchResponse() {
|
|
1143
|
-
return { matchId: 0 };
|
|
1144
|
-
}
|
|
1145
|
-
export const MsgReportMatchResponse = {
|
|
1146
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
1147
|
-
if (message.matchId !== 0) {
|
|
1148
|
-
writer.uint32(8).uint64(message.matchId);
|
|
1149
|
-
}
|
|
1150
|
-
return writer;
|
|
1151
|
-
},
|
|
1152
|
-
decode(input, length) {
|
|
1153
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
1154
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1155
|
-
const message = createBaseMsgReportMatchResponse();
|
|
1156
|
-
while (reader.pos < end) {
|
|
1157
|
-
const tag = reader.uint32();
|
|
1158
|
-
switch (tag >>> 3) {
|
|
1159
|
-
case 1:
|
|
1160
|
-
message.matchId = longToNumber(reader.uint64());
|
|
1161
|
-
break;
|
|
1162
|
-
default:
|
|
1163
|
-
reader.skipType(tag & 7);
|
|
1164
|
-
break;
|
|
1165
|
-
}
|
|
1166
|
-
}
|
|
1167
|
-
return message;
|
|
1168
|
-
},
|
|
1169
|
-
fromJSON(object) {
|
|
1170
|
-
return { matchId: isSet(object.matchId) ? Number(object.matchId) : 0 };
|
|
1171
|
-
},
|
|
1172
|
-
toJSON(message) {
|
|
1173
|
-
const obj = {};
|
|
1174
|
-
message.matchId !== undefined && (obj.matchId = Math.round(message.matchId));
|
|
1175
|
-
return obj;
|
|
1176
|
-
},
|
|
1177
|
-
fromPartial(object) {
|
|
1178
|
-
const message = createBaseMsgReportMatchResponse();
|
|
1179
|
-
message.matchId = object.matchId ?? 0;
|
|
1180
|
-
return message;
|
|
1181
|
-
},
|
|
1182
|
-
};
|
|
1183
|
-
function createBaseMsgSubmitMatchReporterProposal() {
|
|
1184
|
-
return { creator: "", reporter: "", deposit: "", description: "" };
|
|
1185
|
-
}
|
|
1186
|
-
export const MsgSubmitMatchReporterProposal = {
|
|
1187
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
1188
|
-
if (message.creator !== "") {
|
|
1189
|
-
writer.uint32(10).string(message.creator);
|
|
1190
|
-
}
|
|
1191
|
-
if (message.reporter !== "") {
|
|
1192
|
-
writer.uint32(18).string(message.reporter);
|
|
1193
|
-
}
|
|
1194
|
-
if (message.deposit !== "") {
|
|
1195
|
-
writer.uint32(26).string(message.deposit);
|
|
1196
|
-
}
|
|
1197
|
-
if (message.description !== "") {
|
|
1198
|
-
writer.uint32(34).string(message.description);
|
|
1199
|
-
}
|
|
1200
|
-
return writer;
|
|
1201
|
-
},
|
|
1202
|
-
decode(input, length) {
|
|
1203
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
1204
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1205
|
-
const message = createBaseMsgSubmitMatchReporterProposal();
|
|
1206
|
-
while (reader.pos < end) {
|
|
1207
|
-
const tag = reader.uint32();
|
|
1208
|
-
switch (tag >>> 3) {
|
|
1209
|
-
case 1:
|
|
1210
|
-
message.creator = reader.string();
|
|
1211
|
-
break;
|
|
1212
|
-
case 2:
|
|
1213
|
-
message.reporter = reader.string();
|
|
1214
|
-
break;
|
|
1215
|
-
case 3:
|
|
1216
|
-
message.deposit = reader.string();
|
|
1217
|
-
break;
|
|
1218
|
-
case 4:
|
|
1219
|
-
message.description = reader.string();
|
|
1220
|
-
break;
|
|
1221
|
-
default:
|
|
1222
|
-
reader.skipType(tag & 7);
|
|
1223
|
-
break;
|
|
1224
|
-
}
|
|
1225
|
-
}
|
|
1226
|
-
return message;
|
|
1227
|
-
},
|
|
1228
|
-
fromJSON(object) {
|
|
1229
|
-
return {
|
|
1230
|
-
creator: isSet(object.creator) ? String(object.creator) : "",
|
|
1231
|
-
reporter: isSet(object.reporter) ? String(object.reporter) : "",
|
|
1232
|
-
deposit: isSet(object.deposit) ? String(object.deposit) : "",
|
|
1233
|
-
description: isSet(object.description) ? String(object.description) : "",
|
|
1234
|
-
};
|
|
1235
|
-
},
|
|
1236
|
-
toJSON(message) {
|
|
1237
|
-
const obj = {};
|
|
1238
|
-
message.creator !== undefined && (obj.creator = message.creator);
|
|
1239
|
-
message.reporter !== undefined && (obj.reporter = message.reporter);
|
|
1240
|
-
message.deposit !== undefined && (obj.deposit = message.deposit);
|
|
1241
|
-
message.description !== undefined && (obj.description = message.description);
|
|
1242
|
-
return obj;
|
|
1243
|
-
},
|
|
1244
|
-
fromPartial(object) {
|
|
1245
|
-
const message = createBaseMsgSubmitMatchReporterProposal();
|
|
1246
|
-
message.creator = object.creator ?? "";
|
|
1247
|
-
message.reporter = object.reporter ?? "";
|
|
1248
|
-
message.deposit = object.deposit ?? "";
|
|
1249
|
-
message.description = object.description ?? "";
|
|
1250
|
-
return message;
|
|
1251
|
-
},
|
|
1252
|
-
};
|
|
1253
|
-
function createBaseMsgSubmitMatchReporterProposalResponse() {
|
|
1254
|
-
return {};
|
|
1255
|
-
}
|
|
1256
|
-
export const MsgSubmitMatchReporterProposalResponse = {
|
|
1257
|
-
encode(_, writer = _m0.Writer.create()) {
|
|
1258
|
-
return writer;
|
|
1259
|
-
},
|
|
1260
|
-
decode(input, length) {
|
|
1261
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
1262
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1263
|
-
const message = createBaseMsgSubmitMatchReporterProposalResponse();
|
|
1264
|
-
while (reader.pos < end) {
|
|
1265
|
-
const tag = reader.uint32();
|
|
1266
|
-
switch (tag >>> 3) {
|
|
1267
|
-
default:
|
|
1268
|
-
reader.skipType(tag & 7);
|
|
1269
|
-
break;
|
|
1270
|
-
}
|
|
1271
|
-
}
|
|
1272
|
-
return message;
|
|
1273
|
-
},
|
|
1274
|
-
fromJSON(_) {
|
|
1275
|
-
return {};
|
|
1276
|
-
},
|
|
1277
|
-
toJSON(_) {
|
|
1278
|
-
const obj = {};
|
|
1279
|
-
return obj;
|
|
1280
|
-
},
|
|
1281
|
-
fromPartial(_) {
|
|
1282
|
-
const message = createBaseMsgSubmitMatchReporterProposalResponse();
|
|
1283
|
-
return message;
|
|
1284
|
-
},
|
|
1285
|
-
};
|
|
1286
|
-
function createBaseMsgApointMatchReporter() {
|
|
1287
|
-
return { creator: "", reporter: "" };
|
|
1288
|
-
}
|
|
1289
|
-
export const MsgApointMatchReporter = {
|
|
1290
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
1291
|
-
if (message.creator !== "") {
|
|
1292
|
-
writer.uint32(10).string(message.creator);
|
|
1293
|
-
}
|
|
1294
|
-
if (message.reporter !== "") {
|
|
1295
|
-
writer.uint32(18).string(message.reporter);
|
|
1296
|
-
}
|
|
1297
|
-
return writer;
|
|
1298
|
-
},
|
|
1299
|
-
decode(input, length) {
|
|
1300
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
1301
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1302
|
-
const message = createBaseMsgApointMatchReporter();
|
|
1303
|
-
while (reader.pos < end) {
|
|
1304
|
-
const tag = reader.uint32();
|
|
1305
|
-
switch (tag >>> 3) {
|
|
1306
|
-
case 1:
|
|
1307
|
-
message.creator = reader.string();
|
|
1308
|
-
break;
|
|
1309
|
-
case 2:
|
|
1310
|
-
message.reporter = reader.string();
|
|
1311
|
-
break;
|
|
1312
|
-
default:
|
|
1313
|
-
reader.skipType(tag & 7);
|
|
1314
|
-
break;
|
|
1315
|
-
}
|
|
1316
|
-
}
|
|
1317
|
-
return message;
|
|
1318
|
-
},
|
|
1319
|
-
fromJSON(object) {
|
|
1320
|
-
return {
|
|
1321
|
-
creator: isSet(object.creator) ? String(object.creator) : "",
|
|
1322
|
-
reporter: isSet(object.reporter) ? String(object.reporter) : "",
|
|
1323
|
-
};
|
|
1324
|
-
},
|
|
1325
|
-
toJSON(message) {
|
|
1326
|
-
const obj = {};
|
|
1327
|
-
message.creator !== undefined && (obj.creator = message.creator);
|
|
1328
|
-
message.reporter !== undefined && (obj.reporter = message.reporter);
|
|
1329
|
-
return obj;
|
|
1330
|
-
},
|
|
1331
|
-
fromPartial(object) {
|
|
1332
|
-
const message = createBaseMsgApointMatchReporter();
|
|
1333
|
-
message.creator = object.creator ?? "";
|
|
1334
|
-
message.reporter = object.reporter ?? "";
|
|
1335
|
-
return message;
|
|
1336
|
-
},
|
|
1337
|
-
};
|
|
1338
|
-
function createBaseMsgApointMatchReporterResponse() {
|
|
1339
|
-
return {};
|
|
1340
|
-
}
|
|
1341
|
-
export const MsgApointMatchReporterResponse = {
|
|
1342
|
-
encode(_, writer = _m0.Writer.create()) {
|
|
1343
|
-
return writer;
|
|
1344
|
-
},
|
|
1345
|
-
decode(input, length) {
|
|
1346
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
1347
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1348
|
-
const message = createBaseMsgApointMatchReporterResponse();
|
|
1349
|
-
while (reader.pos < end) {
|
|
1350
|
-
const tag = reader.uint32();
|
|
1351
|
-
switch (tag >>> 3) {
|
|
1352
|
-
default:
|
|
1353
|
-
reader.skipType(tag & 7);
|
|
1354
|
-
break;
|
|
1355
|
-
}
|
|
1356
|
-
}
|
|
1357
|
-
return message;
|
|
1358
|
-
},
|
|
1359
|
-
fromJSON(_) {
|
|
1360
|
-
return {};
|
|
1361
|
-
},
|
|
1362
|
-
toJSON(_) {
|
|
1363
|
-
const obj = {};
|
|
1364
|
-
return obj;
|
|
1365
|
-
},
|
|
1366
|
-
fromPartial(_) {
|
|
1367
|
-
const message = createBaseMsgApointMatchReporterResponse();
|
|
1368
|
-
return message;
|
|
1369
|
-
},
|
|
1370
|
-
};
|
|
1371
|
-
function createBaseMsgCreateCollection() {
|
|
1372
|
-
return { creator: "", name: "", artist: "", storyWriter: "", contributors: [] };
|
|
1373
|
-
}
|
|
1374
|
-
export const MsgCreateCollection = {
|
|
1375
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
1376
|
-
if (message.creator !== "") {
|
|
1377
|
-
writer.uint32(10).string(message.creator);
|
|
1378
|
-
}
|
|
1379
|
-
if (message.name !== "") {
|
|
1380
|
-
writer.uint32(18).string(message.name);
|
|
1381
|
-
}
|
|
1382
|
-
if (message.artist !== "") {
|
|
1383
|
-
writer.uint32(26).string(message.artist);
|
|
1384
|
-
}
|
|
1385
|
-
if (message.storyWriter !== "") {
|
|
1386
|
-
writer.uint32(34).string(message.storyWriter);
|
|
1387
|
-
}
|
|
1388
|
-
for (const v of message.contributors) {
|
|
1389
|
-
writer.uint32(42).string(v);
|
|
1390
|
-
}
|
|
1391
|
-
return writer;
|
|
1392
|
-
},
|
|
1393
|
-
decode(input, length) {
|
|
1394
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
1395
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1396
|
-
const message = createBaseMsgCreateCollection();
|
|
1397
|
-
while (reader.pos < end) {
|
|
1398
|
-
const tag = reader.uint32();
|
|
1399
|
-
switch (tag >>> 3) {
|
|
1400
|
-
case 1:
|
|
1401
|
-
message.creator = reader.string();
|
|
1402
|
-
break;
|
|
1403
|
-
case 2:
|
|
1404
|
-
message.name = reader.string();
|
|
1405
|
-
break;
|
|
1406
|
-
case 3:
|
|
1407
|
-
message.artist = reader.string();
|
|
1408
|
-
break;
|
|
1409
|
-
case 4:
|
|
1410
|
-
message.storyWriter = reader.string();
|
|
1411
|
-
break;
|
|
1412
|
-
case 5:
|
|
1413
|
-
message.contributors.push(reader.string());
|
|
1414
|
-
break;
|
|
1415
|
-
default:
|
|
1416
|
-
reader.skipType(tag & 7);
|
|
1417
|
-
break;
|
|
1418
|
-
}
|
|
1419
|
-
}
|
|
1420
|
-
return message;
|
|
1421
|
-
},
|
|
1422
|
-
fromJSON(object) {
|
|
1423
|
-
return {
|
|
1424
|
-
creator: isSet(object.creator) ? String(object.creator) : "",
|
|
1425
|
-
name: isSet(object.name) ? String(object.name) : "",
|
|
1426
|
-
artist: isSet(object.artist) ? String(object.artist) : "",
|
|
1427
|
-
storyWriter: isSet(object.storyWriter) ? String(object.storyWriter) : "",
|
|
1428
|
-
contributors: Array.isArray(object?.contributors) ? object.contributors.map((e) => String(e)) : [],
|
|
1429
|
-
};
|
|
1430
|
-
},
|
|
1431
|
-
toJSON(message) {
|
|
1432
|
-
const obj = {};
|
|
1433
|
-
message.creator !== undefined && (obj.creator = message.creator);
|
|
1434
|
-
message.name !== undefined && (obj.name = message.name);
|
|
1435
|
-
message.artist !== undefined && (obj.artist = message.artist);
|
|
1436
|
-
message.storyWriter !== undefined && (obj.storyWriter = message.storyWriter);
|
|
1437
|
-
if (message.contributors) {
|
|
1438
|
-
obj.contributors = message.contributors.map((e) => e);
|
|
1439
|
-
}
|
|
1440
|
-
else {
|
|
1441
|
-
obj.contributors = [];
|
|
1442
|
-
}
|
|
1443
|
-
return obj;
|
|
1444
|
-
},
|
|
1445
|
-
fromPartial(object) {
|
|
1446
|
-
const message = createBaseMsgCreateCollection();
|
|
1447
|
-
message.creator = object.creator ?? "";
|
|
1448
|
-
message.name = object.name ?? "";
|
|
1449
|
-
message.artist = object.artist ?? "";
|
|
1450
|
-
message.storyWriter = object.storyWriter ?? "";
|
|
1451
|
-
message.contributors = object.contributors?.map((e) => e) || [];
|
|
1452
|
-
return message;
|
|
1453
|
-
},
|
|
1454
|
-
};
|
|
1455
|
-
function createBaseMsgCreateCollectionResponse() {
|
|
1456
|
-
return {};
|
|
1457
|
-
}
|
|
1458
|
-
export const MsgCreateCollectionResponse = {
|
|
1459
|
-
encode(_, writer = _m0.Writer.create()) {
|
|
1460
|
-
return writer;
|
|
1461
|
-
},
|
|
1462
|
-
decode(input, length) {
|
|
1463
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
1464
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1465
|
-
const message = createBaseMsgCreateCollectionResponse();
|
|
1466
|
-
while (reader.pos < end) {
|
|
1467
|
-
const tag = reader.uint32();
|
|
1468
|
-
switch (tag >>> 3) {
|
|
1469
|
-
default:
|
|
1470
|
-
reader.skipType(tag & 7);
|
|
1471
|
-
break;
|
|
1472
|
-
}
|
|
1473
|
-
}
|
|
1474
|
-
return message;
|
|
1475
|
-
},
|
|
1476
|
-
fromJSON(_) {
|
|
1477
|
-
return {};
|
|
1478
|
-
},
|
|
1479
|
-
toJSON(_) {
|
|
1480
|
-
const obj = {};
|
|
1481
|
-
return obj;
|
|
1482
|
-
},
|
|
1483
|
-
fromPartial(_) {
|
|
1484
|
-
const message = createBaseMsgCreateCollectionResponse();
|
|
1485
|
-
return message;
|
|
1486
|
-
},
|
|
1487
|
-
};
|
|
1488
|
-
function createBaseMsgAddCardToCollection() {
|
|
1489
|
-
return { creator: "", collectionId: 0, cardId: 0 };
|
|
1490
|
-
}
|
|
1491
|
-
export const MsgAddCardToCollection = {
|
|
1492
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
1493
|
-
if (message.creator !== "") {
|
|
1494
|
-
writer.uint32(10).string(message.creator);
|
|
1495
|
-
}
|
|
1496
|
-
if (message.collectionId !== 0) {
|
|
1497
|
-
writer.uint32(16).uint64(message.collectionId);
|
|
1498
|
-
}
|
|
1499
|
-
if (message.cardId !== 0) {
|
|
1500
|
-
writer.uint32(24).uint64(message.cardId);
|
|
1501
|
-
}
|
|
1502
|
-
return writer;
|
|
1503
|
-
},
|
|
1504
|
-
decode(input, length) {
|
|
1505
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
1506
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1507
|
-
const message = createBaseMsgAddCardToCollection();
|
|
1508
|
-
while (reader.pos < end) {
|
|
1509
|
-
const tag = reader.uint32();
|
|
1510
|
-
switch (tag >>> 3) {
|
|
1511
|
-
case 1:
|
|
1512
|
-
message.creator = reader.string();
|
|
1513
|
-
break;
|
|
1514
|
-
case 2:
|
|
1515
|
-
message.collectionId = longToNumber(reader.uint64());
|
|
1516
|
-
break;
|
|
1517
|
-
case 3:
|
|
1518
|
-
message.cardId = longToNumber(reader.uint64());
|
|
1519
|
-
break;
|
|
1520
|
-
default:
|
|
1521
|
-
reader.skipType(tag & 7);
|
|
1522
|
-
break;
|
|
1523
|
-
}
|
|
1524
|
-
}
|
|
1525
|
-
return message;
|
|
1526
|
-
},
|
|
1527
|
-
fromJSON(object) {
|
|
1528
|
-
return {
|
|
1529
|
-
creator: isSet(object.creator) ? String(object.creator) : "",
|
|
1530
|
-
collectionId: isSet(object.collectionId) ? Number(object.collectionId) : 0,
|
|
1531
|
-
cardId: isSet(object.cardId) ? Number(object.cardId) : 0,
|
|
1532
|
-
};
|
|
1533
|
-
},
|
|
1534
|
-
toJSON(message) {
|
|
1535
|
-
const obj = {};
|
|
1536
|
-
message.creator !== undefined && (obj.creator = message.creator);
|
|
1537
|
-
message.collectionId !== undefined && (obj.collectionId = Math.round(message.collectionId));
|
|
1538
|
-
message.cardId !== undefined && (obj.cardId = Math.round(message.cardId));
|
|
1539
|
-
return obj;
|
|
1540
|
-
},
|
|
1541
|
-
fromPartial(object) {
|
|
1542
|
-
const message = createBaseMsgAddCardToCollection();
|
|
1543
|
-
message.creator = object.creator ?? "";
|
|
1544
|
-
message.collectionId = object.collectionId ?? 0;
|
|
1545
|
-
message.cardId = object.cardId ?? 0;
|
|
1546
|
-
return message;
|
|
1547
|
-
},
|
|
1548
|
-
};
|
|
1549
|
-
function createBaseMsgAddCardToCollectionResponse() {
|
|
1550
|
-
return {};
|
|
1551
|
-
}
|
|
1552
|
-
export const MsgAddCardToCollectionResponse = {
|
|
1553
|
-
encode(_, writer = _m0.Writer.create()) {
|
|
1554
|
-
return writer;
|
|
1555
|
-
},
|
|
1556
|
-
decode(input, length) {
|
|
1557
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
1558
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1559
|
-
const message = createBaseMsgAddCardToCollectionResponse();
|
|
1560
|
-
while (reader.pos < end) {
|
|
1561
|
-
const tag = reader.uint32();
|
|
1562
|
-
switch (tag >>> 3) {
|
|
1563
|
-
default:
|
|
1564
|
-
reader.skipType(tag & 7);
|
|
1565
|
-
break;
|
|
1566
|
-
}
|
|
1567
|
-
}
|
|
1568
|
-
return message;
|
|
1569
|
-
},
|
|
1570
|
-
fromJSON(_) {
|
|
1571
|
-
return {};
|
|
1572
|
-
},
|
|
1573
|
-
toJSON(_) {
|
|
1574
|
-
const obj = {};
|
|
1575
|
-
return obj;
|
|
1576
|
-
},
|
|
1577
|
-
fromPartial(_) {
|
|
1578
|
-
const message = createBaseMsgAddCardToCollectionResponse();
|
|
1579
|
-
return message;
|
|
1580
|
-
},
|
|
1581
|
-
};
|
|
1582
|
-
function createBaseMsgFinalizeCollection() {
|
|
1583
|
-
return { creator: "", collectionId: 0 };
|
|
1584
|
-
}
|
|
1585
|
-
export const MsgFinalizeCollection = {
|
|
1586
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
1587
|
-
if (message.creator !== "") {
|
|
1588
|
-
writer.uint32(10).string(message.creator);
|
|
1589
|
-
}
|
|
1590
|
-
if (message.collectionId !== 0) {
|
|
1591
|
-
writer.uint32(16).uint64(message.collectionId);
|
|
1592
|
-
}
|
|
1593
|
-
return writer;
|
|
1594
|
-
},
|
|
1595
|
-
decode(input, length) {
|
|
1596
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
1597
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1598
|
-
const message = createBaseMsgFinalizeCollection();
|
|
1599
|
-
while (reader.pos < end) {
|
|
1600
|
-
const tag = reader.uint32();
|
|
1601
|
-
switch (tag >>> 3) {
|
|
1602
|
-
case 1:
|
|
1603
|
-
message.creator = reader.string();
|
|
1604
|
-
break;
|
|
1605
|
-
case 2:
|
|
1606
|
-
message.collectionId = longToNumber(reader.uint64());
|
|
1607
|
-
break;
|
|
1608
|
-
default:
|
|
1609
|
-
reader.skipType(tag & 7);
|
|
1610
|
-
break;
|
|
1611
|
-
}
|
|
1612
|
-
}
|
|
1613
|
-
return message;
|
|
1614
|
-
},
|
|
1615
|
-
fromJSON(object) {
|
|
1616
|
-
return {
|
|
1617
|
-
creator: isSet(object.creator) ? String(object.creator) : "",
|
|
1618
|
-
collectionId: isSet(object.collectionId) ? Number(object.collectionId) : 0,
|
|
1619
|
-
};
|
|
1620
|
-
},
|
|
1621
|
-
toJSON(message) {
|
|
1622
|
-
const obj = {};
|
|
1623
|
-
message.creator !== undefined && (obj.creator = message.creator);
|
|
1624
|
-
message.collectionId !== undefined && (obj.collectionId = Math.round(message.collectionId));
|
|
1625
|
-
return obj;
|
|
1626
|
-
},
|
|
1627
|
-
fromPartial(object) {
|
|
1628
|
-
const message = createBaseMsgFinalizeCollection();
|
|
1629
|
-
message.creator = object.creator ?? "";
|
|
1630
|
-
message.collectionId = object.collectionId ?? 0;
|
|
1631
|
-
return message;
|
|
1632
|
-
},
|
|
1633
|
-
};
|
|
1634
|
-
function createBaseMsgFinalizeCollectionResponse() {
|
|
1635
|
-
return {};
|
|
1636
|
-
}
|
|
1637
|
-
export const MsgFinalizeCollectionResponse = {
|
|
1638
|
-
encode(_, writer = _m0.Writer.create()) {
|
|
1639
|
-
return writer;
|
|
1640
|
-
},
|
|
1641
|
-
decode(input, length) {
|
|
1642
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
1643
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1644
|
-
const message = createBaseMsgFinalizeCollectionResponse();
|
|
1645
|
-
while (reader.pos < end) {
|
|
1646
|
-
const tag = reader.uint32();
|
|
1647
|
-
switch (tag >>> 3) {
|
|
1648
|
-
default:
|
|
1649
|
-
reader.skipType(tag & 7);
|
|
1650
|
-
break;
|
|
1651
|
-
}
|
|
1652
|
-
}
|
|
1653
|
-
return message;
|
|
1654
|
-
},
|
|
1655
|
-
fromJSON(_) {
|
|
1656
|
-
return {};
|
|
1657
|
-
},
|
|
1658
|
-
toJSON(_) {
|
|
1659
|
-
const obj = {};
|
|
1660
|
-
return obj;
|
|
1661
|
-
},
|
|
1662
|
-
fromPartial(_) {
|
|
1663
|
-
const message = createBaseMsgFinalizeCollectionResponse();
|
|
1664
|
-
return message;
|
|
1665
|
-
},
|
|
1666
|
-
};
|
|
1667
|
-
function createBaseMsgBuyCollection() {
|
|
1668
|
-
return { creator: "", collectionId: 0 };
|
|
1669
|
-
}
|
|
1670
|
-
export const MsgBuyCollection = {
|
|
1671
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
1672
|
-
if (message.creator !== "") {
|
|
1673
|
-
writer.uint32(10).string(message.creator);
|
|
1674
|
-
}
|
|
1675
|
-
if (message.collectionId !== 0) {
|
|
1676
|
-
writer.uint32(16).uint64(message.collectionId);
|
|
1677
|
-
}
|
|
1678
|
-
return writer;
|
|
1679
|
-
},
|
|
1680
|
-
decode(input, length) {
|
|
1681
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
1682
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1683
|
-
const message = createBaseMsgBuyCollection();
|
|
1684
|
-
while (reader.pos < end) {
|
|
1685
|
-
const tag = reader.uint32();
|
|
1686
|
-
switch (tag >>> 3) {
|
|
1687
|
-
case 1:
|
|
1688
|
-
message.creator = reader.string();
|
|
1689
|
-
break;
|
|
1690
|
-
case 2:
|
|
1691
|
-
message.collectionId = longToNumber(reader.uint64());
|
|
1692
|
-
break;
|
|
1693
|
-
default:
|
|
1694
|
-
reader.skipType(tag & 7);
|
|
1695
|
-
break;
|
|
1696
|
-
}
|
|
1697
|
-
}
|
|
1698
|
-
return message;
|
|
1699
|
-
},
|
|
1700
|
-
fromJSON(object) {
|
|
1701
|
-
return {
|
|
1702
|
-
creator: isSet(object.creator) ? String(object.creator) : "",
|
|
1703
|
-
collectionId: isSet(object.collectionId) ? Number(object.collectionId) : 0,
|
|
1704
|
-
};
|
|
1705
|
-
},
|
|
1706
|
-
toJSON(message) {
|
|
1707
|
-
const obj = {};
|
|
1708
|
-
message.creator !== undefined && (obj.creator = message.creator);
|
|
1709
|
-
message.collectionId !== undefined && (obj.collectionId = Math.round(message.collectionId));
|
|
1710
|
-
return obj;
|
|
1711
|
-
},
|
|
1712
|
-
fromPartial(object) {
|
|
1713
|
-
const message = createBaseMsgBuyCollection();
|
|
1714
|
-
message.creator = object.creator ?? "";
|
|
1715
|
-
message.collectionId = object.collectionId ?? 0;
|
|
1716
|
-
return message;
|
|
1717
|
-
},
|
|
1718
|
-
};
|
|
1719
|
-
function createBaseMsgBuyCollectionResponse() {
|
|
1720
|
-
return { airdropClaimed: false };
|
|
1721
|
-
}
|
|
1722
|
-
export const MsgBuyCollectionResponse = {
|
|
1723
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
1724
|
-
if (message.airdropClaimed === true) {
|
|
1725
|
-
writer.uint32(8).bool(message.airdropClaimed);
|
|
1726
|
-
}
|
|
1727
|
-
return writer;
|
|
1728
|
-
},
|
|
1729
|
-
decode(input, length) {
|
|
1730
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
1731
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1732
|
-
const message = createBaseMsgBuyCollectionResponse();
|
|
1733
|
-
while (reader.pos < end) {
|
|
1734
|
-
const tag = reader.uint32();
|
|
1735
|
-
switch (tag >>> 3) {
|
|
1736
|
-
case 1:
|
|
1737
|
-
message.airdropClaimed = reader.bool();
|
|
1738
|
-
break;
|
|
1739
|
-
default:
|
|
1740
|
-
reader.skipType(tag & 7);
|
|
1741
|
-
break;
|
|
1742
|
-
}
|
|
1743
|
-
}
|
|
1744
|
-
return message;
|
|
1745
|
-
},
|
|
1746
|
-
fromJSON(object) {
|
|
1747
|
-
return { airdropClaimed: isSet(object.airdropClaimed) ? Boolean(object.airdropClaimed) : false };
|
|
1748
|
-
},
|
|
1749
|
-
toJSON(message) {
|
|
1750
|
-
const obj = {};
|
|
1751
|
-
message.airdropClaimed !== undefined && (obj.airdropClaimed = message.airdropClaimed);
|
|
1752
|
-
return obj;
|
|
1753
|
-
},
|
|
1754
|
-
fromPartial(object) {
|
|
1755
|
-
const message = createBaseMsgBuyCollectionResponse();
|
|
1756
|
-
message.airdropClaimed = object.airdropClaimed ?? false;
|
|
1757
|
-
return message;
|
|
1758
|
-
},
|
|
1759
|
-
};
|
|
1760
|
-
function createBaseMsgRemoveCardFromCollection() {
|
|
1761
|
-
return { creator: "", collectionId: 0, cardId: 0 };
|
|
1762
|
-
}
|
|
1763
|
-
export const MsgRemoveCardFromCollection = {
|
|
1764
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
1765
|
-
if (message.creator !== "") {
|
|
1766
|
-
writer.uint32(10).string(message.creator);
|
|
1767
|
-
}
|
|
1768
|
-
if (message.collectionId !== 0) {
|
|
1769
|
-
writer.uint32(16).uint64(message.collectionId);
|
|
1770
|
-
}
|
|
1771
|
-
if (message.cardId !== 0) {
|
|
1772
|
-
writer.uint32(24).uint64(message.cardId);
|
|
1773
|
-
}
|
|
1774
|
-
return writer;
|
|
1775
|
-
},
|
|
1776
|
-
decode(input, length) {
|
|
1777
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
1778
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1779
|
-
const message = createBaseMsgRemoveCardFromCollection();
|
|
1780
|
-
while (reader.pos < end) {
|
|
1781
|
-
const tag = reader.uint32();
|
|
1782
|
-
switch (tag >>> 3) {
|
|
1783
|
-
case 1:
|
|
1784
|
-
message.creator = reader.string();
|
|
1785
|
-
break;
|
|
1786
|
-
case 2:
|
|
1787
|
-
message.collectionId = longToNumber(reader.uint64());
|
|
1788
|
-
break;
|
|
1789
|
-
case 3:
|
|
1790
|
-
message.cardId = longToNumber(reader.uint64());
|
|
1791
|
-
break;
|
|
1792
|
-
default:
|
|
1793
|
-
reader.skipType(tag & 7);
|
|
1794
|
-
break;
|
|
1795
|
-
}
|
|
1796
|
-
}
|
|
1797
|
-
return message;
|
|
1798
|
-
},
|
|
1799
|
-
fromJSON(object) {
|
|
1800
|
-
return {
|
|
1801
|
-
creator: isSet(object.creator) ? String(object.creator) : "",
|
|
1802
|
-
collectionId: isSet(object.collectionId) ? Number(object.collectionId) : 0,
|
|
1803
|
-
cardId: isSet(object.cardId) ? Number(object.cardId) : 0,
|
|
1804
|
-
};
|
|
1805
|
-
},
|
|
1806
|
-
toJSON(message) {
|
|
1807
|
-
const obj = {};
|
|
1808
|
-
message.creator !== undefined && (obj.creator = message.creator);
|
|
1809
|
-
message.collectionId !== undefined && (obj.collectionId = Math.round(message.collectionId));
|
|
1810
|
-
message.cardId !== undefined && (obj.cardId = Math.round(message.cardId));
|
|
1811
|
-
return obj;
|
|
1812
|
-
},
|
|
1813
|
-
fromPartial(object) {
|
|
1814
|
-
const message = createBaseMsgRemoveCardFromCollection();
|
|
1815
|
-
message.creator = object.creator ?? "";
|
|
1816
|
-
message.collectionId = object.collectionId ?? 0;
|
|
1817
|
-
message.cardId = object.cardId ?? 0;
|
|
1818
|
-
return message;
|
|
1819
|
-
},
|
|
1820
|
-
};
|
|
1821
|
-
function createBaseMsgRemoveCardFromCollectionResponse() {
|
|
1822
|
-
return {};
|
|
1823
|
-
}
|
|
1824
|
-
export const MsgRemoveCardFromCollectionResponse = {
|
|
1825
|
-
encode(_, writer = _m0.Writer.create()) {
|
|
1826
|
-
return writer;
|
|
1827
|
-
},
|
|
1828
|
-
decode(input, length) {
|
|
1829
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
1830
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1831
|
-
const message = createBaseMsgRemoveCardFromCollectionResponse();
|
|
1832
|
-
while (reader.pos < end) {
|
|
1833
|
-
const tag = reader.uint32();
|
|
1834
|
-
switch (tag >>> 3) {
|
|
1835
|
-
default:
|
|
1836
|
-
reader.skipType(tag & 7);
|
|
1837
|
-
break;
|
|
1838
|
-
}
|
|
1839
|
-
}
|
|
1840
|
-
return message;
|
|
1841
|
-
},
|
|
1842
|
-
fromJSON(_) {
|
|
1843
|
-
return {};
|
|
1844
|
-
},
|
|
1845
|
-
toJSON(_) {
|
|
1846
|
-
const obj = {};
|
|
1847
|
-
return obj;
|
|
1848
|
-
},
|
|
1849
|
-
fromPartial(_) {
|
|
1850
|
-
const message = createBaseMsgRemoveCardFromCollectionResponse();
|
|
1851
|
-
return message;
|
|
1852
|
-
},
|
|
1853
|
-
};
|
|
1854
|
-
function createBaseMsgRemoveContributorFromCollection() {
|
|
1855
|
-
return { creator: "", collectionId: 0, user: "" };
|
|
1856
|
-
}
|
|
1857
|
-
export const MsgRemoveContributorFromCollection = {
|
|
1858
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
1859
|
-
if (message.creator !== "") {
|
|
1860
|
-
writer.uint32(10).string(message.creator);
|
|
1861
|
-
}
|
|
1862
|
-
if (message.collectionId !== 0) {
|
|
1863
|
-
writer.uint32(16).uint64(message.collectionId);
|
|
1864
|
-
}
|
|
1865
|
-
if (message.user !== "") {
|
|
1866
|
-
writer.uint32(26).string(message.user);
|
|
1867
|
-
}
|
|
1868
|
-
return writer;
|
|
1869
|
-
},
|
|
1870
|
-
decode(input, length) {
|
|
1871
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
1872
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1873
|
-
const message = createBaseMsgRemoveContributorFromCollection();
|
|
1874
|
-
while (reader.pos < end) {
|
|
1875
|
-
const tag = reader.uint32();
|
|
1876
|
-
switch (tag >>> 3) {
|
|
1877
|
-
case 1:
|
|
1878
|
-
message.creator = reader.string();
|
|
1879
|
-
break;
|
|
1880
|
-
case 2:
|
|
1881
|
-
message.collectionId = longToNumber(reader.uint64());
|
|
1882
|
-
break;
|
|
1883
|
-
case 3:
|
|
1884
|
-
message.user = reader.string();
|
|
1885
|
-
break;
|
|
1886
|
-
default:
|
|
1887
|
-
reader.skipType(tag & 7);
|
|
1888
|
-
break;
|
|
1889
|
-
}
|
|
1890
|
-
}
|
|
1891
|
-
return message;
|
|
1892
|
-
},
|
|
1893
|
-
fromJSON(object) {
|
|
1894
|
-
return {
|
|
1895
|
-
creator: isSet(object.creator) ? String(object.creator) : "",
|
|
1896
|
-
collectionId: isSet(object.collectionId) ? Number(object.collectionId) : 0,
|
|
1897
|
-
user: isSet(object.user) ? String(object.user) : "",
|
|
1898
|
-
};
|
|
1899
|
-
},
|
|
1900
|
-
toJSON(message) {
|
|
1901
|
-
const obj = {};
|
|
1902
|
-
message.creator !== undefined && (obj.creator = message.creator);
|
|
1903
|
-
message.collectionId !== undefined && (obj.collectionId = Math.round(message.collectionId));
|
|
1904
|
-
message.user !== undefined && (obj.user = message.user);
|
|
1905
|
-
return obj;
|
|
1906
|
-
},
|
|
1907
|
-
fromPartial(object) {
|
|
1908
|
-
const message = createBaseMsgRemoveContributorFromCollection();
|
|
1909
|
-
message.creator = object.creator ?? "";
|
|
1910
|
-
message.collectionId = object.collectionId ?? 0;
|
|
1911
|
-
message.user = object.user ?? "";
|
|
1912
|
-
return message;
|
|
1913
|
-
},
|
|
1914
|
-
};
|
|
1915
|
-
function createBaseMsgRemoveContributorFromCollectionResponse() {
|
|
1916
|
-
return {};
|
|
1917
|
-
}
|
|
1918
|
-
export const MsgRemoveContributorFromCollectionResponse = {
|
|
1919
|
-
encode(_, writer = _m0.Writer.create()) {
|
|
1920
|
-
return writer;
|
|
1921
|
-
},
|
|
1922
|
-
decode(input, length) {
|
|
1923
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
1924
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1925
|
-
const message = createBaseMsgRemoveContributorFromCollectionResponse();
|
|
1926
|
-
while (reader.pos < end) {
|
|
1927
|
-
const tag = reader.uint32();
|
|
1928
|
-
switch (tag >>> 3) {
|
|
1929
|
-
default:
|
|
1930
|
-
reader.skipType(tag & 7);
|
|
1931
|
-
break;
|
|
1932
|
-
}
|
|
1933
|
-
}
|
|
1934
|
-
return message;
|
|
1935
|
-
},
|
|
1936
|
-
fromJSON(_) {
|
|
1937
|
-
return {};
|
|
1938
|
-
},
|
|
1939
|
-
toJSON(_) {
|
|
1940
|
-
const obj = {};
|
|
1941
|
-
return obj;
|
|
1942
|
-
},
|
|
1943
|
-
fromPartial(_) {
|
|
1944
|
-
const message = createBaseMsgRemoveContributorFromCollectionResponse();
|
|
1945
|
-
return message;
|
|
1946
|
-
},
|
|
1947
|
-
};
|
|
1948
|
-
function createBaseMsgAddContributorToCollection() {
|
|
1949
|
-
return { creator: "", collectionId: 0, user: "" };
|
|
1950
|
-
}
|
|
1951
|
-
export const MsgAddContributorToCollection = {
|
|
1952
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
1953
|
-
if (message.creator !== "") {
|
|
1954
|
-
writer.uint32(10).string(message.creator);
|
|
1955
|
-
}
|
|
1956
|
-
if (message.collectionId !== 0) {
|
|
1957
|
-
writer.uint32(16).uint64(message.collectionId);
|
|
1958
|
-
}
|
|
1959
|
-
if (message.user !== "") {
|
|
1960
|
-
writer.uint32(26).string(message.user);
|
|
1961
|
-
}
|
|
1962
|
-
return writer;
|
|
1963
|
-
},
|
|
1964
|
-
decode(input, length) {
|
|
1965
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
1966
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1967
|
-
const message = createBaseMsgAddContributorToCollection();
|
|
1968
|
-
while (reader.pos < end) {
|
|
1969
|
-
const tag = reader.uint32();
|
|
1970
|
-
switch (tag >>> 3) {
|
|
1971
|
-
case 1:
|
|
1972
|
-
message.creator = reader.string();
|
|
1973
|
-
break;
|
|
1974
|
-
case 2:
|
|
1975
|
-
message.collectionId = longToNumber(reader.uint64());
|
|
1976
|
-
break;
|
|
1977
|
-
case 3:
|
|
1978
|
-
message.user = reader.string();
|
|
1979
|
-
break;
|
|
1980
|
-
default:
|
|
1981
|
-
reader.skipType(tag & 7);
|
|
1982
|
-
break;
|
|
1983
|
-
}
|
|
1984
|
-
}
|
|
1985
|
-
return message;
|
|
1986
|
-
},
|
|
1987
|
-
fromJSON(object) {
|
|
1988
|
-
return {
|
|
1989
|
-
creator: isSet(object.creator) ? String(object.creator) : "",
|
|
1990
|
-
collectionId: isSet(object.collectionId) ? Number(object.collectionId) : 0,
|
|
1991
|
-
user: isSet(object.user) ? String(object.user) : "",
|
|
1992
|
-
};
|
|
1993
|
-
},
|
|
1994
|
-
toJSON(message) {
|
|
1995
|
-
const obj = {};
|
|
1996
|
-
message.creator !== undefined && (obj.creator = message.creator);
|
|
1997
|
-
message.collectionId !== undefined && (obj.collectionId = Math.round(message.collectionId));
|
|
1998
|
-
message.user !== undefined && (obj.user = message.user);
|
|
1999
|
-
return obj;
|
|
2000
|
-
},
|
|
2001
|
-
fromPartial(object) {
|
|
2002
|
-
const message = createBaseMsgAddContributorToCollection();
|
|
2003
|
-
message.creator = object.creator ?? "";
|
|
2004
|
-
message.collectionId = object.collectionId ?? 0;
|
|
2005
|
-
message.user = object.user ?? "";
|
|
2006
|
-
return message;
|
|
2007
|
-
},
|
|
2008
|
-
};
|
|
2009
|
-
function createBaseMsgAddContributorToCollectionResponse() {
|
|
2010
|
-
return {};
|
|
2011
|
-
}
|
|
2012
|
-
export const MsgAddContributorToCollectionResponse = {
|
|
2013
|
-
encode(_, writer = _m0.Writer.create()) {
|
|
2014
|
-
return writer;
|
|
2015
|
-
},
|
|
2016
|
-
decode(input, length) {
|
|
2017
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
2018
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2019
|
-
const message = createBaseMsgAddContributorToCollectionResponse();
|
|
2020
|
-
while (reader.pos < end) {
|
|
2021
|
-
const tag = reader.uint32();
|
|
2022
|
-
switch (tag >>> 3) {
|
|
2023
|
-
default:
|
|
2024
|
-
reader.skipType(tag & 7);
|
|
2025
|
-
break;
|
|
2026
|
-
}
|
|
2027
|
-
}
|
|
2028
|
-
return message;
|
|
2029
|
-
},
|
|
2030
|
-
fromJSON(_) {
|
|
2031
|
-
return {};
|
|
2032
|
-
},
|
|
2033
|
-
toJSON(_) {
|
|
2034
|
-
const obj = {};
|
|
2035
|
-
return obj;
|
|
2036
|
-
},
|
|
2037
|
-
fromPartial(_) {
|
|
2038
|
-
const message = createBaseMsgAddContributorToCollectionResponse();
|
|
2039
|
-
return message;
|
|
2040
|
-
},
|
|
2041
|
-
};
|
|
2042
|
-
function createBaseMsgSubmitCollectionProposal() {
|
|
2043
|
-
return { creator: "", collectionId: 0 };
|
|
2044
|
-
}
|
|
2045
|
-
export const MsgSubmitCollectionProposal = {
|
|
2046
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
2047
|
-
if (message.creator !== "") {
|
|
2048
|
-
writer.uint32(10).string(message.creator);
|
|
2049
|
-
}
|
|
2050
|
-
if (message.collectionId !== 0) {
|
|
2051
|
-
writer.uint32(16).uint64(message.collectionId);
|
|
2052
|
-
}
|
|
2053
|
-
return writer;
|
|
2054
|
-
},
|
|
2055
|
-
decode(input, length) {
|
|
2056
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
2057
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2058
|
-
const message = createBaseMsgSubmitCollectionProposal();
|
|
2059
|
-
while (reader.pos < end) {
|
|
2060
|
-
const tag = reader.uint32();
|
|
2061
|
-
switch (tag >>> 3) {
|
|
2062
|
-
case 1:
|
|
2063
|
-
message.creator = reader.string();
|
|
2064
|
-
break;
|
|
2065
|
-
case 2:
|
|
2066
|
-
message.collectionId = longToNumber(reader.uint64());
|
|
2067
|
-
break;
|
|
2068
|
-
default:
|
|
2069
|
-
reader.skipType(tag & 7);
|
|
2070
|
-
break;
|
|
2071
|
-
}
|
|
2072
|
-
}
|
|
2073
|
-
return message;
|
|
2074
|
-
},
|
|
2075
|
-
fromJSON(object) {
|
|
2076
|
-
return {
|
|
2077
|
-
creator: isSet(object.creator) ? String(object.creator) : "",
|
|
2078
|
-
collectionId: isSet(object.collectionId) ? Number(object.collectionId) : 0,
|
|
2079
|
-
};
|
|
2080
|
-
},
|
|
2081
|
-
toJSON(message) {
|
|
2082
|
-
const obj = {};
|
|
2083
|
-
message.creator !== undefined && (obj.creator = message.creator);
|
|
2084
|
-
message.collectionId !== undefined && (obj.collectionId = Math.round(message.collectionId));
|
|
2085
|
-
return obj;
|
|
2086
|
-
},
|
|
2087
|
-
fromPartial(object) {
|
|
2088
|
-
const message = createBaseMsgSubmitCollectionProposal();
|
|
2089
|
-
message.creator = object.creator ?? "";
|
|
2090
|
-
message.collectionId = object.collectionId ?? 0;
|
|
2091
|
-
return message;
|
|
2092
|
-
},
|
|
2093
|
-
};
|
|
2094
|
-
function createBaseMsgSubmitCollectionProposalResponse() {
|
|
2095
|
-
return {};
|
|
2096
|
-
}
|
|
2097
|
-
export const MsgSubmitCollectionProposalResponse = {
|
|
2098
|
-
encode(_, writer = _m0.Writer.create()) {
|
|
2099
|
-
return writer;
|
|
2100
|
-
},
|
|
2101
|
-
decode(input, length) {
|
|
2102
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
2103
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2104
|
-
const message = createBaseMsgSubmitCollectionProposalResponse();
|
|
2105
|
-
while (reader.pos < end) {
|
|
2106
|
-
const tag = reader.uint32();
|
|
2107
|
-
switch (tag >>> 3) {
|
|
2108
|
-
default:
|
|
2109
|
-
reader.skipType(tag & 7);
|
|
2110
|
-
break;
|
|
2111
|
-
}
|
|
2112
|
-
}
|
|
2113
|
-
return message;
|
|
2114
|
-
},
|
|
2115
|
-
fromJSON(_) {
|
|
2116
|
-
return {};
|
|
2117
|
-
},
|
|
2118
|
-
toJSON(_) {
|
|
2119
|
-
const obj = {};
|
|
2120
|
-
return obj;
|
|
2121
|
-
},
|
|
2122
|
-
fromPartial(_) {
|
|
2123
|
-
const message = createBaseMsgSubmitCollectionProposalResponse();
|
|
2124
|
-
return message;
|
|
2125
|
-
},
|
|
2126
|
-
};
|
|
2127
|
-
function createBaseMsgCreateSellOffer() {
|
|
2128
|
-
return { creator: "", card: 0, price: "" };
|
|
2129
|
-
}
|
|
2130
|
-
export const MsgCreateSellOffer = {
|
|
2131
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
2132
|
-
if (message.creator !== "") {
|
|
2133
|
-
writer.uint32(10).string(message.creator);
|
|
2134
|
-
}
|
|
2135
|
-
if (message.card !== 0) {
|
|
2136
|
-
writer.uint32(16).uint64(message.card);
|
|
2137
|
-
}
|
|
2138
|
-
if (message.price !== "") {
|
|
2139
|
-
writer.uint32(26).string(message.price);
|
|
2140
|
-
}
|
|
2141
|
-
return writer;
|
|
2142
|
-
},
|
|
2143
|
-
decode(input, length) {
|
|
2144
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
2145
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2146
|
-
const message = createBaseMsgCreateSellOffer();
|
|
2147
|
-
while (reader.pos < end) {
|
|
2148
|
-
const tag = reader.uint32();
|
|
2149
|
-
switch (tag >>> 3) {
|
|
2150
|
-
case 1:
|
|
2151
|
-
message.creator = reader.string();
|
|
2152
|
-
break;
|
|
2153
|
-
case 2:
|
|
2154
|
-
message.card = longToNumber(reader.uint64());
|
|
2155
|
-
break;
|
|
2156
|
-
case 3:
|
|
2157
|
-
message.price = reader.string();
|
|
2158
|
-
break;
|
|
2159
|
-
default:
|
|
2160
|
-
reader.skipType(tag & 7);
|
|
2161
|
-
break;
|
|
2162
|
-
}
|
|
2163
|
-
}
|
|
2164
|
-
return message;
|
|
2165
|
-
},
|
|
2166
|
-
fromJSON(object) {
|
|
2167
|
-
return {
|
|
2168
|
-
creator: isSet(object.creator) ? String(object.creator) : "",
|
|
2169
|
-
card: isSet(object.card) ? Number(object.card) : 0,
|
|
2170
|
-
price: isSet(object.price) ? String(object.price) : "",
|
|
2171
|
-
};
|
|
2172
|
-
},
|
|
2173
|
-
toJSON(message) {
|
|
2174
|
-
const obj = {};
|
|
2175
|
-
message.creator !== undefined && (obj.creator = message.creator);
|
|
2176
|
-
message.card !== undefined && (obj.card = Math.round(message.card));
|
|
2177
|
-
message.price !== undefined && (obj.price = message.price);
|
|
2178
|
-
return obj;
|
|
2179
|
-
},
|
|
2180
|
-
fromPartial(object) {
|
|
2181
|
-
const message = createBaseMsgCreateSellOffer();
|
|
2182
|
-
message.creator = object.creator ?? "";
|
|
2183
|
-
message.card = object.card ?? 0;
|
|
2184
|
-
message.price = object.price ?? "";
|
|
2185
|
-
return message;
|
|
2186
|
-
},
|
|
2187
|
-
};
|
|
2188
|
-
function createBaseMsgCreateSellOfferResponse() {
|
|
2189
|
-
return {};
|
|
2190
|
-
}
|
|
2191
|
-
export const MsgCreateSellOfferResponse = {
|
|
2192
|
-
encode(_, writer = _m0.Writer.create()) {
|
|
2193
|
-
return writer;
|
|
2194
|
-
},
|
|
2195
|
-
decode(input, length) {
|
|
2196
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
2197
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2198
|
-
const message = createBaseMsgCreateSellOfferResponse();
|
|
2199
|
-
while (reader.pos < end) {
|
|
2200
|
-
const tag = reader.uint32();
|
|
2201
|
-
switch (tag >>> 3) {
|
|
2202
|
-
default:
|
|
2203
|
-
reader.skipType(tag & 7);
|
|
2204
|
-
break;
|
|
2205
|
-
}
|
|
2206
|
-
}
|
|
2207
|
-
return message;
|
|
2208
|
-
},
|
|
2209
|
-
fromJSON(_) {
|
|
2210
|
-
return {};
|
|
2211
|
-
},
|
|
2212
|
-
toJSON(_) {
|
|
2213
|
-
const obj = {};
|
|
2214
|
-
return obj;
|
|
2215
|
-
},
|
|
2216
|
-
fromPartial(_) {
|
|
2217
|
-
const message = createBaseMsgCreateSellOfferResponse();
|
|
2218
|
-
return message;
|
|
2219
|
-
},
|
|
2220
|
-
};
|
|
2221
|
-
function createBaseMsgBuyCard() {
|
|
2222
|
-
return { creator: "", sellOfferId: 0 };
|
|
2223
|
-
}
|
|
2224
|
-
export const MsgBuyCard = {
|
|
2225
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
2226
|
-
if (message.creator !== "") {
|
|
2227
|
-
writer.uint32(10).string(message.creator);
|
|
2228
|
-
}
|
|
2229
|
-
if (message.sellOfferId !== 0) {
|
|
2230
|
-
writer.uint32(16).uint64(message.sellOfferId);
|
|
2231
|
-
}
|
|
2232
|
-
return writer;
|
|
2233
|
-
},
|
|
2234
|
-
decode(input, length) {
|
|
2235
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
2236
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2237
|
-
const message = createBaseMsgBuyCard();
|
|
2238
|
-
while (reader.pos < end) {
|
|
2239
|
-
const tag = reader.uint32();
|
|
2240
|
-
switch (tag >>> 3) {
|
|
2241
|
-
case 1:
|
|
2242
|
-
message.creator = reader.string();
|
|
2243
|
-
break;
|
|
2244
|
-
case 2:
|
|
2245
|
-
message.sellOfferId = longToNumber(reader.uint64());
|
|
2246
|
-
break;
|
|
2247
|
-
default:
|
|
2248
|
-
reader.skipType(tag & 7);
|
|
2249
|
-
break;
|
|
2250
|
-
}
|
|
2251
|
-
}
|
|
2252
|
-
return message;
|
|
2253
|
-
},
|
|
2254
|
-
fromJSON(object) {
|
|
2255
|
-
return {
|
|
2256
|
-
creator: isSet(object.creator) ? String(object.creator) : "",
|
|
2257
|
-
sellOfferId: isSet(object.sellOfferId) ? Number(object.sellOfferId) : 0,
|
|
2258
|
-
};
|
|
2259
|
-
},
|
|
2260
|
-
toJSON(message) {
|
|
2261
|
-
const obj = {};
|
|
2262
|
-
message.creator !== undefined && (obj.creator = message.creator);
|
|
2263
|
-
message.sellOfferId !== undefined && (obj.sellOfferId = Math.round(message.sellOfferId));
|
|
2264
|
-
return obj;
|
|
2265
|
-
},
|
|
2266
|
-
fromPartial(object) {
|
|
2267
|
-
const message = createBaseMsgBuyCard();
|
|
2268
|
-
message.creator = object.creator ?? "";
|
|
2269
|
-
message.sellOfferId = object.sellOfferId ?? 0;
|
|
2270
|
-
return message;
|
|
2271
|
-
},
|
|
2272
|
-
};
|
|
2273
|
-
function createBaseMsgBuyCardResponse() {
|
|
2274
|
-
return {};
|
|
2275
|
-
}
|
|
2276
|
-
export const MsgBuyCardResponse = {
|
|
2277
|
-
encode(_, writer = _m0.Writer.create()) {
|
|
2278
|
-
return writer;
|
|
2279
|
-
},
|
|
2280
|
-
decode(input, length) {
|
|
2281
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
2282
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2283
|
-
const message = createBaseMsgBuyCardResponse();
|
|
2284
|
-
while (reader.pos < end) {
|
|
2285
|
-
const tag = reader.uint32();
|
|
2286
|
-
switch (tag >>> 3) {
|
|
2287
|
-
default:
|
|
2288
|
-
reader.skipType(tag & 7);
|
|
2289
|
-
break;
|
|
2290
|
-
}
|
|
2291
|
-
}
|
|
2292
|
-
return message;
|
|
2293
|
-
},
|
|
2294
|
-
fromJSON(_) {
|
|
2295
|
-
return {};
|
|
2296
|
-
},
|
|
2297
|
-
toJSON(_) {
|
|
2298
|
-
const obj = {};
|
|
2299
|
-
return obj;
|
|
2300
|
-
},
|
|
2301
|
-
fromPartial(_) {
|
|
2302
|
-
const message = createBaseMsgBuyCardResponse();
|
|
2303
|
-
return message;
|
|
2304
|
-
},
|
|
2305
|
-
};
|
|
2306
|
-
function createBaseMsgRemoveSellOffer() {
|
|
2307
|
-
return { creator: "", sellOfferId: 0 };
|
|
2308
|
-
}
|
|
2309
|
-
export const MsgRemoveSellOffer = {
|
|
2310
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
2311
|
-
if (message.creator !== "") {
|
|
2312
|
-
writer.uint32(10).string(message.creator);
|
|
2313
|
-
}
|
|
2314
|
-
if (message.sellOfferId !== 0) {
|
|
2315
|
-
writer.uint32(16).uint64(message.sellOfferId);
|
|
2316
|
-
}
|
|
2317
|
-
return writer;
|
|
2318
|
-
},
|
|
2319
|
-
decode(input, length) {
|
|
2320
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
2321
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2322
|
-
const message = createBaseMsgRemoveSellOffer();
|
|
2323
|
-
while (reader.pos < end) {
|
|
2324
|
-
const tag = reader.uint32();
|
|
2325
|
-
switch (tag >>> 3) {
|
|
2326
|
-
case 1:
|
|
2327
|
-
message.creator = reader.string();
|
|
2328
|
-
break;
|
|
2329
|
-
case 2:
|
|
2330
|
-
message.sellOfferId = longToNumber(reader.uint64());
|
|
2331
|
-
break;
|
|
2332
|
-
default:
|
|
2333
|
-
reader.skipType(tag & 7);
|
|
2334
|
-
break;
|
|
2335
|
-
}
|
|
2336
|
-
}
|
|
2337
|
-
return message;
|
|
2338
|
-
},
|
|
2339
|
-
fromJSON(object) {
|
|
2340
|
-
return {
|
|
2341
|
-
creator: isSet(object.creator) ? String(object.creator) : "",
|
|
2342
|
-
sellOfferId: isSet(object.sellOfferId) ? Number(object.sellOfferId) : 0,
|
|
2343
|
-
};
|
|
2344
|
-
},
|
|
2345
|
-
toJSON(message) {
|
|
2346
|
-
const obj = {};
|
|
2347
|
-
message.creator !== undefined && (obj.creator = message.creator);
|
|
2348
|
-
message.sellOfferId !== undefined && (obj.sellOfferId = Math.round(message.sellOfferId));
|
|
2349
|
-
return obj;
|
|
2350
|
-
},
|
|
2351
|
-
fromPartial(object) {
|
|
2352
|
-
const message = createBaseMsgRemoveSellOffer();
|
|
2353
|
-
message.creator = object.creator ?? "";
|
|
2354
|
-
message.sellOfferId = object.sellOfferId ?? 0;
|
|
2355
|
-
return message;
|
|
2356
|
-
},
|
|
2357
|
-
};
|
|
2358
|
-
function createBaseMsgRemoveSellOfferResponse() {
|
|
2359
|
-
return {};
|
|
2360
|
-
}
|
|
2361
|
-
export const MsgRemoveSellOfferResponse = {
|
|
2362
|
-
encode(_, writer = _m0.Writer.create()) {
|
|
2363
|
-
return writer;
|
|
2364
|
-
},
|
|
2365
|
-
decode(input, length) {
|
|
2366
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
2367
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2368
|
-
const message = createBaseMsgRemoveSellOfferResponse();
|
|
2369
|
-
while (reader.pos < end) {
|
|
2370
|
-
const tag = reader.uint32();
|
|
2371
|
-
switch (tag >>> 3) {
|
|
2372
|
-
default:
|
|
2373
|
-
reader.skipType(tag & 7);
|
|
2374
|
-
break;
|
|
2375
|
-
}
|
|
2376
|
-
}
|
|
2377
|
-
return message;
|
|
2378
|
-
},
|
|
2379
|
-
fromJSON(_) {
|
|
2380
|
-
return {};
|
|
2381
|
-
},
|
|
2382
|
-
toJSON(_) {
|
|
2383
|
-
const obj = {};
|
|
2384
|
-
return obj;
|
|
2385
|
-
},
|
|
2386
|
-
fromPartial(_) {
|
|
2387
|
-
const message = createBaseMsgRemoveSellOfferResponse();
|
|
2388
|
-
return message;
|
|
2389
|
-
},
|
|
2390
|
-
};
|
|
2391
|
-
function createBaseMsgAddArtworkToCollection() {
|
|
2392
|
-
return { creator: "", collectionId: 0, image: new Uint8Array() };
|
|
2393
|
-
}
|
|
2394
|
-
export const MsgAddArtworkToCollection = {
|
|
2395
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
2396
|
-
if (message.creator !== "") {
|
|
2397
|
-
writer.uint32(10).string(message.creator);
|
|
2398
|
-
}
|
|
2399
|
-
if (message.collectionId !== 0) {
|
|
2400
|
-
writer.uint32(16).uint64(message.collectionId);
|
|
2401
|
-
}
|
|
2402
|
-
if (message.image.length !== 0) {
|
|
2403
|
-
writer.uint32(26).bytes(message.image);
|
|
2404
|
-
}
|
|
2405
|
-
return writer;
|
|
2406
|
-
},
|
|
2407
|
-
decode(input, length) {
|
|
2408
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
2409
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2410
|
-
const message = createBaseMsgAddArtworkToCollection();
|
|
2411
|
-
while (reader.pos < end) {
|
|
2412
|
-
const tag = reader.uint32();
|
|
2413
|
-
switch (tag >>> 3) {
|
|
2414
|
-
case 1:
|
|
2415
|
-
message.creator = reader.string();
|
|
2416
|
-
break;
|
|
2417
|
-
case 2:
|
|
2418
|
-
message.collectionId = longToNumber(reader.uint64());
|
|
2419
|
-
break;
|
|
2420
|
-
case 3:
|
|
2421
|
-
message.image = reader.bytes();
|
|
2422
|
-
break;
|
|
2423
|
-
default:
|
|
2424
|
-
reader.skipType(tag & 7);
|
|
2425
|
-
break;
|
|
2426
|
-
}
|
|
2427
|
-
}
|
|
2428
|
-
return message;
|
|
2429
|
-
},
|
|
2430
|
-
fromJSON(object) {
|
|
2431
|
-
return {
|
|
2432
|
-
creator: isSet(object.creator) ? String(object.creator) : "",
|
|
2433
|
-
collectionId: isSet(object.collectionId) ? Number(object.collectionId) : 0,
|
|
2434
|
-
image: isSet(object.image) ? bytesFromBase64(object.image) : new Uint8Array(),
|
|
2435
|
-
};
|
|
2436
|
-
},
|
|
2437
|
-
toJSON(message) {
|
|
2438
|
-
const obj = {};
|
|
2439
|
-
message.creator !== undefined && (obj.creator = message.creator);
|
|
2440
|
-
message.collectionId !== undefined && (obj.collectionId = Math.round(message.collectionId));
|
|
2441
|
-
message.image !== undefined
|
|
2442
|
-
&& (obj.image = base64FromBytes(message.image !== undefined ? message.image : new Uint8Array()));
|
|
2443
|
-
return obj;
|
|
2444
|
-
},
|
|
2445
|
-
fromPartial(object) {
|
|
2446
|
-
const message = createBaseMsgAddArtworkToCollection();
|
|
2447
|
-
message.creator = object.creator ?? "";
|
|
2448
|
-
message.collectionId = object.collectionId ?? 0;
|
|
2449
|
-
message.image = object.image ?? new Uint8Array();
|
|
2450
|
-
return message;
|
|
2451
|
-
},
|
|
2452
|
-
};
|
|
2453
|
-
function createBaseMsgAddArtworkToCollectionResponse() {
|
|
2454
|
-
return {};
|
|
2455
|
-
}
|
|
2456
|
-
export const MsgAddArtworkToCollectionResponse = {
|
|
2457
|
-
encode(_, writer = _m0.Writer.create()) {
|
|
2458
|
-
return writer;
|
|
2459
|
-
},
|
|
2460
|
-
decode(input, length) {
|
|
2461
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
2462
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2463
|
-
const message = createBaseMsgAddArtworkToCollectionResponse();
|
|
2464
|
-
while (reader.pos < end) {
|
|
2465
|
-
const tag = reader.uint32();
|
|
2466
|
-
switch (tag >>> 3) {
|
|
2467
|
-
default:
|
|
2468
|
-
reader.skipType(tag & 7);
|
|
2469
|
-
break;
|
|
2470
|
-
}
|
|
2471
|
-
}
|
|
2472
|
-
return message;
|
|
2473
|
-
},
|
|
2474
|
-
fromJSON(_) {
|
|
2475
|
-
return {};
|
|
2476
|
-
},
|
|
2477
|
-
toJSON(_) {
|
|
2478
|
-
const obj = {};
|
|
2479
|
-
return obj;
|
|
2480
|
-
},
|
|
2481
|
-
fromPartial(_) {
|
|
2482
|
-
const message = createBaseMsgAddArtworkToCollectionResponse();
|
|
2483
|
-
return message;
|
|
2484
|
-
},
|
|
2485
|
-
};
|
|
2486
|
-
function createBaseMsgAddStoryToCollection() {
|
|
2487
|
-
return { creator: "", collectionId: 0, story: "" };
|
|
2488
|
-
}
|
|
2489
|
-
export const MsgAddStoryToCollection = {
|
|
2490
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
2491
|
-
if (message.creator !== "") {
|
|
2492
|
-
writer.uint32(10).string(message.creator);
|
|
2493
|
-
}
|
|
2494
|
-
if (message.collectionId !== 0) {
|
|
2495
|
-
writer.uint32(16).uint64(message.collectionId);
|
|
2496
|
-
}
|
|
2497
|
-
if (message.story !== "") {
|
|
2498
|
-
writer.uint32(26).string(message.story);
|
|
2499
|
-
}
|
|
2500
|
-
return writer;
|
|
2501
|
-
},
|
|
2502
|
-
decode(input, length) {
|
|
2503
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
2504
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2505
|
-
const message = createBaseMsgAddStoryToCollection();
|
|
2506
|
-
while (reader.pos < end) {
|
|
2507
|
-
const tag = reader.uint32();
|
|
2508
|
-
switch (tag >>> 3) {
|
|
2509
|
-
case 1:
|
|
2510
|
-
message.creator = reader.string();
|
|
2511
|
-
break;
|
|
2512
|
-
case 2:
|
|
2513
|
-
message.collectionId = longToNumber(reader.uint64());
|
|
2514
|
-
break;
|
|
2515
|
-
case 3:
|
|
2516
|
-
message.story = reader.string();
|
|
2517
|
-
break;
|
|
2518
|
-
default:
|
|
2519
|
-
reader.skipType(tag & 7);
|
|
2520
|
-
break;
|
|
2521
|
-
}
|
|
2522
|
-
}
|
|
2523
|
-
return message;
|
|
2524
|
-
},
|
|
2525
|
-
fromJSON(object) {
|
|
2526
|
-
return {
|
|
2527
|
-
creator: isSet(object.creator) ? String(object.creator) : "",
|
|
2528
|
-
collectionId: isSet(object.collectionId) ? Number(object.collectionId) : 0,
|
|
2529
|
-
story: isSet(object.story) ? String(object.story) : "",
|
|
2530
|
-
};
|
|
2531
|
-
},
|
|
2532
|
-
toJSON(message) {
|
|
2533
|
-
const obj = {};
|
|
2534
|
-
message.creator !== undefined && (obj.creator = message.creator);
|
|
2535
|
-
message.collectionId !== undefined && (obj.collectionId = Math.round(message.collectionId));
|
|
2536
|
-
message.story !== undefined && (obj.story = message.story);
|
|
2537
|
-
return obj;
|
|
2538
|
-
},
|
|
2539
|
-
fromPartial(object) {
|
|
2540
|
-
const message = createBaseMsgAddStoryToCollection();
|
|
2541
|
-
message.creator = object.creator ?? "";
|
|
2542
|
-
message.collectionId = object.collectionId ?? 0;
|
|
2543
|
-
message.story = object.story ?? "";
|
|
2544
|
-
return message;
|
|
2545
|
-
},
|
|
2546
|
-
};
|
|
2547
|
-
function createBaseMsgAddStoryToCollectionResponse() {
|
|
2548
|
-
return {};
|
|
2549
|
-
}
|
|
2550
|
-
export const MsgAddStoryToCollectionResponse = {
|
|
2551
|
-
encode(_, writer = _m0.Writer.create()) {
|
|
2552
|
-
return writer;
|
|
2553
|
-
},
|
|
2554
|
-
decode(input, length) {
|
|
2555
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
2556
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2557
|
-
const message = createBaseMsgAddStoryToCollectionResponse();
|
|
2558
|
-
while (reader.pos < end) {
|
|
2559
|
-
const tag = reader.uint32();
|
|
2560
|
-
switch (tag >>> 3) {
|
|
2561
|
-
default:
|
|
2562
|
-
reader.skipType(tag & 7);
|
|
2563
|
-
break;
|
|
2564
|
-
}
|
|
2565
|
-
}
|
|
2566
|
-
return message;
|
|
2567
|
-
},
|
|
2568
|
-
fromJSON(_) {
|
|
2569
|
-
return {};
|
|
2570
|
-
},
|
|
2571
|
-
toJSON(_) {
|
|
2572
|
-
const obj = {};
|
|
2573
|
-
return obj;
|
|
2574
|
-
},
|
|
2575
|
-
fromPartial(_) {
|
|
2576
|
-
const message = createBaseMsgAddStoryToCollectionResponse();
|
|
2577
|
-
return message;
|
|
2578
|
-
},
|
|
2579
|
-
};
|
|
2580
|
-
function createBaseMsgSetCardRarity() {
|
|
2581
|
-
return { creator: "", cardId: 0, collectionId: 0, rarity: "" };
|
|
2582
|
-
}
|
|
2583
|
-
export const MsgSetCardRarity = {
|
|
2584
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
2585
|
-
if (message.creator !== "") {
|
|
2586
|
-
writer.uint32(10).string(message.creator);
|
|
2587
|
-
}
|
|
2588
|
-
if (message.cardId !== 0) {
|
|
2589
|
-
writer.uint32(16).uint64(message.cardId);
|
|
2590
|
-
}
|
|
2591
|
-
if (message.collectionId !== 0) {
|
|
2592
|
-
writer.uint32(24).uint64(message.collectionId);
|
|
2593
|
-
}
|
|
2594
|
-
if (message.rarity !== "") {
|
|
2595
|
-
writer.uint32(34).string(message.rarity);
|
|
2596
|
-
}
|
|
2597
|
-
return writer;
|
|
2598
|
-
},
|
|
2599
|
-
decode(input, length) {
|
|
2600
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
2601
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2602
|
-
const message = createBaseMsgSetCardRarity();
|
|
2603
|
-
while (reader.pos < end) {
|
|
2604
|
-
const tag = reader.uint32();
|
|
2605
|
-
switch (tag >>> 3) {
|
|
2606
|
-
case 1:
|
|
2607
|
-
message.creator = reader.string();
|
|
2608
|
-
break;
|
|
2609
|
-
case 2:
|
|
2610
|
-
message.cardId = longToNumber(reader.uint64());
|
|
2611
|
-
break;
|
|
2612
|
-
case 3:
|
|
2613
|
-
message.collectionId = longToNumber(reader.uint64());
|
|
2614
|
-
break;
|
|
2615
|
-
case 4:
|
|
2616
|
-
message.rarity = reader.string();
|
|
2617
|
-
break;
|
|
2618
|
-
default:
|
|
2619
|
-
reader.skipType(tag & 7);
|
|
2620
|
-
break;
|
|
2621
|
-
}
|
|
2622
|
-
}
|
|
2623
|
-
return message;
|
|
2624
|
-
},
|
|
2625
|
-
fromJSON(object) {
|
|
2626
|
-
return {
|
|
2627
|
-
creator: isSet(object.creator) ? String(object.creator) : "",
|
|
2628
|
-
cardId: isSet(object.cardId) ? Number(object.cardId) : 0,
|
|
2629
|
-
collectionId: isSet(object.collectionId) ? Number(object.collectionId) : 0,
|
|
2630
|
-
rarity: isSet(object.rarity) ? String(object.rarity) : "",
|
|
2631
|
-
};
|
|
2632
|
-
},
|
|
2633
|
-
toJSON(message) {
|
|
2634
|
-
const obj = {};
|
|
2635
|
-
message.creator !== undefined && (obj.creator = message.creator);
|
|
2636
|
-
message.cardId !== undefined && (obj.cardId = Math.round(message.cardId));
|
|
2637
|
-
message.collectionId !== undefined && (obj.collectionId = Math.round(message.collectionId));
|
|
2638
|
-
message.rarity !== undefined && (obj.rarity = message.rarity);
|
|
2639
|
-
return obj;
|
|
2640
|
-
},
|
|
2641
|
-
fromPartial(object) {
|
|
2642
|
-
const message = createBaseMsgSetCardRarity();
|
|
2643
|
-
message.creator = object.creator ?? "";
|
|
2644
|
-
message.cardId = object.cardId ?? 0;
|
|
2645
|
-
message.collectionId = object.collectionId ?? 0;
|
|
2646
|
-
message.rarity = object.rarity ?? "";
|
|
2647
|
-
return message;
|
|
2648
|
-
},
|
|
2649
|
-
};
|
|
2650
|
-
function createBaseMsgSetCardRarityResponse() {
|
|
2651
|
-
return {};
|
|
2652
|
-
}
|
|
2653
|
-
export const MsgSetCardRarityResponse = {
|
|
2654
|
-
encode(_, writer = _m0.Writer.create()) {
|
|
2655
|
-
return writer;
|
|
2656
|
-
},
|
|
2657
|
-
decode(input, length) {
|
|
2658
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
2659
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2660
|
-
const message = createBaseMsgSetCardRarityResponse();
|
|
2661
|
-
while (reader.pos < end) {
|
|
2662
|
-
const tag = reader.uint32();
|
|
2663
|
-
switch (tag >>> 3) {
|
|
2664
|
-
default:
|
|
2665
|
-
reader.skipType(tag & 7);
|
|
2666
|
-
break;
|
|
2667
|
-
}
|
|
2668
|
-
}
|
|
2669
|
-
return message;
|
|
2670
|
-
},
|
|
2671
|
-
fromJSON(_) {
|
|
2672
|
-
return {};
|
|
2673
|
-
},
|
|
2674
|
-
toJSON(_) {
|
|
2675
|
-
const obj = {};
|
|
2676
|
-
return obj;
|
|
2677
|
-
},
|
|
2678
|
-
fromPartial(_) {
|
|
2679
|
-
const message = createBaseMsgSetCardRarityResponse();
|
|
2680
|
-
return message;
|
|
2681
|
-
},
|
|
2682
|
-
};
|
|
2683
|
-
function createBaseMsgCreateCouncil() {
|
|
2684
|
-
return { creator: "", cardId: 0 };
|
|
2685
|
-
}
|
|
2686
|
-
export const MsgCreateCouncil = {
|
|
2687
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
2688
|
-
if (message.creator !== "") {
|
|
2689
|
-
writer.uint32(10).string(message.creator);
|
|
2690
|
-
}
|
|
2691
|
-
if (message.cardId !== 0) {
|
|
2692
|
-
writer.uint32(16).uint64(message.cardId);
|
|
2693
|
-
}
|
|
2694
|
-
return writer;
|
|
2695
|
-
},
|
|
2696
|
-
decode(input, length) {
|
|
2697
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
2698
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2699
|
-
const message = createBaseMsgCreateCouncil();
|
|
2700
|
-
while (reader.pos < end) {
|
|
2701
|
-
const tag = reader.uint32();
|
|
2702
|
-
switch (tag >>> 3) {
|
|
2703
|
-
case 1:
|
|
2704
|
-
message.creator = reader.string();
|
|
2705
|
-
break;
|
|
2706
|
-
case 2:
|
|
2707
|
-
message.cardId = longToNumber(reader.uint64());
|
|
2708
|
-
break;
|
|
2709
|
-
default:
|
|
2710
|
-
reader.skipType(tag & 7);
|
|
2711
|
-
break;
|
|
2712
|
-
}
|
|
2713
|
-
}
|
|
2714
|
-
return message;
|
|
2715
|
-
},
|
|
2716
|
-
fromJSON(object) {
|
|
2717
|
-
return {
|
|
2718
|
-
creator: isSet(object.creator) ? String(object.creator) : "",
|
|
2719
|
-
cardId: isSet(object.cardId) ? Number(object.cardId) : 0,
|
|
2720
|
-
};
|
|
2721
|
-
},
|
|
2722
|
-
toJSON(message) {
|
|
2723
|
-
const obj = {};
|
|
2724
|
-
message.creator !== undefined && (obj.creator = message.creator);
|
|
2725
|
-
message.cardId !== undefined && (obj.cardId = Math.round(message.cardId));
|
|
2726
|
-
return obj;
|
|
2727
|
-
},
|
|
2728
|
-
fromPartial(object) {
|
|
2729
|
-
const message = createBaseMsgCreateCouncil();
|
|
2730
|
-
message.creator = object.creator ?? "";
|
|
2731
|
-
message.cardId = object.cardId ?? 0;
|
|
2732
|
-
return message;
|
|
2733
|
-
},
|
|
2734
|
-
};
|
|
2735
|
-
function createBaseMsgCreateCouncilResponse() {
|
|
2736
|
-
return {};
|
|
2737
|
-
}
|
|
2738
|
-
export const MsgCreateCouncilResponse = {
|
|
2739
|
-
encode(_, writer = _m0.Writer.create()) {
|
|
2740
|
-
return writer;
|
|
2741
|
-
},
|
|
2742
|
-
decode(input, length) {
|
|
2743
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
2744
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2745
|
-
const message = createBaseMsgCreateCouncilResponse();
|
|
2746
|
-
while (reader.pos < end) {
|
|
2747
|
-
const tag = reader.uint32();
|
|
2748
|
-
switch (tag >>> 3) {
|
|
2749
|
-
default:
|
|
2750
|
-
reader.skipType(tag & 7);
|
|
2751
|
-
break;
|
|
2752
|
-
}
|
|
2753
|
-
}
|
|
2754
|
-
return message;
|
|
2755
|
-
},
|
|
2756
|
-
fromJSON(_) {
|
|
2757
|
-
return {};
|
|
2758
|
-
},
|
|
2759
|
-
toJSON(_) {
|
|
2760
|
-
const obj = {};
|
|
2761
|
-
return obj;
|
|
2762
|
-
},
|
|
2763
|
-
fromPartial(_) {
|
|
2764
|
-
const message = createBaseMsgCreateCouncilResponse();
|
|
2765
|
-
return message;
|
|
2766
|
-
},
|
|
2767
|
-
};
|
|
2768
|
-
function createBaseMsgCommitCouncilResponse() {
|
|
2769
|
-
return { creator: "", response: "", councilId: 0, suggestion: "" };
|
|
2770
|
-
}
|
|
2771
|
-
export const MsgCommitCouncilResponse = {
|
|
2772
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
2773
|
-
if (message.creator !== "") {
|
|
2774
|
-
writer.uint32(10).string(message.creator);
|
|
2775
|
-
}
|
|
2776
|
-
if (message.response !== "") {
|
|
2777
|
-
writer.uint32(18).string(message.response);
|
|
2778
|
-
}
|
|
2779
|
-
if (message.councilId !== 0) {
|
|
2780
|
-
writer.uint32(24).uint64(message.councilId);
|
|
2781
|
-
}
|
|
2782
|
-
if (message.suggestion !== "") {
|
|
2783
|
-
writer.uint32(34).string(message.suggestion);
|
|
2784
|
-
}
|
|
2785
|
-
return writer;
|
|
2786
|
-
},
|
|
2787
|
-
decode(input, length) {
|
|
2788
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
2789
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2790
|
-
const message = createBaseMsgCommitCouncilResponse();
|
|
2791
|
-
while (reader.pos < end) {
|
|
2792
|
-
const tag = reader.uint32();
|
|
2793
|
-
switch (tag >>> 3) {
|
|
2794
|
-
case 1:
|
|
2795
|
-
message.creator = reader.string();
|
|
2796
|
-
break;
|
|
2797
|
-
case 2:
|
|
2798
|
-
message.response = reader.string();
|
|
2799
|
-
break;
|
|
2800
|
-
case 3:
|
|
2801
|
-
message.councilId = longToNumber(reader.uint64());
|
|
2802
|
-
break;
|
|
2803
|
-
case 4:
|
|
2804
|
-
message.suggestion = reader.string();
|
|
2805
|
-
break;
|
|
2806
|
-
default:
|
|
2807
|
-
reader.skipType(tag & 7);
|
|
2808
|
-
break;
|
|
2809
|
-
}
|
|
2810
|
-
}
|
|
2811
|
-
return message;
|
|
2812
|
-
},
|
|
2813
|
-
fromJSON(object) {
|
|
2814
|
-
return {
|
|
2815
|
-
creator: isSet(object.creator) ? String(object.creator) : "",
|
|
2816
|
-
response: isSet(object.response) ? String(object.response) : "",
|
|
2817
|
-
councilId: isSet(object.councilId) ? Number(object.councilId) : 0,
|
|
2818
|
-
suggestion: isSet(object.suggestion) ? String(object.suggestion) : "",
|
|
2819
|
-
};
|
|
2820
|
-
},
|
|
2821
|
-
toJSON(message) {
|
|
2822
|
-
const obj = {};
|
|
2823
|
-
message.creator !== undefined && (obj.creator = message.creator);
|
|
2824
|
-
message.response !== undefined && (obj.response = message.response);
|
|
2825
|
-
message.councilId !== undefined && (obj.councilId = Math.round(message.councilId));
|
|
2826
|
-
message.suggestion !== undefined && (obj.suggestion = message.suggestion);
|
|
2827
|
-
return obj;
|
|
2828
|
-
},
|
|
2829
|
-
fromPartial(object) {
|
|
2830
|
-
const message = createBaseMsgCommitCouncilResponse();
|
|
2831
|
-
message.creator = object.creator ?? "";
|
|
2832
|
-
message.response = object.response ?? "";
|
|
2833
|
-
message.councilId = object.councilId ?? 0;
|
|
2834
|
-
message.suggestion = object.suggestion ?? "";
|
|
2835
|
-
return message;
|
|
2836
|
-
},
|
|
2837
|
-
};
|
|
2838
|
-
function createBaseMsgCommitCouncilResponseResponse() {
|
|
2839
|
-
return {};
|
|
2840
|
-
}
|
|
2841
|
-
export const MsgCommitCouncilResponseResponse = {
|
|
2842
|
-
encode(_, writer = _m0.Writer.create()) {
|
|
2843
|
-
return writer;
|
|
2844
|
-
},
|
|
2845
|
-
decode(input, length) {
|
|
2846
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
2847
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2848
|
-
const message = createBaseMsgCommitCouncilResponseResponse();
|
|
2849
|
-
while (reader.pos < end) {
|
|
2850
|
-
const tag = reader.uint32();
|
|
2851
|
-
switch (tag >>> 3) {
|
|
2852
|
-
default:
|
|
2853
|
-
reader.skipType(tag & 7);
|
|
2854
|
-
break;
|
|
2855
|
-
}
|
|
2856
|
-
}
|
|
2857
|
-
return message;
|
|
2858
|
-
},
|
|
2859
|
-
fromJSON(_) {
|
|
2860
|
-
return {};
|
|
2861
|
-
},
|
|
2862
|
-
toJSON(_) {
|
|
2863
|
-
const obj = {};
|
|
2864
|
-
return obj;
|
|
2865
|
-
},
|
|
2866
|
-
fromPartial(_) {
|
|
2867
|
-
const message = createBaseMsgCommitCouncilResponseResponse();
|
|
2868
|
-
return message;
|
|
2869
|
-
},
|
|
2870
|
-
};
|
|
2871
|
-
function createBaseMsgRevealCouncilResponse() {
|
|
2872
|
-
return { creator: "", response: 0, secret: "", councilId: 0 };
|
|
2873
|
-
}
|
|
2874
|
-
export const MsgRevealCouncilResponse = {
|
|
2875
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
2876
|
-
if (message.creator !== "") {
|
|
2877
|
-
writer.uint32(10).string(message.creator);
|
|
2878
|
-
}
|
|
2879
|
-
if (message.response !== 0) {
|
|
2880
|
-
writer.uint32(16).int32(message.response);
|
|
2881
|
-
}
|
|
2882
|
-
if (message.secret !== "") {
|
|
2883
|
-
writer.uint32(26).string(message.secret);
|
|
2884
|
-
}
|
|
2885
|
-
if (message.councilId !== 0) {
|
|
2886
|
-
writer.uint32(32).uint64(message.councilId);
|
|
2887
|
-
}
|
|
2888
|
-
return writer;
|
|
2889
|
-
},
|
|
2890
|
-
decode(input, length) {
|
|
2891
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
2892
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2893
|
-
const message = createBaseMsgRevealCouncilResponse();
|
|
2894
|
-
while (reader.pos < end) {
|
|
2895
|
-
const tag = reader.uint32();
|
|
2896
|
-
switch (tag >>> 3) {
|
|
2897
|
-
case 1:
|
|
2898
|
-
message.creator = reader.string();
|
|
2899
|
-
break;
|
|
2900
|
-
case 2:
|
|
2901
|
-
message.response = reader.int32();
|
|
2902
|
-
break;
|
|
2903
|
-
case 3:
|
|
2904
|
-
message.secret = reader.string();
|
|
2905
|
-
break;
|
|
2906
|
-
case 4:
|
|
2907
|
-
message.councilId = longToNumber(reader.uint64());
|
|
2908
|
-
break;
|
|
2909
|
-
default:
|
|
2910
|
-
reader.skipType(tag & 7);
|
|
2911
|
-
break;
|
|
2912
|
-
}
|
|
2913
|
-
}
|
|
2914
|
-
return message;
|
|
2915
|
-
},
|
|
2916
|
-
fromJSON(object) {
|
|
2917
|
-
return {
|
|
2918
|
-
creator: isSet(object.creator) ? String(object.creator) : "",
|
|
2919
|
-
response: isSet(object.response) ? responseFromJSON(object.response) : 0,
|
|
2920
|
-
secret: isSet(object.secret) ? String(object.secret) : "",
|
|
2921
|
-
councilId: isSet(object.councilId) ? Number(object.councilId) : 0,
|
|
2922
|
-
};
|
|
2923
|
-
},
|
|
2924
|
-
toJSON(message) {
|
|
2925
|
-
const obj = {};
|
|
2926
|
-
message.creator !== undefined && (obj.creator = message.creator);
|
|
2927
|
-
message.response !== undefined && (obj.response = responseToJSON(message.response));
|
|
2928
|
-
message.secret !== undefined && (obj.secret = message.secret);
|
|
2929
|
-
message.councilId !== undefined && (obj.councilId = Math.round(message.councilId));
|
|
2930
|
-
return obj;
|
|
2931
|
-
},
|
|
2932
|
-
fromPartial(object) {
|
|
2933
|
-
const message = createBaseMsgRevealCouncilResponse();
|
|
2934
|
-
message.creator = object.creator ?? "";
|
|
2935
|
-
message.response = object.response ?? 0;
|
|
2936
|
-
message.secret = object.secret ?? "";
|
|
2937
|
-
message.councilId = object.councilId ?? 0;
|
|
2938
|
-
return message;
|
|
2939
|
-
},
|
|
2940
|
-
};
|
|
2941
|
-
function createBaseMsgRevealCouncilResponseResponse() {
|
|
2942
|
-
return {};
|
|
2943
|
-
}
|
|
2944
|
-
export const MsgRevealCouncilResponseResponse = {
|
|
2945
|
-
encode(_, writer = _m0.Writer.create()) {
|
|
2946
|
-
return writer;
|
|
2947
|
-
},
|
|
2948
|
-
decode(input, length) {
|
|
2949
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
2950
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2951
|
-
const message = createBaseMsgRevealCouncilResponseResponse();
|
|
2952
|
-
while (reader.pos < end) {
|
|
2953
|
-
const tag = reader.uint32();
|
|
2954
|
-
switch (tag >>> 3) {
|
|
2955
|
-
default:
|
|
2956
|
-
reader.skipType(tag & 7);
|
|
2957
|
-
break;
|
|
2958
|
-
}
|
|
2959
|
-
}
|
|
2960
|
-
return message;
|
|
2961
|
-
},
|
|
2962
|
-
fromJSON(_) {
|
|
2963
|
-
return {};
|
|
2964
|
-
},
|
|
2965
|
-
toJSON(_) {
|
|
2966
|
-
const obj = {};
|
|
2967
|
-
return obj;
|
|
2968
|
-
},
|
|
2969
|
-
fromPartial(_) {
|
|
2970
|
-
const message = createBaseMsgRevealCouncilResponseResponse();
|
|
2971
|
-
return message;
|
|
2972
|
-
},
|
|
2973
|
-
};
|
|
2974
|
-
function createBaseMsgRestartCouncil() {
|
|
2975
|
-
return { creator: "", councilId: 0 };
|
|
2976
|
-
}
|
|
2977
|
-
export const MsgRestartCouncil = {
|
|
2978
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
2979
|
-
if (message.creator !== "") {
|
|
2980
|
-
writer.uint32(10).string(message.creator);
|
|
2981
|
-
}
|
|
2982
|
-
if (message.councilId !== 0) {
|
|
2983
|
-
writer.uint32(16).uint64(message.councilId);
|
|
2984
|
-
}
|
|
2985
|
-
return writer;
|
|
2986
|
-
},
|
|
2987
|
-
decode(input, length) {
|
|
2988
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
2989
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2990
|
-
const message = createBaseMsgRestartCouncil();
|
|
2991
|
-
while (reader.pos < end) {
|
|
2992
|
-
const tag = reader.uint32();
|
|
2993
|
-
switch (tag >>> 3) {
|
|
2994
|
-
case 1:
|
|
2995
|
-
message.creator = reader.string();
|
|
2996
|
-
break;
|
|
2997
|
-
case 2:
|
|
2998
|
-
message.councilId = longToNumber(reader.uint64());
|
|
2999
|
-
break;
|
|
3000
|
-
default:
|
|
3001
|
-
reader.skipType(tag & 7);
|
|
3002
|
-
break;
|
|
3003
|
-
}
|
|
3004
|
-
}
|
|
3005
|
-
return message;
|
|
3006
|
-
},
|
|
3007
|
-
fromJSON(object) {
|
|
3008
|
-
return {
|
|
3009
|
-
creator: isSet(object.creator) ? String(object.creator) : "",
|
|
3010
|
-
councilId: isSet(object.councilId) ? Number(object.councilId) : 0,
|
|
3011
|
-
};
|
|
3012
|
-
},
|
|
3013
|
-
toJSON(message) {
|
|
3014
|
-
const obj = {};
|
|
3015
|
-
message.creator !== undefined && (obj.creator = message.creator);
|
|
3016
|
-
message.councilId !== undefined && (obj.councilId = Math.round(message.councilId));
|
|
3017
|
-
return obj;
|
|
3018
|
-
},
|
|
3019
|
-
fromPartial(object) {
|
|
3020
|
-
const message = createBaseMsgRestartCouncil();
|
|
3021
|
-
message.creator = object.creator ?? "";
|
|
3022
|
-
message.councilId = object.councilId ?? 0;
|
|
3023
|
-
return message;
|
|
3024
|
-
},
|
|
3025
|
-
};
|
|
3026
|
-
function createBaseMsgRestartCouncilResponse() {
|
|
3027
|
-
return {};
|
|
3028
|
-
}
|
|
3029
|
-
export const MsgRestartCouncilResponse = {
|
|
3030
|
-
encode(_, writer = _m0.Writer.create()) {
|
|
3031
|
-
return writer;
|
|
3032
|
-
},
|
|
3033
|
-
decode(input, length) {
|
|
3034
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
3035
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
3036
|
-
const message = createBaseMsgRestartCouncilResponse();
|
|
3037
|
-
while (reader.pos < end) {
|
|
3038
|
-
const tag = reader.uint32();
|
|
3039
|
-
switch (tag >>> 3) {
|
|
3040
|
-
default:
|
|
3041
|
-
reader.skipType(tag & 7);
|
|
3042
|
-
break;
|
|
3043
|
-
}
|
|
3044
|
-
}
|
|
3045
|
-
return message;
|
|
3046
|
-
},
|
|
3047
|
-
fromJSON(_) {
|
|
3048
|
-
return {};
|
|
3049
|
-
},
|
|
3050
|
-
toJSON(_) {
|
|
3051
|
-
const obj = {};
|
|
3052
|
-
return obj;
|
|
3053
|
-
},
|
|
3054
|
-
fromPartial(_) {
|
|
3055
|
-
const message = createBaseMsgRestartCouncilResponse();
|
|
3056
|
-
return message;
|
|
3057
|
-
},
|
|
3058
|
-
};
|
|
3059
|
-
function createBaseMsgRewokeCouncilRegistration() {
|
|
3060
|
-
return { creator: "" };
|
|
3061
|
-
}
|
|
3062
|
-
export const MsgRewokeCouncilRegistration = {
|
|
3063
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
3064
|
-
if (message.creator !== "") {
|
|
3065
|
-
writer.uint32(10).string(message.creator);
|
|
3066
|
-
}
|
|
3067
|
-
return writer;
|
|
3068
|
-
},
|
|
3069
|
-
decode(input, length) {
|
|
3070
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
3071
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
3072
|
-
const message = createBaseMsgRewokeCouncilRegistration();
|
|
3073
|
-
while (reader.pos < end) {
|
|
3074
|
-
const tag = reader.uint32();
|
|
3075
|
-
switch (tag >>> 3) {
|
|
3076
|
-
case 1:
|
|
3077
|
-
message.creator = reader.string();
|
|
3078
|
-
break;
|
|
3079
|
-
default:
|
|
3080
|
-
reader.skipType(tag & 7);
|
|
3081
|
-
break;
|
|
3082
|
-
}
|
|
3083
|
-
}
|
|
3084
|
-
return message;
|
|
3085
|
-
},
|
|
3086
|
-
fromJSON(object) {
|
|
3087
|
-
return { creator: isSet(object.creator) ? String(object.creator) : "" };
|
|
3088
|
-
},
|
|
3089
|
-
toJSON(message) {
|
|
3090
|
-
const obj = {};
|
|
3091
|
-
message.creator !== undefined && (obj.creator = message.creator);
|
|
3092
|
-
return obj;
|
|
3093
|
-
},
|
|
3094
|
-
fromPartial(object) {
|
|
3095
|
-
const message = createBaseMsgRewokeCouncilRegistration();
|
|
3096
|
-
message.creator = object.creator ?? "";
|
|
3097
|
-
return message;
|
|
3098
|
-
},
|
|
3099
|
-
};
|
|
3100
|
-
function createBaseMsgRewokeCouncilRegistrationResponse() {
|
|
3101
|
-
return {};
|
|
3102
|
-
}
|
|
3103
|
-
export const MsgRewokeCouncilRegistrationResponse = {
|
|
3104
|
-
encode(_, writer = _m0.Writer.create()) {
|
|
3105
|
-
return writer;
|
|
3106
|
-
},
|
|
3107
|
-
decode(input, length) {
|
|
3108
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
3109
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
3110
|
-
const message = createBaseMsgRewokeCouncilRegistrationResponse();
|
|
3111
|
-
while (reader.pos < end) {
|
|
3112
|
-
const tag = reader.uint32();
|
|
3113
|
-
switch (tag >>> 3) {
|
|
3114
|
-
default:
|
|
3115
|
-
reader.skipType(tag & 7);
|
|
3116
|
-
break;
|
|
3117
|
-
}
|
|
3118
|
-
}
|
|
3119
|
-
return message;
|
|
3120
|
-
},
|
|
3121
|
-
fromJSON(_) {
|
|
3122
|
-
return {};
|
|
3123
|
-
},
|
|
3124
|
-
toJSON(_) {
|
|
3125
|
-
const obj = {};
|
|
3126
|
-
return obj;
|
|
3127
|
-
},
|
|
3128
|
-
fromPartial(_) {
|
|
3129
|
-
const message = createBaseMsgRewokeCouncilRegistrationResponse();
|
|
3130
|
-
return message;
|
|
3131
|
-
},
|
|
3132
|
-
};
|
|
3133
|
-
function createBaseMsgConfirmMatch() {
|
|
3134
|
-
return { creator: "", matchId: 0, outcome: 0 };
|
|
3135
|
-
}
|
|
3136
|
-
export const MsgConfirmMatch = {
|
|
3137
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
3138
|
-
if (message.creator !== "") {
|
|
3139
|
-
writer.uint32(10).string(message.creator);
|
|
3140
|
-
}
|
|
3141
|
-
if (message.matchId !== 0) {
|
|
3142
|
-
writer.uint32(16).uint64(message.matchId);
|
|
3143
|
-
}
|
|
3144
|
-
if (message.outcome !== 0) {
|
|
3145
|
-
writer.uint32(24).int32(message.outcome);
|
|
3146
|
-
}
|
|
3147
|
-
return writer;
|
|
3148
|
-
},
|
|
3149
|
-
decode(input, length) {
|
|
3150
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
3151
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
3152
|
-
const message = createBaseMsgConfirmMatch();
|
|
3153
|
-
while (reader.pos < end) {
|
|
3154
|
-
const tag = reader.uint32();
|
|
3155
|
-
switch (tag >>> 3) {
|
|
3156
|
-
case 1:
|
|
3157
|
-
message.creator = reader.string();
|
|
3158
|
-
break;
|
|
3159
|
-
case 2:
|
|
3160
|
-
message.matchId = longToNumber(reader.uint64());
|
|
3161
|
-
break;
|
|
3162
|
-
case 3:
|
|
3163
|
-
message.outcome = reader.int32();
|
|
3164
|
-
break;
|
|
3165
|
-
default:
|
|
3166
|
-
reader.skipType(tag & 7);
|
|
3167
|
-
break;
|
|
3168
|
-
}
|
|
3169
|
-
}
|
|
3170
|
-
return message;
|
|
3171
|
-
},
|
|
3172
|
-
fromJSON(object) {
|
|
3173
|
-
return {
|
|
3174
|
-
creator: isSet(object.creator) ? String(object.creator) : "",
|
|
3175
|
-
matchId: isSet(object.matchId) ? Number(object.matchId) : 0,
|
|
3176
|
-
outcome: isSet(object.outcome) ? outcomeFromJSON(object.outcome) : 0,
|
|
3177
|
-
};
|
|
3178
|
-
},
|
|
3179
|
-
toJSON(message) {
|
|
3180
|
-
const obj = {};
|
|
3181
|
-
message.creator !== undefined && (obj.creator = message.creator);
|
|
3182
|
-
message.matchId !== undefined && (obj.matchId = Math.round(message.matchId));
|
|
3183
|
-
message.outcome !== undefined && (obj.outcome = outcomeToJSON(message.outcome));
|
|
3184
|
-
return obj;
|
|
3185
|
-
},
|
|
3186
|
-
fromPartial(object) {
|
|
3187
|
-
const message = createBaseMsgConfirmMatch();
|
|
3188
|
-
message.creator = object.creator ?? "";
|
|
3189
|
-
message.matchId = object.matchId ?? 0;
|
|
3190
|
-
message.outcome = object.outcome ?? 0;
|
|
3191
|
-
return message;
|
|
3192
|
-
},
|
|
3193
|
-
};
|
|
3194
|
-
function createBaseMsgConfirmMatchResponse() {
|
|
3195
|
-
return {};
|
|
3196
|
-
}
|
|
3197
|
-
export const MsgConfirmMatchResponse = {
|
|
3198
|
-
encode(_, writer = _m0.Writer.create()) {
|
|
3199
|
-
return writer;
|
|
3200
|
-
},
|
|
3201
|
-
decode(input, length) {
|
|
3202
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
3203
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
3204
|
-
const message = createBaseMsgConfirmMatchResponse();
|
|
3205
|
-
while (reader.pos < end) {
|
|
3206
|
-
const tag = reader.uint32();
|
|
3207
|
-
switch (tag >>> 3) {
|
|
3208
|
-
default:
|
|
3209
|
-
reader.skipType(tag & 7);
|
|
3210
|
-
break;
|
|
3211
|
-
}
|
|
3212
|
-
}
|
|
3213
|
-
return message;
|
|
3214
|
-
},
|
|
3215
|
-
fromJSON(_) {
|
|
3216
|
-
return {};
|
|
3217
|
-
},
|
|
3218
|
-
toJSON(_) {
|
|
3219
|
-
const obj = {};
|
|
3220
|
-
return obj;
|
|
3221
|
-
},
|
|
3222
|
-
fromPartial(_) {
|
|
3223
|
-
const message = createBaseMsgConfirmMatchResponse();
|
|
3224
|
-
return message;
|
|
3225
|
-
},
|
|
3226
|
-
};
|
|
3227
|
-
function createBaseMsgSetProfileCard() {
|
|
3228
|
-
return { creator: "", cardId: 0 };
|
|
3229
|
-
}
|
|
3230
|
-
export const MsgSetProfileCard = {
|
|
3231
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
3232
|
-
if (message.creator !== "") {
|
|
3233
|
-
writer.uint32(10).string(message.creator);
|
|
3234
|
-
}
|
|
3235
|
-
if (message.cardId !== 0) {
|
|
3236
|
-
writer.uint32(16).uint64(message.cardId);
|
|
3237
|
-
}
|
|
3238
|
-
return writer;
|
|
3239
|
-
},
|
|
3240
|
-
decode(input, length) {
|
|
3241
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
3242
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
3243
|
-
const message = createBaseMsgSetProfileCard();
|
|
3244
|
-
while (reader.pos < end) {
|
|
3245
|
-
const tag = reader.uint32();
|
|
3246
|
-
switch (tag >>> 3) {
|
|
3247
|
-
case 1:
|
|
3248
|
-
message.creator = reader.string();
|
|
3249
|
-
break;
|
|
3250
|
-
case 2:
|
|
3251
|
-
message.cardId = longToNumber(reader.uint64());
|
|
3252
|
-
break;
|
|
3253
|
-
default:
|
|
3254
|
-
reader.skipType(tag & 7);
|
|
3255
|
-
break;
|
|
3256
|
-
}
|
|
3257
|
-
}
|
|
3258
|
-
return message;
|
|
3259
|
-
},
|
|
3260
|
-
fromJSON(object) {
|
|
3261
|
-
return {
|
|
3262
|
-
creator: isSet(object.creator) ? String(object.creator) : "",
|
|
3263
|
-
cardId: isSet(object.cardId) ? Number(object.cardId) : 0,
|
|
3264
|
-
};
|
|
3265
|
-
},
|
|
3266
|
-
toJSON(message) {
|
|
3267
|
-
const obj = {};
|
|
3268
|
-
message.creator !== undefined && (obj.creator = message.creator);
|
|
3269
|
-
message.cardId !== undefined && (obj.cardId = Math.round(message.cardId));
|
|
3270
|
-
return obj;
|
|
3271
|
-
},
|
|
3272
|
-
fromPartial(object) {
|
|
3273
|
-
const message = createBaseMsgSetProfileCard();
|
|
3274
|
-
message.creator = object.creator ?? "";
|
|
3275
|
-
message.cardId = object.cardId ?? 0;
|
|
3276
|
-
return message;
|
|
3277
|
-
},
|
|
3278
|
-
};
|
|
3279
|
-
function createBaseMsgSetProfileCardResponse() {
|
|
3280
|
-
return {};
|
|
3281
|
-
}
|
|
3282
|
-
export const MsgSetProfileCardResponse = {
|
|
3283
|
-
encode(_, writer = _m0.Writer.create()) {
|
|
3284
|
-
return writer;
|
|
3285
|
-
},
|
|
3286
|
-
decode(input, length) {
|
|
3287
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
3288
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
3289
|
-
const message = createBaseMsgSetProfileCardResponse();
|
|
3290
|
-
while (reader.pos < end) {
|
|
3291
|
-
const tag = reader.uint32();
|
|
3292
|
-
switch (tag >>> 3) {
|
|
3293
|
-
default:
|
|
3294
|
-
reader.skipType(tag & 7);
|
|
3295
|
-
break;
|
|
3296
|
-
}
|
|
3297
|
-
}
|
|
3298
|
-
return message;
|
|
3299
|
-
},
|
|
3300
|
-
fromJSON(_) {
|
|
3301
|
-
return {};
|
|
3302
|
-
},
|
|
3303
|
-
toJSON(_) {
|
|
3304
|
-
const obj = {};
|
|
3305
|
-
return obj;
|
|
3306
|
-
},
|
|
3307
|
-
fromPartial(_) {
|
|
3308
|
-
const message = createBaseMsgSetProfileCardResponse();
|
|
3309
|
-
return message;
|
|
3310
|
-
},
|
|
3311
|
-
};
|
|
3312
|
-
function createBaseMsgOpenBoosterPack() {
|
|
3313
|
-
return { creator: "", boosterPackId: 0 };
|
|
3314
|
-
}
|
|
3315
|
-
export const MsgOpenBoosterPack = {
|
|
3316
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
3317
|
-
if (message.creator !== "") {
|
|
3318
|
-
writer.uint32(10).string(message.creator);
|
|
3319
|
-
}
|
|
3320
|
-
if (message.boosterPackId !== 0) {
|
|
3321
|
-
writer.uint32(16).uint64(message.boosterPackId);
|
|
3322
|
-
}
|
|
3323
|
-
return writer;
|
|
3324
|
-
},
|
|
3325
|
-
decode(input, length) {
|
|
3326
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
3327
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
3328
|
-
const message = createBaseMsgOpenBoosterPack();
|
|
3329
|
-
while (reader.pos < end) {
|
|
3330
|
-
const tag = reader.uint32();
|
|
3331
|
-
switch (tag >>> 3) {
|
|
3332
|
-
case 1:
|
|
3333
|
-
message.creator = reader.string();
|
|
3334
|
-
break;
|
|
3335
|
-
case 2:
|
|
3336
|
-
message.boosterPackId = longToNumber(reader.uint64());
|
|
3337
|
-
break;
|
|
3338
|
-
default:
|
|
3339
|
-
reader.skipType(tag & 7);
|
|
3340
|
-
break;
|
|
3341
|
-
}
|
|
3342
|
-
}
|
|
3343
|
-
return message;
|
|
3344
|
-
},
|
|
3345
|
-
fromJSON(object) {
|
|
3346
|
-
return {
|
|
3347
|
-
creator: isSet(object.creator) ? String(object.creator) : "",
|
|
3348
|
-
boosterPackId: isSet(object.boosterPackId) ? Number(object.boosterPackId) : 0,
|
|
3349
|
-
};
|
|
3350
|
-
},
|
|
3351
|
-
toJSON(message) {
|
|
3352
|
-
const obj = {};
|
|
3353
|
-
message.creator !== undefined && (obj.creator = message.creator);
|
|
3354
|
-
message.boosterPackId !== undefined && (obj.boosterPackId = Math.round(message.boosterPackId));
|
|
3355
|
-
return obj;
|
|
3356
|
-
},
|
|
3357
|
-
fromPartial(object) {
|
|
3358
|
-
const message = createBaseMsgOpenBoosterPack();
|
|
3359
|
-
message.creator = object.creator ?? "";
|
|
3360
|
-
message.boosterPackId = object.boosterPackId ?? 0;
|
|
3361
|
-
return message;
|
|
3362
|
-
},
|
|
3363
|
-
};
|
|
3364
|
-
function createBaseMsgOpenBoosterPackResponse() {
|
|
3365
|
-
return {};
|
|
3366
|
-
}
|
|
3367
|
-
export const MsgOpenBoosterPackResponse = {
|
|
3368
|
-
encode(_, writer = _m0.Writer.create()) {
|
|
3369
|
-
return writer;
|
|
3370
|
-
},
|
|
3371
|
-
decode(input, length) {
|
|
3372
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
3373
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
3374
|
-
const message = createBaseMsgOpenBoosterPackResponse();
|
|
3375
|
-
while (reader.pos < end) {
|
|
3376
|
-
const tag = reader.uint32();
|
|
3377
|
-
switch (tag >>> 3) {
|
|
3378
|
-
default:
|
|
3379
|
-
reader.skipType(tag & 7);
|
|
3380
|
-
break;
|
|
3381
|
-
}
|
|
3382
|
-
}
|
|
3383
|
-
return message;
|
|
3384
|
-
},
|
|
3385
|
-
fromJSON(_) {
|
|
3386
|
-
return {};
|
|
3387
|
-
},
|
|
3388
|
-
toJSON(_) {
|
|
3389
|
-
const obj = {};
|
|
3390
|
-
return obj;
|
|
3391
|
-
},
|
|
3392
|
-
fromPartial(_) {
|
|
3393
|
-
const message = createBaseMsgOpenBoosterPackResponse();
|
|
3394
|
-
return message;
|
|
3395
|
-
},
|
|
3396
|
-
};
|
|
3397
|
-
function createBaseMsgTransferBoosterPack() {
|
|
3398
|
-
return { creator: "", boosterPackId: 0, receiver: "" };
|
|
3399
|
-
}
|
|
3400
|
-
export const MsgTransferBoosterPack = {
|
|
3401
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
3402
|
-
if (message.creator !== "") {
|
|
3403
|
-
writer.uint32(10).string(message.creator);
|
|
3404
|
-
}
|
|
3405
|
-
if (message.boosterPackId !== 0) {
|
|
3406
|
-
writer.uint32(16).uint64(message.boosterPackId);
|
|
3407
|
-
}
|
|
3408
|
-
if (message.receiver !== "") {
|
|
3409
|
-
writer.uint32(26).string(message.receiver);
|
|
3410
|
-
}
|
|
3411
|
-
return writer;
|
|
3412
|
-
},
|
|
3413
|
-
decode(input, length) {
|
|
3414
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
3415
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
3416
|
-
const message = createBaseMsgTransferBoosterPack();
|
|
3417
|
-
while (reader.pos < end) {
|
|
3418
|
-
const tag = reader.uint32();
|
|
3419
|
-
switch (tag >>> 3) {
|
|
3420
|
-
case 1:
|
|
3421
|
-
message.creator = reader.string();
|
|
3422
|
-
break;
|
|
3423
|
-
case 2:
|
|
3424
|
-
message.boosterPackId = longToNumber(reader.uint64());
|
|
3425
|
-
break;
|
|
3426
|
-
case 3:
|
|
3427
|
-
message.receiver = reader.string();
|
|
3428
|
-
break;
|
|
3429
|
-
default:
|
|
3430
|
-
reader.skipType(tag & 7);
|
|
3431
|
-
break;
|
|
3432
|
-
}
|
|
3433
|
-
}
|
|
3434
|
-
return message;
|
|
3435
|
-
},
|
|
3436
|
-
fromJSON(object) {
|
|
3437
|
-
return {
|
|
3438
|
-
creator: isSet(object.creator) ? String(object.creator) : "",
|
|
3439
|
-
boosterPackId: isSet(object.boosterPackId) ? Number(object.boosterPackId) : 0,
|
|
3440
|
-
receiver: isSet(object.receiver) ? String(object.receiver) : "",
|
|
3441
|
-
};
|
|
3442
|
-
},
|
|
3443
|
-
toJSON(message) {
|
|
3444
|
-
const obj = {};
|
|
3445
|
-
message.creator !== undefined && (obj.creator = message.creator);
|
|
3446
|
-
message.boosterPackId !== undefined && (obj.boosterPackId = Math.round(message.boosterPackId));
|
|
3447
|
-
message.receiver !== undefined && (obj.receiver = message.receiver);
|
|
3448
|
-
return obj;
|
|
3449
|
-
},
|
|
3450
|
-
fromPartial(object) {
|
|
3451
|
-
const message = createBaseMsgTransferBoosterPack();
|
|
3452
|
-
message.creator = object.creator ?? "";
|
|
3453
|
-
message.boosterPackId = object.boosterPackId ?? 0;
|
|
3454
|
-
message.receiver = object.receiver ?? "";
|
|
3455
|
-
return message;
|
|
3456
|
-
},
|
|
3457
|
-
};
|
|
3458
|
-
function createBaseMsgTransferBoosterPackResponse() {
|
|
3459
|
-
return {};
|
|
3460
|
-
}
|
|
3461
|
-
export const MsgTransferBoosterPackResponse = {
|
|
3462
|
-
encode(_, writer = _m0.Writer.create()) {
|
|
3463
|
-
return writer;
|
|
3464
|
-
},
|
|
3465
|
-
decode(input, length) {
|
|
3466
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
3467
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
3468
|
-
const message = createBaseMsgTransferBoosterPackResponse();
|
|
3469
|
-
while (reader.pos < end) {
|
|
3470
|
-
const tag = reader.uint32();
|
|
3471
|
-
switch (tag >>> 3) {
|
|
3472
|
-
default:
|
|
3473
|
-
reader.skipType(tag & 7);
|
|
3474
|
-
break;
|
|
3475
|
-
}
|
|
3476
|
-
}
|
|
3477
|
-
return message;
|
|
3478
|
-
},
|
|
3479
|
-
fromJSON(_) {
|
|
3480
|
-
return {};
|
|
3481
|
-
},
|
|
3482
|
-
toJSON(_) {
|
|
3483
|
-
const obj = {};
|
|
3484
|
-
return obj;
|
|
3485
|
-
},
|
|
3486
|
-
fromPartial(_) {
|
|
3487
|
-
const message = createBaseMsgTransferBoosterPackResponse();
|
|
3488
|
-
return message;
|
|
3489
|
-
},
|
|
3490
|
-
};
|
|
3491
|
-
function createBaseMsgSetCollectionStoryWriter() {
|
|
3492
|
-
return { creator: "", collectionId: 0, storyWriter: "" };
|
|
3493
|
-
}
|
|
3494
|
-
export const MsgSetCollectionStoryWriter = {
|
|
3495
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
3496
|
-
if (message.creator !== "") {
|
|
3497
|
-
writer.uint32(10).string(message.creator);
|
|
3498
|
-
}
|
|
3499
|
-
if (message.collectionId !== 0) {
|
|
3500
|
-
writer.uint32(16).uint64(message.collectionId);
|
|
3501
|
-
}
|
|
3502
|
-
if (message.storyWriter !== "") {
|
|
3503
|
-
writer.uint32(26).string(message.storyWriter);
|
|
3504
|
-
}
|
|
3505
|
-
return writer;
|
|
3506
|
-
},
|
|
3507
|
-
decode(input, length) {
|
|
3508
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
3509
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
3510
|
-
const message = createBaseMsgSetCollectionStoryWriter();
|
|
3511
|
-
while (reader.pos < end) {
|
|
3512
|
-
const tag = reader.uint32();
|
|
3513
|
-
switch (tag >>> 3) {
|
|
3514
|
-
case 1:
|
|
3515
|
-
message.creator = reader.string();
|
|
3516
|
-
break;
|
|
3517
|
-
case 2:
|
|
3518
|
-
message.collectionId = longToNumber(reader.uint64());
|
|
3519
|
-
break;
|
|
3520
|
-
case 3:
|
|
3521
|
-
message.storyWriter = reader.string();
|
|
3522
|
-
break;
|
|
3523
|
-
default:
|
|
3524
|
-
reader.skipType(tag & 7);
|
|
3525
|
-
break;
|
|
3526
|
-
}
|
|
3527
|
-
}
|
|
3528
|
-
return message;
|
|
3529
|
-
},
|
|
3530
|
-
fromJSON(object) {
|
|
3531
|
-
return {
|
|
3532
|
-
creator: isSet(object.creator) ? String(object.creator) : "",
|
|
3533
|
-
collectionId: isSet(object.collectionId) ? Number(object.collectionId) : 0,
|
|
3534
|
-
storyWriter: isSet(object.storyWriter) ? String(object.storyWriter) : "",
|
|
3535
|
-
};
|
|
3536
|
-
},
|
|
3537
|
-
toJSON(message) {
|
|
3538
|
-
const obj = {};
|
|
3539
|
-
message.creator !== undefined && (obj.creator = message.creator);
|
|
3540
|
-
message.collectionId !== undefined && (obj.collectionId = Math.round(message.collectionId));
|
|
3541
|
-
message.storyWriter !== undefined && (obj.storyWriter = message.storyWriter);
|
|
3542
|
-
return obj;
|
|
3543
|
-
},
|
|
3544
|
-
fromPartial(object) {
|
|
3545
|
-
const message = createBaseMsgSetCollectionStoryWriter();
|
|
3546
|
-
message.creator = object.creator ?? "";
|
|
3547
|
-
message.collectionId = object.collectionId ?? 0;
|
|
3548
|
-
message.storyWriter = object.storyWriter ?? "";
|
|
3549
|
-
return message;
|
|
3550
|
-
},
|
|
3551
|
-
};
|
|
3552
|
-
function createBaseMsgSetCollectionStoryWriterResponse() {
|
|
3553
|
-
return {};
|
|
3554
|
-
}
|
|
3555
|
-
export const MsgSetCollectionStoryWriterResponse = {
|
|
3556
|
-
encode(_, writer = _m0.Writer.create()) {
|
|
3557
|
-
return writer;
|
|
3558
|
-
},
|
|
3559
|
-
decode(input, length) {
|
|
3560
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
3561
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
3562
|
-
const message = createBaseMsgSetCollectionStoryWriterResponse();
|
|
3563
|
-
while (reader.pos < end) {
|
|
3564
|
-
const tag = reader.uint32();
|
|
3565
|
-
switch (tag >>> 3) {
|
|
3566
|
-
default:
|
|
3567
|
-
reader.skipType(tag & 7);
|
|
3568
|
-
break;
|
|
3569
|
-
}
|
|
3570
|
-
}
|
|
3571
|
-
return message;
|
|
3572
|
-
},
|
|
3573
|
-
fromJSON(_) {
|
|
3574
|
-
return {};
|
|
3575
|
-
},
|
|
3576
|
-
toJSON(_) {
|
|
3577
|
-
const obj = {};
|
|
3578
|
-
return obj;
|
|
3579
|
-
},
|
|
3580
|
-
fromPartial(_) {
|
|
3581
|
-
const message = createBaseMsgSetCollectionStoryWriterResponse();
|
|
3582
|
-
return message;
|
|
3583
|
-
},
|
|
3584
|
-
};
|
|
3585
|
-
function createBaseMsgSetCollectionArtist() {
|
|
3586
|
-
return { creator: "", collectionId: 0, artist: "" };
|
|
3587
|
-
}
|
|
3588
|
-
export const MsgSetCollectionArtist = {
|
|
3589
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
3590
|
-
if (message.creator !== "") {
|
|
3591
|
-
writer.uint32(10).string(message.creator);
|
|
3592
|
-
}
|
|
3593
|
-
if (message.collectionId !== 0) {
|
|
3594
|
-
writer.uint32(16).uint64(message.collectionId);
|
|
3595
|
-
}
|
|
3596
|
-
if (message.artist !== "") {
|
|
3597
|
-
writer.uint32(26).string(message.artist);
|
|
3598
|
-
}
|
|
3599
|
-
return writer;
|
|
3600
|
-
},
|
|
3601
|
-
decode(input, length) {
|
|
3602
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
3603
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
3604
|
-
const message = createBaseMsgSetCollectionArtist();
|
|
3605
|
-
while (reader.pos < end) {
|
|
3606
|
-
const tag = reader.uint32();
|
|
3607
|
-
switch (tag >>> 3) {
|
|
3608
|
-
case 1:
|
|
3609
|
-
message.creator = reader.string();
|
|
3610
|
-
break;
|
|
3611
|
-
case 2:
|
|
3612
|
-
message.collectionId = longToNumber(reader.uint64());
|
|
3613
|
-
break;
|
|
3614
|
-
case 3:
|
|
3615
|
-
message.artist = reader.string();
|
|
3616
|
-
break;
|
|
3617
|
-
default:
|
|
3618
|
-
reader.skipType(tag & 7);
|
|
3619
|
-
break;
|
|
3620
|
-
}
|
|
3621
|
-
}
|
|
3622
|
-
return message;
|
|
3623
|
-
},
|
|
3624
|
-
fromJSON(object) {
|
|
3625
|
-
return {
|
|
3626
|
-
creator: isSet(object.creator) ? String(object.creator) : "",
|
|
3627
|
-
collectionId: isSet(object.collectionId) ? Number(object.collectionId) : 0,
|
|
3628
|
-
artist: isSet(object.artist) ? String(object.artist) : "",
|
|
3629
|
-
};
|
|
3630
|
-
},
|
|
3631
|
-
toJSON(message) {
|
|
3632
|
-
const obj = {};
|
|
3633
|
-
message.creator !== undefined && (obj.creator = message.creator);
|
|
3634
|
-
message.collectionId !== undefined && (obj.collectionId = Math.round(message.collectionId));
|
|
3635
|
-
message.artist !== undefined && (obj.artist = message.artist);
|
|
3636
|
-
return obj;
|
|
3637
|
-
},
|
|
3638
|
-
fromPartial(object) {
|
|
3639
|
-
const message = createBaseMsgSetCollectionArtist();
|
|
3640
|
-
message.creator = object.creator ?? "";
|
|
3641
|
-
message.collectionId = object.collectionId ?? 0;
|
|
3642
|
-
message.artist = object.artist ?? "";
|
|
3643
|
-
return message;
|
|
3644
|
-
},
|
|
3645
|
-
};
|
|
3646
|
-
function createBaseMsgSetCollectionArtistResponse() {
|
|
3647
|
-
return {};
|
|
3648
|
-
}
|
|
3649
|
-
export const MsgSetCollectionArtistResponse = {
|
|
3650
|
-
encode(_, writer = _m0.Writer.create()) {
|
|
3651
|
-
return writer;
|
|
3652
|
-
},
|
|
3653
|
-
decode(input, length) {
|
|
3654
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
3655
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
3656
|
-
const message = createBaseMsgSetCollectionArtistResponse();
|
|
3657
|
-
while (reader.pos < end) {
|
|
3658
|
-
const tag = reader.uint32();
|
|
3659
|
-
switch (tag >>> 3) {
|
|
3660
|
-
default:
|
|
3661
|
-
reader.skipType(tag & 7);
|
|
3662
|
-
break;
|
|
3663
|
-
}
|
|
3664
|
-
}
|
|
3665
|
-
return message;
|
|
3666
|
-
},
|
|
3667
|
-
fromJSON(_) {
|
|
3668
|
-
return {};
|
|
3669
|
-
},
|
|
3670
|
-
toJSON(_) {
|
|
3671
|
-
const obj = {};
|
|
3672
|
-
return obj;
|
|
3673
|
-
},
|
|
3674
|
-
fromPartial(_) {
|
|
3675
|
-
const message = createBaseMsgSetCollectionArtistResponse();
|
|
3676
|
-
return message;
|
|
3677
|
-
},
|
|
3678
|
-
};
|
|
3679
|
-
function createBaseMsgSetUserWebsite() {
|
|
3680
|
-
return { creator: "", website: "" };
|
|
3681
|
-
}
|
|
3682
|
-
export const MsgSetUserWebsite = {
|
|
3683
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
3684
|
-
if (message.creator !== "") {
|
|
3685
|
-
writer.uint32(10).string(message.creator);
|
|
3686
|
-
}
|
|
3687
|
-
if (message.website !== "") {
|
|
3688
|
-
writer.uint32(18).string(message.website);
|
|
3689
|
-
}
|
|
3690
|
-
return writer;
|
|
3691
|
-
},
|
|
3692
|
-
decode(input, length) {
|
|
3693
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
3694
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
3695
|
-
const message = createBaseMsgSetUserWebsite();
|
|
3696
|
-
while (reader.pos < end) {
|
|
3697
|
-
const tag = reader.uint32();
|
|
3698
|
-
switch (tag >>> 3) {
|
|
3699
|
-
case 1:
|
|
3700
|
-
message.creator = reader.string();
|
|
3701
|
-
break;
|
|
3702
|
-
case 2:
|
|
3703
|
-
message.website = reader.string();
|
|
3704
|
-
break;
|
|
3705
|
-
default:
|
|
3706
|
-
reader.skipType(tag & 7);
|
|
3707
|
-
break;
|
|
3708
|
-
}
|
|
3709
|
-
}
|
|
3710
|
-
return message;
|
|
3711
|
-
},
|
|
3712
|
-
fromJSON(object) {
|
|
3713
|
-
return {
|
|
3714
|
-
creator: isSet(object.creator) ? String(object.creator) : "",
|
|
3715
|
-
website: isSet(object.website) ? String(object.website) : "",
|
|
3716
|
-
};
|
|
3717
|
-
},
|
|
3718
|
-
toJSON(message) {
|
|
3719
|
-
const obj = {};
|
|
3720
|
-
message.creator !== undefined && (obj.creator = message.creator);
|
|
3721
|
-
message.website !== undefined && (obj.website = message.website);
|
|
3722
|
-
return obj;
|
|
3723
|
-
},
|
|
3724
|
-
fromPartial(object) {
|
|
3725
|
-
const message = createBaseMsgSetUserWebsite();
|
|
3726
|
-
message.creator = object.creator ?? "";
|
|
3727
|
-
message.website = object.website ?? "";
|
|
3728
|
-
return message;
|
|
3729
|
-
},
|
|
3730
|
-
};
|
|
3731
|
-
function createBaseMsgSetUserWebsiteResponse() {
|
|
3732
|
-
return {};
|
|
3733
|
-
}
|
|
3734
|
-
export const MsgSetUserWebsiteResponse = {
|
|
3735
|
-
encode(_, writer = _m0.Writer.create()) {
|
|
3736
|
-
return writer;
|
|
3737
|
-
},
|
|
3738
|
-
decode(input, length) {
|
|
3739
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
3740
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
3741
|
-
const message = createBaseMsgSetUserWebsiteResponse();
|
|
3742
|
-
while (reader.pos < end) {
|
|
3743
|
-
const tag = reader.uint32();
|
|
3744
|
-
switch (tag >>> 3) {
|
|
3745
|
-
default:
|
|
3746
|
-
reader.skipType(tag & 7);
|
|
3747
|
-
break;
|
|
3748
|
-
}
|
|
3749
|
-
}
|
|
3750
|
-
return message;
|
|
3751
|
-
},
|
|
3752
|
-
fromJSON(_) {
|
|
3753
|
-
return {};
|
|
3754
|
-
},
|
|
3755
|
-
toJSON(_) {
|
|
3756
|
-
const obj = {};
|
|
3757
|
-
return obj;
|
|
3758
|
-
},
|
|
3759
|
-
fromPartial(_) {
|
|
3760
|
-
const message = createBaseMsgSetUserWebsiteResponse();
|
|
3761
|
-
return message;
|
|
3762
|
-
},
|
|
3763
|
-
};
|
|
3764
|
-
function createBaseMsgSetUserBiography() {
|
|
3765
|
-
return { creator: "", biography: "" };
|
|
3766
|
-
}
|
|
3767
|
-
export const MsgSetUserBiography = {
|
|
3768
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
3769
|
-
if (message.creator !== "") {
|
|
3770
|
-
writer.uint32(10).string(message.creator);
|
|
3771
|
-
}
|
|
3772
|
-
if (message.biography !== "") {
|
|
3773
|
-
writer.uint32(18).string(message.biography);
|
|
3774
|
-
}
|
|
3775
|
-
return writer;
|
|
3776
|
-
},
|
|
3777
|
-
decode(input, length) {
|
|
3778
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
3779
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
3780
|
-
const message = createBaseMsgSetUserBiography();
|
|
3781
|
-
while (reader.pos < end) {
|
|
3782
|
-
const tag = reader.uint32();
|
|
3783
|
-
switch (tag >>> 3) {
|
|
3784
|
-
case 1:
|
|
3785
|
-
message.creator = reader.string();
|
|
3786
|
-
break;
|
|
3787
|
-
case 2:
|
|
3788
|
-
message.biography = reader.string();
|
|
3789
|
-
break;
|
|
3790
|
-
default:
|
|
3791
|
-
reader.skipType(tag & 7);
|
|
3792
|
-
break;
|
|
3793
|
-
}
|
|
3794
|
-
}
|
|
3795
|
-
return message;
|
|
3796
|
-
},
|
|
3797
|
-
fromJSON(object) {
|
|
3798
|
-
return {
|
|
3799
|
-
creator: isSet(object.creator) ? String(object.creator) : "",
|
|
3800
|
-
biography: isSet(object.biography) ? String(object.biography) : "",
|
|
3801
|
-
};
|
|
3802
|
-
},
|
|
3803
|
-
toJSON(message) {
|
|
3804
|
-
const obj = {};
|
|
3805
|
-
message.creator !== undefined && (obj.creator = message.creator);
|
|
3806
|
-
message.biography !== undefined && (obj.biography = message.biography);
|
|
3807
|
-
return obj;
|
|
3808
|
-
},
|
|
3809
|
-
fromPartial(object) {
|
|
3810
|
-
const message = createBaseMsgSetUserBiography();
|
|
3811
|
-
message.creator = object.creator ?? "";
|
|
3812
|
-
message.biography = object.biography ?? "";
|
|
3813
|
-
return message;
|
|
3814
|
-
},
|
|
3815
|
-
};
|
|
3816
|
-
function createBaseMsgSetUserBiographyResponse() {
|
|
3817
|
-
return {};
|
|
3818
|
-
}
|
|
3819
|
-
export const MsgSetUserBiographyResponse = {
|
|
3820
|
-
encode(_, writer = _m0.Writer.create()) {
|
|
3821
|
-
return writer;
|
|
3822
|
-
},
|
|
3823
|
-
decode(input, length) {
|
|
3824
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
3825
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
3826
|
-
const message = createBaseMsgSetUserBiographyResponse();
|
|
3827
|
-
while (reader.pos < end) {
|
|
3828
|
-
const tag = reader.uint32();
|
|
3829
|
-
switch (tag >>> 3) {
|
|
3830
|
-
default:
|
|
3831
|
-
reader.skipType(tag & 7);
|
|
3832
|
-
break;
|
|
3833
|
-
}
|
|
3834
|
-
}
|
|
3835
|
-
return message;
|
|
3836
|
-
},
|
|
3837
|
-
fromJSON(_) {
|
|
3838
|
-
return {};
|
|
3839
|
-
},
|
|
3840
|
-
toJSON(_) {
|
|
3841
|
-
const obj = {};
|
|
3842
|
-
return obj;
|
|
3843
|
-
},
|
|
3844
|
-
fromPartial(_) {
|
|
3845
|
-
const message = createBaseMsgSetUserBiographyResponse();
|
|
3846
|
-
return message;
|
|
3847
|
-
},
|
|
3848
|
-
};
|
|
3849
|
-
function createBaseSingleVote() {
|
|
3850
|
-
return { cardId: 0, voteType: "" };
|
|
3851
|
-
}
|
|
3852
|
-
export const SingleVote = {
|
|
3853
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
3854
|
-
if (message.cardId !== 0) {
|
|
3855
|
-
writer.uint32(8).uint64(message.cardId);
|
|
3856
|
-
}
|
|
3857
|
-
if (message.voteType !== "") {
|
|
3858
|
-
writer.uint32(18).string(message.voteType);
|
|
3859
|
-
}
|
|
3860
|
-
return writer;
|
|
3861
|
-
},
|
|
3862
|
-
decode(input, length) {
|
|
3863
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
3864
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
3865
|
-
const message = createBaseSingleVote();
|
|
3866
|
-
while (reader.pos < end) {
|
|
3867
|
-
const tag = reader.uint32();
|
|
3868
|
-
switch (tag >>> 3) {
|
|
3869
|
-
case 1:
|
|
3870
|
-
message.cardId = longToNumber(reader.uint64());
|
|
3871
|
-
break;
|
|
3872
|
-
case 2:
|
|
3873
|
-
message.voteType = reader.string();
|
|
3874
|
-
break;
|
|
3875
|
-
default:
|
|
3876
|
-
reader.skipType(tag & 7);
|
|
3877
|
-
break;
|
|
3878
|
-
}
|
|
3879
|
-
}
|
|
3880
|
-
return message;
|
|
3881
|
-
},
|
|
3882
|
-
fromJSON(object) {
|
|
3883
|
-
return {
|
|
3884
|
-
cardId: isSet(object.cardId) ? Number(object.cardId) : 0,
|
|
3885
|
-
voteType: isSet(object.voteType) ? String(object.voteType) : "",
|
|
3886
|
-
};
|
|
3887
|
-
},
|
|
3888
|
-
toJSON(message) {
|
|
3889
|
-
const obj = {};
|
|
3890
|
-
message.cardId !== undefined && (obj.cardId = Math.round(message.cardId));
|
|
3891
|
-
message.voteType !== undefined && (obj.voteType = message.voteType);
|
|
3892
|
-
return obj;
|
|
3893
|
-
},
|
|
3894
|
-
fromPartial(object) {
|
|
3895
|
-
const message = createBaseSingleVote();
|
|
3896
|
-
message.cardId = object.cardId ?? 0;
|
|
3897
|
-
message.voteType = object.voteType ?? "";
|
|
3898
|
-
return message;
|
|
3899
|
-
},
|
|
3900
|
-
};
|
|
3901
|
-
function createBaseMsgMultiVoteCard() {
|
|
3902
|
-
return { creator: "", votes: [] };
|
|
3903
|
-
}
|
|
3904
|
-
export const MsgMultiVoteCard = {
|
|
3905
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
3906
|
-
if (message.creator !== "") {
|
|
3907
|
-
writer.uint32(10).string(message.creator);
|
|
3908
|
-
}
|
|
3909
|
-
for (const v of message.votes) {
|
|
3910
|
-
SingleVote.encode(v, writer.uint32(18).fork()).ldelim();
|
|
3911
|
-
}
|
|
3912
|
-
return writer;
|
|
3913
|
-
},
|
|
3914
|
-
decode(input, length) {
|
|
3915
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
3916
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
3917
|
-
const message = createBaseMsgMultiVoteCard();
|
|
3918
|
-
while (reader.pos < end) {
|
|
3919
|
-
const tag = reader.uint32();
|
|
3920
|
-
switch (tag >>> 3) {
|
|
3921
|
-
case 1:
|
|
3922
|
-
message.creator = reader.string();
|
|
3923
|
-
break;
|
|
3924
|
-
case 2:
|
|
3925
|
-
message.votes.push(SingleVote.decode(reader, reader.uint32()));
|
|
3926
|
-
break;
|
|
3927
|
-
default:
|
|
3928
|
-
reader.skipType(tag & 7);
|
|
3929
|
-
break;
|
|
3930
|
-
}
|
|
3931
|
-
}
|
|
3932
|
-
return message;
|
|
3933
|
-
},
|
|
3934
|
-
fromJSON(object) {
|
|
3935
|
-
return {
|
|
3936
|
-
creator: isSet(object.creator) ? String(object.creator) : "",
|
|
3937
|
-
votes: Array.isArray(object?.votes) ? object.votes.map((e) => SingleVote.fromJSON(e)) : [],
|
|
3938
|
-
};
|
|
3939
|
-
},
|
|
3940
|
-
toJSON(message) {
|
|
3941
|
-
const obj = {};
|
|
3942
|
-
message.creator !== undefined && (obj.creator = message.creator);
|
|
3943
|
-
if (message.votes) {
|
|
3944
|
-
obj.votes = message.votes.map((e) => e ? SingleVote.toJSON(e) : undefined);
|
|
3945
|
-
}
|
|
3946
|
-
else {
|
|
3947
|
-
obj.votes = [];
|
|
3948
|
-
}
|
|
3949
|
-
return obj;
|
|
3950
|
-
},
|
|
3951
|
-
fromPartial(object) {
|
|
3952
|
-
const message = createBaseMsgMultiVoteCard();
|
|
3953
|
-
message.creator = object.creator ?? "";
|
|
3954
|
-
message.votes = object.votes?.map((e) => SingleVote.fromPartial(e)) || [];
|
|
3955
|
-
return message;
|
|
3956
|
-
},
|
|
3957
|
-
};
|
|
3958
|
-
function createBaseMsgMultiVoteCardResponse() {
|
|
3959
|
-
return {};
|
|
3960
|
-
}
|
|
3961
|
-
export const MsgMultiVoteCardResponse = {
|
|
3962
|
-
encode(_, writer = _m0.Writer.create()) {
|
|
3963
|
-
return writer;
|
|
3964
|
-
},
|
|
3965
|
-
decode(input, length) {
|
|
3966
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
3967
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
3968
|
-
const message = createBaseMsgMultiVoteCardResponse();
|
|
3969
|
-
while (reader.pos < end) {
|
|
3970
|
-
const tag = reader.uint32();
|
|
3971
|
-
switch (tag >>> 3) {
|
|
3972
|
-
default:
|
|
3973
|
-
reader.skipType(tag & 7);
|
|
3974
|
-
break;
|
|
3975
|
-
}
|
|
3976
|
-
}
|
|
3977
|
-
return message;
|
|
3978
|
-
},
|
|
3979
|
-
fromJSON(_) {
|
|
3980
|
-
return {};
|
|
3981
|
-
},
|
|
3982
|
-
toJSON(_) {
|
|
3983
|
-
const obj = {};
|
|
3984
|
-
return obj;
|
|
3985
|
-
},
|
|
3986
|
-
fromPartial(_) {
|
|
3987
|
-
const message = createBaseMsgMultiVoteCardResponse();
|
|
3988
|
-
return message;
|
|
3989
|
-
},
|
|
3990
|
-
};
|
|
3991
|
-
export class MsgClientImpl {
|
|
3992
|
-
constructor(rpc) {
|
|
3993
|
-
this.rpc = rpc;
|
|
3994
|
-
this.Createuser = this.Createuser.bind(this);
|
|
3995
|
-
this.BuyCardScheme = this.BuyCardScheme.bind(this);
|
|
3996
|
-
this.VoteCard = this.VoteCard.bind(this);
|
|
3997
|
-
this.SaveCardContent = this.SaveCardContent.bind(this);
|
|
3998
|
-
this.TransferCard = this.TransferCard.bind(this);
|
|
3999
|
-
this.DonateToCard = this.DonateToCard.bind(this);
|
|
4000
|
-
this.AddArtwork = this.AddArtwork.bind(this);
|
|
4001
|
-
this.SubmitCopyrightProposal = this.SubmitCopyrightProposal.bind(this);
|
|
4002
|
-
this.ChangeArtist = this.ChangeArtist.bind(this);
|
|
4003
|
-
this.RegisterForCouncil = this.RegisterForCouncil.bind(this);
|
|
4004
|
-
this.ReportMatch = this.ReportMatch.bind(this);
|
|
4005
|
-
this.SubmitMatchReporterProposal = this.SubmitMatchReporterProposal.bind(this);
|
|
4006
|
-
this.ApointMatchReporter = this.ApointMatchReporter.bind(this);
|
|
4007
|
-
this.CreateCollection = this.CreateCollection.bind(this);
|
|
4008
|
-
this.AddCardToCollection = this.AddCardToCollection.bind(this);
|
|
4009
|
-
this.FinalizeCollection = this.FinalizeCollection.bind(this);
|
|
4010
|
-
this.BuyCollection = this.BuyCollection.bind(this);
|
|
4011
|
-
this.RemoveCardFromCollection = this.RemoveCardFromCollection.bind(this);
|
|
4012
|
-
this.RemoveContributorFromCollection = this.RemoveContributorFromCollection.bind(this);
|
|
4013
|
-
this.AddContributorToCollection = this.AddContributorToCollection.bind(this);
|
|
4014
|
-
this.SubmitCollectionProposal = this.SubmitCollectionProposal.bind(this);
|
|
4015
|
-
this.CreateSellOffer = this.CreateSellOffer.bind(this);
|
|
4016
|
-
this.BuyCard = this.BuyCard.bind(this);
|
|
4017
|
-
this.RemoveSellOffer = this.RemoveSellOffer.bind(this);
|
|
4018
|
-
this.AddArtworkToCollection = this.AddArtworkToCollection.bind(this);
|
|
4019
|
-
this.AddStoryToCollection = this.AddStoryToCollection.bind(this);
|
|
4020
|
-
this.SetCardRarity = this.SetCardRarity.bind(this);
|
|
4021
|
-
this.CreateCouncil = this.CreateCouncil.bind(this);
|
|
4022
|
-
this.CommitCouncilResponse = this.CommitCouncilResponse.bind(this);
|
|
4023
|
-
this.RevealCouncilResponse = this.RevealCouncilResponse.bind(this);
|
|
4024
|
-
this.RestartCouncil = this.RestartCouncil.bind(this);
|
|
4025
|
-
this.RewokeCouncilRegistration = this.RewokeCouncilRegistration.bind(this);
|
|
4026
|
-
this.ConfirmMatch = this.ConfirmMatch.bind(this);
|
|
4027
|
-
this.SetProfileCard = this.SetProfileCard.bind(this);
|
|
4028
|
-
this.OpenBoosterPack = this.OpenBoosterPack.bind(this);
|
|
4029
|
-
this.TransferBoosterPack = this.TransferBoosterPack.bind(this);
|
|
4030
|
-
this.SetCollectionStoryWriter = this.SetCollectionStoryWriter.bind(this);
|
|
4031
|
-
this.SetCollectionArtist = this.SetCollectionArtist.bind(this);
|
|
4032
|
-
this.SetUserWebsite = this.SetUserWebsite.bind(this);
|
|
4033
|
-
this.SetUserBiography = this.SetUserBiography.bind(this);
|
|
4034
|
-
this.MultiVoteCard = this.MultiVoteCard.bind(this);
|
|
4035
|
-
}
|
|
4036
|
-
Createuser(request) {
|
|
4037
|
-
const data = MsgCreateuser.encode(request).finish();
|
|
4038
|
-
const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "Createuser", data);
|
|
4039
|
-
return promise.then((data) => MsgCreateuserResponse.decode(new _m0.Reader(data)));
|
|
4040
|
-
}
|
|
4041
|
-
BuyCardScheme(request) {
|
|
4042
|
-
const data = MsgBuyCardScheme.encode(request).finish();
|
|
4043
|
-
const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "BuyCardScheme", data);
|
|
4044
|
-
return promise.then((data) => MsgBuyCardSchemeResponse.decode(new _m0.Reader(data)));
|
|
4045
|
-
}
|
|
4046
|
-
VoteCard(request) {
|
|
4047
|
-
const data = MsgVoteCard.encode(request).finish();
|
|
4048
|
-
const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "VoteCard", data);
|
|
4049
|
-
return promise.then((data) => MsgVoteCardResponse.decode(new _m0.Reader(data)));
|
|
4050
|
-
}
|
|
4051
|
-
SaveCardContent(request) {
|
|
4052
|
-
const data = MsgSaveCardContent.encode(request).finish();
|
|
4053
|
-
const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "SaveCardContent", data);
|
|
4054
|
-
return promise.then((data) => MsgSaveCardContentResponse.decode(new _m0.Reader(data)));
|
|
4055
|
-
}
|
|
4056
|
-
TransferCard(request) {
|
|
4057
|
-
const data = MsgTransferCard.encode(request).finish();
|
|
4058
|
-
const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "TransferCard", data);
|
|
4059
|
-
return promise.then((data) => MsgTransferCardResponse.decode(new _m0.Reader(data)));
|
|
4060
|
-
}
|
|
4061
|
-
DonateToCard(request) {
|
|
4062
|
-
const data = MsgDonateToCard.encode(request).finish();
|
|
4063
|
-
const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "DonateToCard", data);
|
|
4064
|
-
return promise.then((data) => MsgDonateToCardResponse.decode(new _m0.Reader(data)));
|
|
4065
|
-
}
|
|
4066
|
-
AddArtwork(request) {
|
|
4067
|
-
const data = MsgAddArtwork.encode(request).finish();
|
|
4068
|
-
const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "AddArtwork", data);
|
|
4069
|
-
return promise.then((data) => MsgAddArtworkResponse.decode(new _m0.Reader(data)));
|
|
4070
|
-
}
|
|
4071
|
-
SubmitCopyrightProposal(request) {
|
|
4072
|
-
const data = MsgSubmitCopyrightProposal.encode(request).finish();
|
|
4073
|
-
const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "SubmitCopyrightProposal", data);
|
|
4074
|
-
return promise.then((data) => MsgSubmitCopyrightProposalResponse.decode(new _m0.Reader(data)));
|
|
4075
|
-
}
|
|
4076
|
-
ChangeArtist(request) {
|
|
4077
|
-
const data = MsgChangeArtist.encode(request).finish();
|
|
4078
|
-
const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "ChangeArtist", data);
|
|
4079
|
-
return promise.then((data) => MsgChangeArtistResponse.decode(new _m0.Reader(data)));
|
|
4080
|
-
}
|
|
4081
|
-
RegisterForCouncil(request) {
|
|
4082
|
-
const data = MsgRegisterForCouncil.encode(request).finish();
|
|
4083
|
-
const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "RegisterForCouncil", data);
|
|
4084
|
-
return promise.then((data) => MsgRegisterForCouncilResponse.decode(new _m0.Reader(data)));
|
|
4085
|
-
}
|
|
4086
|
-
ReportMatch(request) {
|
|
4087
|
-
const data = MsgReportMatch.encode(request).finish();
|
|
4088
|
-
const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "ReportMatch", data);
|
|
4089
|
-
return promise.then((data) => MsgReportMatchResponse.decode(new _m0.Reader(data)));
|
|
4090
|
-
}
|
|
4091
|
-
SubmitMatchReporterProposal(request) {
|
|
4092
|
-
const data = MsgSubmitMatchReporterProposal.encode(request).finish();
|
|
4093
|
-
const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "SubmitMatchReporterProposal", data);
|
|
4094
|
-
return promise.then((data) => MsgSubmitMatchReporterProposalResponse.decode(new _m0.Reader(data)));
|
|
4095
|
-
}
|
|
4096
|
-
ApointMatchReporter(request) {
|
|
4097
|
-
const data = MsgApointMatchReporter.encode(request).finish();
|
|
4098
|
-
const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "ApointMatchReporter", data);
|
|
4099
|
-
return promise.then((data) => MsgApointMatchReporterResponse.decode(new _m0.Reader(data)));
|
|
4100
|
-
}
|
|
4101
|
-
CreateCollection(request) {
|
|
4102
|
-
const data = MsgCreateCollection.encode(request).finish();
|
|
4103
|
-
const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "CreateCollection", data);
|
|
4104
|
-
return promise.then((data) => MsgCreateCollectionResponse.decode(new _m0.Reader(data)));
|
|
4105
|
-
}
|
|
4106
|
-
AddCardToCollection(request) {
|
|
4107
|
-
const data = MsgAddCardToCollection.encode(request).finish();
|
|
4108
|
-
const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "AddCardToCollection", data);
|
|
4109
|
-
return promise.then((data) => MsgAddCardToCollectionResponse.decode(new _m0.Reader(data)));
|
|
4110
|
-
}
|
|
4111
|
-
FinalizeCollection(request) {
|
|
4112
|
-
const data = MsgFinalizeCollection.encode(request).finish();
|
|
4113
|
-
const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "FinalizeCollection", data);
|
|
4114
|
-
return promise.then((data) => MsgFinalizeCollectionResponse.decode(new _m0.Reader(data)));
|
|
4115
|
-
}
|
|
4116
|
-
BuyCollection(request) {
|
|
4117
|
-
const data = MsgBuyCollection.encode(request).finish();
|
|
4118
|
-
const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "BuyCollection", data);
|
|
4119
|
-
return promise.then((data) => MsgBuyCollectionResponse.decode(new _m0.Reader(data)));
|
|
4120
|
-
}
|
|
4121
|
-
RemoveCardFromCollection(request) {
|
|
4122
|
-
const data = MsgRemoveCardFromCollection.encode(request).finish();
|
|
4123
|
-
const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "RemoveCardFromCollection", data);
|
|
4124
|
-
return promise.then((data) => MsgRemoveCardFromCollectionResponse.decode(new _m0.Reader(data)));
|
|
4125
|
-
}
|
|
4126
|
-
RemoveContributorFromCollection(request) {
|
|
4127
|
-
const data = MsgRemoveContributorFromCollection.encode(request).finish();
|
|
4128
|
-
const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "RemoveContributorFromCollection", data);
|
|
4129
|
-
return promise.then((data) => MsgRemoveContributorFromCollectionResponse.decode(new _m0.Reader(data)));
|
|
4130
|
-
}
|
|
4131
|
-
AddContributorToCollection(request) {
|
|
4132
|
-
const data = MsgAddContributorToCollection.encode(request).finish();
|
|
4133
|
-
const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "AddContributorToCollection", data);
|
|
4134
|
-
return promise.then((data) => MsgAddContributorToCollectionResponse.decode(new _m0.Reader(data)));
|
|
4135
|
-
}
|
|
4136
|
-
SubmitCollectionProposal(request) {
|
|
4137
|
-
const data = MsgSubmitCollectionProposal.encode(request).finish();
|
|
4138
|
-
const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "SubmitCollectionProposal", data);
|
|
4139
|
-
return promise.then((data) => MsgSubmitCollectionProposalResponse.decode(new _m0.Reader(data)));
|
|
4140
|
-
}
|
|
4141
|
-
CreateSellOffer(request) {
|
|
4142
|
-
const data = MsgCreateSellOffer.encode(request).finish();
|
|
4143
|
-
const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "CreateSellOffer", data);
|
|
4144
|
-
return promise.then((data) => MsgCreateSellOfferResponse.decode(new _m0.Reader(data)));
|
|
4145
|
-
}
|
|
4146
|
-
BuyCard(request) {
|
|
4147
|
-
const data = MsgBuyCard.encode(request).finish();
|
|
4148
|
-
const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "BuyCard", data);
|
|
4149
|
-
return promise.then((data) => MsgBuyCardResponse.decode(new _m0.Reader(data)));
|
|
4150
|
-
}
|
|
4151
|
-
RemoveSellOffer(request) {
|
|
4152
|
-
const data = MsgRemoveSellOffer.encode(request).finish();
|
|
4153
|
-
const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "RemoveSellOffer", data);
|
|
4154
|
-
return promise.then((data) => MsgRemoveSellOfferResponse.decode(new _m0.Reader(data)));
|
|
4155
|
-
}
|
|
4156
|
-
AddArtworkToCollection(request) {
|
|
4157
|
-
const data = MsgAddArtworkToCollection.encode(request).finish();
|
|
4158
|
-
const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "AddArtworkToCollection", data);
|
|
4159
|
-
return promise.then((data) => MsgAddArtworkToCollectionResponse.decode(new _m0.Reader(data)));
|
|
4160
|
-
}
|
|
4161
|
-
AddStoryToCollection(request) {
|
|
4162
|
-
const data = MsgAddStoryToCollection.encode(request).finish();
|
|
4163
|
-
const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "AddStoryToCollection", data);
|
|
4164
|
-
return promise.then((data) => MsgAddStoryToCollectionResponse.decode(new _m0.Reader(data)));
|
|
4165
|
-
}
|
|
4166
|
-
SetCardRarity(request) {
|
|
4167
|
-
const data = MsgSetCardRarity.encode(request).finish();
|
|
4168
|
-
const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "SetCardRarity", data);
|
|
4169
|
-
return promise.then((data) => MsgSetCardRarityResponse.decode(new _m0.Reader(data)));
|
|
4170
|
-
}
|
|
4171
|
-
CreateCouncil(request) {
|
|
4172
|
-
const data = MsgCreateCouncil.encode(request).finish();
|
|
4173
|
-
const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "CreateCouncil", data);
|
|
4174
|
-
return promise.then((data) => MsgCreateCouncilResponse.decode(new _m0.Reader(data)));
|
|
4175
|
-
}
|
|
4176
|
-
CommitCouncilResponse(request) {
|
|
4177
|
-
const data = MsgCommitCouncilResponse.encode(request).finish();
|
|
4178
|
-
const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "CommitCouncilResponse", data);
|
|
4179
|
-
return promise.then((data) => MsgCommitCouncilResponseResponse.decode(new _m0.Reader(data)));
|
|
4180
|
-
}
|
|
4181
|
-
RevealCouncilResponse(request) {
|
|
4182
|
-
const data = MsgRevealCouncilResponse.encode(request).finish();
|
|
4183
|
-
const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "RevealCouncilResponse", data);
|
|
4184
|
-
return promise.then((data) => MsgRevealCouncilResponseResponse.decode(new _m0.Reader(data)));
|
|
4185
|
-
}
|
|
4186
|
-
RestartCouncil(request) {
|
|
4187
|
-
const data = MsgRestartCouncil.encode(request).finish();
|
|
4188
|
-
const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "RestartCouncil", data);
|
|
4189
|
-
return promise.then((data) => MsgRestartCouncilResponse.decode(new _m0.Reader(data)));
|
|
4190
|
-
}
|
|
4191
|
-
RewokeCouncilRegistration(request) {
|
|
4192
|
-
const data = MsgRewokeCouncilRegistration.encode(request).finish();
|
|
4193
|
-
const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "RewokeCouncilRegistration", data);
|
|
4194
|
-
return promise.then((data) => MsgRewokeCouncilRegistrationResponse.decode(new _m0.Reader(data)));
|
|
4195
|
-
}
|
|
4196
|
-
ConfirmMatch(request) {
|
|
4197
|
-
const data = MsgConfirmMatch.encode(request).finish();
|
|
4198
|
-
const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "ConfirmMatch", data);
|
|
4199
|
-
return promise.then((data) => MsgConfirmMatchResponse.decode(new _m0.Reader(data)));
|
|
4200
|
-
}
|
|
4201
|
-
SetProfileCard(request) {
|
|
4202
|
-
const data = MsgSetProfileCard.encode(request).finish();
|
|
4203
|
-
const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "SetProfileCard", data);
|
|
4204
|
-
return promise.then((data) => MsgSetProfileCardResponse.decode(new _m0.Reader(data)));
|
|
4205
|
-
}
|
|
4206
|
-
OpenBoosterPack(request) {
|
|
4207
|
-
const data = MsgOpenBoosterPack.encode(request).finish();
|
|
4208
|
-
const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "OpenBoosterPack", data);
|
|
4209
|
-
return promise.then((data) => MsgOpenBoosterPackResponse.decode(new _m0.Reader(data)));
|
|
4210
|
-
}
|
|
4211
|
-
TransferBoosterPack(request) {
|
|
4212
|
-
const data = MsgTransferBoosterPack.encode(request).finish();
|
|
4213
|
-
const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "TransferBoosterPack", data);
|
|
4214
|
-
return promise.then((data) => MsgTransferBoosterPackResponse.decode(new _m0.Reader(data)));
|
|
4215
|
-
}
|
|
4216
|
-
SetCollectionStoryWriter(request) {
|
|
4217
|
-
const data = MsgSetCollectionStoryWriter.encode(request).finish();
|
|
4218
|
-
const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "SetCollectionStoryWriter", data);
|
|
4219
|
-
return promise.then((data) => MsgSetCollectionStoryWriterResponse.decode(new _m0.Reader(data)));
|
|
4220
|
-
}
|
|
4221
|
-
SetCollectionArtist(request) {
|
|
4222
|
-
const data = MsgSetCollectionArtist.encode(request).finish();
|
|
4223
|
-
const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "SetCollectionArtist", data);
|
|
4224
|
-
return promise.then((data) => MsgSetCollectionArtistResponse.decode(new _m0.Reader(data)));
|
|
4225
|
-
}
|
|
4226
|
-
SetUserWebsite(request) {
|
|
4227
|
-
const data = MsgSetUserWebsite.encode(request).finish();
|
|
4228
|
-
const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "SetUserWebsite", data);
|
|
4229
|
-
return promise.then((data) => MsgSetUserWebsiteResponse.decode(new _m0.Reader(data)));
|
|
4230
|
-
}
|
|
4231
|
-
SetUserBiography(request) {
|
|
4232
|
-
const data = MsgSetUserBiography.encode(request).finish();
|
|
4233
|
-
const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "SetUserBiography", data);
|
|
4234
|
-
return promise.then((data) => MsgSetUserBiographyResponse.decode(new _m0.Reader(data)));
|
|
4235
|
-
}
|
|
4236
|
-
MultiVoteCard(request) {
|
|
4237
|
-
const data = MsgMultiVoteCard.encode(request).finish();
|
|
4238
|
-
const promise = this.rpc.request("DecentralCardGame.cardchain.cardchain.Msg", "MultiVoteCard", data);
|
|
4239
|
-
return promise.then((data) => MsgMultiVoteCardResponse.decode(new _m0.Reader(data)));
|
|
4240
|
-
}
|
|
4241
|
-
}
|
|
4242
|
-
var globalThis = (() => {
|
|
4243
|
-
if (typeof globalThis !== "undefined") {
|
|
4244
|
-
return globalThis;
|
|
4245
|
-
}
|
|
4246
|
-
if (typeof self !== "undefined") {
|
|
4247
|
-
return self;
|
|
4248
|
-
}
|
|
4249
|
-
if (typeof window !== "undefined") {
|
|
4250
|
-
return window;
|
|
4251
|
-
}
|
|
4252
|
-
if (typeof global !== "undefined") {
|
|
4253
|
-
return global;
|
|
4254
|
-
}
|
|
4255
|
-
throw "Unable to locate global object";
|
|
4256
|
-
})();
|
|
4257
|
-
function bytesFromBase64(b64) {
|
|
4258
|
-
if (globalThis.Buffer) {
|
|
4259
|
-
return Uint8Array.from(globalThis.Buffer.from(b64, "base64"));
|
|
4260
|
-
}
|
|
4261
|
-
else {
|
|
4262
|
-
const bin = globalThis.atob(b64);
|
|
4263
|
-
const arr = new Uint8Array(bin.length);
|
|
4264
|
-
for (let i = 0; i < bin.length; ++i) {
|
|
4265
|
-
arr[i] = bin.charCodeAt(i);
|
|
4266
|
-
}
|
|
4267
|
-
return arr;
|
|
4268
|
-
}
|
|
4269
|
-
}
|
|
4270
|
-
function base64FromBytes(arr) {
|
|
4271
|
-
if (globalThis.Buffer) {
|
|
4272
|
-
return globalThis.Buffer.from(arr).toString("base64");
|
|
4273
|
-
}
|
|
4274
|
-
else {
|
|
4275
|
-
const bin = [];
|
|
4276
|
-
arr.forEach((byte) => {
|
|
4277
|
-
bin.push(String.fromCharCode(byte));
|
|
4278
|
-
});
|
|
4279
|
-
return globalThis.btoa(bin.join(""));
|
|
4280
|
-
}
|
|
4281
|
-
}
|
|
4282
|
-
function longToNumber(long) {
|
|
4283
|
-
if (long.gt(Number.MAX_SAFE_INTEGER)) {
|
|
4284
|
-
throw new globalThis.Error("Value is larger than Number.MAX_SAFE_INTEGER");
|
|
4285
|
-
}
|
|
4286
|
-
return long.toNumber();
|
|
4287
|
-
}
|
|
4288
|
-
if (_m0.util.Long !== Long) {
|
|
4289
|
-
_m0.util.Long = Long;
|
|
4290
|
-
_m0.configure();
|
|
4291
|
-
}
|
|
4292
|
-
function isSet(value) {
|
|
4293
|
-
return value !== null && value !== undefined;
|
|
4294
|
-
}
|