decentralcardgame-cardchain-client-ts 0.0.3 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{lib/DecentralCardGame.cardchain.cardchain → DecentralCardGame.cardchain.cardchain}/module.js +343 -318
- package/DecentralCardGame.cardchain.cardchain/registry.js +72 -70
- package/DecentralCardGame.cardchain.cardchain/rest.js +1 -1
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/card.js +30 -6
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/council.js +11 -17
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/query.js +1 -217
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/tx.js +166 -8
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/user.js +7 -65
- package/DecentralCardGame.cardchain.cardchain/types/cardchain/params.js +30 -10
- package/DecentralCardGame.cardchain.cardchain/types.js +22 -21
- package/README.md +16 -0
- package/client.js +2 -1
- package/cosmos.authz.v1beta1/module.js +19 -19
- package/cosmos.authz.v1beta1/registry.js +2 -2
- package/cosmos.distribution.v1beta1/module.js +24 -24
- package/cosmos.distribution.v1beta1/registry.js +4 -4
- package/cosmos.gov.v1/module.js +31 -31
- package/cosmos.gov.v1/registry.js +4 -4
- package/cosmos.gov.v1beta1/module.js +22 -22
- package/cosmos.gov.v1beta1/registry.js +2 -2
- package/cosmos.group.v1/module.js +102 -102
- package/cosmos.group.v1/registry.js +14 -14
- package/cosmos.group.v1/rest.js +15 -0
- package/cosmos.group.v1/types/cosmos/group/v1/query.js +110 -0
- package/cosmos.staking.v1beta1/module.js +40 -40
- package/cosmos.staking.v1beta1/registry.js +8 -8
- package/cosmos.vesting.v1beta1/module.js +16 -16
- package/cosmos.vesting.v1beta1/registry.js +2 -2
- package/ibc.applications.interchain_accounts.controller.v1/rest.js +9 -0
- package/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/tx.js +266 -0
- package/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/v1/packet.js +192 -0
- package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/tx.js +24 -6
- package/ibc.core.client.v1/rest.js +14 -14
- package/ibc.core.connection.v1/rest.js +14 -0
- package/ibc.core.connection.v1/types/ibc/core/connection/v1/query.js +83 -1
- package/package.json +2 -2
- package/tsconfig.json +0 -1
- package/lib/DecentralCardGame.cardchain.cardchain/index.js +0 -5
- package/lib/DecentralCardGame.cardchain.cardchain/registry.js +0 -83
- package/lib/DecentralCardGame.cardchain.cardchain/rest.js +0 -396
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/card.js +0 -491
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/card.js +0 -497
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/collection.js +0 -365
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/collection_proposal.js +0 -93
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/copyright_proposal.js +0 -102
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/council.js +0 -356
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/genesis.js +0 -241
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/image.js +0 -88
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/match.js +0 -210
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/match_reporter_proposal.js +0 -67
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/num.js +0 -73
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/params.js +0 -275
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/query.js +0 -2186
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/running_average.js +0 -85
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/sell_offer.js +0 -148
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/server.js +0 -93
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/tx.js +0 -4136
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/user.js +0 -554
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/vote_right.js +0 -84
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/voting_result.js +0 -127
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/cardchain/voting_results.js +0 -148
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/collection.js +0 -365
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/collection_proposal.js +0 -93
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/copyright_proposal.js +0 -102
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/council.js +0 -350
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/genesis.js +0 -241
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/image.js +0 -88
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/match.js +0 -210
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/match_reporter_proposal.js +0 -67
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/num.js +0 -73
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/params.js +0 -275
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/query.js +0 -1970
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/running_average.js +0 -85
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/sell_offer.js +0 -148
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/server.js +0 -93
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/user.js +0 -496
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/vote_right.js +0 -84
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/voting_result.js +0 -127
- package/lib/DecentralCardGame.cardchain.cardchain/types/cardchain/voting_results.js +0 -148
- package/lib/DecentralCardGame.cardchain.cardchain/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/lib/DecentralCardGame.cardchain.cardchain/types/cosmos/base/v1beta1/coin.js +0 -192
- package/lib/DecentralCardGame.cardchain.cardchain/types/cosmos_proto/cosmos.js +0 -171
- package/lib/DecentralCardGame.cardchain.cardchain/types/gogoproto/gogo.js +0 -2
- package/lib/DecentralCardGame.cardchain.cardchain/types/google/api/annotations.js +0 -2
- package/lib/DecentralCardGame.cardchain.cardchain/types/google/api/http.js +0 -260
- package/lib/DecentralCardGame.cardchain.cardchain/types/google/protobuf/descriptor.js +0 -2830
- package/lib/DecentralCardGame.cardchain.cardchain/types.js +0 -21
- package/lib/client.js +0 -135
- package/lib/cosmos.auth.v1beta1/index.js +0 -5
- package/lib/cosmos.auth.v1beta1/module.js +0 -62
- package/lib/cosmos.auth.v1beta1/registry.js +0 -2
- package/lib/cosmos.auth.v1beta1/rest.js +0 -213
- package/lib/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/auth.js +0 -260
- package/lib/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/genesis.js +0 -67
- package/lib/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/query.js +0 -868
- package/lib/cosmos.auth.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/lib/cosmos.auth.v1beta1/types/cosmos_proto/cosmos.js +0 -171
- package/lib/cosmos.auth.v1beta1/types/gogoproto/gogo.js +0 -2
- package/lib/cosmos.auth.v1beta1/types/google/api/annotations.js +0 -2
- package/lib/cosmos.auth.v1beta1/types/google/api/http.js +0 -260
- package/lib/cosmos.auth.v1beta1/types/google/protobuf/descriptor.js +0 -2830
- package/lib/cosmos.auth.v1beta1/types.js +0 -4
- package/lib/cosmos.authz.v1beta1/index.js +0 -5
- package/lib/cosmos.authz.v1beta1/module.js +0 -140
- package/lib/cosmos.authz.v1beta1/registry.js +0 -9
- package/lib/cosmos.authz.v1beta1/rest.js +0 -131
- package/lib/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/authz.js +0 -244
- package/lib/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/event.js +0 -128
- package/lib/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/genesis.js +0 -54
- package/lib/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/query.js +0 -394
- package/lib/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/tx.js +0 -362
- package/lib/cosmos.authz.v1beta1/types/cosmos/base/abci/v1beta1/abci.js +0 -773
- package/lib/cosmos.authz.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/lib/cosmos.authz.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
- package/lib/cosmos.authz.v1beta1/types/cosmos_proto/cosmos.js +0 -171
- package/lib/cosmos.authz.v1beta1/types/gogoproto/gogo.js +0 -2
- package/lib/cosmos.authz.v1beta1/types/google/api/annotations.js +0 -2
- package/lib/cosmos.authz.v1beta1/types/google/api/http.js +0 -260
- package/lib/cosmos.authz.v1beta1/types/google/protobuf/any.js +0 -99
- package/lib/cosmos.authz.v1beta1/types/google/protobuf/descriptor.js +0 -2830
- package/lib/cosmos.authz.v1beta1/types/google/protobuf/duration.js +0 -84
- package/lib/cosmos.authz.v1beta1/types/google/protobuf/timestamp.js +0 -84
- package/lib/cosmos.authz.v1beta1/types/tendermint/abci/types.js +0 -3447
- package/lib/cosmos.authz.v1beta1/types/tendermint/crypto/keys.js +0 -100
- package/lib/cosmos.authz.v1beta1/types/tendermint/crypto/proof.js +0 -356
- package/lib/cosmos.authz.v1beta1/types/tendermint/types/params.js +0 -378
- package/lib/cosmos.authz.v1beta1/types/tendermint/types/types.js +0 -1207
- package/lib/cosmos.authz.v1beta1/types/tendermint/types/validator.js +0 -254
- package/lib/cosmos.authz.v1beta1/types/tendermint/version/types.js +0 -133
- package/lib/cosmos.authz.v1beta1/types.js +0 -7
- package/lib/cosmos.bank.v1beta1/index.js +0 -5
- package/lib/cosmos.bank.v1beta1/module.js +0 -125
- package/lib/cosmos.bank.v1beta1/registry.js +0 -7
- package/lib/cosmos.bank.v1beta1/rest.js +0 -222
- package/lib/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/authz.js +0 -50
- package/lib/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/bank.js +0 -455
- package/lib/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/genesis.js +0 -154
- package/lib/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/query.js +0 -1014
- package/lib/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/tx.js +0 -219
- package/lib/cosmos.bank.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/lib/cosmos.bank.v1beta1/types/cosmos/base/v1beta1/coin.js +0 -192
- package/lib/cosmos.bank.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
- package/lib/cosmos.bank.v1beta1/types/cosmos_proto/cosmos.js +0 -171
- package/lib/cosmos.bank.v1beta1/types/gogoproto/gogo.js +0 -2
- package/lib/cosmos.bank.v1beta1/types/google/api/annotations.js +0 -2
- package/lib/cosmos.bank.v1beta1/types/google/api/http.js +0 -260
- package/lib/cosmos.bank.v1beta1/types/google/protobuf/descriptor.js +0 -2830
- package/lib/cosmos.bank.v1beta1/types.js +0 -11
- package/lib/cosmos.base.tendermint.v1beta1/index.js +0 -5
- package/lib/cosmos.base.tendermint.v1beta1/module.js +0 -70
- package/lib/cosmos.base.tendermint.v1beta1/registry.js +0 -2
- package/lib/cosmos.base.tendermint.v1beta1/rest.js +0 -209
- package/lib/cosmos.base.tendermint.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/lib/cosmos.base.tendermint.v1beta1/types/cosmos/base/tendermint/v1beta1/query.js +0 -1281
- package/lib/cosmos.base.tendermint.v1beta1/types/cosmos/base/tendermint/v1beta1/types.js +0 -350
- package/lib/cosmos.base.tendermint.v1beta1/types/cosmos_proto/cosmos.js +0 -171
- package/lib/cosmos.base.tendermint.v1beta1/types/gogoproto/gogo.js +0 -2
- package/lib/cosmos.base.tendermint.v1beta1/types/google/api/annotations.js +0 -2
- package/lib/cosmos.base.tendermint.v1beta1/types/google/api/http.js +0 -260
- package/lib/cosmos.base.tendermint.v1beta1/types/google/protobuf/any.js +0 -99
- package/lib/cosmos.base.tendermint.v1beta1/types/google/protobuf/descriptor.js +0 -2830
- package/lib/cosmos.base.tendermint.v1beta1/types/google/protobuf/timestamp.js +0 -84
- package/lib/cosmos.base.tendermint.v1beta1/types/tendermint/crypto/keys.js +0 -100
- package/lib/cosmos.base.tendermint.v1beta1/types/tendermint/crypto/proof.js +0 -356
- package/lib/cosmos.base.tendermint.v1beta1/types/tendermint/p2p/types.js +0 -352
- package/lib/cosmos.base.tendermint.v1beta1/types/tendermint/types/block.js +0 -86
- package/lib/cosmos.base.tendermint.v1beta1/types/tendermint/types/evidence.js +0 -343
- package/lib/cosmos.base.tendermint.v1beta1/types/tendermint/types/types.js +0 -1207
- package/lib/cosmos.base.tendermint.v1beta1/types/tendermint/types/validator.js +0 -254
- package/lib/cosmos.base.tendermint.v1beta1/types/tendermint/version/types.js +0 -133
- package/lib/cosmos.base.tendermint.v1beta1/types.js +0 -8
- package/lib/cosmos.crisis.v1beta1/index.js +0 -5
- package/lib/cosmos.crisis.v1beta1/module.js +0 -81
- package/lib/cosmos.crisis.v1beta1/registry.js +0 -5
- package/lib/cosmos.crisis.v1beta1/rest.js +0 -83
- package/lib/cosmos.crisis.v1beta1/types/cosmos/base/v1beta1/coin.js +0 -192
- package/lib/cosmos.crisis.v1beta1/types/cosmos/crisis/v1beta1/genesis.js +0 -51
- package/lib/cosmos.crisis.v1beta1/types/cosmos/crisis/v1beta1/tx.js +0 -111
- package/lib/cosmos.crisis.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
- package/lib/cosmos.crisis.v1beta1/types/cosmos_proto/cosmos.js +0 -171
- package/lib/cosmos.crisis.v1beta1/types/gogoproto/gogo.js +0 -2
- package/lib/cosmos.crisis.v1beta1/types/google/protobuf/descriptor.js +0 -2830
- package/lib/cosmos.crisis.v1beta1/types.js +0 -1
- package/lib/cosmos.distribution.v1beta1/index.js +0 -5
- package/lib/cosmos.distribution.v1beta1/module.js +0 -189
- package/lib/cosmos.distribution.v1beta1/registry.js +0 -11
- package/lib/cosmos.distribution.v1beta1/rest.js +0 -214
- package/lib/cosmos.distribution.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/lib/cosmos.distribution.v1beta1/types/cosmos/base/v1beta1/coin.js +0 -192
- package/lib/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/distribution.js +0 -737
- package/lib/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/genesis.js +0 -656
- package/lib/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/query.js +0 -926
- package/lib/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/tx.js +0 -396
- package/lib/cosmos.distribution.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
- package/lib/cosmos.distribution.v1beta1/types/cosmos_proto/cosmos.js +0 -171
- package/lib/cosmos.distribution.v1beta1/types/gogoproto/gogo.js +0 -2
- package/lib/cosmos.distribution.v1beta1/types/google/api/annotations.js +0 -2
- package/lib/cosmos.distribution.v1beta1/types/google/api/http.js +0 -260
- package/lib/cosmos.distribution.v1beta1/types/google/protobuf/descriptor.js +0 -2830
- package/lib/cosmos.distribution.v1beta1/types.js +0 -20
- package/lib/cosmos.evidence.v1beta1/index.js +0 -5
- package/lib/cosmos.evidence.v1beta1/module.js +0 -84
- package/lib/cosmos.evidence.v1beta1/registry.js +0 -5
- package/lib/cosmos.evidence.v1beta1/rest.js +0 -115
- package/lib/cosmos.evidence.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/lib/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/evidence.js +0 -124
- package/lib/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/genesis.js +0 -50
- package/lib/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/query.js +0 -254
- package/lib/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/tx.js +0 -154
- package/lib/cosmos.evidence.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
- package/lib/cosmos.evidence.v1beta1/types/cosmos_proto/cosmos.js +0 -171
- package/lib/cosmos.evidence.v1beta1/types/gogoproto/gogo.js +0 -2
- package/lib/cosmos.evidence.v1beta1/types/google/api/annotations.js +0 -2
- package/lib/cosmos.evidence.v1beta1/types/google/api/http.js +0 -260
- package/lib/cosmos.evidence.v1beta1/types/google/protobuf/any.js +0 -99
- package/lib/cosmos.evidence.v1beta1/types/google/protobuf/descriptor.js +0 -2830
- package/lib/cosmos.evidence.v1beta1/types/google/protobuf/timestamp.js +0 -84
- package/lib/cosmos.evidence.v1beta1/types.js +0 -2
- package/lib/cosmos.feegrant.v1beta1/index.js +0 -5
- package/lib/cosmos.feegrant.v1beta1/module.js +0 -113
- package/lib/cosmos.feegrant.v1beta1/registry.js +0 -7
- package/lib/cosmos.feegrant.v1beta1/rest.js +0 -130
- package/lib/cosmos.feegrant.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/lib/cosmos.feegrant.v1beta1/types/cosmos/base/v1beta1/coin.js +0 -192
- package/lib/cosmos.feegrant.v1beta1/types/cosmos/feegrant/v1beta1/feegrant.js +0 -307
- package/lib/cosmos.feegrant.v1beta1/types/cosmos/feegrant/v1beta1/genesis.js +0 -52
- package/lib/cosmos.feegrant.v1beta1/types/cosmos/feegrant/v1beta1/query.js +0 -357
- package/lib/cosmos.feegrant.v1beta1/types/cosmos/feegrant/v1beta1/tx.js +0 -205
- package/lib/cosmos.feegrant.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
- package/lib/cosmos.feegrant.v1beta1/types/cosmos_proto/cosmos.js +0 -171
- package/lib/cosmos.feegrant.v1beta1/types/gogoproto/gogo.js +0 -2
- package/lib/cosmos.feegrant.v1beta1/types/google/api/annotations.js +0 -2
- package/lib/cosmos.feegrant.v1beta1/types/google/api/http.js +0 -260
- package/lib/cosmos.feegrant.v1beta1/types/google/protobuf/any.js +0 -99
- package/lib/cosmos.feegrant.v1beta1/types/google/protobuf/descriptor.js +0 -2830
- package/lib/cosmos.feegrant.v1beta1/types/google/protobuf/duration.js +0 -84
- package/lib/cosmos.feegrant.v1beta1/types/google/protobuf/timestamp.js +0 -84
- package/lib/cosmos.feegrant.v1beta1/types.js +0 -5
- package/lib/cosmos.gov.v1/index.js +0 -5
- package/lib/cosmos.gov.v1/module.js +0 -167
- package/lib/cosmos.gov.v1/registry.js +0 -11
- package/lib/cosmos.gov.v1/rest.js +0 -242
- package/lib/cosmos.gov.v1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/lib/cosmos.gov.v1/types/cosmos/base/v1beta1/coin.js +0 -192
- package/lib/cosmos.gov.v1/types/cosmos/gov/v1/genesis.js +0 -162
- package/lib/cosmos.gov.v1/types/cosmos/gov/v1/gov.js +0 -766
- package/lib/cosmos.gov.v1/types/cosmos/gov/v1/query.js +0 -917
- package/lib/cosmos.gov.v1/types/cosmos/gov/v1/tx.js +0 -590
- package/lib/cosmos.gov.v1/types/cosmos/msg/v1/msg.js +0 -2
- package/lib/cosmos.gov.v1/types/cosmos_proto/cosmos.js +0 -171
- package/lib/cosmos.gov.v1/types/gogoproto/gogo.js +0 -2
- package/lib/cosmos.gov.v1/types/google/api/annotations.js +0 -2
- package/lib/cosmos.gov.v1/types/google/api/http.js +0 -260
- package/lib/cosmos.gov.v1/types/google/protobuf/any.js +0 -99
- package/lib/cosmos.gov.v1/types/google/protobuf/descriptor.js +0 -2830
- package/lib/cosmos.gov.v1/types/google/protobuf/duration.js +0 -84
- package/lib/cosmos.gov.v1/types/google/protobuf/timestamp.js +0 -84
- package/lib/cosmos.gov.v1/types.js +0 -9
- package/lib/cosmos.gov.v1beta1/index.js +0 -5
- package/lib/cosmos.gov.v1beta1/module.js +0 -169
- package/lib/cosmos.gov.v1beta1/registry.js +0 -11
- package/lib/cosmos.gov.v1beta1/rest.js +0 -242
- package/lib/cosmos.gov.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/lib/cosmos.gov.v1beta1/types/cosmos/base/v1beta1/coin.js +0 -192
- package/lib/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/genesis.js +0 -162
- package/lib/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/gov.js +0 -832
- package/lib/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/query.js +0 -917
- package/lib/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/tx.js +0 -467
- package/lib/cosmos.gov.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
- package/lib/cosmos.gov.v1beta1/types/cosmos_proto/cosmos.js +0 -171
- package/lib/cosmos.gov.v1beta1/types/gogoproto/gogo.js +0 -2
- package/lib/cosmos.gov.v1beta1/types/google/api/annotations.js +0 -2
- package/lib/cosmos.gov.v1beta1/types/google/api/http.js +0 -260
- package/lib/cosmos.gov.v1beta1/types/google/protobuf/any.js +0 -99
- package/lib/cosmos.gov.v1beta1/types/google/protobuf/descriptor.js +0 -2830
- package/lib/cosmos.gov.v1beta1/types/google/protobuf/duration.js +0 -84
- package/lib/cosmos.gov.v1beta1/types/google/protobuf/timestamp.js +0 -84
- package/lib/cosmos.gov.v1beta1/types.js +0 -10
- package/lib/cosmos.group.v1/index.js +0 -5
- package/lib/cosmos.group.v1/module.js +0 -421
- package/lib/cosmos.group.v1/registry.js +0 -31
- package/lib/cosmos.group.v1/rest.js +0 -351
- package/lib/cosmos.group.v1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/lib/cosmos.group.v1/types/cosmos/group/v1/events.js +0 -433
- package/lib/cosmos.group.v1/types/cosmos/group/v1/genesis.js +0 -177
- package/lib/cosmos.group.v1/types/cosmos/group/v1/query.js +0 -1468
- package/lib/cosmos.group.v1/types/cosmos/group/v1/tx.js +0 -1621
- package/lib/cosmos.group.v1/types/cosmos/group/v1/types.js +0 -1105
- package/lib/cosmos.group.v1/types/cosmos/msg/v1/msg.js +0 -2
- package/lib/cosmos.group.v1/types/cosmos_proto/cosmos.js +0 -171
- package/lib/cosmos.group.v1/types/gogoproto/gogo.js +0 -2
- package/lib/cosmos.group.v1/types/google/api/annotations.js +0 -2
- package/lib/cosmos.group.v1/types/google/api/http.js +0 -260
- package/lib/cosmos.group.v1/types/google/protobuf/any.js +0 -99
- package/lib/cosmos.group.v1/types/google/protobuf/descriptor.js +0 -2830
- package/lib/cosmos.group.v1/types/google/protobuf/duration.js +0 -84
- package/lib/cosmos.group.v1/types/google/protobuf/timestamp.js +0 -84
- package/lib/cosmos.group.v1/types.js +0 -21
- package/lib/cosmos.mint.v1beta1/index.js +0 -5
- package/lib/cosmos.mint.v1beta1/module.js +0 -60
- package/lib/cosmos.mint.v1beta1/registry.js +0 -2
- package/lib/cosmos.mint.v1beta1/rest.js +0 -128
- package/lib/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/genesis.js +0 -63
- package/lib/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/mint.js +0 -179
- package/lib/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/query.js +0 -298
- package/lib/cosmos.mint.v1beta1/types/cosmos_proto/cosmos.js +0 -171
- package/lib/cosmos.mint.v1beta1/types/gogoproto/gogo.js +0 -2
- package/lib/cosmos.mint.v1beta1/types/google/api/annotations.js +0 -2
- package/lib/cosmos.mint.v1beta1/types/google/api/http.js +0 -260
- package/lib/cosmos.mint.v1beta1/types/google/protobuf/descriptor.js +0 -2830
- package/lib/cosmos.mint.v1beta1/types.js +0 -3
- package/lib/cosmos.nft.v1beta1/index.js +0 -5
- package/lib/cosmos.nft.v1beta1/module.js +0 -68
- package/lib/cosmos.nft.v1beta1/registry.js +0 -2
- package/lib/cosmos.nft.v1beta1/rest.js +0 -187
- package/lib/cosmos.nft.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/lib/cosmos.nft.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
- package/lib/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/event.js +0 -198
- package/lib/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/genesis.js +0 -126
- package/lib/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/nft.js +0 -183
- package/lib/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/query.js +0 -752
- package/lib/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/tx.js +0 -120
- package/lib/cosmos.nft.v1beta1/types/google/api/annotations.js +0 -2
- package/lib/cosmos.nft.v1beta1/types/google/api/http.js +0 -260
- package/lib/cosmos.nft.v1beta1/types/google/protobuf/any.js +0 -99
- package/lib/cosmos.nft.v1beta1/types/google/protobuf/descriptor.js +0 -2830
- package/lib/cosmos.nft.v1beta1/types.js +0 -7
- package/lib/cosmos.params.v1beta1/index.js +0 -5
- package/lib/cosmos.params.v1beta1/module.js +0 -62
- package/lib/cosmos.params.v1beta1/registry.js +0 -2
- package/lib/cosmos.params.v1beta1/rest.js +0 -116
- package/lib/cosmos.params.v1beta1/types/cosmos/params/v1beta1/params.js +0 -133
- package/lib/cosmos.params.v1beta1/types/cosmos/params/v1beta1/query.js +0 -257
- package/lib/cosmos.params.v1beta1/types/cosmos_proto/cosmos.js +0 -171
- package/lib/cosmos.params.v1beta1/types/gogoproto/gogo.js +0 -2
- package/lib/cosmos.params.v1beta1/types/google/api/annotations.js +0 -2
- package/lib/cosmos.params.v1beta1/types/google/api/http.js +0 -260
- package/lib/cosmos.params.v1beta1/types/google/protobuf/descriptor.js +0 -2830
- package/lib/cosmos.params.v1beta1/types.js +0 -4
- package/lib/cosmos.slashing.v1beta1/index.js +0 -5
- package/lib/cosmos.slashing.v1beta1/module.js +0 -92
- package/lib/cosmos.slashing.v1beta1/registry.js +0 -5
- package/lib/cosmos.slashing.v1beta1/rest.js +0 -129
- package/lib/cosmos.slashing.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/lib/cosmos.slashing.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
- package/lib/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/genesis.js +0 -279
- package/lib/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/query.js +0 -300
- package/lib/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/slashing.js +0 -275
- package/lib/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/tx.js +0 -91
- package/lib/cosmos.slashing.v1beta1/types/cosmos_proto/cosmos.js +0 -171
- package/lib/cosmos.slashing.v1beta1/types/gogoproto/gogo.js +0 -2
- package/lib/cosmos.slashing.v1beta1/types/google/api/annotations.js +0 -2
- package/lib/cosmos.slashing.v1beta1/types/google/api/http.js +0 -260
- package/lib/cosmos.slashing.v1beta1/types/google/protobuf/descriptor.js +0 -2830
- package/lib/cosmos.slashing.v1beta1/types/google/protobuf/duration.js +0 -84
- package/lib/cosmos.slashing.v1beta1/types/google/protobuf/timestamp.js +0 -84
- package/lib/cosmos.slashing.v1beta1/types.js +0 -6
- package/lib/cosmos.staking.v1beta1/index.js +0 -5
- package/lib/cosmos.staking.v1beta1/module.js +0 -243
- package/lib/cosmos.staking.v1beta1/registry.js +0 -15
- package/lib/cosmos.staking.v1beta1/rest.js +0 -308
- package/lib/cosmos.staking.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/lib/cosmos.staking.v1beta1/types/cosmos/base/v1beta1/coin.js +0 -192
- package/lib/cosmos.staking.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
- package/lib/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/authz.js +0 -184
- package/lib/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/genesis.js +0 -259
- package/lib/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/query.js +0 -1568
- package/lib/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/staking.js +0 -1436
- package/lib/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/tx.js +0 -768
- package/lib/cosmos.staking.v1beta1/types/cosmos_proto/cosmos.js +0 -171
- package/lib/cosmos.staking.v1beta1/types/gogoproto/gogo.js +0 -2
- package/lib/cosmos.staking.v1beta1/types/google/api/annotations.js +0 -2
- package/lib/cosmos.staking.v1beta1/types/google/api/http.js +0 -260
- package/lib/cosmos.staking.v1beta1/types/google/protobuf/any.js +0 -99
- package/lib/cosmos.staking.v1beta1/types/google/protobuf/descriptor.js +0 -2830
- package/lib/cosmos.staking.v1beta1/types/google/protobuf/duration.js +0 -84
- package/lib/cosmos.staking.v1beta1/types/google/protobuf/timestamp.js +0 -84
- package/lib/cosmos.staking.v1beta1/types/tendermint/crypto/keys.js +0 -100
- package/lib/cosmos.staking.v1beta1/types/tendermint/crypto/proof.js +0 -356
- package/lib/cosmos.staking.v1beta1/types/tendermint/types/types.js +0 -1207
- package/lib/cosmos.staking.v1beta1/types/tendermint/types/validator.js +0 -254
- package/lib/cosmos.staking.v1beta1/types/tendermint/version/types.js +0 -133
- package/lib/cosmos.staking.v1beta1/types.js +0 -24
- package/lib/cosmos.tx.v1beta1/index.js +0 -5
- package/lib/cosmos.tx.v1beta1/module.js +0 -82
- package/lib/cosmos.tx.v1beta1/registry.js +0 -2
- package/lib/cosmos.tx.v1beta1/rest.js +0 -256
- package/lib/cosmos.tx.v1beta1/types/cosmos/base/abci/v1beta1/abci.js +0 -803
- package/lib/cosmos.tx.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/lib/cosmos.tx.v1beta1/types/cosmos/base/v1beta1/coin.js +0 -192
- package/lib/cosmos.tx.v1beta1/types/cosmos/crypto/multisig/v1beta1/multisig.js +0 -147
- package/lib/cosmos.tx.v1beta1/types/cosmos/tx/signing/v1beta1/signing.js +0 -449
- package/lib/cosmos.tx.v1beta1/types/cosmos/tx/v1beta1/service.js +0 -802
- package/lib/cosmos.tx.v1beta1/types/cosmos/tx/v1beta1/tx.js +0 -959
- package/lib/cosmos.tx.v1beta1/types/cosmos_proto/cosmos.js +0 -171
- package/lib/cosmos.tx.v1beta1/types/gogoproto/gogo.js +0 -2
- package/lib/cosmos.tx.v1beta1/types/google/api/annotations.js +0 -2
- package/lib/cosmos.tx.v1beta1/types/google/api/http.js +0 -260
- package/lib/cosmos.tx.v1beta1/types/google/protobuf/any.js +0 -99
- package/lib/cosmos.tx.v1beta1/types/google/protobuf/descriptor.js +0 -2830
- package/lib/cosmos.tx.v1beta1/types/google/protobuf/duration.js +0 -84
- package/lib/cosmos.tx.v1beta1/types/google/protobuf/timestamp.js +0 -84
- package/lib/cosmos.tx.v1beta1/types/tendermint/abci/types.js +0 -3486
- package/lib/cosmos.tx.v1beta1/types/tendermint/crypto/keys.js +0 -100
- package/lib/cosmos.tx.v1beta1/types/tendermint/crypto/proof.js +0 -356
- package/lib/cosmos.tx.v1beta1/types/tendermint/types/block.js +0 -86
- package/lib/cosmos.tx.v1beta1/types/tendermint/types/evidence.js +0 -343
- package/lib/cosmos.tx.v1beta1/types/tendermint/types/params.js +0 -378
- package/lib/cosmos.tx.v1beta1/types/tendermint/types/types.js +0 -1207
- package/lib/cosmos.tx.v1beta1/types/tendermint/types/validator.js +0 -254
- package/lib/cosmos.tx.v1beta1/types/tendermint/version/types.js +0 -133
- package/lib/cosmos.tx.v1beta1/types.js +0 -14
- package/lib/cosmos.upgrade.v1beta1/index.js +0 -5
- package/lib/cosmos.upgrade.v1beta1/module.js +0 -113
- package/lib/cosmos.upgrade.v1beta1/registry.js +0 -7
- package/lib/cosmos.upgrade.v1beta1/rest.js +0 -162
- package/lib/cosmos.upgrade.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
- package/lib/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/query.js +0 -501
- package/lib/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/tx.js +0 -183
- package/lib/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/upgrade.js +0 -302
- package/lib/cosmos.upgrade.v1beta1/types/cosmos_proto/cosmos.js +0 -171
- package/lib/cosmos.upgrade.v1beta1/types/gogoproto/gogo.js +0 -2
- package/lib/cosmos.upgrade.v1beta1/types/google/api/annotations.js +0 -2
- package/lib/cosmos.upgrade.v1beta1/types/google/api/http.js +0 -260
- package/lib/cosmos.upgrade.v1beta1/types/google/protobuf/any.js +0 -99
- package/lib/cosmos.upgrade.v1beta1/types/google/protobuf/descriptor.js +0 -2830
- package/lib/cosmos.upgrade.v1beta1/types/google/protobuf/timestamp.js +0 -84
- package/lib/cosmos.upgrade.v1beta1/types.js +0 -5
- package/lib/cosmos.vesting.v1beta1/index.js +0 -5
- package/lib/cosmos.vesting.v1beta1/module.js +0 -140
- package/lib/cosmos.vesting.v1beta1/registry.js +0 -9
- package/lib/cosmos.vesting.v1beta1/rest.js +0 -83
- package/lib/cosmos.vesting.v1beta1/types/cosmos/auth/v1beta1/auth.js +0 -260
- package/lib/cosmos.vesting.v1beta1/types/cosmos/base/v1beta1/coin.js +0 -192
- package/lib/cosmos.vesting.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
- package/lib/cosmos.vesting.v1beta1/types/cosmos/vesting/v1beta1/tx.js +0 -383
- package/lib/cosmos.vesting.v1beta1/types/cosmos/vesting/v1beta1/vesting.js +0 -422
- package/lib/cosmos.vesting.v1beta1/types/cosmos_proto/cosmos.js +0 -171
- package/lib/cosmos.vesting.v1beta1/types/gogoproto/gogo.js +0 -2
- package/lib/cosmos.vesting.v1beta1/types/google/protobuf/any.js +0 -99
- package/lib/cosmos.vesting.v1beta1/types/google/protobuf/descriptor.js +0 -2830
- package/lib/cosmos.vesting.v1beta1/types.js +0 -7
- package/lib/env.js +0 -1
- package/lib/helpers.js +0 -11
- package/lib/ibc.applications.interchain_accounts.controller.v1/index.js +0 -5
- package/lib/ibc.applications.interchain_accounts.controller.v1/module.js +0 -58
- package/lib/ibc.applications.interchain_accounts.controller.v1/registry.js +0 -2
- package/lib/ibc.applications.interchain_accounts.controller.v1/rest.js +0 -114
- package/lib/ibc.applications.interchain_accounts.controller.v1/types/gogoproto/gogo.js +0 -2
- package/lib/ibc.applications.interchain_accounts.controller.v1/types/google/api/annotations.js +0 -2
- package/lib/ibc.applications.interchain_accounts.controller.v1/types/google/api/http.js +0 -260
- package/lib/ibc.applications.interchain_accounts.controller.v1/types/google/protobuf/descriptor.js +0 -2830
- package/lib/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/controller.js +0 -47
- package/lib/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/query.js +0 -193
- package/lib/ibc.applications.interchain_accounts.controller.v1/types.js +0 -2
- package/lib/ibc.applications.interchain_accounts.host.v1/index.js +0 -5
- package/lib/ibc.applications.interchain_accounts.host.v1/module.js +0 -58
- package/lib/ibc.applications.interchain_accounts.host.v1/registry.js +0 -2
- package/lib/ibc.applications.interchain_accounts.host.v1/rest.js +0 -100
- package/lib/ibc.applications.interchain_accounts.host.v1/types/gogoproto/gogo.js +0 -2
- package/lib/ibc.applications.interchain_accounts.host.v1/types/google/api/annotations.js +0 -2
- package/lib/ibc.applications.interchain_accounts.host.v1/types/google/api/http.js +0 -260
- package/lib/ibc.applications.interchain_accounts.host.v1/types/google/protobuf/descriptor.js +0 -2830
- package/lib/ibc.applications.interchain_accounts.host.v1/types/ibc/applications/interchain_accounts/host/v1/host.js +0 -63
- package/lib/ibc.applications.interchain_accounts.host.v1/types/ibc/applications/interchain_accounts/host/v1/query.js +0 -94
- package/lib/ibc.applications.interchain_accounts.host.v1/types.js +0 -2
- package/lib/ibc.applications.transfer.v1/index.js +0 -5
- package/lib/ibc.applications.transfer.v1/module.js +0 -86
- package/lib/ibc.applications.transfer.v1/registry.js +0 -5
- package/lib/ibc.applications.transfer.v1/rest.js +0 -157
- package/lib/ibc.applications.transfer.v1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/lib/ibc.applications.transfer.v1/types/cosmos/base/v1beta1/coin.js +0 -192
- package/lib/ibc.applications.transfer.v1/types/cosmos/upgrade/v1beta1/upgrade.js +0 -302
- package/lib/ibc.applications.transfer.v1/types/cosmos_proto/cosmos.js +0 -171
- package/lib/ibc.applications.transfer.v1/types/gogoproto/gogo.js +0 -2
- package/lib/ibc.applications.transfer.v1/types/google/api/annotations.js +0 -2
- package/lib/ibc.applications.transfer.v1/types/google/api/http.js +0 -260
- package/lib/ibc.applications.transfer.v1/types/google/protobuf/any.js +0 -99
- package/lib/ibc.applications.transfer.v1/types/google/protobuf/descriptor.js +0 -2830
- package/lib/ibc.applications.transfer.v1/types/google/protobuf/timestamp.js +0 -84
- package/lib/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/genesis.js +0 -75
- package/lib/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/query.js +0 -483
- package/lib/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/transfer.js +0 -110
- package/lib/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/tx.js +0 -186
- package/lib/ibc.applications.transfer.v1/types/ibc/core/client/v1/client.js +0 -448
- package/lib/ibc.applications.transfer.v1/types.js +0 -3
- package/lib/ibc.core.channel.v1/index.js +0 -5
- package/lib/ibc.core.channel.v1/module.js +0 -72
- package/lib/ibc.core.channel.v1/registry.js +0 -2
- package/lib/ibc.core.channel.v1/rest.js +0 -323
- package/lib/ibc.core.channel.v1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/lib/ibc.core.channel.v1/types/cosmos/upgrade/v1beta1/upgrade.js +0 -302
- package/lib/ibc.core.channel.v1/types/cosmos_proto/cosmos.js +0 -171
- package/lib/ibc.core.channel.v1/types/gogoproto/gogo.js +0 -2
- package/lib/ibc.core.channel.v1/types/google/api/annotations.js +0 -2
- package/lib/ibc.core.channel.v1/types/google/api/http.js +0 -260
- package/lib/ibc.core.channel.v1/types/google/protobuf/any.js +0 -99
- package/lib/ibc.core.channel.v1/types/google/protobuf/descriptor.js +0 -2830
- package/lib/ibc.core.channel.v1/types/google/protobuf/timestamp.js +0 -84
- package/lib/ibc.core.channel.v1/types/ibc/core/channel/v1/channel.js +0 -714
- package/lib/ibc.core.channel.v1/types/ibc/core/channel/v1/genesis.js +0 -254
- package/lib/ibc.core.channel.v1/types/ibc/core/channel/v1/query.js +0 -1866
- package/lib/ibc.core.channel.v1/types/ibc/core/channel/v1/tx.js +0 -1425
- package/lib/ibc.core.channel.v1/types/ibc/core/client/v1/client.js +0 -448
- package/lib/ibc.core.channel.v1/types.js +0 -9
- package/lib/ibc.core.client.v1/index.js +0 -5
- package/lib/ibc.core.client.v1/module.js +0 -74
- package/lib/ibc.core.client.v1/registry.js +0 -2
- package/lib/ibc.core.client.v1/rest.js +0 -218
- package/lib/ibc.core.client.v1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/lib/ibc.core.client.v1/types/cosmos/upgrade/v1beta1/upgrade.js +0 -302
- package/lib/ibc.core.client.v1/types/cosmos_proto/cosmos.js +0 -171
- package/lib/ibc.core.client.v1/types/gogoproto/gogo.js +0 -2
- package/lib/ibc.core.client.v1/types/google/api/annotations.js +0 -2
- package/lib/ibc.core.client.v1/types/google/api/http.js +0 -260
- package/lib/ibc.core.client.v1/types/google/protobuf/any.js +0 -99
- package/lib/ibc.core.client.v1/types/google/protobuf/descriptor.js +0 -2830
- package/lib/ibc.core.client.v1/types/google/protobuf/timestamp.js +0 -84
- package/lib/ibc.core.client.v1/types/ibc/core/client/v1/client.js +0 -448
- package/lib/ibc.core.client.v1/types/ibc/core/client/v1/genesis.js +0 -287
- package/lib/ibc.core.client.v1/types/ibc/core/client/v1/query.js +0 -1026
- package/lib/ibc.core.client.v1/types/ibc/core/client/v1/tx.js +0 -509
- package/lib/ibc.core.client.v1/types.js +0 -10
- package/lib/ibc.core.connection.v1/index.js +0 -5
- package/lib/ibc.core.connection.v1/module.js +0 -70
- package/lib/ibc.core.connection.v1/registry.js +0 -2
- package/lib/ibc.core.connection.v1/rest.js +0 -177
- package/lib/ibc.core.connection.v1/types/confio/proofs.js +0 -1120
- package/lib/ibc.core.connection.v1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/lib/ibc.core.connection.v1/types/cosmos/upgrade/v1beta1/upgrade.js +0 -302
- package/lib/ibc.core.connection.v1/types/cosmos_proto/cosmos.js +0 -171
- package/lib/ibc.core.connection.v1/types/gogoproto/gogo.js +0 -2
- package/lib/ibc.core.connection.v1/types/google/api/annotations.js +0 -2
- package/lib/ibc.core.connection.v1/types/google/api/http.js +0 -260
- package/lib/ibc.core.connection.v1/types/google/protobuf/any.js +0 -99
- package/lib/ibc.core.connection.v1/types/google/protobuf/descriptor.js +0 -2830
- package/lib/ibc.core.connection.v1/types/google/protobuf/timestamp.js +0 -84
- package/lib/ibc.core.connection.v1/types/ibc/core/client/v1/client.js +0 -448
- package/lib/ibc.core.connection.v1/types/ibc/core/commitment/v1/commitment.js +0 -223
- package/lib/ibc.core.connection.v1/types/ibc/core/connection/v1/connection.js +0 -537
- package/lib/ibc.core.connection.v1/types/ibc/core/connection/v1/genesis.js +0 -120
- package/lib/ibc.core.connection.v1/types/ibc/core/connection/v1/query.js +0 -684
- package/lib/ibc.core.connection.v1/types/ibc/core/connection/v1/tx.js +0 -705
- package/lib/ibc.core.connection.v1/types/proofs.js +0 -1126
- package/lib/ibc.core.connection.v1/types.js +0 -8
- package/lib/index.js +0 -62
- package/lib/modules.js +0 -1
- /package/{lib/DecentralCardGame.cardchain.cardchain → DecentralCardGame.cardchain.cardchain}/types/cardchain/tx.js +0 -0
- /package/{lib/cosmos.auth.v1beta1 → ibc.applications.interchain_accounts.controller.v1}/types/google/protobuf/any.js +0 -0
|
@@ -3,12 +3,12 @@ import { SigningStargateClient } from "@cosmjs/stargate";
|
|
|
3
3
|
import { Registry } from "@cosmjs/proto-signing";
|
|
4
4
|
import { msgTypes } from './registry';
|
|
5
5
|
import { Api } from "./rest";
|
|
6
|
-
import {
|
|
7
|
-
import { MsgCancelUnbondingDelegation } from "./types/cosmos/staking/v1beta1/tx";
|
|
6
|
+
import { MsgUndelegate } from "./types/cosmos/staking/v1beta1/tx";
|
|
8
7
|
import { MsgDelegate } from "./types/cosmos/staking/v1beta1/tx";
|
|
9
|
-
import { MsgEditValidator } from "./types/cosmos/staking/v1beta1/tx";
|
|
10
8
|
import { MsgBeginRedelegate } from "./types/cosmos/staking/v1beta1/tx";
|
|
11
|
-
import {
|
|
9
|
+
import { MsgEditValidator } from "./types/cosmos/staking/v1beta1/tx";
|
|
10
|
+
import { MsgCreateValidator } from "./types/cosmos/staking/v1beta1/tx";
|
|
11
|
+
import { MsgCancelUnbondingDelegation } from "./types/cosmos/staking/v1beta1/tx";
|
|
12
12
|
import { StakeAuthorization as typeStakeAuthorization } from "./types";
|
|
13
13
|
import { StakeAuthorization_Validators as typeStakeAuthorization_Validators } from "./types";
|
|
14
14
|
import { LastValidatorPower as typeLastValidatorPower } from "./types";
|
|
@@ -32,7 +32,7 @@ import { DelegationResponse as typeDelegationResponse } from "./types";
|
|
|
32
32
|
import { RedelegationEntryResponse as typeRedelegationEntryResponse } from "./types";
|
|
33
33
|
import { RedelegationResponse as typeRedelegationResponse } from "./types";
|
|
34
34
|
import { Pool as typePool } from "./types";
|
|
35
|
-
export {
|
|
35
|
+
export { MsgUndelegate, MsgDelegate, MsgBeginRedelegate, MsgEditValidator, MsgCreateValidator, MsgCancelUnbondingDelegation };
|
|
36
36
|
export const registry = new Registry(msgTypes);
|
|
37
37
|
function getStructure(template) {
|
|
38
38
|
const structure = { fields: [] };
|
|
@@ -48,46 +48,46 @@ const defaultFee = {
|
|
|
48
48
|
};
|
|
49
49
|
export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26657", prefix: "cosmos" }) => {
|
|
50
50
|
return {
|
|
51
|
-
async
|
|
51
|
+
async sendMsgUndelegate({ value, fee, memo }) {
|
|
52
52
|
if (!signer) {
|
|
53
|
-
throw new Error('TxClient:
|
|
53
|
+
throw new Error('TxClient:sendMsgUndelegate: Unable to sign Tx. Signer is not present.');
|
|
54
54
|
}
|
|
55
55
|
try {
|
|
56
56
|
const { address } = (await signer.getAccounts())[0];
|
|
57
57
|
const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
|
|
58
|
-
let msg = this.
|
|
58
|
+
let msg = this.msgUndelegate({ value: MsgUndelegate.fromPartial(value) });
|
|
59
59
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
|
|
60
60
|
}
|
|
61
61
|
catch (e) {
|
|
62
|
-
throw new Error('TxClient:
|
|
62
|
+
throw new Error('TxClient:sendMsgUndelegate: Could not broadcast Tx: ' + e.message);
|
|
63
63
|
}
|
|
64
64
|
},
|
|
65
|
-
async
|
|
65
|
+
async sendMsgDelegate({ value, fee, memo }) {
|
|
66
66
|
if (!signer) {
|
|
67
|
-
throw new Error('TxClient:
|
|
67
|
+
throw new Error('TxClient:sendMsgDelegate: Unable to sign Tx. Signer is not present.');
|
|
68
68
|
}
|
|
69
69
|
try {
|
|
70
70
|
const { address } = (await signer.getAccounts())[0];
|
|
71
71
|
const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
|
|
72
|
-
let msg = this.
|
|
72
|
+
let msg = this.msgDelegate({ value: MsgDelegate.fromPartial(value) });
|
|
73
73
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
|
|
74
74
|
}
|
|
75
75
|
catch (e) {
|
|
76
|
-
throw new Error('TxClient:
|
|
76
|
+
throw new Error('TxClient:sendMsgDelegate: Could not broadcast Tx: ' + e.message);
|
|
77
77
|
}
|
|
78
78
|
},
|
|
79
|
-
async
|
|
79
|
+
async sendMsgBeginRedelegate({ value, fee, memo }) {
|
|
80
80
|
if (!signer) {
|
|
81
|
-
throw new Error('TxClient:
|
|
81
|
+
throw new Error('TxClient:sendMsgBeginRedelegate: Unable to sign Tx. Signer is not present.');
|
|
82
82
|
}
|
|
83
83
|
try {
|
|
84
84
|
const { address } = (await signer.getAccounts())[0];
|
|
85
85
|
const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
|
|
86
|
-
let msg = this.
|
|
86
|
+
let msg = this.msgBeginRedelegate({ value: MsgBeginRedelegate.fromPartial(value) });
|
|
87
87
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
|
|
88
88
|
}
|
|
89
89
|
catch (e) {
|
|
90
|
-
throw new Error('TxClient:
|
|
90
|
+
throw new Error('TxClient:sendMsgBeginRedelegate: Could not broadcast Tx: ' + e.message);
|
|
91
91
|
}
|
|
92
92
|
},
|
|
93
93
|
async sendMsgEditValidator({ value, fee, memo }) {
|
|
@@ -104,56 +104,56 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
|
|
|
104
104
|
throw new Error('TxClient:sendMsgEditValidator: Could not broadcast Tx: ' + e.message);
|
|
105
105
|
}
|
|
106
106
|
},
|
|
107
|
-
async
|
|
107
|
+
async sendMsgCreateValidator({ value, fee, memo }) {
|
|
108
108
|
if (!signer) {
|
|
109
|
-
throw new Error('TxClient:
|
|
109
|
+
throw new Error('TxClient:sendMsgCreateValidator: Unable to sign Tx. Signer is not present.');
|
|
110
110
|
}
|
|
111
111
|
try {
|
|
112
112
|
const { address } = (await signer.getAccounts())[0];
|
|
113
113
|
const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
|
|
114
|
-
let msg = this.
|
|
114
|
+
let msg = this.msgCreateValidator({ value: MsgCreateValidator.fromPartial(value) });
|
|
115
115
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
|
|
116
116
|
}
|
|
117
117
|
catch (e) {
|
|
118
|
-
throw new Error('TxClient:
|
|
118
|
+
throw new Error('TxClient:sendMsgCreateValidator: Could not broadcast Tx: ' + e.message);
|
|
119
119
|
}
|
|
120
120
|
},
|
|
121
|
-
async
|
|
121
|
+
async sendMsgCancelUnbondingDelegation({ value, fee, memo }) {
|
|
122
122
|
if (!signer) {
|
|
123
|
-
throw new Error('TxClient:
|
|
123
|
+
throw new Error('TxClient:sendMsgCancelUnbondingDelegation: Unable to sign Tx. Signer is not present.');
|
|
124
124
|
}
|
|
125
125
|
try {
|
|
126
126
|
const { address } = (await signer.getAccounts())[0];
|
|
127
127
|
const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
|
|
128
|
-
let msg = this.
|
|
128
|
+
let msg = this.msgCancelUnbondingDelegation({ value: MsgCancelUnbondingDelegation.fromPartial(value) });
|
|
129
129
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
|
|
130
130
|
}
|
|
131
131
|
catch (e) {
|
|
132
|
-
throw new Error('TxClient:
|
|
132
|
+
throw new Error('TxClient:sendMsgCancelUnbondingDelegation: Could not broadcast Tx: ' + e.message);
|
|
133
133
|
}
|
|
134
134
|
},
|
|
135
|
-
|
|
135
|
+
msgUndelegate({ value }) {
|
|
136
136
|
try {
|
|
137
|
-
return { typeUrl: "/cosmos.staking.v1beta1.
|
|
137
|
+
return { typeUrl: "/cosmos.staking.v1beta1.MsgUndelegate", value: MsgUndelegate.fromPartial(value) };
|
|
138
138
|
}
|
|
139
139
|
catch (e) {
|
|
140
|
-
throw new Error('TxClient:
|
|
140
|
+
throw new Error('TxClient:MsgUndelegate: Could not create message: ' + e.message);
|
|
141
141
|
}
|
|
142
142
|
},
|
|
143
|
-
|
|
143
|
+
msgDelegate({ value }) {
|
|
144
144
|
try {
|
|
145
|
-
return { typeUrl: "/cosmos.staking.v1beta1.
|
|
145
|
+
return { typeUrl: "/cosmos.staking.v1beta1.MsgDelegate", value: MsgDelegate.fromPartial(value) };
|
|
146
146
|
}
|
|
147
147
|
catch (e) {
|
|
148
|
-
throw new Error('TxClient:
|
|
148
|
+
throw new Error('TxClient:MsgDelegate: Could not create message: ' + e.message);
|
|
149
149
|
}
|
|
150
150
|
},
|
|
151
|
-
|
|
151
|
+
msgBeginRedelegate({ value }) {
|
|
152
152
|
try {
|
|
153
|
-
return { typeUrl: "/cosmos.staking.v1beta1.
|
|
153
|
+
return { typeUrl: "/cosmos.staking.v1beta1.MsgBeginRedelegate", value: MsgBeginRedelegate.fromPartial(value) };
|
|
154
154
|
}
|
|
155
155
|
catch (e) {
|
|
156
|
-
throw new Error('TxClient:
|
|
156
|
+
throw new Error('TxClient:MsgBeginRedelegate: Could not create message: ' + e.message);
|
|
157
157
|
}
|
|
158
158
|
},
|
|
159
159
|
msgEditValidator({ value }) {
|
|
@@ -164,20 +164,20 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
|
|
|
164
164
|
throw new Error('TxClient:MsgEditValidator: Could not create message: ' + e.message);
|
|
165
165
|
}
|
|
166
166
|
},
|
|
167
|
-
|
|
167
|
+
msgCreateValidator({ value }) {
|
|
168
168
|
try {
|
|
169
|
-
return { typeUrl: "/cosmos.staking.v1beta1.
|
|
169
|
+
return { typeUrl: "/cosmos.staking.v1beta1.MsgCreateValidator", value: MsgCreateValidator.fromPartial(value) };
|
|
170
170
|
}
|
|
171
171
|
catch (e) {
|
|
172
|
-
throw new Error('TxClient:
|
|
172
|
+
throw new Error('TxClient:MsgCreateValidator: Could not create message: ' + e.message);
|
|
173
173
|
}
|
|
174
174
|
},
|
|
175
|
-
|
|
175
|
+
msgCancelUnbondingDelegation({ value }) {
|
|
176
176
|
try {
|
|
177
|
-
return { typeUrl: "/cosmos.staking.v1beta1.
|
|
177
|
+
return { typeUrl: "/cosmos.staking.v1beta1.MsgCancelUnbondingDelegation", value: MsgCancelUnbondingDelegation.fromPartial(value) };
|
|
178
178
|
}
|
|
179
179
|
catch (e) {
|
|
180
|
-
throw new Error('TxClient:
|
|
180
|
+
throw new Error('TxClient:MsgCancelUnbondingDelegation: Could not create message: ' + e.message);
|
|
181
181
|
}
|
|
182
182
|
},
|
|
183
183
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { MsgCancelUnbondingDelegation } from "./types/cosmos/staking/v1beta1/tx";
|
|
1
|
+
import { MsgUndelegate } from "./types/cosmos/staking/v1beta1/tx";
|
|
3
2
|
import { MsgDelegate } from "./types/cosmos/staking/v1beta1/tx";
|
|
4
|
-
import { MsgEditValidator } from "./types/cosmos/staking/v1beta1/tx";
|
|
5
3
|
import { MsgBeginRedelegate } from "./types/cosmos/staking/v1beta1/tx";
|
|
6
|
-
import {
|
|
4
|
+
import { MsgEditValidator } from "./types/cosmos/staking/v1beta1/tx";
|
|
5
|
+
import { MsgCreateValidator } from "./types/cosmos/staking/v1beta1/tx";
|
|
6
|
+
import { MsgCancelUnbondingDelegation } from "./types/cosmos/staking/v1beta1/tx";
|
|
7
7
|
const msgTypes = [
|
|
8
|
-
["/cosmos.staking.v1beta1.
|
|
9
|
-
["/cosmos.staking.v1beta1.MsgCancelUnbondingDelegation", MsgCancelUnbondingDelegation],
|
|
8
|
+
["/cosmos.staking.v1beta1.MsgUndelegate", MsgUndelegate],
|
|
10
9
|
["/cosmos.staking.v1beta1.MsgDelegate", MsgDelegate],
|
|
11
|
-
["/cosmos.staking.v1beta1.MsgEditValidator", MsgEditValidator],
|
|
12
10
|
["/cosmos.staking.v1beta1.MsgBeginRedelegate", MsgBeginRedelegate],
|
|
13
|
-
["/cosmos.staking.v1beta1.
|
|
11
|
+
["/cosmos.staking.v1beta1.MsgEditValidator", MsgEditValidator],
|
|
12
|
+
["/cosmos.staking.v1beta1.MsgCreateValidator", MsgCreateValidator],
|
|
13
|
+
["/cosmos.staking.v1beta1.MsgCancelUnbondingDelegation", MsgCancelUnbondingDelegation],
|
|
14
14
|
];
|
|
15
15
|
export { msgTypes };
|
|
@@ -3,8 +3,8 @@ import { SigningStargateClient } from "@cosmjs/stargate";
|
|
|
3
3
|
import { Registry } from "@cosmjs/proto-signing";
|
|
4
4
|
import { msgTypes } from './registry';
|
|
5
5
|
import { Api } from "./rest";
|
|
6
|
-
import { MsgCreateVestingAccount } from "./types/cosmos/vesting/v1beta1/tx";
|
|
7
6
|
import { MsgCreatePermanentLockedAccount } from "./types/cosmos/vesting/v1beta1/tx";
|
|
7
|
+
import { MsgCreateVestingAccount } from "./types/cosmos/vesting/v1beta1/tx";
|
|
8
8
|
import { MsgCreatePeriodicVestingAccount } from "./types/cosmos/vesting/v1beta1/tx";
|
|
9
9
|
import { BaseVestingAccount as typeBaseVestingAccount } from "./types";
|
|
10
10
|
import { ContinuousVestingAccount as typeContinuousVestingAccount } from "./types";
|
|
@@ -12,7 +12,7 @@ import { DelayedVestingAccount as typeDelayedVestingAccount } from "./types";
|
|
|
12
12
|
import { Period as typePeriod } from "./types";
|
|
13
13
|
import { PeriodicVestingAccount as typePeriodicVestingAccount } from "./types";
|
|
14
14
|
import { PermanentLockedAccount as typePermanentLockedAccount } from "./types";
|
|
15
|
-
export {
|
|
15
|
+
export { MsgCreatePermanentLockedAccount, MsgCreateVestingAccount, MsgCreatePeriodicVestingAccount };
|
|
16
16
|
export const registry = new Registry(msgTypes);
|
|
17
17
|
function getStructure(template) {
|
|
18
18
|
const structure = { fields: [] };
|
|
@@ -28,32 +28,32 @@ const defaultFee = {
|
|
|
28
28
|
};
|
|
29
29
|
export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26657", prefix: "cosmos" }) => {
|
|
30
30
|
return {
|
|
31
|
-
async
|
|
31
|
+
async sendMsgCreatePermanentLockedAccount({ value, fee, memo }) {
|
|
32
32
|
if (!signer) {
|
|
33
|
-
throw new Error('TxClient:
|
|
33
|
+
throw new Error('TxClient:sendMsgCreatePermanentLockedAccount: Unable to sign Tx. Signer is not present.');
|
|
34
34
|
}
|
|
35
35
|
try {
|
|
36
36
|
const { address } = (await signer.getAccounts())[0];
|
|
37
37
|
const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
|
|
38
|
-
let msg = this.
|
|
38
|
+
let msg = this.msgCreatePermanentLockedAccount({ value: MsgCreatePermanentLockedAccount.fromPartial(value) });
|
|
39
39
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
|
|
40
40
|
}
|
|
41
41
|
catch (e) {
|
|
42
|
-
throw new Error('TxClient:
|
|
42
|
+
throw new Error('TxClient:sendMsgCreatePermanentLockedAccount: Could not broadcast Tx: ' + e.message);
|
|
43
43
|
}
|
|
44
44
|
},
|
|
45
|
-
async
|
|
45
|
+
async sendMsgCreateVestingAccount({ value, fee, memo }) {
|
|
46
46
|
if (!signer) {
|
|
47
|
-
throw new Error('TxClient:
|
|
47
|
+
throw new Error('TxClient:sendMsgCreateVestingAccount: Unable to sign Tx. Signer is not present.');
|
|
48
48
|
}
|
|
49
49
|
try {
|
|
50
50
|
const { address } = (await signer.getAccounts())[0];
|
|
51
51
|
const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
|
|
52
|
-
let msg = this.
|
|
52
|
+
let msg = this.msgCreateVestingAccount({ value: MsgCreateVestingAccount.fromPartial(value) });
|
|
53
53
|
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
|
|
54
54
|
}
|
|
55
55
|
catch (e) {
|
|
56
|
-
throw new Error('TxClient:
|
|
56
|
+
throw new Error('TxClient:sendMsgCreateVestingAccount: Could not broadcast Tx: ' + e.message);
|
|
57
57
|
}
|
|
58
58
|
},
|
|
59
59
|
async sendMsgCreatePeriodicVestingAccount({ value, fee, memo }) {
|
|
@@ -70,20 +70,20 @@ export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26
|
|
|
70
70
|
throw new Error('TxClient:sendMsgCreatePeriodicVestingAccount: Could not broadcast Tx: ' + e.message);
|
|
71
71
|
}
|
|
72
72
|
},
|
|
73
|
-
|
|
73
|
+
msgCreatePermanentLockedAccount({ value }) {
|
|
74
74
|
try {
|
|
75
|
-
return { typeUrl: "/cosmos.vesting.v1beta1.
|
|
75
|
+
return { typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccount", value: MsgCreatePermanentLockedAccount.fromPartial(value) };
|
|
76
76
|
}
|
|
77
77
|
catch (e) {
|
|
78
|
-
throw new Error('TxClient:
|
|
78
|
+
throw new Error('TxClient:MsgCreatePermanentLockedAccount: Could not create message: ' + e.message);
|
|
79
79
|
}
|
|
80
80
|
},
|
|
81
|
-
|
|
81
|
+
msgCreateVestingAccount({ value }) {
|
|
82
82
|
try {
|
|
83
|
-
return { typeUrl: "/cosmos.vesting.v1beta1.
|
|
83
|
+
return { typeUrl: "/cosmos.vesting.v1beta1.MsgCreateVestingAccount", value: MsgCreateVestingAccount.fromPartial(value) };
|
|
84
84
|
}
|
|
85
85
|
catch (e) {
|
|
86
|
-
throw new Error('TxClient:
|
|
86
|
+
throw new Error('TxClient:MsgCreateVestingAccount: Could not create message: ' + e.message);
|
|
87
87
|
}
|
|
88
88
|
},
|
|
89
89
|
msgCreatePeriodicVestingAccount({ value }) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { MsgCreateVestingAccount } from "./types/cosmos/vesting/v1beta1/tx";
|
|
2
1
|
import { MsgCreatePermanentLockedAccount } from "./types/cosmos/vesting/v1beta1/tx";
|
|
2
|
+
import { MsgCreateVestingAccount } from "./types/cosmos/vesting/v1beta1/tx";
|
|
3
3
|
import { MsgCreatePeriodicVestingAccount } from "./types/cosmos/vesting/v1beta1/tx";
|
|
4
4
|
const msgTypes = [
|
|
5
|
-
["/cosmos.vesting.v1beta1.MsgCreateVestingAccount", MsgCreateVestingAccount],
|
|
6
5
|
["/cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccount", MsgCreatePermanentLockedAccount],
|
|
6
|
+
["/cosmos.vesting.v1beta1.MsgCreateVestingAccount", MsgCreateVestingAccount],
|
|
7
7
|
["/cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccount", MsgCreatePeriodicVestingAccount],
|
|
8
8
|
];
|
|
9
9
|
export { msgTypes };
|
|
@@ -8,6 +8,15 @@
|
|
|
8
8
|
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
9
9
|
* ---------------------------------------------------------------
|
|
10
10
|
*/
|
|
11
|
+
/**
|
|
12
|
+
* - TYPE_UNSPECIFIED: Default zero value enumeration
|
|
13
|
+
- TYPE_EXECUTE_TX: Execute a transaction on an interchain accounts host chain
|
|
14
|
+
*/
|
|
15
|
+
export var InterchainAccountsv1Type;
|
|
16
|
+
(function (InterchainAccountsv1Type) {
|
|
17
|
+
InterchainAccountsv1Type["TYPE_UNSPECIFIED"] = "TYPE_UNSPECIFIED";
|
|
18
|
+
InterchainAccountsv1Type["TYPE_EXECUTE_TX"] = "TYPE_EXECUTE_TX";
|
|
19
|
+
})(InterchainAccountsv1Type || (InterchainAccountsv1Type = {}));
|
|
11
20
|
import axios from "axios";
|
|
12
21
|
export var ContentType;
|
|
13
22
|
(function (ContentType) {
|
|
@@ -0,0 +1,266 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import Long from "long";
|
|
3
|
+
import _m0 from "protobufjs/minimal";
|
|
4
|
+
import { InterchainAccountPacketData } from "../../v1/packet";
|
|
5
|
+
export const protobufPackage = "ibc.applications.interchain_accounts.controller.v1";
|
|
6
|
+
function createBaseMsgRegisterInterchainAccount() {
|
|
7
|
+
return { owner: "", connectionId: "", version: "" };
|
|
8
|
+
}
|
|
9
|
+
export const MsgRegisterInterchainAccount = {
|
|
10
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
11
|
+
if (message.owner !== "") {
|
|
12
|
+
writer.uint32(10).string(message.owner);
|
|
13
|
+
}
|
|
14
|
+
if (message.connectionId !== "") {
|
|
15
|
+
writer.uint32(18).string(message.connectionId);
|
|
16
|
+
}
|
|
17
|
+
if (message.version !== "") {
|
|
18
|
+
writer.uint32(26).string(message.version);
|
|
19
|
+
}
|
|
20
|
+
return writer;
|
|
21
|
+
},
|
|
22
|
+
decode(input, length) {
|
|
23
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
24
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
25
|
+
const message = createBaseMsgRegisterInterchainAccount();
|
|
26
|
+
while (reader.pos < end) {
|
|
27
|
+
const tag = reader.uint32();
|
|
28
|
+
switch (tag >>> 3) {
|
|
29
|
+
case 1:
|
|
30
|
+
message.owner = reader.string();
|
|
31
|
+
break;
|
|
32
|
+
case 2:
|
|
33
|
+
message.connectionId = reader.string();
|
|
34
|
+
break;
|
|
35
|
+
case 3:
|
|
36
|
+
message.version = reader.string();
|
|
37
|
+
break;
|
|
38
|
+
default:
|
|
39
|
+
reader.skipType(tag & 7);
|
|
40
|
+
break;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
return message;
|
|
44
|
+
},
|
|
45
|
+
fromJSON(object) {
|
|
46
|
+
return {
|
|
47
|
+
owner: isSet(object.owner) ? String(object.owner) : "",
|
|
48
|
+
connectionId: isSet(object.connectionId) ? String(object.connectionId) : "",
|
|
49
|
+
version: isSet(object.version) ? String(object.version) : "",
|
|
50
|
+
};
|
|
51
|
+
},
|
|
52
|
+
toJSON(message) {
|
|
53
|
+
const obj = {};
|
|
54
|
+
message.owner !== undefined && (obj.owner = message.owner);
|
|
55
|
+
message.connectionId !== undefined && (obj.connectionId = message.connectionId);
|
|
56
|
+
message.version !== undefined && (obj.version = message.version);
|
|
57
|
+
return obj;
|
|
58
|
+
},
|
|
59
|
+
fromPartial(object) {
|
|
60
|
+
const message = createBaseMsgRegisterInterchainAccount();
|
|
61
|
+
message.owner = object.owner ?? "";
|
|
62
|
+
message.connectionId = object.connectionId ?? "";
|
|
63
|
+
message.version = object.version ?? "";
|
|
64
|
+
return message;
|
|
65
|
+
},
|
|
66
|
+
};
|
|
67
|
+
function createBaseMsgRegisterInterchainAccountResponse() {
|
|
68
|
+
return { channelId: "" };
|
|
69
|
+
}
|
|
70
|
+
export const MsgRegisterInterchainAccountResponse = {
|
|
71
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
72
|
+
if (message.channelId !== "") {
|
|
73
|
+
writer.uint32(10).string(message.channelId);
|
|
74
|
+
}
|
|
75
|
+
return writer;
|
|
76
|
+
},
|
|
77
|
+
decode(input, length) {
|
|
78
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
79
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
80
|
+
const message = createBaseMsgRegisterInterchainAccountResponse();
|
|
81
|
+
while (reader.pos < end) {
|
|
82
|
+
const tag = reader.uint32();
|
|
83
|
+
switch (tag >>> 3) {
|
|
84
|
+
case 1:
|
|
85
|
+
message.channelId = reader.string();
|
|
86
|
+
break;
|
|
87
|
+
default:
|
|
88
|
+
reader.skipType(tag & 7);
|
|
89
|
+
break;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
return message;
|
|
93
|
+
},
|
|
94
|
+
fromJSON(object) {
|
|
95
|
+
return { channelId: isSet(object.channelId) ? String(object.channelId) : "" };
|
|
96
|
+
},
|
|
97
|
+
toJSON(message) {
|
|
98
|
+
const obj = {};
|
|
99
|
+
message.channelId !== undefined && (obj.channelId = message.channelId);
|
|
100
|
+
return obj;
|
|
101
|
+
},
|
|
102
|
+
fromPartial(object) {
|
|
103
|
+
const message = createBaseMsgRegisterInterchainAccountResponse();
|
|
104
|
+
message.channelId = object.channelId ?? "";
|
|
105
|
+
return message;
|
|
106
|
+
},
|
|
107
|
+
};
|
|
108
|
+
function createBaseMsgSendTx() {
|
|
109
|
+
return { owner: "", connectionId: "", packetData: undefined, relativeTimeout: 0 };
|
|
110
|
+
}
|
|
111
|
+
export const MsgSendTx = {
|
|
112
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
113
|
+
if (message.owner !== "") {
|
|
114
|
+
writer.uint32(10).string(message.owner);
|
|
115
|
+
}
|
|
116
|
+
if (message.connectionId !== "") {
|
|
117
|
+
writer.uint32(18).string(message.connectionId);
|
|
118
|
+
}
|
|
119
|
+
if (message.packetData !== undefined) {
|
|
120
|
+
InterchainAccountPacketData.encode(message.packetData, writer.uint32(26).fork()).ldelim();
|
|
121
|
+
}
|
|
122
|
+
if (message.relativeTimeout !== 0) {
|
|
123
|
+
writer.uint32(32).uint64(message.relativeTimeout);
|
|
124
|
+
}
|
|
125
|
+
return writer;
|
|
126
|
+
},
|
|
127
|
+
decode(input, length) {
|
|
128
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
129
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
130
|
+
const message = createBaseMsgSendTx();
|
|
131
|
+
while (reader.pos < end) {
|
|
132
|
+
const tag = reader.uint32();
|
|
133
|
+
switch (tag >>> 3) {
|
|
134
|
+
case 1:
|
|
135
|
+
message.owner = reader.string();
|
|
136
|
+
break;
|
|
137
|
+
case 2:
|
|
138
|
+
message.connectionId = reader.string();
|
|
139
|
+
break;
|
|
140
|
+
case 3:
|
|
141
|
+
message.packetData = InterchainAccountPacketData.decode(reader, reader.uint32());
|
|
142
|
+
break;
|
|
143
|
+
case 4:
|
|
144
|
+
message.relativeTimeout = longToNumber(reader.uint64());
|
|
145
|
+
break;
|
|
146
|
+
default:
|
|
147
|
+
reader.skipType(tag & 7);
|
|
148
|
+
break;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
return message;
|
|
152
|
+
},
|
|
153
|
+
fromJSON(object) {
|
|
154
|
+
return {
|
|
155
|
+
owner: isSet(object.owner) ? String(object.owner) : "",
|
|
156
|
+
connectionId: isSet(object.connectionId) ? String(object.connectionId) : "",
|
|
157
|
+
packetData: isSet(object.packetData) ? InterchainAccountPacketData.fromJSON(object.packetData) : undefined,
|
|
158
|
+
relativeTimeout: isSet(object.relativeTimeout) ? Number(object.relativeTimeout) : 0,
|
|
159
|
+
};
|
|
160
|
+
},
|
|
161
|
+
toJSON(message) {
|
|
162
|
+
const obj = {};
|
|
163
|
+
message.owner !== undefined && (obj.owner = message.owner);
|
|
164
|
+
message.connectionId !== undefined && (obj.connectionId = message.connectionId);
|
|
165
|
+
message.packetData !== undefined
|
|
166
|
+
&& (obj.packetData = message.packetData ? InterchainAccountPacketData.toJSON(message.packetData) : undefined);
|
|
167
|
+
message.relativeTimeout !== undefined && (obj.relativeTimeout = Math.round(message.relativeTimeout));
|
|
168
|
+
return obj;
|
|
169
|
+
},
|
|
170
|
+
fromPartial(object) {
|
|
171
|
+
const message = createBaseMsgSendTx();
|
|
172
|
+
message.owner = object.owner ?? "";
|
|
173
|
+
message.connectionId = object.connectionId ?? "";
|
|
174
|
+
message.packetData = (object.packetData !== undefined && object.packetData !== null)
|
|
175
|
+
? InterchainAccountPacketData.fromPartial(object.packetData)
|
|
176
|
+
: undefined;
|
|
177
|
+
message.relativeTimeout = object.relativeTimeout ?? 0;
|
|
178
|
+
return message;
|
|
179
|
+
},
|
|
180
|
+
};
|
|
181
|
+
function createBaseMsgSendTxResponse() {
|
|
182
|
+
return { sequence: 0 };
|
|
183
|
+
}
|
|
184
|
+
export const MsgSendTxResponse = {
|
|
185
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
186
|
+
if (message.sequence !== 0) {
|
|
187
|
+
writer.uint32(8).uint64(message.sequence);
|
|
188
|
+
}
|
|
189
|
+
return writer;
|
|
190
|
+
},
|
|
191
|
+
decode(input, length) {
|
|
192
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
193
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
194
|
+
const message = createBaseMsgSendTxResponse();
|
|
195
|
+
while (reader.pos < end) {
|
|
196
|
+
const tag = reader.uint32();
|
|
197
|
+
switch (tag >>> 3) {
|
|
198
|
+
case 1:
|
|
199
|
+
message.sequence = longToNumber(reader.uint64());
|
|
200
|
+
break;
|
|
201
|
+
default:
|
|
202
|
+
reader.skipType(tag & 7);
|
|
203
|
+
break;
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
return message;
|
|
207
|
+
},
|
|
208
|
+
fromJSON(object) {
|
|
209
|
+
return { sequence: isSet(object.sequence) ? Number(object.sequence) : 0 };
|
|
210
|
+
},
|
|
211
|
+
toJSON(message) {
|
|
212
|
+
const obj = {};
|
|
213
|
+
message.sequence !== undefined && (obj.sequence = Math.round(message.sequence));
|
|
214
|
+
return obj;
|
|
215
|
+
},
|
|
216
|
+
fromPartial(object) {
|
|
217
|
+
const message = createBaseMsgSendTxResponse();
|
|
218
|
+
message.sequence = object.sequence ?? 0;
|
|
219
|
+
return message;
|
|
220
|
+
},
|
|
221
|
+
};
|
|
222
|
+
export class MsgClientImpl {
|
|
223
|
+
constructor(rpc) {
|
|
224
|
+
this.rpc = rpc;
|
|
225
|
+
this.RegisterInterchainAccount = this.RegisterInterchainAccount.bind(this);
|
|
226
|
+
this.SendTx = this.SendTx.bind(this);
|
|
227
|
+
}
|
|
228
|
+
RegisterInterchainAccount(request) {
|
|
229
|
+
const data = MsgRegisterInterchainAccount.encode(request).finish();
|
|
230
|
+
const promise = this.rpc.request("ibc.applications.interchain_accounts.controller.v1.Msg", "RegisterInterchainAccount", data);
|
|
231
|
+
return promise.then((data) => MsgRegisterInterchainAccountResponse.decode(new _m0.Reader(data)));
|
|
232
|
+
}
|
|
233
|
+
SendTx(request) {
|
|
234
|
+
const data = MsgSendTx.encode(request).finish();
|
|
235
|
+
const promise = this.rpc.request("ibc.applications.interchain_accounts.controller.v1.Msg", "SendTx", data);
|
|
236
|
+
return promise.then((data) => MsgSendTxResponse.decode(new _m0.Reader(data)));
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
var globalThis = (() => {
|
|
240
|
+
if (typeof globalThis !== "undefined") {
|
|
241
|
+
return globalThis;
|
|
242
|
+
}
|
|
243
|
+
if (typeof self !== "undefined") {
|
|
244
|
+
return self;
|
|
245
|
+
}
|
|
246
|
+
if (typeof window !== "undefined") {
|
|
247
|
+
return window;
|
|
248
|
+
}
|
|
249
|
+
if (typeof global !== "undefined") {
|
|
250
|
+
return global;
|
|
251
|
+
}
|
|
252
|
+
throw "Unable to locate global object";
|
|
253
|
+
})();
|
|
254
|
+
function longToNumber(long) {
|
|
255
|
+
if (long.gt(Number.MAX_SAFE_INTEGER)) {
|
|
256
|
+
throw new globalThis.Error("Value is larger than Number.MAX_SAFE_INTEGER");
|
|
257
|
+
}
|
|
258
|
+
return long.toNumber();
|
|
259
|
+
}
|
|
260
|
+
if (_m0.util.Long !== Long) {
|
|
261
|
+
_m0.util.Long = Long;
|
|
262
|
+
_m0.configure();
|
|
263
|
+
}
|
|
264
|
+
function isSet(value) {
|
|
265
|
+
return value !== null && value !== undefined;
|
|
266
|
+
}
|