@iconlake/client 0.1.2 → 0.1.3
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/dist/index.mjs +93683 -0
- package/dist/index.umd.js +35 -0
- package/package.json +7 -5
- package/dist/client.js +0 -135
- package/dist/cosmos.auth.v1beta1/index.js +0 -5
- package/dist/cosmos.auth.v1beta1/module.js +0 -64
- package/dist/cosmos.auth.v1beta1/registry.js +0 -2
- package/dist/cosmos.auth.v1beta1/rest.js +0 -228
- package/dist/cosmos.auth.v1beta1/types/amino/amino.js +0 -2
- package/dist/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/auth.js +0 -344
- package/dist/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/genesis.js +0 -67
- package/dist/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/query.js +0 -969
- package/dist/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/tx.js +0 -105
- package/dist/cosmos.auth.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/dist/cosmos.auth.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
- package/dist/cosmos.auth.v1beta1/types/cosmos/query/v1/query.js +0 -2
- package/dist/cosmos.auth.v1beta1/types/cosmos_proto/cosmos.js +0 -171
- package/dist/cosmos.auth.v1beta1/types/gogoproto/gogo.js +0 -2
- package/dist/cosmos.auth.v1beta1/types/google/api/annotations.js +0 -2
- package/dist/cosmos.auth.v1beta1/types/google/api/http.js +0 -260
- package/dist/cosmos.auth.v1beta1/types/google/protobuf/any.js +0 -99
- package/dist/cosmos.auth.v1beta1/types/google/protobuf/descriptor.js +0 -2830
- package/dist/cosmos.auth.v1beta1/types.js +0 -5
- package/dist/cosmos.authz.v1beta1/index.js +0 -5
- package/dist/cosmos.authz.v1beta1/module.js +0 -140
- package/dist/cosmos.authz.v1beta1/registry.js +0 -9
- package/dist/cosmos.authz.v1beta1/rest.js +0 -131
- package/dist/cosmos.authz.v1beta1/types/amino/amino.js +0 -2
- package/dist/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/authz.js +0 -244
- package/dist/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/event.js +0 -128
- package/dist/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/genesis.js +0 -54
- package/dist/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/query.js +0 -394
- package/dist/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/tx.js +0 -362
- package/dist/cosmos.authz.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/dist/cosmos.authz.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
- package/dist/cosmos.authz.v1beta1/types/cosmos_proto/cosmos.js +0 -171
- package/dist/cosmos.authz.v1beta1/types/gogoproto/gogo.js +0 -2
- package/dist/cosmos.authz.v1beta1/types/google/api/annotations.js +0 -2
- package/dist/cosmos.authz.v1beta1/types/google/api/http.js +0 -260
- package/dist/cosmos.authz.v1beta1/types/google/protobuf/any.js +0 -99
- package/dist/cosmos.authz.v1beta1/types/google/protobuf/descriptor.js +0 -2830
- package/dist/cosmos.authz.v1beta1/types/google/protobuf/timestamp.js +0 -84
- package/dist/cosmos.authz.v1beta1/types.js +0 -7
- package/dist/cosmos.bank.v1beta1/index.js +0 -5
- package/dist/cosmos.bank.v1beta1/module.js +0 -125
- package/dist/cosmos.bank.v1beta1/registry.js +0 -7
- package/dist/cosmos.bank.v1beta1/rest.js +0 -253
- package/dist/cosmos.bank.v1beta1/types/amino/amino.js +0 -2
- package/dist/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/authz.js +0 -66
- package/dist/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/bank.js +0 -455
- package/dist/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/genesis.js +0 -170
- package/dist/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/query.js +0 -1243
- package/dist/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/tx.js +0 -424
- package/dist/cosmos.bank.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/dist/cosmos.bank.v1beta1/types/cosmos/base/v1beta1/coin.js +0 -192
- package/dist/cosmos.bank.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
- package/dist/cosmos.bank.v1beta1/types/cosmos/query/v1/query.js +0 -2
- package/dist/cosmos.bank.v1beta1/types/cosmos_proto/cosmos.js +0 -171
- package/dist/cosmos.bank.v1beta1/types/gogoproto/gogo.js +0 -2
- package/dist/cosmos.bank.v1beta1/types/google/api/annotations.js +0 -2
- package/dist/cosmos.bank.v1beta1/types/google/api/http.js +0 -260
- package/dist/cosmos.bank.v1beta1/types/google/protobuf/descriptor.js +0 -2830
- package/dist/cosmos.bank.v1beta1/types.js +0 -11
- package/dist/cosmos.base.node.v1beta1/index.js +0 -5
- package/dist/cosmos.base.node.v1beta1/module.js +0 -55
- package/dist/cosmos.base.node.v1beta1/registry.js +0 -2
- package/dist/cosmos.base.node.v1beta1/rest.js +0 -100
- package/dist/cosmos.base.node.v1beta1/types/cosmos/base/node/v1beta1/query.js +0 -91
- package/dist/cosmos.base.node.v1beta1/types/google/api/annotations.js +0 -2
- package/dist/cosmos.base.node.v1beta1/types/google/api/http.js +0 -260
- package/dist/cosmos.base.node.v1beta1/types/google/protobuf/descriptor.js +0 -2830
- package/dist/cosmos.base.node.v1beta1/types.js +0 -1
- package/dist/cosmos.base.tendermint.v1beta1/index.js +0 -5
- package/dist/cosmos.base.tendermint.v1beta1/module.js +0 -70
- package/dist/cosmos.base.tendermint.v1beta1/registry.js +0 -2
- package/dist/cosmos.base.tendermint.v1beta1/rest.js +0 -209
- package/dist/cosmos.base.tendermint.v1beta1/types/amino/amino.js +0 -2
- package/dist/cosmos.base.tendermint.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/dist/cosmos.base.tendermint.v1beta1/types/cosmos/base/tendermint/v1beta1/query.js +0 -1281
- package/dist/cosmos.base.tendermint.v1beta1/types/cosmos/base/tendermint/v1beta1/types.js +0 -350
- package/dist/cosmos.base.tendermint.v1beta1/types/cosmos_proto/cosmos.js +0 -171
- package/dist/cosmos.base.tendermint.v1beta1/types/gogoproto/gogo.js +0 -2
- package/dist/cosmos.base.tendermint.v1beta1/types/google/api/annotations.js +0 -2
- package/dist/cosmos.base.tendermint.v1beta1/types/google/api/http.js +0 -260
- package/dist/cosmos.base.tendermint.v1beta1/types/google/protobuf/any.js +0 -99
- package/dist/cosmos.base.tendermint.v1beta1/types/google/protobuf/descriptor.js +0 -2830
- package/dist/cosmos.base.tendermint.v1beta1/types/google/protobuf/timestamp.js +0 -84
- package/dist/cosmos.base.tendermint.v1beta1/types/tendermint/crypto/keys.js +0 -100
- package/dist/cosmos.base.tendermint.v1beta1/types/tendermint/crypto/proof.js +0 -356
- package/dist/cosmos.base.tendermint.v1beta1/types/tendermint/p2p/types.js +0 -352
- package/dist/cosmos.base.tendermint.v1beta1/types/tendermint/types/block.js +0 -86
- package/dist/cosmos.base.tendermint.v1beta1/types/tendermint/types/evidence.js +0 -343
- package/dist/cosmos.base.tendermint.v1beta1/types/tendermint/types/types.js +0 -1207
- package/dist/cosmos.base.tendermint.v1beta1/types/tendermint/types/validator.js +0 -254
- package/dist/cosmos.base.tendermint.v1beta1/types/tendermint/version/types.js +0 -133
- package/dist/cosmos.base.tendermint.v1beta1/types.js +0 -8
- package/dist/cosmos.consensus.v1/index.js +0 -5
- package/dist/cosmos.consensus.v1/module.js +0 -81
- package/dist/cosmos.consensus.v1/registry.js +0 -5
- package/dist/cosmos.consensus.v1/rest.js +0 -100
- package/dist/cosmos.consensus.v1/types/cosmos/consensus/v1/query.js +0 -94
- package/dist/cosmos.consensus.v1/types/cosmos/consensus/v1/tx.js +0 -129
- package/dist/cosmos.consensus.v1/types/cosmos/msg/v1/msg.js +0 -2
- package/dist/cosmos.consensus.v1/types/cosmos_proto/cosmos.js +0 -171
- package/dist/cosmos.consensus.v1/types/gogoproto/gogo.js +0 -2
- package/dist/cosmos.consensus.v1/types/google/api/annotations.js +0 -2
- package/dist/cosmos.consensus.v1/types/google/api/http.js +0 -260
- package/dist/cosmos.consensus.v1/types/google/protobuf/descriptor.js +0 -2830
- package/dist/cosmos.consensus.v1/types/google/protobuf/duration.js +0 -84
- package/dist/cosmos.consensus.v1/types/tendermint/types/params.js +0 -369
- package/dist/cosmos.consensus.v1/types.js +0 -1
- package/dist/cosmos.crisis.v1beta1/index.js +0 -5
- package/dist/cosmos.crisis.v1beta1/module.js +0 -104
- package/dist/cosmos.crisis.v1beta1/registry.js +0 -7
- package/dist/cosmos.crisis.v1beta1/rest.js +0 -83
- package/dist/cosmos.crisis.v1beta1/types/amino/amino.js +0 -2
- package/dist/cosmos.crisis.v1beta1/types/cosmos/base/v1beta1/coin.js +0 -192
- package/dist/cosmos.crisis.v1beta1/types/cosmos/crisis/v1beta1/genesis.js +0 -51
- package/dist/cosmos.crisis.v1beta1/types/cosmos/crisis/v1beta1/tx.js +0 -206
- package/dist/cosmos.crisis.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
- package/dist/cosmos.crisis.v1beta1/types/cosmos_proto/cosmos.js +0 -171
- package/dist/cosmos.crisis.v1beta1/types/gogoproto/gogo.js +0 -2
- package/dist/cosmos.crisis.v1beta1/types/google/protobuf/descriptor.js +0 -2830
- package/dist/cosmos.crisis.v1beta1/types.js +0 -1
- package/dist/cosmos.distribution.v1beta1/index.js +0 -5
- package/dist/cosmos.distribution.v1beta1/module.js +0 -235
- package/dist/cosmos.distribution.v1beta1/registry.js +0 -15
- package/dist/cosmos.distribution.v1beta1/rest.js +0 -228
- package/dist/cosmos.distribution.v1beta1/types/amino/amino.js +0 -2
- package/dist/cosmos.distribution.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/dist/cosmos.distribution.v1beta1/types/cosmos/base/v1beta1/coin.js +0 -192
- package/dist/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/distribution.js +0 -737
- package/dist/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/genesis.js +0 -656
- package/dist/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/query.js +0 -1046
- package/dist/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/tx.js +0 -595
- package/dist/cosmos.distribution.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
- package/dist/cosmos.distribution.v1beta1/types/cosmos_proto/cosmos.js +0 -171
- package/dist/cosmos.distribution.v1beta1/types/gogoproto/gogo.js +0 -2
- package/dist/cosmos.distribution.v1beta1/types/google/api/annotations.js +0 -2
- package/dist/cosmos.distribution.v1beta1/types/google/api/http.js +0 -260
- package/dist/cosmos.distribution.v1beta1/types/google/protobuf/descriptor.js +0 -2830
- package/dist/cosmos.distribution.v1beta1/types.js +0 -20
- package/dist/cosmos.evidence.v1beta1/index.js +0 -5
- package/dist/cosmos.evidence.v1beta1/module.js +0 -84
- package/dist/cosmos.evidence.v1beta1/registry.js +0 -5
- package/dist/cosmos.evidence.v1beta1/rest.js +0 -116
- package/dist/cosmos.evidence.v1beta1/types/amino/amino.js +0 -2
- package/dist/cosmos.evidence.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/dist/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/evidence.js +0 -124
- package/dist/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/genesis.js +0 -50
- package/dist/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/query.js +0 -265
- package/dist/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/tx.js +0 -154
- package/dist/cosmos.evidence.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
- package/dist/cosmos.evidence.v1beta1/types/cosmos_proto/cosmos.js +0 -171
- package/dist/cosmos.evidence.v1beta1/types/gogoproto/gogo.js +0 -2
- package/dist/cosmos.evidence.v1beta1/types/google/api/annotations.js +0 -2
- package/dist/cosmos.evidence.v1beta1/types/google/api/http.js +0 -260
- package/dist/cosmos.evidence.v1beta1/types/google/protobuf/any.js +0 -99
- package/dist/cosmos.evidence.v1beta1/types/google/protobuf/descriptor.js +0 -2830
- package/dist/cosmos.evidence.v1beta1/types/google/protobuf/timestamp.js +0 -84
- package/dist/cosmos.evidence.v1beta1/types.js +0 -2
- package/dist/cosmos.feegrant.v1beta1/index.js +0 -5
- package/dist/cosmos.feegrant.v1beta1/module.js +0 -113
- package/dist/cosmos.feegrant.v1beta1/registry.js +0 -7
- package/dist/cosmos.feegrant.v1beta1/rest.js +0 -130
- package/dist/cosmos.feegrant.v1beta1/types/amino/amino.js +0 -2
- package/dist/cosmos.feegrant.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/dist/cosmos.feegrant.v1beta1/types/cosmos/base/v1beta1/coin.js +0 -192
- package/dist/cosmos.feegrant.v1beta1/types/cosmos/feegrant/v1beta1/feegrant.js +0 -307
- package/dist/cosmos.feegrant.v1beta1/types/cosmos/feegrant/v1beta1/genesis.js +0 -52
- package/dist/cosmos.feegrant.v1beta1/types/cosmos/feegrant/v1beta1/query.js +0 -357
- package/dist/cosmos.feegrant.v1beta1/types/cosmos/feegrant/v1beta1/tx.js +0 -205
- package/dist/cosmos.feegrant.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
- package/dist/cosmos.feegrant.v1beta1/types/cosmos_proto/cosmos.js +0 -171
- package/dist/cosmos.feegrant.v1beta1/types/gogoproto/gogo.js +0 -2
- package/dist/cosmos.feegrant.v1beta1/types/google/api/annotations.js +0 -2
- package/dist/cosmos.feegrant.v1beta1/types/google/api/http.js +0 -260
- package/dist/cosmos.feegrant.v1beta1/types/google/protobuf/any.js +0 -99
- package/dist/cosmos.feegrant.v1beta1/types/google/protobuf/descriptor.js +0 -2830
- package/dist/cosmos.feegrant.v1beta1/types/google/protobuf/duration.js +0 -84
- package/dist/cosmos.feegrant.v1beta1/types/google/protobuf/timestamp.js +0 -84
- package/dist/cosmos.feegrant.v1beta1/types.js +0 -5
- package/dist/cosmos.gov.v1/index.js +0 -5
- package/dist/cosmos.gov.v1/module.js +0 -192
- package/dist/cosmos.gov.v1/registry.js +0 -13
- package/dist/cosmos.gov.v1/rest.js +0 -242
- package/dist/cosmos.gov.v1/types/amino/amino.js +0 -2
- package/dist/cosmos.gov.v1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/dist/cosmos.gov.v1/types/cosmos/base/v1beta1/coin.js +0 -192
- package/dist/cosmos.gov.v1/types/cosmos/gov/v1/genesis.js +0 -174
- package/dist/cosmos.gov.v1/types/cosmos/gov/v1/gov.js +0 -945
- package/dist/cosmos.gov.v1/types/cosmos/gov/v1/query.js +0 -928
- package/dist/cosmos.gov.v1/types/cosmos/gov/v1/tx.js +0 -701
- package/dist/cosmos.gov.v1/types/cosmos/msg/v1/msg.js +0 -2
- package/dist/cosmos.gov.v1/types/cosmos_proto/cosmos.js +0 -171
- package/dist/cosmos.gov.v1/types/gogoproto/gogo.js +0 -2
- package/dist/cosmos.gov.v1/types/google/api/annotations.js +0 -2
- package/dist/cosmos.gov.v1/types/google/api/http.js +0 -260
- package/dist/cosmos.gov.v1/types/google/protobuf/any.js +0 -99
- package/dist/cosmos.gov.v1/types/google/protobuf/descriptor.js +0 -2830
- package/dist/cosmos.gov.v1/types/google/protobuf/duration.js +0 -84
- package/dist/cosmos.gov.v1/types/google/protobuf/timestamp.js +0 -84
- package/dist/cosmos.gov.v1/types.js +0 -10
- package/dist/cosmos.gov.v1beta1/index.js +0 -5
- package/dist/cosmos.gov.v1beta1/module.js +0 -169
- package/dist/cosmos.gov.v1beta1/registry.js +0 -11
- package/dist/cosmos.gov.v1beta1/rest.js +0 -242
- package/dist/cosmos.gov.v1beta1/types/amino/amino.js +0 -2
- package/dist/cosmos.gov.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/dist/cosmos.gov.v1beta1/types/cosmos/base/v1beta1/coin.js +0 -192
- package/dist/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/genesis.js +0 -162
- package/dist/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/gov.js +0 -832
- package/dist/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/query.js +0 -917
- package/dist/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/tx.js +0 -467
- package/dist/cosmos.gov.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
- package/dist/cosmos.gov.v1beta1/types/cosmos_proto/cosmos.js +0 -171
- package/dist/cosmos.gov.v1beta1/types/gogoproto/gogo.js +0 -2
- package/dist/cosmos.gov.v1beta1/types/google/api/annotations.js +0 -2
- package/dist/cosmos.gov.v1beta1/types/google/api/http.js +0 -260
- package/dist/cosmos.gov.v1beta1/types/google/protobuf/any.js +0 -99
- package/dist/cosmos.gov.v1beta1/types/google/protobuf/descriptor.js +0 -2830
- package/dist/cosmos.gov.v1beta1/types/google/protobuf/duration.js +0 -84
- package/dist/cosmos.gov.v1beta1/types/google/protobuf/timestamp.js +0 -84
- package/dist/cosmos.gov.v1beta1/types.js +0 -10
- package/dist/cosmos.group.v1/index.js +0 -5
- package/dist/cosmos.group.v1/module.js +0 -423
- package/dist/cosmos.group.v1/registry.js +0 -31
- package/dist/cosmos.group.v1/rest.js +0 -366
- package/dist/cosmos.group.v1/types/amino/amino.js +0 -2
- package/dist/cosmos.group.v1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/dist/cosmos.group.v1/types/cosmos/group/v1/events.js +0 -497
- package/dist/cosmos.group.v1/types/cosmos/group/v1/genesis.js +0 -177
- package/dist/cosmos.group.v1/types/cosmos/group/v1/query.js +0 -1578
- package/dist/cosmos.group.v1/types/cosmos/group/v1/tx.js +0 -1639
- package/dist/cosmos.group.v1/types/cosmos/group/v1/types.js +0 -1125
- package/dist/cosmos.group.v1/types/cosmos/msg/v1/msg.js +0 -2
- package/dist/cosmos.group.v1/types/cosmos_proto/cosmos.js +0 -171
- package/dist/cosmos.group.v1/types/gogoproto/gogo.js +0 -2
- package/dist/cosmos.group.v1/types/google/api/annotations.js +0 -2
- package/dist/cosmos.group.v1/types/google/api/http.js +0 -260
- package/dist/cosmos.group.v1/types/google/protobuf/any.js +0 -99
- package/dist/cosmos.group.v1/types/google/protobuf/descriptor.js +0 -2830
- package/dist/cosmos.group.v1/types/google/protobuf/duration.js +0 -84
- package/dist/cosmos.group.v1/types/google/protobuf/timestamp.js +0 -84
- package/dist/cosmos.group.v1/types.js +0 -22
- package/dist/cosmos.mint.v1beta1/index.js +0 -5
- package/dist/cosmos.mint.v1beta1/module.js +0 -60
- package/dist/cosmos.mint.v1beta1/registry.js +0 -2
- package/dist/cosmos.mint.v1beta1/rest.js +0 -128
- package/dist/cosmos.mint.v1beta1/types/amino/amino.js +0 -2
- package/dist/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/genesis.js +0 -63
- package/dist/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/mint.js +0 -179
- package/dist/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/query.js +0 -298
- package/dist/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/tx.js +0 -105
- package/dist/cosmos.mint.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
- package/dist/cosmos.mint.v1beta1/types/cosmos_proto/cosmos.js +0 -171
- package/dist/cosmos.mint.v1beta1/types/gogoproto/gogo.js +0 -2
- package/dist/cosmos.mint.v1beta1/types/google/api/annotations.js +0 -2
- package/dist/cosmos.mint.v1beta1/types/google/api/http.js +0 -260
- package/dist/cosmos.mint.v1beta1/types/google/protobuf/descriptor.js +0 -2830
- package/dist/cosmos.mint.v1beta1/types.js +0 -3
- package/dist/cosmos.nft.v1beta1/index.js +0 -5
- package/dist/cosmos.nft.v1beta1/module.js +0 -68
- package/dist/cosmos.nft.v1beta1/registry.js +0 -2
- package/dist/cosmos.nft.v1beta1/rest.js +0 -187
- package/dist/cosmos.nft.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/dist/cosmos.nft.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
- package/dist/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/event.js +0 -198
- package/dist/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/genesis.js +0 -126
- package/dist/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/nft.js +0 -183
- package/dist/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/query.js +0 -752
- package/dist/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/tx.js +0 -120
- package/dist/cosmos.nft.v1beta1/types/cosmos_proto/cosmos.js +0 -171
- package/dist/cosmos.nft.v1beta1/types/google/api/annotations.js +0 -2
- package/dist/cosmos.nft.v1beta1/types/google/api/http.js +0 -260
- package/dist/cosmos.nft.v1beta1/types/google/protobuf/any.js +0 -99
- package/dist/cosmos.nft.v1beta1/types/google/protobuf/descriptor.js +0 -2830
- package/dist/cosmos.nft.v1beta1/types.js +0 -7
- package/dist/cosmos.params.v1beta1/index.js +0 -5
- package/dist/cosmos.params.v1beta1/module.js +0 -62
- package/dist/cosmos.params.v1beta1/registry.js +0 -2
- package/dist/cosmos.params.v1beta1/rest.js +0 -116
- package/dist/cosmos.params.v1beta1/types/amino/amino.js +0 -2
- package/dist/cosmos.params.v1beta1/types/cosmos/params/v1beta1/params.js +0 -133
- package/dist/cosmos.params.v1beta1/types/cosmos/params/v1beta1/query.js +0 -257
- package/dist/cosmos.params.v1beta1/types/cosmos_proto/cosmos.js +0 -171
- package/dist/cosmos.params.v1beta1/types/gogoproto/gogo.js +0 -2
- package/dist/cosmos.params.v1beta1/types/google/api/annotations.js +0 -2
- package/dist/cosmos.params.v1beta1/types/google/api/http.js +0 -260
- package/dist/cosmos.params.v1beta1/types/google/protobuf/descriptor.js +0 -2830
- package/dist/cosmos.params.v1beta1/types.js +0 -4
- package/dist/cosmos.slashing.v1beta1/index.js +0 -5
- package/dist/cosmos.slashing.v1beta1/module.js +0 -92
- package/dist/cosmos.slashing.v1beta1/registry.js +0 -5
- package/dist/cosmos.slashing.v1beta1/rest.js +0 -129
- package/dist/cosmos.slashing.v1beta1/types/amino/amino.js +0 -2
- package/dist/cosmos.slashing.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/dist/cosmos.slashing.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
- package/dist/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/genesis.js +0 -279
- package/dist/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/query.js +0 -300
- package/dist/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/slashing.js +0 -275
- package/dist/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/tx.js +0 -185
- package/dist/cosmos.slashing.v1beta1/types/cosmos_proto/cosmos.js +0 -171
- package/dist/cosmos.slashing.v1beta1/types/gogoproto/gogo.js +0 -2
- package/dist/cosmos.slashing.v1beta1/types/google/api/annotations.js +0 -2
- package/dist/cosmos.slashing.v1beta1/types/google/api/http.js +0 -260
- package/dist/cosmos.slashing.v1beta1/types/google/protobuf/descriptor.js +0 -2830
- package/dist/cosmos.slashing.v1beta1/types/google/protobuf/duration.js +0 -84
- package/dist/cosmos.slashing.v1beta1/types/google/protobuf/timestamp.js +0 -84
- package/dist/cosmos.slashing.v1beta1/types.js +0 -6
- package/dist/cosmos.staking.v1beta1/index.js +0 -5
- package/dist/cosmos.staking.v1beta1/module.js +0 -245
- package/dist/cosmos.staking.v1beta1/registry.js +0 -15
- package/dist/cosmos.staking.v1beta1/rest.js +0 -308
- package/dist/cosmos.staking.v1beta1/types/amino/amino.js +0 -2
- package/dist/cosmos.staking.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/dist/cosmos.staking.v1beta1/types/cosmos/base/v1beta1/coin.js +0 -192
- package/dist/cosmos.staking.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
- package/dist/cosmos.staking.v1beta1/types/cosmos/query/v1/query.js +0 -2
- package/dist/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/authz.js +0 -184
- package/dist/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/genesis.js +0 -259
- package/dist/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/query.js +0 -1568
- package/dist/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/staking.js +0 -1614
- package/dist/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/tx.js +0 -861
- package/dist/cosmos.staking.v1beta1/types/cosmos_proto/cosmos.js +0 -171
- package/dist/cosmos.staking.v1beta1/types/gogoproto/gogo.js +0 -2
- package/dist/cosmos.staking.v1beta1/types/google/api/annotations.js +0 -2
- package/dist/cosmos.staking.v1beta1/types/google/api/http.js +0 -260
- package/dist/cosmos.staking.v1beta1/types/google/protobuf/any.js +0 -99
- package/dist/cosmos.staking.v1beta1/types/google/protobuf/descriptor.js +0 -2830
- package/dist/cosmos.staking.v1beta1/types/google/protobuf/duration.js +0 -84
- package/dist/cosmos.staking.v1beta1/types/google/protobuf/timestamp.js +0 -84
- package/dist/cosmos.staking.v1beta1/types/tendermint/abci/types.js +0 -3812
- package/dist/cosmos.staking.v1beta1/types/tendermint/crypto/keys.js +0 -100
- package/dist/cosmos.staking.v1beta1/types/tendermint/crypto/proof.js +0 -356
- package/dist/cosmos.staking.v1beta1/types/tendermint/types/params.js +0 -369
- package/dist/cosmos.staking.v1beta1/types/tendermint/types/types.js +0 -1207
- package/dist/cosmos.staking.v1beta1/types/tendermint/types/validator.js +0 -254
- package/dist/cosmos.staking.v1beta1/types/tendermint/version/types.js +0 -133
- package/dist/cosmos.staking.v1beta1/types.js +0 -25
- package/dist/cosmos.tx.v1beta1/index.js +0 -5
- package/dist/cosmos.tx.v1beta1/module.js +0 -82
- package/dist/cosmos.tx.v1beta1/registry.js +0 -2
- package/dist/cosmos.tx.v1beta1/rest.js +0 -320
- package/dist/cosmos.tx.v1beta1/types/amino/amino.js +0 -2
- package/dist/cosmos.tx.v1beta1/types/cosmos/base/abci/v1beta1/abci.js +0 -803
- package/dist/cosmos.tx.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/dist/cosmos.tx.v1beta1/types/cosmos/base/v1beta1/coin.js +0 -192
- package/dist/cosmos.tx.v1beta1/types/cosmos/crypto/multisig/v1beta1/multisig.js +0 -147
- package/dist/cosmos.tx.v1beta1/types/cosmos/tx/signing/v1beta1/signing.js +0 -449
- package/dist/cosmos.tx.v1beta1/types/cosmos/tx/v1beta1/service.js +0 -1160
- package/dist/cosmos.tx.v1beta1/types/cosmos/tx/v1beta1/tx.js +0 -959
- package/dist/cosmos.tx.v1beta1/types/cosmos_proto/cosmos.js +0 -171
- package/dist/cosmos.tx.v1beta1/types/gogoproto/gogo.js +0 -2
- package/dist/cosmos.tx.v1beta1/types/google/api/annotations.js +0 -2
- package/dist/cosmos.tx.v1beta1/types/google/api/http.js +0 -260
- package/dist/cosmos.tx.v1beta1/types/google/protobuf/any.js +0 -99
- package/dist/cosmos.tx.v1beta1/types/google/protobuf/descriptor.js +0 -2830
- package/dist/cosmos.tx.v1beta1/types/google/protobuf/duration.js +0 -84
- package/dist/cosmos.tx.v1beta1/types/google/protobuf/timestamp.js +0 -84
- package/dist/cosmos.tx.v1beta1/types/tendermint/abci/types.js +0 -3812
- package/dist/cosmos.tx.v1beta1/types/tendermint/crypto/keys.js +0 -100
- package/dist/cosmos.tx.v1beta1/types/tendermint/crypto/proof.js +0 -356
- package/dist/cosmos.tx.v1beta1/types/tendermint/types/block.js +0 -86
- package/dist/cosmos.tx.v1beta1/types/tendermint/types/evidence.js +0 -343
- package/dist/cosmos.tx.v1beta1/types/tendermint/types/params.js +0 -369
- package/dist/cosmos.tx.v1beta1/types/tendermint/types/types.js +0 -1207
- package/dist/cosmos.tx.v1beta1/types/tendermint/types/validator.js +0 -254
- package/dist/cosmos.tx.v1beta1/types/tendermint/version/types.js +0 -133
- package/dist/cosmos.tx.v1beta1/types.js +0 -14
- package/dist/cosmos.upgrade.v1beta1/index.js +0 -5
- package/dist/cosmos.upgrade.v1beta1/module.js +0 -113
- package/dist/cosmos.upgrade.v1beta1/registry.js +0 -7
- package/dist/cosmos.upgrade.v1beta1/rest.js +0 -162
- package/dist/cosmos.upgrade.v1beta1/types/amino/amino.js +0 -2
- package/dist/cosmos.upgrade.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
- package/dist/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/query.js +0 -501
- package/dist/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/tx.js +0 -183
- package/dist/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/upgrade.js +0 -302
- package/dist/cosmos.upgrade.v1beta1/types/cosmos_proto/cosmos.js +0 -171
- package/dist/cosmos.upgrade.v1beta1/types/gogoproto/gogo.js +0 -2
- package/dist/cosmos.upgrade.v1beta1/types/google/api/annotations.js +0 -2
- package/dist/cosmos.upgrade.v1beta1/types/google/api/http.js +0 -260
- package/dist/cosmos.upgrade.v1beta1/types/google/protobuf/any.js +0 -99
- package/dist/cosmos.upgrade.v1beta1/types/google/protobuf/descriptor.js +0 -2830
- package/dist/cosmos.upgrade.v1beta1/types/google/protobuf/timestamp.js +0 -84
- package/dist/cosmos.upgrade.v1beta1/types.js +0 -5
- package/dist/cosmos.vesting.v1beta1/index.js +0 -5
- package/dist/cosmos.vesting.v1beta1/module.js +0 -140
- package/dist/cosmos.vesting.v1beta1/registry.js +0 -9
- package/dist/cosmos.vesting.v1beta1/rest.js +0 -83
- package/dist/cosmos.vesting.v1beta1/types/amino/amino.js +0 -2
- package/dist/cosmos.vesting.v1beta1/types/cosmos/auth/v1beta1/auth.js +0 -344
- package/dist/cosmos.vesting.v1beta1/types/cosmos/base/v1beta1/coin.js +0 -192
- package/dist/cosmos.vesting.v1beta1/types/cosmos/msg/v1/msg.js +0 -2
- package/dist/cosmos.vesting.v1beta1/types/cosmos/vesting/v1beta1/tx.js +0 -383
- package/dist/cosmos.vesting.v1beta1/types/cosmos/vesting/v1beta1/vesting.js +0 -422
- package/dist/cosmos.vesting.v1beta1/types/cosmos_proto/cosmos.js +0 -171
- package/dist/cosmos.vesting.v1beta1/types/gogoproto/gogo.js +0 -2
- package/dist/cosmos.vesting.v1beta1/types/google/protobuf/any.js +0 -99
- package/dist/cosmos.vesting.v1beta1/types/google/protobuf/descriptor.js +0 -2830
- package/dist/cosmos.vesting.v1beta1/types.js +0 -7
- package/dist/env.js +0 -1
- package/dist/helpers.js +0 -11
- package/dist/ibc.applications.interchain_accounts.controller.v1/index.js +0 -5
- package/dist/ibc.applications.interchain_accounts.controller.v1/module.js +0 -58
- package/dist/ibc.applications.interchain_accounts.controller.v1/registry.js +0 -2
- package/dist/ibc.applications.interchain_accounts.controller.v1/rest.js +0 -123
- package/dist/ibc.applications.interchain_accounts.controller.v1/types/gogoproto/gogo.js +0 -2
- package/dist/ibc.applications.interchain_accounts.controller.v1/types/google/api/annotations.js +0 -2
- package/dist/ibc.applications.interchain_accounts.controller.v1/types/google/api/http.js +0 -260
- package/dist/ibc.applications.interchain_accounts.controller.v1/types/google/protobuf/any.js +0 -99
- package/dist/ibc.applications.interchain_accounts.controller.v1/types/google/protobuf/descriptor.js +0 -2830
- package/dist/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/controller.js +0 -47
- package/dist/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/query.js +0 -193
- package/dist/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/tx.js +0 -277
- package/dist/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/v1/packet.js +0 -192
- package/dist/ibc.applications.interchain_accounts.controller.v1/types.js +0 -2
- package/dist/ibc.applications.interchain_accounts.host.v1/index.js +0 -5
- package/dist/ibc.applications.interchain_accounts.host.v1/module.js +0 -58
- package/dist/ibc.applications.interchain_accounts.host.v1/registry.js +0 -2
- package/dist/ibc.applications.interchain_accounts.host.v1/rest.js +0 -100
- package/dist/ibc.applications.interchain_accounts.host.v1/types/gogoproto/gogo.js +0 -2
- package/dist/ibc.applications.interchain_accounts.host.v1/types/google/api/annotations.js +0 -2
- package/dist/ibc.applications.interchain_accounts.host.v1/types/google/api/http.js +0 -260
- package/dist/ibc.applications.interchain_accounts.host.v1/types/google/protobuf/descriptor.js +0 -2830
- package/dist/ibc.applications.interchain_accounts.host.v1/types/ibc/applications/interchain_accounts/host/v1/host.js +0 -63
- package/dist/ibc.applications.interchain_accounts.host.v1/types/ibc/applications/interchain_accounts/host/v1/query.js +0 -94
- package/dist/ibc.applications.interchain_accounts.host.v1/types.js +0 -2
- package/dist/ibc.applications.transfer.v1/index.js +0 -5
- package/dist/ibc.applications.transfer.v1/module.js +0 -64
- package/dist/ibc.applications.transfer.v1/registry.js +0 -2
- package/dist/ibc.applications.transfer.v1/rest.js +0 -171
- package/dist/ibc.applications.transfer.v1/types/amino/amino.js +0 -2
- package/dist/ibc.applications.transfer.v1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/dist/ibc.applications.transfer.v1/types/cosmos/base/v1beta1/coin.js +0 -192
- package/dist/ibc.applications.transfer.v1/types/cosmos/upgrade/v1beta1/upgrade.js +0 -302
- package/dist/ibc.applications.transfer.v1/types/cosmos_proto/cosmos.js +0 -171
- package/dist/ibc.applications.transfer.v1/types/gogoproto/gogo.js +0 -2
- package/dist/ibc.applications.transfer.v1/types/google/api/annotations.js +0 -2
- package/dist/ibc.applications.transfer.v1/types/google/api/http.js +0 -260
- package/dist/ibc.applications.transfer.v1/types/google/protobuf/any.js +0 -99
- package/dist/ibc.applications.transfer.v1/types/google/protobuf/descriptor.js +0 -2830
- package/dist/ibc.applications.transfer.v1/types/google/protobuf/timestamp.js +0 -84
- package/dist/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/authz.js +0 -135
- package/dist/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/genesis.js +0 -90
- package/dist/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/query.js +0 -574
- package/dist/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/transfer.js +0 -110
- package/dist/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/tx.js +0 -204
- package/dist/ibc.applications.transfer.v1/types/ibc/core/client/v1/client.js +0 -448
- package/dist/ibc.applications.transfer.v1/types.js +0 -5
- package/dist/ibc.core.channel.v1/index.js +0 -5
- package/dist/ibc.core.channel.v1/module.js +0 -72
- package/dist/ibc.core.channel.v1/registry.js +0 -2
- package/dist/ibc.core.channel.v1/rest.js +0 -323
- package/dist/ibc.core.channel.v1/types/amino/amino.js +0 -2
- package/dist/ibc.core.channel.v1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/dist/ibc.core.channel.v1/types/cosmos/upgrade/v1beta1/upgrade.js +0 -302
- package/dist/ibc.core.channel.v1/types/cosmos_proto/cosmos.js +0 -171
- package/dist/ibc.core.channel.v1/types/gogoproto/gogo.js +0 -2
- package/dist/ibc.core.channel.v1/types/google/api/annotations.js +0 -2
- package/dist/ibc.core.channel.v1/types/google/api/http.js +0 -260
- package/dist/ibc.core.channel.v1/types/google/protobuf/any.js +0 -99
- package/dist/ibc.core.channel.v1/types/google/protobuf/descriptor.js +0 -2830
- package/dist/ibc.core.channel.v1/types/google/protobuf/timestamp.js +0 -84
- package/dist/ibc.core.channel.v1/types/ibc/core/channel/v1/channel.js +0 -714
- package/dist/ibc.core.channel.v1/types/ibc/core/channel/v1/genesis.js +0 -254
- package/dist/ibc.core.channel.v1/types/ibc/core/channel/v1/query.js +0 -1866
- package/dist/ibc.core.channel.v1/types/ibc/core/channel/v1/tx.js +0 -1436
- package/dist/ibc.core.channel.v1/types/ibc/core/client/v1/client.js +0 -448
- package/dist/ibc.core.channel.v1/types.js +0 -9
- package/dist/ibc.core.client.v1/index.js +0 -5
- package/dist/ibc.core.client.v1/module.js +0 -74
- package/dist/ibc.core.client.v1/registry.js +0 -2
- package/dist/ibc.core.client.v1/rest.js +0 -218
- package/dist/ibc.core.client.v1/types/amino/amino.js +0 -2
- package/dist/ibc.core.client.v1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/dist/ibc.core.client.v1/types/cosmos/upgrade/v1beta1/upgrade.js +0 -302
- package/dist/ibc.core.client.v1/types/cosmos_proto/cosmos.js +0 -171
- package/dist/ibc.core.client.v1/types/gogoproto/gogo.js +0 -2
- package/dist/ibc.core.client.v1/types/google/api/annotations.js +0 -2
- package/dist/ibc.core.client.v1/types/google/api/http.js +0 -260
- package/dist/ibc.core.client.v1/types/google/protobuf/any.js +0 -99
- package/dist/ibc.core.client.v1/types/google/protobuf/descriptor.js +0 -2830
- package/dist/ibc.core.client.v1/types/google/protobuf/timestamp.js +0 -84
- package/dist/ibc.core.client.v1/types/ibc/core/client/v1/client.js +0 -448
- package/dist/ibc.core.client.v1/types/ibc/core/client/v1/genesis.js +0 -287
- package/dist/ibc.core.client.v1/types/ibc/core/client/v1/query.js +0 -1026
- package/dist/ibc.core.client.v1/types/ibc/core/client/v1/tx.js +0 -510
- package/dist/ibc.core.client.v1/types.js +0 -10
- package/dist/ibc.core.connection.v1/index.js +0 -5
- package/dist/ibc.core.connection.v1/module.js +0 -70
- package/dist/ibc.core.connection.v1/registry.js +0 -2
- package/dist/ibc.core.connection.v1/rest.js +0 -191
- package/dist/ibc.core.connection.v1/types/amino/amino.js +0 -2
- package/dist/ibc.core.connection.v1/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/dist/ibc.core.connection.v1/types/cosmos/ics23/v1/proofs.js +0 -1126
- package/dist/ibc.core.connection.v1/types/cosmos/upgrade/v1beta1/upgrade.js +0 -302
- package/dist/ibc.core.connection.v1/types/cosmos_proto/cosmos.js +0 -171
- package/dist/ibc.core.connection.v1/types/gogoproto/gogo.js +0 -2
- package/dist/ibc.core.connection.v1/types/google/api/annotations.js +0 -2
- package/dist/ibc.core.connection.v1/types/google/api/http.js +0 -260
- package/dist/ibc.core.connection.v1/types/google/protobuf/any.js +0 -99
- package/dist/ibc.core.connection.v1/types/google/protobuf/descriptor.js +0 -2830
- package/dist/ibc.core.connection.v1/types/google/protobuf/timestamp.js +0 -84
- package/dist/ibc.core.connection.v1/types/ibc/core/client/v1/client.js +0 -448
- package/dist/ibc.core.connection.v1/types/ibc/core/commitment/v1/commitment.js +0 -223
- package/dist/ibc.core.connection.v1/types/ibc/core/connection/v1/connection.js +0 -537
- package/dist/ibc.core.connection.v1/types/ibc/core/connection/v1/genesis.js +0 -120
- package/dist/ibc.core.connection.v1/types/ibc/core/connection/v1/query.js +0 -766
- package/dist/ibc.core.connection.v1/types/ibc/core/connection/v1/tx.js +0 -731
- package/dist/ibc.core.connection.v1/types.js +0 -8
- package/dist/iconlake.drop/index.js +0 -5
- package/dist/iconlake.drop/module.js +0 -86
- package/dist/iconlake.drop/registry.js +0 -5
- package/dist/iconlake.drop/rest.js +0 -128
- package/dist/iconlake.drop/types/amino/amino.js +0 -2
- package/dist/iconlake.drop/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/dist/iconlake.drop/types/cosmos/base/v1beta1/coin.js +0 -192
- package/dist/iconlake.drop/types/cosmos_proto/cosmos.js +0 -171
- package/dist/iconlake.drop/types/gogoproto/gogo.js +0 -2
- package/dist/iconlake.drop/types/google/api/annotations.js +0 -2
- package/dist/iconlake.drop/types/google/api/http.js +0 -260
- package/dist/iconlake.drop/types/google/protobuf/descriptor.js +0 -2830
- package/dist/iconlake.drop/types/iconlake/drop/genesis.js +0 -67
- package/dist/iconlake.drop/types/iconlake/drop/info.js +0 -84
- package/dist/iconlake.drop/types/iconlake/drop/params.js +0 -36
- package/dist/iconlake.drop/types/iconlake/drop/query.js +0 -294
- package/dist/iconlake.drop/types/iconlake/drop/tx.js +0 -152
- package/dist/iconlake.drop/types.js +0 -3
- package/dist/iconlake.icon/index.js +0 -5
- package/dist/iconlake.icon/module.js +0 -88
- package/dist/iconlake.icon/registry.js +0 -5
- package/dist/iconlake.icon/rest.js +0 -115
- package/dist/iconlake.icon/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/dist/iconlake.icon/types/gogoproto/gogo.js +0 -2
- package/dist/iconlake.icon/types/google/api/annotations.js +0 -2
- package/dist/iconlake.icon/types/google/api/http.js +0 -260
- package/dist/iconlake.icon/types/google/protobuf/descriptor.js +0 -2830
- package/dist/iconlake.icon/types/iconlake/icon/class_data.js +0 -58
- package/dist/iconlake.icon/types/iconlake/icon/genesis.js +0 -50
- package/dist/iconlake.icon/types/iconlake/icon/icon_data.js +0 -76
- package/dist/iconlake.icon/types/iconlake/icon/params.js +0 -36
- package/dist/iconlake.icon/types/iconlake/icon/query.js +0 -204
- package/dist/iconlake.icon/types/iconlake/icon/tx.js +0 -174
- package/dist/iconlake.icon/types.js +0 -4
- package/dist/iconlake.iconlake/index.js +0 -5
- package/dist/iconlake.iconlake/module.js +0 -86
- package/dist/iconlake.iconlake/registry.js +0 -5
- package/dist/iconlake.iconlake/rest.js +0 -128
- package/dist/iconlake.iconlake/types/amino/amino.js +0 -2
- package/dist/iconlake.iconlake/types/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/dist/iconlake.iconlake/types/cosmos/base/v1beta1/coin.js +0 -192
- package/dist/iconlake.iconlake/types/cosmos_proto/cosmos.js +0 -171
- package/dist/iconlake.iconlake/types/gogoproto/gogo.js +0 -2
- package/dist/iconlake.iconlake/types/google/api/annotations.js +0 -2
- package/dist/iconlake.iconlake/types/google/api/http.js +0 -260
- package/dist/iconlake.iconlake/types/google/protobuf/descriptor.js +0 -2830
- package/dist/iconlake.iconlake/types/iconlake/iconlake/account.js +0 -84
- package/dist/iconlake.iconlake/types/iconlake/iconlake/genesis.js +0 -67
- package/dist/iconlake.iconlake/types/iconlake/iconlake/params.js +0 -36
- package/dist/iconlake.iconlake/types/iconlake/iconlake/query.js +0 -296
- package/dist/iconlake.iconlake/types/iconlake/iconlake/tx.js +0 -113
- package/dist/iconlake.iconlake/types.js +0 -3
- package/dist/index.js +0 -68
- package/dist/modules.js +0 -1
|
@@ -1,254 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
import Long from "long";
|
|
3
|
-
import _m0 from "protobufjs/minimal";
|
|
4
|
-
import { PublicKey } from "../crypto/keys";
|
|
5
|
-
export const protobufPackage = "tendermint.types";
|
|
6
|
-
function createBaseValidatorSet() {
|
|
7
|
-
return { validators: [], proposer: undefined, totalVotingPower: 0 };
|
|
8
|
-
}
|
|
9
|
-
export const ValidatorSet = {
|
|
10
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
11
|
-
for (const v of message.validators) {
|
|
12
|
-
Validator.encode(v, writer.uint32(10).fork()).ldelim();
|
|
13
|
-
}
|
|
14
|
-
if (message.proposer !== undefined) {
|
|
15
|
-
Validator.encode(message.proposer, writer.uint32(18).fork()).ldelim();
|
|
16
|
-
}
|
|
17
|
-
if (message.totalVotingPower !== 0) {
|
|
18
|
-
writer.uint32(24).int64(message.totalVotingPower);
|
|
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 = createBaseValidatorSet();
|
|
26
|
-
while (reader.pos < end) {
|
|
27
|
-
const tag = reader.uint32();
|
|
28
|
-
switch (tag >>> 3) {
|
|
29
|
-
case 1:
|
|
30
|
-
message.validators.push(Validator.decode(reader, reader.uint32()));
|
|
31
|
-
break;
|
|
32
|
-
case 2:
|
|
33
|
-
message.proposer = Validator.decode(reader, reader.uint32());
|
|
34
|
-
break;
|
|
35
|
-
case 3:
|
|
36
|
-
message.totalVotingPower = longToNumber(reader.int64());
|
|
37
|
-
break;
|
|
38
|
-
default:
|
|
39
|
-
reader.skipType(tag & 7);
|
|
40
|
-
break;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
return message;
|
|
44
|
-
},
|
|
45
|
-
fromJSON(object) {
|
|
46
|
-
return {
|
|
47
|
-
validators: Array.isArray(object?.validators) ? object.validators.map((e) => Validator.fromJSON(e)) : [],
|
|
48
|
-
proposer: isSet(object.proposer) ? Validator.fromJSON(object.proposer) : undefined,
|
|
49
|
-
totalVotingPower: isSet(object.totalVotingPower) ? Number(object.totalVotingPower) : 0,
|
|
50
|
-
};
|
|
51
|
-
},
|
|
52
|
-
toJSON(message) {
|
|
53
|
-
const obj = {};
|
|
54
|
-
if (message.validators) {
|
|
55
|
-
obj.validators = message.validators.map((e) => e ? Validator.toJSON(e) : undefined);
|
|
56
|
-
}
|
|
57
|
-
else {
|
|
58
|
-
obj.validators = [];
|
|
59
|
-
}
|
|
60
|
-
message.proposer !== undefined
|
|
61
|
-
&& (obj.proposer = message.proposer ? Validator.toJSON(message.proposer) : undefined);
|
|
62
|
-
message.totalVotingPower !== undefined && (obj.totalVotingPower = Math.round(message.totalVotingPower));
|
|
63
|
-
return obj;
|
|
64
|
-
},
|
|
65
|
-
fromPartial(object) {
|
|
66
|
-
const message = createBaseValidatorSet();
|
|
67
|
-
message.validators = object.validators?.map((e) => Validator.fromPartial(e)) || [];
|
|
68
|
-
message.proposer = (object.proposer !== undefined && object.proposer !== null)
|
|
69
|
-
? Validator.fromPartial(object.proposer)
|
|
70
|
-
: undefined;
|
|
71
|
-
message.totalVotingPower = object.totalVotingPower ?? 0;
|
|
72
|
-
return message;
|
|
73
|
-
},
|
|
74
|
-
};
|
|
75
|
-
function createBaseValidator() {
|
|
76
|
-
return { address: new Uint8Array(), pubKey: undefined, votingPower: 0, proposerPriority: 0 };
|
|
77
|
-
}
|
|
78
|
-
export const Validator = {
|
|
79
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
80
|
-
if (message.address.length !== 0) {
|
|
81
|
-
writer.uint32(10).bytes(message.address);
|
|
82
|
-
}
|
|
83
|
-
if (message.pubKey !== undefined) {
|
|
84
|
-
PublicKey.encode(message.pubKey, writer.uint32(18).fork()).ldelim();
|
|
85
|
-
}
|
|
86
|
-
if (message.votingPower !== 0) {
|
|
87
|
-
writer.uint32(24).int64(message.votingPower);
|
|
88
|
-
}
|
|
89
|
-
if (message.proposerPriority !== 0) {
|
|
90
|
-
writer.uint32(32).int64(message.proposerPriority);
|
|
91
|
-
}
|
|
92
|
-
return writer;
|
|
93
|
-
},
|
|
94
|
-
decode(input, length) {
|
|
95
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
96
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
97
|
-
const message = createBaseValidator();
|
|
98
|
-
while (reader.pos < end) {
|
|
99
|
-
const tag = reader.uint32();
|
|
100
|
-
switch (tag >>> 3) {
|
|
101
|
-
case 1:
|
|
102
|
-
message.address = reader.bytes();
|
|
103
|
-
break;
|
|
104
|
-
case 2:
|
|
105
|
-
message.pubKey = PublicKey.decode(reader, reader.uint32());
|
|
106
|
-
break;
|
|
107
|
-
case 3:
|
|
108
|
-
message.votingPower = longToNumber(reader.int64());
|
|
109
|
-
break;
|
|
110
|
-
case 4:
|
|
111
|
-
message.proposerPriority = longToNumber(reader.int64());
|
|
112
|
-
break;
|
|
113
|
-
default:
|
|
114
|
-
reader.skipType(tag & 7);
|
|
115
|
-
break;
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
return message;
|
|
119
|
-
},
|
|
120
|
-
fromJSON(object) {
|
|
121
|
-
return {
|
|
122
|
-
address: isSet(object.address) ? bytesFromBase64(object.address) : new Uint8Array(),
|
|
123
|
-
pubKey: isSet(object.pubKey) ? PublicKey.fromJSON(object.pubKey) : undefined,
|
|
124
|
-
votingPower: isSet(object.votingPower) ? Number(object.votingPower) : 0,
|
|
125
|
-
proposerPriority: isSet(object.proposerPriority) ? Number(object.proposerPriority) : 0,
|
|
126
|
-
};
|
|
127
|
-
},
|
|
128
|
-
toJSON(message) {
|
|
129
|
-
const obj = {};
|
|
130
|
-
message.address !== undefined
|
|
131
|
-
&& (obj.address = base64FromBytes(message.address !== undefined ? message.address : new Uint8Array()));
|
|
132
|
-
message.pubKey !== undefined && (obj.pubKey = message.pubKey ? PublicKey.toJSON(message.pubKey) : undefined);
|
|
133
|
-
message.votingPower !== undefined && (obj.votingPower = Math.round(message.votingPower));
|
|
134
|
-
message.proposerPriority !== undefined && (obj.proposerPriority = Math.round(message.proposerPriority));
|
|
135
|
-
return obj;
|
|
136
|
-
},
|
|
137
|
-
fromPartial(object) {
|
|
138
|
-
const message = createBaseValidator();
|
|
139
|
-
message.address = object.address ?? new Uint8Array();
|
|
140
|
-
message.pubKey = (object.pubKey !== undefined && object.pubKey !== null)
|
|
141
|
-
? PublicKey.fromPartial(object.pubKey)
|
|
142
|
-
: undefined;
|
|
143
|
-
message.votingPower = object.votingPower ?? 0;
|
|
144
|
-
message.proposerPriority = object.proposerPriority ?? 0;
|
|
145
|
-
return message;
|
|
146
|
-
},
|
|
147
|
-
};
|
|
148
|
-
function createBaseSimpleValidator() {
|
|
149
|
-
return { pubKey: undefined, votingPower: 0 };
|
|
150
|
-
}
|
|
151
|
-
export const SimpleValidator = {
|
|
152
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
153
|
-
if (message.pubKey !== undefined) {
|
|
154
|
-
PublicKey.encode(message.pubKey, writer.uint32(10).fork()).ldelim();
|
|
155
|
-
}
|
|
156
|
-
if (message.votingPower !== 0) {
|
|
157
|
-
writer.uint32(16).int64(message.votingPower);
|
|
158
|
-
}
|
|
159
|
-
return writer;
|
|
160
|
-
},
|
|
161
|
-
decode(input, length) {
|
|
162
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
163
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
164
|
-
const message = createBaseSimpleValidator();
|
|
165
|
-
while (reader.pos < end) {
|
|
166
|
-
const tag = reader.uint32();
|
|
167
|
-
switch (tag >>> 3) {
|
|
168
|
-
case 1:
|
|
169
|
-
message.pubKey = PublicKey.decode(reader, reader.uint32());
|
|
170
|
-
break;
|
|
171
|
-
case 2:
|
|
172
|
-
message.votingPower = longToNumber(reader.int64());
|
|
173
|
-
break;
|
|
174
|
-
default:
|
|
175
|
-
reader.skipType(tag & 7);
|
|
176
|
-
break;
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
return message;
|
|
180
|
-
},
|
|
181
|
-
fromJSON(object) {
|
|
182
|
-
return {
|
|
183
|
-
pubKey: isSet(object.pubKey) ? PublicKey.fromJSON(object.pubKey) : undefined,
|
|
184
|
-
votingPower: isSet(object.votingPower) ? Number(object.votingPower) : 0,
|
|
185
|
-
};
|
|
186
|
-
},
|
|
187
|
-
toJSON(message) {
|
|
188
|
-
const obj = {};
|
|
189
|
-
message.pubKey !== undefined && (obj.pubKey = message.pubKey ? PublicKey.toJSON(message.pubKey) : undefined);
|
|
190
|
-
message.votingPower !== undefined && (obj.votingPower = Math.round(message.votingPower));
|
|
191
|
-
return obj;
|
|
192
|
-
},
|
|
193
|
-
fromPartial(object) {
|
|
194
|
-
const message = createBaseSimpleValidator();
|
|
195
|
-
message.pubKey = (object.pubKey !== undefined && object.pubKey !== null)
|
|
196
|
-
? PublicKey.fromPartial(object.pubKey)
|
|
197
|
-
: undefined;
|
|
198
|
-
message.votingPower = object.votingPower ?? 0;
|
|
199
|
-
return message;
|
|
200
|
-
},
|
|
201
|
-
};
|
|
202
|
-
var globalThis = (() => {
|
|
203
|
-
if (typeof globalThis !== "undefined") {
|
|
204
|
-
return globalThis;
|
|
205
|
-
}
|
|
206
|
-
if (typeof self !== "undefined") {
|
|
207
|
-
return self;
|
|
208
|
-
}
|
|
209
|
-
if (typeof window !== "undefined") {
|
|
210
|
-
return window;
|
|
211
|
-
}
|
|
212
|
-
if (typeof global !== "undefined") {
|
|
213
|
-
return global;
|
|
214
|
-
}
|
|
215
|
-
throw "Unable to locate global object";
|
|
216
|
-
})();
|
|
217
|
-
function bytesFromBase64(b64) {
|
|
218
|
-
if (globalThis.Buffer) {
|
|
219
|
-
return Uint8Array.from(globalThis.Buffer.from(b64, "base64"));
|
|
220
|
-
}
|
|
221
|
-
else {
|
|
222
|
-
const bin = globalThis.atob(b64);
|
|
223
|
-
const arr = new Uint8Array(bin.length);
|
|
224
|
-
for (let i = 0; i < bin.length; ++i) {
|
|
225
|
-
arr[i] = bin.charCodeAt(i);
|
|
226
|
-
}
|
|
227
|
-
return arr;
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
function base64FromBytes(arr) {
|
|
231
|
-
if (globalThis.Buffer) {
|
|
232
|
-
return globalThis.Buffer.from(arr).toString("base64");
|
|
233
|
-
}
|
|
234
|
-
else {
|
|
235
|
-
const bin = [];
|
|
236
|
-
arr.forEach((byte) => {
|
|
237
|
-
bin.push(String.fromCharCode(byte));
|
|
238
|
-
});
|
|
239
|
-
return globalThis.btoa(bin.join(""));
|
|
240
|
-
}
|
|
241
|
-
}
|
|
242
|
-
function longToNumber(long) {
|
|
243
|
-
if (long.gt(Number.MAX_SAFE_INTEGER)) {
|
|
244
|
-
throw new globalThis.Error("Value is larger than Number.MAX_SAFE_INTEGER");
|
|
245
|
-
}
|
|
246
|
-
return long.toNumber();
|
|
247
|
-
}
|
|
248
|
-
if (_m0.util.Long !== Long) {
|
|
249
|
-
_m0.util.Long = Long;
|
|
250
|
-
_m0.configure();
|
|
251
|
-
}
|
|
252
|
-
function isSet(value) {
|
|
253
|
-
return value !== null && value !== undefined;
|
|
254
|
-
}
|
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
import Long from "long";
|
|
3
|
-
import _m0 from "protobufjs/minimal";
|
|
4
|
-
export const protobufPackage = "tendermint.version";
|
|
5
|
-
function createBaseApp() {
|
|
6
|
-
return { protocol: 0, software: "" };
|
|
7
|
-
}
|
|
8
|
-
export const App = {
|
|
9
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
10
|
-
if (message.protocol !== 0) {
|
|
11
|
-
writer.uint32(8).uint64(message.protocol);
|
|
12
|
-
}
|
|
13
|
-
if (message.software !== "") {
|
|
14
|
-
writer.uint32(18).string(message.software);
|
|
15
|
-
}
|
|
16
|
-
return writer;
|
|
17
|
-
},
|
|
18
|
-
decode(input, length) {
|
|
19
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
20
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
21
|
-
const message = createBaseApp();
|
|
22
|
-
while (reader.pos < end) {
|
|
23
|
-
const tag = reader.uint32();
|
|
24
|
-
switch (tag >>> 3) {
|
|
25
|
-
case 1:
|
|
26
|
-
message.protocol = longToNumber(reader.uint64());
|
|
27
|
-
break;
|
|
28
|
-
case 2:
|
|
29
|
-
message.software = reader.string();
|
|
30
|
-
break;
|
|
31
|
-
default:
|
|
32
|
-
reader.skipType(tag & 7);
|
|
33
|
-
break;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
return message;
|
|
37
|
-
},
|
|
38
|
-
fromJSON(object) {
|
|
39
|
-
return {
|
|
40
|
-
protocol: isSet(object.protocol) ? Number(object.protocol) : 0,
|
|
41
|
-
software: isSet(object.software) ? String(object.software) : "",
|
|
42
|
-
};
|
|
43
|
-
},
|
|
44
|
-
toJSON(message) {
|
|
45
|
-
const obj = {};
|
|
46
|
-
message.protocol !== undefined && (obj.protocol = Math.round(message.protocol));
|
|
47
|
-
message.software !== undefined && (obj.software = message.software);
|
|
48
|
-
return obj;
|
|
49
|
-
},
|
|
50
|
-
fromPartial(object) {
|
|
51
|
-
const message = createBaseApp();
|
|
52
|
-
message.protocol = object.protocol ?? 0;
|
|
53
|
-
message.software = object.software ?? "";
|
|
54
|
-
return message;
|
|
55
|
-
},
|
|
56
|
-
};
|
|
57
|
-
function createBaseConsensus() {
|
|
58
|
-
return { block: 0, app: 0 };
|
|
59
|
-
}
|
|
60
|
-
export const Consensus = {
|
|
61
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
62
|
-
if (message.block !== 0) {
|
|
63
|
-
writer.uint32(8).uint64(message.block);
|
|
64
|
-
}
|
|
65
|
-
if (message.app !== 0) {
|
|
66
|
-
writer.uint32(16).uint64(message.app);
|
|
67
|
-
}
|
|
68
|
-
return writer;
|
|
69
|
-
},
|
|
70
|
-
decode(input, length) {
|
|
71
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
72
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
73
|
-
const message = createBaseConsensus();
|
|
74
|
-
while (reader.pos < end) {
|
|
75
|
-
const tag = reader.uint32();
|
|
76
|
-
switch (tag >>> 3) {
|
|
77
|
-
case 1:
|
|
78
|
-
message.block = longToNumber(reader.uint64());
|
|
79
|
-
break;
|
|
80
|
-
case 2:
|
|
81
|
-
message.app = longToNumber(reader.uint64());
|
|
82
|
-
break;
|
|
83
|
-
default:
|
|
84
|
-
reader.skipType(tag & 7);
|
|
85
|
-
break;
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
return message;
|
|
89
|
-
},
|
|
90
|
-
fromJSON(object) {
|
|
91
|
-
return { block: isSet(object.block) ? Number(object.block) : 0, app: isSet(object.app) ? Number(object.app) : 0 };
|
|
92
|
-
},
|
|
93
|
-
toJSON(message) {
|
|
94
|
-
const obj = {};
|
|
95
|
-
message.block !== undefined && (obj.block = Math.round(message.block));
|
|
96
|
-
message.app !== undefined && (obj.app = Math.round(message.app));
|
|
97
|
-
return obj;
|
|
98
|
-
},
|
|
99
|
-
fromPartial(object) {
|
|
100
|
-
const message = createBaseConsensus();
|
|
101
|
-
message.block = object.block ?? 0;
|
|
102
|
-
message.app = object.app ?? 0;
|
|
103
|
-
return message;
|
|
104
|
-
},
|
|
105
|
-
};
|
|
106
|
-
var globalThis = (() => {
|
|
107
|
-
if (typeof globalThis !== "undefined") {
|
|
108
|
-
return globalThis;
|
|
109
|
-
}
|
|
110
|
-
if (typeof self !== "undefined") {
|
|
111
|
-
return self;
|
|
112
|
-
}
|
|
113
|
-
if (typeof window !== "undefined") {
|
|
114
|
-
return window;
|
|
115
|
-
}
|
|
116
|
-
if (typeof global !== "undefined") {
|
|
117
|
-
return global;
|
|
118
|
-
}
|
|
119
|
-
throw "Unable to locate global object";
|
|
120
|
-
})();
|
|
121
|
-
function longToNumber(long) {
|
|
122
|
-
if (long.gt(Number.MAX_SAFE_INTEGER)) {
|
|
123
|
-
throw new globalThis.Error("Value is larger than Number.MAX_SAFE_INTEGER");
|
|
124
|
-
}
|
|
125
|
-
return long.toNumber();
|
|
126
|
-
}
|
|
127
|
-
if (_m0.util.Long !== Long) {
|
|
128
|
-
_m0.util.Long = Long;
|
|
129
|
-
_m0.configure();
|
|
130
|
-
}
|
|
131
|
-
function isSet(value) {
|
|
132
|
-
return value !== null && value !== undefined;
|
|
133
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Tx } from "./types/cosmos/tx/v1beta1/tx";
|
|
2
|
-
import { TxRaw } from "./types/cosmos/tx/v1beta1/tx";
|
|
3
|
-
import { SignDoc } from "./types/cosmos/tx/v1beta1/tx";
|
|
4
|
-
import { SignDocDirectAux } from "./types/cosmos/tx/v1beta1/tx";
|
|
5
|
-
import { TxBody } from "./types/cosmos/tx/v1beta1/tx";
|
|
6
|
-
import { AuthInfo } from "./types/cosmos/tx/v1beta1/tx";
|
|
7
|
-
import { SignerInfo } from "./types/cosmos/tx/v1beta1/tx";
|
|
8
|
-
import { ModeInfo } from "./types/cosmos/tx/v1beta1/tx";
|
|
9
|
-
import { ModeInfo_Single } from "./types/cosmos/tx/v1beta1/tx";
|
|
10
|
-
import { ModeInfo_Multi } from "./types/cosmos/tx/v1beta1/tx";
|
|
11
|
-
import { Fee } from "./types/cosmos/tx/v1beta1/tx";
|
|
12
|
-
import { Tip } from "./types/cosmos/tx/v1beta1/tx";
|
|
13
|
-
import { AuxSignerData } from "./types/cosmos/tx/v1beta1/tx";
|
|
14
|
-
export { Tx, TxRaw, SignDoc, SignDocDirectAux, TxBody, AuthInfo, SignerInfo, ModeInfo, ModeInfo_Single, ModeInfo_Multi, Fee, Tip, AuxSignerData, };
|
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
// Generated by Ignite ignite.com/cli
|
|
2
|
-
import { SigningStargateClient } from "@cosmjs/stargate";
|
|
3
|
-
import { Registry } from "@cosmjs/proto-signing";
|
|
4
|
-
import { msgTypes } from './registry';
|
|
5
|
-
import { Api } from "./rest";
|
|
6
|
-
import { MsgSoftwareUpgrade } from "./types/cosmos/upgrade/v1beta1/tx";
|
|
7
|
-
import { MsgCancelUpgrade } from "./types/cosmos/upgrade/v1beta1/tx";
|
|
8
|
-
import { Plan as typePlan } from "./types";
|
|
9
|
-
import { SoftwareUpgradeProposal as typeSoftwareUpgradeProposal } from "./types";
|
|
10
|
-
import { CancelSoftwareUpgradeProposal as typeCancelSoftwareUpgradeProposal } from "./types";
|
|
11
|
-
import { ModuleVersion as typeModuleVersion } from "./types";
|
|
12
|
-
export { MsgSoftwareUpgrade, MsgCancelUpgrade };
|
|
13
|
-
export const registry = new Registry(msgTypes);
|
|
14
|
-
function getStructure(template) {
|
|
15
|
-
const structure = { fields: [] };
|
|
16
|
-
for (let [key, value] of Object.entries(template)) {
|
|
17
|
-
let field = { name: key, type: typeof value };
|
|
18
|
-
structure.fields.push(field);
|
|
19
|
-
}
|
|
20
|
-
return structure;
|
|
21
|
-
}
|
|
22
|
-
const defaultFee = {
|
|
23
|
-
amount: [],
|
|
24
|
-
gas: "200000",
|
|
25
|
-
};
|
|
26
|
-
export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26657", prefix: "cosmos" }) => {
|
|
27
|
-
return {
|
|
28
|
-
async sendMsgSoftwareUpgrade({ value, fee, memo }) {
|
|
29
|
-
if (!signer) {
|
|
30
|
-
throw new Error('TxClient:sendMsgSoftwareUpgrade: Unable to sign Tx. Signer is not present.');
|
|
31
|
-
}
|
|
32
|
-
try {
|
|
33
|
-
const { address } = (await signer.getAccounts())[0];
|
|
34
|
-
const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
|
|
35
|
-
let msg = this.msgSoftwareUpgrade({ value: MsgSoftwareUpgrade.fromPartial(value) });
|
|
36
|
-
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
|
|
37
|
-
}
|
|
38
|
-
catch (e) {
|
|
39
|
-
throw new Error('TxClient:sendMsgSoftwareUpgrade: Could not broadcast Tx: ' + e.message);
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
async sendMsgCancelUpgrade({ value, fee, memo }) {
|
|
43
|
-
if (!signer) {
|
|
44
|
-
throw new Error('TxClient:sendMsgCancelUpgrade: Unable to sign Tx. Signer is not present.');
|
|
45
|
-
}
|
|
46
|
-
try {
|
|
47
|
-
const { address } = (await signer.getAccounts())[0];
|
|
48
|
-
const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
|
|
49
|
-
let msg = this.msgCancelUpgrade({ value: MsgCancelUpgrade.fromPartial(value) });
|
|
50
|
-
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
|
|
51
|
-
}
|
|
52
|
-
catch (e) {
|
|
53
|
-
throw new Error('TxClient:sendMsgCancelUpgrade: Could not broadcast Tx: ' + e.message);
|
|
54
|
-
}
|
|
55
|
-
},
|
|
56
|
-
msgSoftwareUpgrade({ value }) {
|
|
57
|
-
try {
|
|
58
|
-
return { typeUrl: "/cosmos.upgrade.v1beta1.MsgSoftwareUpgrade", value: MsgSoftwareUpgrade.fromPartial(value) };
|
|
59
|
-
}
|
|
60
|
-
catch (e) {
|
|
61
|
-
throw new Error('TxClient:MsgSoftwareUpgrade: Could not create message: ' + e.message);
|
|
62
|
-
}
|
|
63
|
-
},
|
|
64
|
-
msgCancelUpgrade({ value }) {
|
|
65
|
-
try {
|
|
66
|
-
return { typeUrl: "/cosmos.upgrade.v1beta1.MsgCancelUpgrade", value: MsgCancelUpgrade.fromPartial(value) };
|
|
67
|
-
}
|
|
68
|
-
catch (e) {
|
|
69
|
-
throw new Error('TxClient:MsgCancelUpgrade: Could not create message: ' + e.message);
|
|
70
|
-
}
|
|
71
|
-
},
|
|
72
|
-
};
|
|
73
|
-
};
|
|
74
|
-
export const queryClient = ({ addr: addr } = { addr: "http://localhost:1317" }) => {
|
|
75
|
-
return new Api({ baseURL: addr });
|
|
76
|
-
};
|
|
77
|
-
class SDKModule {
|
|
78
|
-
constructor(client) {
|
|
79
|
-
this.registry = [];
|
|
80
|
-
this.query = queryClient({ addr: client.env.apiURL });
|
|
81
|
-
this.updateTX(client);
|
|
82
|
-
this.structure = {
|
|
83
|
-
Plan: getStructure(typePlan.fromPartial({})),
|
|
84
|
-
SoftwareUpgradeProposal: getStructure(typeSoftwareUpgradeProposal.fromPartial({})),
|
|
85
|
-
CancelSoftwareUpgradeProposal: getStructure(typeCancelSoftwareUpgradeProposal.fromPartial({})),
|
|
86
|
-
ModuleVersion: getStructure(typeModuleVersion.fromPartial({})),
|
|
87
|
-
};
|
|
88
|
-
client.on('signer-changed', (signer) => {
|
|
89
|
-
this.updateTX(client);
|
|
90
|
-
});
|
|
91
|
-
}
|
|
92
|
-
updateTX(client) {
|
|
93
|
-
const methods = txClient({
|
|
94
|
-
signer: client.signer,
|
|
95
|
-
addr: client.env.rpcURL,
|
|
96
|
-
prefix: client.env.prefix ?? "cosmos",
|
|
97
|
-
});
|
|
98
|
-
this.tx = methods;
|
|
99
|
-
for (let m in methods) {
|
|
100
|
-
this.tx[m] = methods[m].bind(this.tx);
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
;
|
|
105
|
-
const Module = (test) => {
|
|
106
|
-
return {
|
|
107
|
-
module: {
|
|
108
|
-
CosmosUpgradeV1Beta1: new SDKModule(test)
|
|
109
|
-
},
|
|
110
|
-
registry: msgTypes
|
|
111
|
-
};
|
|
112
|
-
};
|
|
113
|
-
export default Module;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { MsgSoftwareUpgrade } from "./types/cosmos/upgrade/v1beta1/tx";
|
|
2
|
-
import { MsgCancelUpgrade } from "./types/cosmos/upgrade/v1beta1/tx";
|
|
3
|
-
const msgTypes = [
|
|
4
|
-
["/cosmos.upgrade.v1beta1.MsgSoftwareUpgrade", MsgSoftwareUpgrade],
|
|
5
|
-
["/cosmos.upgrade.v1beta1.MsgCancelUpgrade", MsgCancelUpgrade],
|
|
6
|
-
];
|
|
7
|
-
export { msgTypes };
|
|
@@ -1,162 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/*
|
|
4
|
-
* ---------------------------------------------------------------
|
|
5
|
-
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
6
|
-
* ## ##
|
|
7
|
-
* ## AUTHOR: acacode ##
|
|
8
|
-
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
9
|
-
* ---------------------------------------------------------------
|
|
10
|
-
*/
|
|
11
|
-
import axios from "axios";
|
|
12
|
-
export var ContentType;
|
|
13
|
-
(function (ContentType) {
|
|
14
|
-
ContentType["Json"] = "application/json";
|
|
15
|
-
ContentType["FormData"] = "multipart/form-data";
|
|
16
|
-
ContentType["UrlEncoded"] = "application/x-www-form-urlencoded";
|
|
17
|
-
})(ContentType || (ContentType = {}));
|
|
18
|
-
export class HttpClient {
|
|
19
|
-
constructor({ securityWorker, secure, format, ...axiosConfig } = {}) {
|
|
20
|
-
this.securityData = null;
|
|
21
|
-
this.setSecurityData = (data) => {
|
|
22
|
-
this.securityData = data;
|
|
23
|
-
};
|
|
24
|
-
this.request = async ({ secure, path, type, query, format, body, ...params }) => {
|
|
25
|
-
const secureParams = ((typeof secure === "boolean" ? secure : this.secure) &&
|
|
26
|
-
this.securityWorker &&
|
|
27
|
-
(await this.securityWorker(this.securityData))) ||
|
|
28
|
-
{};
|
|
29
|
-
const requestParams = this.mergeRequestParams(params, secureParams);
|
|
30
|
-
const responseFormat = (format && this.format) || void 0;
|
|
31
|
-
if (type === ContentType.FormData && body && body !== null && typeof body === "object") {
|
|
32
|
-
requestParams.headers.common = { Accept: "*/*" };
|
|
33
|
-
requestParams.headers.post = {};
|
|
34
|
-
requestParams.headers.put = {};
|
|
35
|
-
body = this.createFormData(body);
|
|
36
|
-
}
|
|
37
|
-
return this.instance.request({
|
|
38
|
-
...requestParams,
|
|
39
|
-
headers: {
|
|
40
|
-
...(type && type !== ContentType.FormData ? { "Content-Type": type } : {}),
|
|
41
|
-
...(requestParams.headers || {}),
|
|
42
|
-
},
|
|
43
|
-
params: query,
|
|
44
|
-
responseType: responseFormat,
|
|
45
|
-
data: body,
|
|
46
|
-
url: path,
|
|
47
|
-
});
|
|
48
|
-
};
|
|
49
|
-
this.instance = axios.create({ ...axiosConfig, baseURL: axiosConfig.baseURL || "" });
|
|
50
|
-
this.secure = secure;
|
|
51
|
-
this.format = format;
|
|
52
|
-
this.securityWorker = securityWorker;
|
|
53
|
-
}
|
|
54
|
-
mergeRequestParams(params1, params2) {
|
|
55
|
-
return {
|
|
56
|
-
...this.instance.defaults,
|
|
57
|
-
...params1,
|
|
58
|
-
...(params2 || {}),
|
|
59
|
-
headers: {
|
|
60
|
-
...(this.instance.defaults.headers || {}),
|
|
61
|
-
...(params1.headers || {}),
|
|
62
|
-
...((params2 && params2.headers) || {}),
|
|
63
|
-
},
|
|
64
|
-
};
|
|
65
|
-
}
|
|
66
|
-
createFormData(input) {
|
|
67
|
-
return Object.keys(input || {}).reduce((formData, key) => {
|
|
68
|
-
const property = input[key];
|
|
69
|
-
formData.append(key, property instanceof Blob
|
|
70
|
-
? property
|
|
71
|
-
: typeof property === "object" && property !== null
|
|
72
|
-
? JSON.stringify(property)
|
|
73
|
-
: `${property}`);
|
|
74
|
-
return formData;
|
|
75
|
-
}, new FormData());
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
/**
|
|
79
|
-
* @title cosmos/upgrade/v1beta1/query.proto
|
|
80
|
-
* @version version not set
|
|
81
|
-
*/
|
|
82
|
-
export class Api extends HttpClient {
|
|
83
|
-
constructor() {
|
|
84
|
-
super(...arguments);
|
|
85
|
-
/**
|
|
86
|
-
* No description
|
|
87
|
-
*
|
|
88
|
-
* @tags Query
|
|
89
|
-
* @name QueryAppliedPlan
|
|
90
|
-
* @summary AppliedPlan queries a previously applied upgrade plan by its name.
|
|
91
|
-
* @request GET:/cosmos/upgrade/v1beta1/applied_plan/{name}
|
|
92
|
-
*/
|
|
93
|
-
this.queryAppliedPlan = (name, params = {}) => this.request({
|
|
94
|
-
path: `/cosmos/upgrade/v1beta1/applied_plan/${name}`,
|
|
95
|
-
method: "GET",
|
|
96
|
-
format: "json",
|
|
97
|
-
...params,
|
|
98
|
-
});
|
|
99
|
-
/**
|
|
100
|
-
* @description Since: cosmos-sdk 0.46
|
|
101
|
-
*
|
|
102
|
-
* @tags Query
|
|
103
|
-
* @name QueryAuthority
|
|
104
|
-
* @summary Returns the account with authority to conduct upgrades
|
|
105
|
-
* @request GET:/cosmos/upgrade/v1beta1/authority
|
|
106
|
-
*/
|
|
107
|
-
this.queryAuthority = (params = {}) => this.request({
|
|
108
|
-
path: `/cosmos/upgrade/v1beta1/authority`,
|
|
109
|
-
method: "GET",
|
|
110
|
-
format: "json",
|
|
111
|
-
...params,
|
|
112
|
-
});
|
|
113
|
-
/**
|
|
114
|
-
* No description
|
|
115
|
-
*
|
|
116
|
-
* @tags Query
|
|
117
|
-
* @name QueryCurrentPlan
|
|
118
|
-
* @summary CurrentPlan queries the current upgrade plan.
|
|
119
|
-
* @request GET:/cosmos/upgrade/v1beta1/current_plan
|
|
120
|
-
*/
|
|
121
|
-
this.queryCurrentPlan = (params = {}) => this.request({
|
|
122
|
-
path: `/cosmos/upgrade/v1beta1/current_plan`,
|
|
123
|
-
method: "GET",
|
|
124
|
-
format: "json",
|
|
125
|
-
...params,
|
|
126
|
-
});
|
|
127
|
-
/**
|
|
128
|
-
* @description Since: cosmos-sdk 0.43
|
|
129
|
-
*
|
|
130
|
-
* @tags Query
|
|
131
|
-
* @name QueryModuleVersions
|
|
132
|
-
* @summary ModuleVersions queries the list of module versions from state.
|
|
133
|
-
* @request GET:/cosmos/upgrade/v1beta1/module_versions
|
|
134
|
-
*/
|
|
135
|
-
this.queryModuleVersions = (query, params = {}) => this.request({
|
|
136
|
-
path: `/cosmos/upgrade/v1beta1/module_versions`,
|
|
137
|
-
method: "GET",
|
|
138
|
-
query: query,
|
|
139
|
-
format: "json",
|
|
140
|
-
...params,
|
|
141
|
-
});
|
|
142
|
-
/**
|
|
143
|
-
* No description
|
|
144
|
-
*
|
|
145
|
-
* @tags Query
|
|
146
|
-
* @name QueryUpgradedConsensusState
|
|
147
|
-
* @summary UpgradedConsensusState queries the consensus state that will serve
|
|
148
|
-
as a trusted kernel for the next version of this chain. It will only be
|
|
149
|
-
stored at the last height of this chain.
|
|
150
|
-
UpgradedConsensusState RPC not supported with legacy querier
|
|
151
|
-
This rpc is deprecated now that IBC has its own replacement
|
|
152
|
-
(https://github.com/cosmos/ibc-go/blob/2c880a22e9f9cc75f62b527ca94aa75ce1106001/proto/ibc/core/client/v1/query.proto#L54)
|
|
153
|
-
* @request GET:/cosmos/upgrade/v1beta1/upgraded_consensus_state/{last_height}
|
|
154
|
-
*/
|
|
155
|
-
this.queryUpgradedConsensusState = (lastHeight, params = {}) => this.request({
|
|
156
|
-
path: `/cosmos/upgrade/v1beta1/upgraded_consensus_state/${lastHeight}`,
|
|
157
|
-
method: "GET",
|
|
158
|
-
format: "json",
|
|
159
|
-
...params,
|
|
160
|
-
});
|
|
161
|
-
}
|
|
162
|
-
}
|