@iconlake/client 0.1.1 → 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 +9 -6
- package/types.d.ts +21 -0
- 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,1160 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
import Long from "long";
|
|
3
|
-
import _m0 from "protobufjs/minimal";
|
|
4
|
-
import { Block } from "../../../tendermint/types/block";
|
|
5
|
-
import { BlockID } from "../../../tendermint/types/types";
|
|
6
|
-
import { GasInfo, Result, TxResponse } from "../../base/abci/v1beta1/abci";
|
|
7
|
-
import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination";
|
|
8
|
-
import { Tx } from "./tx";
|
|
9
|
-
export const protobufPackage = "cosmos.tx.v1beta1";
|
|
10
|
-
/** OrderBy defines the sorting order */
|
|
11
|
-
export var OrderBy;
|
|
12
|
-
(function (OrderBy) {
|
|
13
|
-
/** ORDER_BY_UNSPECIFIED - ORDER_BY_UNSPECIFIED specifies an unknown sorting order. OrderBy defaults to ASC in this case. */
|
|
14
|
-
OrderBy[OrderBy["ORDER_BY_UNSPECIFIED"] = 0] = "ORDER_BY_UNSPECIFIED";
|
|
15
|
-
/** ORDER_BY_ASC - ORDER_BY_ASC defines ascending order */
|
|
16
|
-
OrderBy[OrderBy["ORDER_BY_ASC"] = 1] = "ORDER_BY_ASC";
|
|
17
|
-
/** ORDER_BY_DESC - ORDER_BY_DESC defines descending order */
|
|
18
|
-
OrderBy[OrderBy["ORDER_BY_DESC"] = 2] = "ORDER_BY_DESC";
|
|
19
|
-
OrderBy[OrderBy["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
20
|
-
})(OrderBy || (OrderBy = {}));
|
|
21
|
-
export function orderByFromJSON(object) {
|
|
22
|
-
switch (object) {
|
|
23
|
-
case 0:
|
|
24
|
-
case "ORDER_BY_UNSPECIFIED":
|
|
25
|
-
return OrderBy.ORDER_BY_UNSPECIFIED;
|
|
26
|
-
case 1:
|
|
27
|
-
case "ORDER_BY_ASC":
|
|
28
|
-
return OrderBy.ORDER_BY_ASC;
|
|
29
|
-
case 2:
|
|
30
|
-
case "ORDER_BY_DESC":
|
|
31
|
-
return OrderBy.ORDER_BY_DESC;
|
|
32
|
-
case -1:
|
|
33
|
-
case "UNRECOGNIZED":
|
|
34
|
-
default:
|
|
35
|
-
return OrderBy.UNRECOGNIZED;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
export function orderByToJSON(object) {
|
|
39
|
-
switch (object) {
|
|
40
|
-
case OrderBy.ORDER_BY_UNSPECIFIED:
|
|
41
|
-
return "ORDER_BY_UNSPECIFIED";
|
|
42
|
-
case OrderBy.ORDER_BY_ASC:
|
|
43
|
-
return "ORDER_BY_ASC";
|
|
44
|
-
case OrderBy.ORDER_BY_DESC:
|
|
45
|
-
return "ORDER_BY_DESC";
|
|
46
|
-
case OrderBy.UNRECOGNIZED:
|
|
47
|
-
default:
|
|
48
|
-
return "UNRECOGNIZED";
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
/** BroadcastMode specifies the broadcast mode for the TxService.Broadcast RPC method. */
|
|
52
|
-
export var BroadcastMode;
|
|
53
|
-
(function (BroadcastMode) {
|
|
54
|
-
/** BROADCAST_MODE_UNSPECIFIED - zero-value for mode ordering */
|
|
55
|
-
BroadcastMode[BroadcastMode["BROADCAST_MODE_UNSPECIFIED"] = 0] = "BROADCAST_MODE_UNSPECIFIED";
|
|
56
|
-
/**
|
|
57
|
-
* BROADCAST_MODE_BLOCK - DEPRECATED: use BROADCAST_MODE_SYNC instead,
|
|
58
|
-
* BROADCAST_MODE_BLOCK is not supported by the SDK from v0.47.x onwards.
|
|
59
|
-
*
|
|
60
|
-
* @deprecated
|
|
61
|
-
*/
|
|
62
|
-
BroadcastMode[BroadcastMode["BROADCAST_MODE_BLOCK"] = 1] = "BROADCAST_MODE_BLOCK";
|
|
63
|
-
/**
|
|
64
|
-
* BROADCAST_MODE_SYNC - BROADCAST_MODE_SYNC defines a tx broadcasting mode where the client waits for
|
|
65
|
-
* a CheckTx execution response only.
|
|
66
|
-
*/
|
|
67
|
-
BroadcastMode[BroadcastMode["BROADCAST_MODE_SYNC"] = 2] = "BROADCAST_MODE_SYNC";
|
|
68
|
-
/**
|
|
69
|
-
* BROADCAST_MODE_ASYNC - BROADCAST_MODE_ASYNC defines a tx broadcasting mode where the client returns
|
|
70
|
-
* immediately.
|
|
71
|
-
*/
|
|
72
|
-
BroadcastMode[BroadcastMode["BROADCAST_MODE_ASYNC"] = 3] = "BROADCAST_MODE_ASYNC";
|
|
73
|
-
BroadcastMode[BroadcastMode["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
74
|
-
})(BroadcastMode || (BroadcastMode = {}));
|
|
75
|
-
export function broadcastModeFromJSON(object) {
|
|
76
|
-
switch (object) {
|
|
77
|
-
case 0:
|
|
78
|
-
case "BROADCAST_MODE_UNSPECIFIED":
|
|
79
|
-
return BroadcastMode.BROADCAST_MODE_UNSPECIFIED;
|
|
80
|
-
case 1:
|
|
81
|
-
case "BROADCAST_MODE_BLOCK":
|
|
82
|
-
return BroadcastMode.BROADCAST_MODE_BLOCK;
|
|
83
|
-
case 2:
|
|
84
|
-
case "BROADCAST_MODE_SYNC":
|
|
85
|
-
return BroadcastMode.BROADCAST_MODE_SYNC;
|
|
86
|
-
case 3:
|
|
87
|
-
case "BROADCAST_MODE_ASYNC":
|
|
88
|
-
return BroadcastMode.BROADCAST_MODE_ASYNC;
|
|
89
|
-
case -1:
|
|
90
|
-
case "UNRECOGNIZED":
|
|
91
|
-
default:
|
|
92
|
-
return BroadcastMode.UNRECOGNIZED;
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
export function broadcastModeToJSON(object) {
|
|
96
|
-
switch (object) {
|
|
97
|
-
case BroadcastMode.BROADCAST_MODE_UNSPECIFIED:
|
|
98
|
-
return "BROADCAST_MODE_UNSPECIFIED";
|
|
99
|
-
case BroadcastMode.BROADCAST_MODE_BLOCK:
|
|
100
|
-
return "BROADCAST_MODE_BLOCK";
|
|
101
|
-
case BroadcastMode.BROADCAST_MODE_SYNC:
|
|
102
|
-
return "BROADCAST_MODE_SYNC";
|
|
103
|
-
case BroadcastMode.BROADCAST_MODE_ASYNC:
|
|
104
|
-
return "BROADCAST_MODE_ASYNC";
|
|
105
|
-
case BroadcastMode.UNRECOGNIZED:
|
|
106
|
-
default:
|
|
107
|
-
return "UNRECOGNIZED";
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
function createBaseGetTxsEventRequest() {
|
|
111
|
-
return { events: [], pagination: undefined, orderBy: 0, page: 0, limit: 0 };
|
|
112
|
-
}
|
|
113
|
-
export const GetTxsEventRequest = {
|
|
114
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
115
|
-
for (const v of message.events) {
|
|
116
|
-
writer.uint32(10).string(v);
|
|
117
|
-
}
|
|
118
|
-
if (message.pagination !== undefined) {
|
|
119
|
-
PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
|
120
|
-
}
|
|
121
|
-
if (message.orderBy !== 0) {
|
|
122
|
-
writer.uint32(24).int32(message.orderBy);
|
|
123
|
-
}
|
|
124
|
-
if (message.page !== 0) {
|
|
125
|
-
writer.uint32(32).uint64(message.page);
|
|
126
|
-
}
|
|
127
|
-
if (message.limit !== 0) {
|
|
128
|
-
writer.uint32(40).uint64(message.limit);
|
|
129
|
-
}
|
|
130
|
-
return writer;
|
|
131
|
-
},
|
|
132
|
-
decode(input, length) {
|
|
133
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
134
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
135
|
-
const message = createBaseGetTxsEventRequest();
|
|
136
|
-
while (reader.pos < end) {
|
|
137
|
-
const tag = reader.uint32();
|
|
138
|
-
switch (tag >>> 3) {
|
|
139
|
-
case 1:
|
|
140
|
-
message.events.push(reader.string());
|
|
141
|
-
break;
|
|
142
|
-
case 2:
|
|
143
|
-
message.pagination = PageRequest.decode(reader, reader.uint32());
|
|
144
|
-
break;
|
|
145
|
-
case 3:
|
|
146
|
-
message.orderBy = reader.int32();
|
|
147
|
-
break;
|
|
148
|
-
case 4:
|
|
149
|
-
message.page = longToNumber(reader.uint64());
|
|
150
|
-
break;
|
|
151
|
-
case 5:
|
|
152
|
-
message.limit = longToNumber(reader.uint64());
|
|
153
|
-
break;
|
|
154
|
-
default:
|
|
155
|
-
reader.skipType(tag & 7);
|
|
156
|
-
break;
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
return message;
|
|
160
|
-
},
|
|
161
|
-
fromJSON(object) {
|
|
162
|
-
return {
|
|
163
|
-
events: Array.isArray(object?.events) ? object.events.map((e) => String(e)) : [],
|
|
164
|
-
pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined,
|
|
165
|
-
orderBy: isSet(object.orderBy) ? orderByFromJSON(object.orderBy) : 0,
|
|
166
|
-
page: isSet(object.page) ? Number(object.page) : 0,
|
|
167
|
-
limit: isSet(object.limit) ? Number(object.limit) : 0,
|
|
168
|
-
};
|
|
169
|
-
},
|
|
170
|
-
toJSON(message) {
|
|
171
|
-
const obj = {};
|
|
172
|
-
if (message.events) {
|
|
173
|
-
obj.events = message.events.map((e) => e);
|
|
174
|
-
}
|
|
175
|
-
else {
|
|
176
|
-
obj.events = [];
|
|
177
|
-
}
|
|
178
|
-
message.pagination !== undefined
|
|
179
|
-
&& (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined);
|
|
180
|
-
message.orderBy !== undefined && (obj.orderBy = orderByToJSON(message.orderBy));
|
|
181
|
-
message.page !== undefined && (obj.page = Math.round(message.page));
|
|
182
|
-
message.limit !== undefined && (obj.limit = Math.round(message.limit));
|
|
183
|
-
return obj;
|
|
184
|
-
},
|
|
185
|
-
fromPartial(object) {
|
|
186
|
-
const message = createBaseGetTxsEventRequest();
|
|
187
|
-
message.events = object.events?.map((e) => e) || [];
|
|
188
|
-
message.pagination = (object.pagination !== undefined && object.pagination !== null)
|
|
189
|
-
? PageRequest.fromPartial(object.pagination)
|
|
190
|
-
: undefined;
|
|
191
|
-
message.orderBy = object.orderBy ?? 0;
|
|
192
|
-
message.page = object.page ?? 0;
|
|
193
|
-
message.limit = object.limit ?? 0;
|
|
194
|
-
return message;
|
|
195
|
-
},
|
|
196
|
-
};
|
|
197
|
-
function createBaseGetTxsEventResponse() {
|
|
198
|
-
return { txs: [], txResponses: [], pagination: undefined, total: 0 };
|
|
199
|
-
}
|
|
200
|
-
export const GetTxsEventResponse = {
|
|
201
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
202
|
-
for (const v of message.txs) {
|
|
203
|
-
Tx.encode(v, writer.uint32(10).fork()).ldelim();
|
|
204
|
-
}
|
|
205
|
-
for (const v of message.txResponses) {
|
|
206
|
-
TxResponse.encode(v, writer.uint32(18).fork()).ldelim();
|
|
207
|
-
}
|
|
208
|
-
if (message.pagination !== undefined) {
|
|
209
|
-
PageResponse.encode(message.pagination, writer.uint32(26).fork()).ldelim();
|
|
210
|
-
}
|
|
211
|
-
if (message.total !== 0) {
|
|
212
|
-
writer.uint32(32).uint64(message.total);
|
|
213
|
-
}
|
|
214
|
-
return writer;
|
|
215
|
-
},
|
|
216
|
-
decode(input, length) {
|
|
217
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
218
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
219
|
-
const message = createBaseGetTxsEventResponse();
|
|
220
|
-
while (reader.pos < end) {
|
|
221
|
-
const tag = reader.uint32();
|
|
222
|
-
switch (tag >>> 3) {
|
|
223
|
-
case 1:
|
|
224
|
-
message.txs.push(Tx.decode(reader, reader.uint32()));
|
|
225
|
-
break;
|
|
226
|
-
case 2:
|
|
227
|
-
message.txResponses.push(TxResponse.decode(reader, reader.uint32()));
|
|
228
|
-
break;
|
|
229
|
-
case 3:
|
|
230
|
-
message.pagination = PageResponse.decode(reader, reader.uint32());
|
|
231
|
-
break;
|
|
232
|
-
case 4:
|
|
233
|
-
message.total = longToNumber(reader.uint64());
|
|
234
|
-
break;
|
|
235
|
-
default:
|
|
236
|
-
reader.skipType(tag & 7);
|
|
237
|
-
break;
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
return message;
|
|
241
|
-
},
|
|
242
|
-
fromJSON(object) {
|
|
243
|
-
return {
|
|
244
|
-
txs: Array.isArray(object?.txs) ? object.txs.map((e) => Tx.fromJSON(e)) : [],
|
|
245
|
-
txResponses: Array.isArray(object?.txResponses) ? object.txResponses.map((e) => TxResponse.fromJSON(e)) : [],
|
|
246
|
-
pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined,
|
|
247
|
-
total: isSet(object.total) ? Number(object.total) : 0,
|
|
248
|
-
};
|
|
249
|
-
},
|
|
250
|
-
toJSON(message) {
|
|
251
|
-
const obj = {};
|
|
252
|
-
if (message.txs) {
|
|
253
|
-
obj.txs = message.txs.map((e) => e ? Tx.toJSON(e) : undefined);
|
|
254
|
-
}
|
|
255
|
-
else {
|
|
256
|
-
obj.txs = [];
|
|
257
|
-
}
|
|
258
|
-
if (message.txResponses) {
|
|
259
|
-
obj.txResponses = message.txResponses.map((e) => e ? TxResponse.toJSON(e) : undefined);
|
|
260
|
-
}
|
|
261
|
-
else {
|
|
262
|
-
obj.txResponses = [];
|
|
263
|
-
}
|
|
264
|
-
message.pagination !== undefined
|
|
265
|
-
&& (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined);
|
|
266
|
-
message.total !== undefined && (obj.total = Math.round(message.total));
|
|
267
|
-
return obj;
|
|
268
|
-
},
|
|
269
|
-
fromPartial(object) {
|
|
270
|
-
const message = createBaseGetTxsEventResponse();
|
|
271
|
-
message.txs = object.txs?.map((e) => Tx.fromPartial(e)) || [];
|
|
272
|
-
message.txResponses = object.txResponses?.map((e) => TxResponse.fromPartial(e)) || [];
|
|
273
|
-
message.pagination = (object.pagination !== undefined && object.pagination !== null)
|
|
274
|
-
? PageResponse.fromPartial(object.pagination)
|
|
275
|
-
: undefined;
|
|
276
|
-
message.total = object.total ?? 0;
|
|
277
|
-
return message;
|
|
278
|
-
},
|
|
279
|
-
};
|
|
280
|
-
function createBaseBroadcastTxRequest() {
|
|
281
|
-
return { txBytes: new Uint8Array(), mode: 0 };
|
|
282
|
-
}
|
|
283
|
-
export const BroadcastTxRequest = {
|
|
284
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
285
|
-
if (message.txBytes.length !== 0) {
|
|
286
|
-
writer.uint32(10).bytes(message.txBytes);
|
|
287
|
-
}
|
|
288
|
-
if (message.mode !== 0) {
|
|
289
|
-
writer.uint32(16).int32(message.mode);
|
|
290
|
-
}
|
|
291
|
-
return writer;
|
|
292
|
-
},
|
|
293
|
-
decode(input, length) {
|
|
294
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
295
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
296
|
-
const message = createBaseBroadcastTxRequest();
|
|
297
|
-
while (reader.pos < end) {
|
|
298
|
-
const tag = reader.uint32();
|
|
299
|
-
switch (tag >>> 3) {
|
|
300
|
-
case 1:
|
|
301
|
-
message.txBytes = reader.bytes();
|
|
302
|
-
break;
|
|
303
|
-
case 2:
|
|
304
|
-
message.mode = reader.int32();
|
|
305
|
-
break;
|
|
306
|
-
default:
|
|
307
|
-
reader.skipType(tag & 7);
|
|
308
|
-
break;
|
|
309
|
-
}
|
|
310
|
-
}
|
|
311
|
-
return message;
|
|
312
|
-
},
|
|
313
|
-
fromJSON(object) {
|
|
314
|
-
return {
|
|
315
|
-
txBytes: isSet(object.txBytes) ? bytesFromBase64(object.txBytes) : new Uint8Array(),
|
|
316
|
-
mode: isSet(object.mode) ? broadcastModeFromJSON(object.mode) : 0,
|
|
317
|
-
};
|
|
318
|
-
},
|
|
319
|
-
toJSON(message) {
|
|
320
|
-
const obj = {};
|
|
321
|
-
message.txBytes !== undefined
|
|
322
|
-
&& (obj.txBytes = base64FromBytes(message.txBytes !== undefined ? message.txBytes : new Uint8Array()));
|
|
323
|
-
message.mode !== undefined && (obj.mode = broadcastModeToJSON(message.mode));
|
|
324
|
-
return obj;
|
|
325
|
-
},
|
|
326
|
-
fromPartial(object) {
|
|
327
|
-
const message = createBaseBroadcastTxRequest();
|
|
328
|
-
message.txBytes = object.txBytes ?? new Uint8Array();
|
|
329
|
-
message.mode = object.mode ?? 0;
|
|
330
|
-
return message;
|
|
331
|
-
},
|
|
332
|
-
};
|
|
333
|
-
function createBaseBroadcastTxResponse() {
|
|
334
|
-
return { txResponse: undefined };
|
|
335
|
-
}
|
|
336
|
-
export const BroadcastTxResponse = {
|
|
337
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
338
|
-
if (message.txResponse !== undefined) {
|
|
339
|
-
TxResponse.encode(message.txResponse, writer.uint32(10).fork()).ldelim();
|
|
340
|
-
}
|
|
341
|
-
return writer;
|
|
342
|
-
},
|
|
343
|
-
decode(input, length) {
|
|
344
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
345
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
346
|
-
const message = createBaseBroadcastTxResponse();
|
|
347
|
-
while (reader.pos < end) {
|
|
348
|
-
const tag = reader.uint32();
|
|
349
|
-
switch (tag >>> 3) {
|
|
350
|
-
case 1:
|
|
351
|
-
message.txResponse = TxResponse.decode(reader, reader.uint32());
|
|
352
|
-
break;
|
|
353
|
-
default:
|
|
354
|
-
reader.skipType(tag & 7);
|
|
355
|
-
break;
|
|
356
|
-
}
|
|
357
|
-
}
|
|
358
|
-
return message;
|
|
359
|
-
},
|
|
360
|
-
fromJSON(object) {
|
|
361
|
-
return { txResponse: isSet(object.txResponse) ? TxResponse.fromJSON(object.txResponse) : undefined };
|
|
362
|
-
},
|
|
363
|
-
toJSON(message) {
|
|
364
|
-
const obj = {};
|
|
365
|
-
message.txResponse !== undefined
|
|
366
|
-
&& (obj.txResponse = message.txResponse ? TxResponse.toJSON(message.txResponse) : undefined);
|
|
367
|
-
return obj;
|
|
368
|
-
},
|
|
369
|
-
fromPartial(object) {
|
|
370
|
-
const message = createBaseBroadcastTxResponse();
|
|
371
|
-
message.txResponse = (object.txResponse !== undefined && object.txResponse !== null)
|
|
372
|
-
? TxResponse.fromPartial(object.txResponse)
|
|
373
|
-
: undefined;
|
|
374
|
-
return message;
|
|
375
|
-
},
|
|
376
|
-
};
|
|
377
|
-
function createBaseSimulateRequest() {
|
|
378
|
-
return { tx: undefined, txBytes: new Uint8Array() };
|
|
379
|
-
}
|
|
380
|
-
export const SimulateRequest = {
|
|
381
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
382
|
-
if (message.tx !== undefined) {
|
|
383
|
-
Tx.encode(message.tx, writer.uint32(10).fork()).ldelim();
|
|
384
|
-
}
|
|
385
|
-
if (message.txBytes.length !== 0) {
|
|
386
|
-
writer.uint32(18).bytes(message.txBytes);
|
|
387
|
-
}
|
|
388
|
-
return writer;
|
|
389
|
-
},
|
|
390
|
-
decode(input, length) {
|
|
391
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
392
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
393
|
-
const message = createBaseSimulateRequest();
|
|
394
|
-
while (reader.pos < end) {
|
|
395
|
-
const tag = reader.uint32();
|
|
396
|
-
switch (tag >>> 3) {
|
|
397
|
-
case 1:
|
|
398
|
-
message.tx = Tx.decode(reader, reader.uint32());
|
|
399
|
-
break;
|
|
400
|
-
case 2:
|
|
401
|
-
message.txBytes = reader.bytes();
|
|
402
|
-
break;
|
|
403
|
-
default:
|
|
404
|
-
reader.skipType(tag & 7);
|
|
405
|
-
break;
|
|
406
|
-
}
|
|
407
|
-
}
|
|
408
|
-
return message;
|
|
409
|
-
},
|
|
410
|
-
fromJSON(object) {
|
|
411
|
-
return {
|
|
412
|
-
tx: isSet(object.tx) ? Tx.fromJSON(object.tx) : undefined,
|
|
413
|
-
txBytes: isSet(object.txBytes) ? bytesFromBase64(object.txBytes) : new Uint8Array(),
|
|
414
|
-
};
|
|
415
|
-
},
|
|
416
|
-
toJSON(message) {
|
|
417
|
-
const obj = {};
|
|
418
|
-
message.tx !== undefined && (obj.tx = message.tx ? Tx.toJSON(message.tx) : undefined);
|
|
419
|
-
message.txBytes !== undefined
|
|
420
|
-
&& (obj.txBytes = base64FromBytes(message.txBytes !== undefined ? message.txBytes : new Uint8Array()));
|
|
421
|
-
return obj;
|
|
422
|
-
},
|
|
423
|
-
fromPartial(object) {
|
|
424
|
-
const message = createBaseSimulateRequest();
|
|
425
|
-
message.tx = (object.tx !== undefined && object.tx !== null) ? Tx.fromPartial(object.tx) : undefined;
|
|
426
|
-
message.txBytes = object.txBytes ?? new Uint8Array();
|
|
427
|
-
return message;
|
|
428
|
-
},
|
|
429
|
-
};
|
|
430
|
-
function createBaseSimulateResponse() {
|
|
431
|
-
return { gasInfo: undefined, result: undefined };
|
|
432
|
-
}
|
|
433
|
-
export const SimulateResponse = {
|
|
434
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
435
|
-
if (message.gasInfo !== undefined) {
|
|
436
|
-
GasInfo.encode(message.gasInfo, writer.uint32(10).fork()).ldelim();
|
|
437
|
-
}
|
|
438
|
-
if (message.result !== undefined) {
|
|
439
|
-
Result.encode(message.result, writer.uint32(18).fork()).ldelim();
|
|
440
|
-
}
|
|
441
|
-
return writer;
|
|
442
|
-
},
|
|
443
|
-
decode(input, length) {
|
|
444
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
445
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
446
|
-
const message = createBaseSimulateResponse();
|
|
447
|
-
while (reader.pos < end) {
|
|
448
|
-
const tag = reader.uint32();
|
|
449
|
-
switch (tag >>> 3) {
|
|
450
|
-
case 1:
|
|
451
|
-
message.gasInfo = GasInfo.decode(reader, reader.uint32());
|
|
452
|
-
break;
|
|
453
|
-
case 2:
|
|
454
|
-
message.result = Result.decode(reader, reader.uint32());
|
|
455
|
-
break;
|
|
456
|
-
default:
|
|
457
|
-
reader.skipType(tag & 7);
|
|
458
|
-
break;
|
|
459
|
-
}
|
|
460
|
-
}
|
|
461
|
-
return message;
|
|
462
|
-
},
|
|
463
|
-
fromJSON(object) {
|
|
464
|
-
return {
|
|
465
|
-
gasInfo: isSet(object.gasInfo) ? GasInfo.fromJSON(object.gasInfo) : undefined,
|
|
466
|
-
result: isSet(object.result) ? Result.fromJSON(object.result) : undefined,
|
|
467
|
-
};
|
|
468
|
-
},
|
|
469
|
-
toJSON(message) {
|
|
470
|
-
const obj = {};
|
|
471
|
-
message.gasInfo !== undefined && (obj.gasInfo = message.gasInfo ? GasInfo.toJSON(message.gasInfo) : undefined);
|
|
472
|
-
message.result !== undefined && (obj.result = message.result ? Result.toJSON(message.result) : undefined);
|
|
473
|
-
return obj;
|
|
474
|
-
},
|
|
475
|
-
fromPartial(object) {
|
|
476
|
-
const message = createBaseSimulateResponse();
|
|
477
|
-
message.gasInfo = (object.gasInfo !== undefined && object.gasInfo !== null)
|
|
478
|
-
? GasInfo.fromPartial(object.gasInfo)
|
|
479
|
-
: undefined;
|
|
480
|
-
message.result = (object.result !== undefined && object.result !== null)
|
|
481
|
-
? Result.fromPartial(object.result)
|
|
482
|
-
: undefined;
|
|
483
|
-
return message;
|
|
484
|
-
},
|
|
485
|
-
};
|
|
486
|
-
function createBaseGetTxRequest() {
|
|
487
|
-
return { hash: "" };
|
|
488
|
-
}
|
|
489
|
-
export const GetTxRequest = {
|
|
490
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
491
|
-
if (message.hash !== "") {
|
|
492
|
-
writer.uint32(10).string(message.hash);
|
|
493
|
-
}
|
|
494
|
-
return writer;
|
|
495
|
-
},
|
|
496
|
-
decode(input, length) {
|
|
497
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
498
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
499
|
-
const message = createBaseGetTxRequest();
|
|
500
|
-
while (reader.pos < end) {
|
|
501
|
-
const tag = reader.uint32();
|
|
502
|
-
switch (tag >>> 3) {
|
|
503
|
-
case 1:
|
|
504
|
-
message.hash = reader.string();
|
|
505
|
-
break;
|
|
506
|
-
default:
|
|
507
|
-
reader.skipType(tag & 7);
|
|
508
|
-
break;
|
|
509
|
-
}
|
|
510
|
-
}
|
|
511
|
-
return message;
|
|
512
|
-
},
|
|
513
|
-
fromJSON(object) {
|
|
514
|
-
return { hash: isSet(object.hash) ? String(object.hash) : "" };
|
|
515
|
-
},
|
|
516
|
-
toJSON(message) {
|
|
517
|
-
const obj = {};
|
|
518
|
-
message.hash !== undefined && (obj.hash = message.hash);
|
|
519
|
-
return obj;
|
|
520
|
-
},
|
|
521
|
-
fromPartial(object) {
|
|
522
|
-
const message = createBaseGetTxRequest();
|
|
523
|
-
message.hash = object.hash ?? "";
|
|
524
|
-
return message;
|
|
525
|
-
},
|
|
526
|
-
};
|
|
527
|
-
function createBaseGetTxResponse() {
|
|
528
|
-
return { tx: undefined, txResponse: undefined };
|
|
529
|
-
}
|
|
530
|
-
export const GetTxResponse = {
|
|
531
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
532
|
-
if (message.tx !== undefined) {
|
|
533
|
-
Tx.encode(message.tx, writer.uint32(10).fork()).ldelim();
|
|
534
|
-
}
|
|
535
|
-
if (message.txResponse !== undefined) {
|
|
536
|
-
TxResponse.encode(message.txResponse, writer.uint32(18).fork()).ldelim();
|
|
537
|
-
}
|
|
538
|
-
return writer;
|
|
539
|
-
},
|
|
540
|
-
decode(input, length) {
|
|
541
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
542
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
543
|
-
const message = createBaseGetTxResponse();
|
|
544
|
-
while (reader.pos < end) {
|
|
545
|
-
const tag = reader.uint32();
|
|
546
|
-
switch (tag >>> 3) {
|
|
547
|
-
case 1:
|
|
548
|
-
message.tx = Tx.decode(reader, reader.uint32());
|
|
549
|
-
break;
|
|
550
|
-
case 2:
|
|
551
|
-
message.txResponse = TxResponse.decode(reader, reader.uint32());
|
|
552
|
-
break;
|
|
553
|
-
default:
|
|
554
|
-
reader.skipType(tag & 7);
|
|
555
|
-
break;
|
|
556
|
-
}
|
|
557
|
-
}
|
|
558
|
-
return message;
|
|
559
|
-
},
|
|
560
|
-
fromJSON(object) {
|
|
561
|
-
return {
|
|
562
|
-
tx: isSet(object.tx) ? Tx.fromJSON(object.tx) : undefined,
|
|
563
|
-
txResponse: isSet(object.txResponse) ? TxResponse.fromJSON(object.txResponse) : undefined,
|
|
564
|
-
};
|
|
565
|
-
},
|
|
566
|
-
toJSON(message) {
|
|
567
|
-
const obj = {};
|
|
568
|
-
message.tx !== undefined && (obj.tx = message.tx ? Tx.toJSON(message.tx) : undefined);
|
|
569
|
-
message.txResponse !== undefined
|
|
570
|
-
&& (obj.txResponse = message.txResponse ? TxResponse.toJSON(message.txResponse) : undefined);
|
|
571
|
-
return obj;
|
|
572
|
-
},
|
|
573
|
-
fromPartial(object) {
|
|
574
|
-
const message = createBaseGetTxResponse();
|
|
575
|
-
message.tx = (object.tx !== undefined && object.tx !== null) ? Tx.fromPartial(object.tx) : undefined;
|
|
576
|
-
message.txResponse = (object.txResponse !== undefined && object.txResponse !== null)
|
|
577
|
-
? TxResponse.fromPartial(object.txResponse)
|
|
578
|
-
: undefined;
|
|
579
|
-
return message;
|
|
580
|
-
},
|
|
581
|
-
};
|
|
582
|
-
function createBaseGetBlockWithTxsRequest() {
|
|
583
|
-
return { height: 0, pagination: undefined };
|
|
584
|
-
}
|
|
585
|
-
export const GetBlockWithTxsRequest = {
|
|
586
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
587
|
-
if (message.height !== 0) {
|
|
588
|
-
writer.uint32(8).int64(message.height);
|
|
589
|
-
}
|
|
590
|
-
if (message.pagination !== undefined) {
|
|
591
|
-
PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
|
592
|
-
}
|
|
593
|
-
return writer;
|
|
594
|
-
},
|
|
595
|
-
decode(input, length) {
|
|
596
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
597
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
598
|
-
const message = createBaseGetBlockWithTxsRequest();
|
|
599
|
-
while (reader.pos < end) {
|
|
600
|
-
const tag = reader.uint32();
|
|
601
|
-
switch (tag >>> 3) {
|
|
602
|
-
case 1:
|
|
603
|
-
message.height = longToNumber(reader.int64());
|
|
604
|
-
break;
|
|
605
|
-
case 2:
|
|
606
|
-
message.pagination = PageRequest.decode(reader, reader.uint32());
|
|
607
|
-
break;
|
|
608
|
-
default:
|
|
609
|
-
reader.skipType(tag & 7);
|
|
610
|
-
break;
|
|
611
|
-
}
|
|
612
|
-
}
|
|
613
|
-
return message;
|
|
614
|
-
},
|
|
615
|
-
fromJSON(object) {
|
|
616
|
-
return {
|
|
617
|
-
height: isSet(object.height) ? Number(object.height) : 0,
|
|
618
|
-
pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined,
|
|
619
|
-
};
|
|
620
|
-
},
|
|
621
|
-
toJSON(message) {
|
|
622
|
-
const obj = {};
|
|
623
|
-
message.height !== undefined && (obj.height = Math.round(message.height));
|
|
624
|
-
message.pagination !== undefined
|
|
625
|
-
&& (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined);
|
|
626
|
-
return obj;
|
|
627
|
-
},
|
|
628
|
-
fromPartial(object) {
|
|
629
|
-
const message = createBaseGetBlockWithTxsRequest();
|
|
630
|
-
message.height = object.height ?? 0;
|
|
631
|
-
message.pagination = (object.pagination !== undefined && object.pagination !== null)
|
|
632
|
-
? PageRequest.fromPartial(object.pagination)
|
|
633
|
-
: undefined;
|
|
634
|
-
return message;
|
|
635
|
-
},
|
|
636
|
-
};
|
|
637
|
-
function createBaseGetBlockWithTxsResponse() {
|
|
638
|
-
return { txs: [], blockId: undefined, block: undefined, pagination: undefined };
|
|
639
|
-
}
|
|
640
|
-
export const GetBlockWithTxsResponse = {
|
|
641
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
642
|
-
for (const v of message.txs) {
|
|
643
|
-
Tx.encode(v, writer.uint32(10).fork()).ldelim();
|
|
644
|
-
}
|
|
645
|
-
if (message.blockId !== undefined) {
|
|
646
|
-
BlockID.encode(message.blockId, writer.uint32(18).fork()).ldelim();
|
|
647
|
-
}
|
|
648
|
-
if (message.block !== undefined) {
|
|
649
|
-
Block.encode(message.block, writer.uint32(26).fork()).ldelim();
|
|
650
|
-
}
|
|
651
|
-
if (message.pagination !== undefined) {
|
|
652
|
-
PageResponse.encode(message.pagination, writer.uint32(34).fork()).ldelim();
|
|
653
|
-
}
|
|
654
|
-
return writer;
|
|
655
|
-
},
|
|
656
|
-
decode(input, length) {
|
|
657
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
658
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
659
|
-
const message = createBaseGetBlockWithTxsResponse();
|
|
660
|
-
while (reader.pos < end) {
|
|
661
|
-
const tag = reader.uint32();
|
|
662
|
-
switch (tag >>> 3) {
|
|
663
|
-
case 1:
|
|
664
|
-
message.txs.push(Tx.decode(reader, reader.uint32()));
|
|
665
|
-
break;
|
|
666
|
-
case 2:
|
|
667
|
-
message.blockId = BlockID.decode(reader, reader.uint32());
|
|
668
|
-
break;
|
|
669
|
-
case 3:
|
|
670
|
-
message.block = Block.decode(reader, reader.uint32());
|
|
671
|
-
break;
|
|
672
|
-
case 4:
|
|
673
|
-
message.pagination = PageResponse.decode(reader, reader.uint32());
|
|
674
|
-
break;
|
|
675
|
-
default:
|
|
676
|
-
reader.skipType(tag & 7);
|
|
677
|
-
break;
|
|
678
|
-
}
|
|
679
|
-
}
|
|
680
|
-
return message;
|
|
681
|
-
},
|
|
682
|
-
fromJSON(object) {
|
|
683
|
-
return {
|
|
684
|
-
txs: Array.isArray(object?.txs) ? object.txs.map((e) => Tx.fromJSON(e)) : [],
|
|
685
|
-
blockId: isSet(object.blockId) ? BlockID.fromJSON(object.blockId) : undefined,
|
|
686
|
-
block: isSet(object.block) ? Block.fromJSON(object.block) : undefined,
|
|
687
|
-
pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined,
|
|
688
|
-
};
|
|
689
|
-
},
|
|
690
|
-
toJSON(message) {
|
|
691
|
-
const obj = {};
|
|
692
|
-
if (message.txs) {
|
|
693
|
-
obj.txs = message.txs.map((e) => e ? Tx.toJSON(e) : undefined);
|
|
694
|
-
}
|
|
695
|
-
else {
|
|
696
|
-
obj.txs = [];
|
|
697
|
-
}
|
|
698
|
-
message.blockId !== undefined && (obj.blockId = message.blockId ? BlockID.toJSON(message.blockId) : undefined);
|
|
699
|
-
message.block !== undefined && (obj.block = message.block ? Block.toJSON(message.block) : undefined);
|
|
700
|
-
message.pagination !== undefined
|
|
701
|
-
&& (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined);
|
|
702
|
-
return obj;
|
|
703
|
-
},
|
|
704
|
-
fromPartial(object) {
|
|
705
|
-
const message = createBaseGetBlockWithTxsResponse();
|
|
706
|
-
message.txs = object.txs?.map((e) => Tx.fromPartial(e)) || [];
|
|
707
|
-
message.blockId = (object.blockId !== undefined && object.blockId !== null)
|
|
708
|
-
? BlockID.fromPartial(object.blockId)
|
|
709
|
-
: undefined;
|
|
710
|
-
message.block = (object.block !== undefined && object.block !== null) ? Block.fromPartial(object.block) : undefined;
|
|
711
|
-
message.pagination = (object.pagination !== undefined && object.pagination !== null)
|
|
712
|
-
? PageResponse.fromPartial(object.pagination)
|
|
713
|
-
: undefined;
|
|
714
|
-
return message;
|
|
715
|
-
},
|
|
716
|
-
};
|
|
717
|
-
function createBaseTxDecodeRequest() {
|
|
718
|
-
return { txBytes: new Uint8Array() };
|
|
719
|
-
}
|
|
720
|
-
export const TxDecodeRequest = {
|
|
721
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
722
|
-
if (message.txBytes.length !== 0) {
|
|
723
|
-
writer.uint32(10).bytes(message.txBytes);
|
|
724
|
-
}
|
|
725
|
-
return writer;
|
|
726
|
-
},
|
|
727
|
-
decode(input, length) {
|
|
728
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
729
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
730
|
-
const message = createBaseTxDecodeRequest();
|
|
731
|
-
while (reader.pos < end) {
|
|
732
|
-
const tag = reader.uint32();
|
|
733
|
-
switch (tag >>> 3) {
|
|
734
|
-
case 1:
|
|
735
|
-
message.txBytes = reader.bytes();
|
|
736
|
-
break;
|
|
737
|
-
default:
|
|
738
|
-
reader.skipType(tag & 7);
|
|
739
|
-
break;
|
|
740
|
-
}
|
|
741
|
-
}
|
|
742
|
-
return message;
|
|
743
|
-
},
|
|
744
|
-
fromJSON(object) {
|
|
745
|
-
return { txBytes: isSet(object.txBytes) ? bytesFromBase64(object.txBytes) : new Uint8Array() };
|
|
746
|
-
},
|
|
747
|
-
toJSON(message) {
|
|
748
|
-
const obj = {};
|
|
749
|
-
message.txBytes !== undefined
|
|
750
|
-
&& (obj.txBytes = base64FromBytes(message.txBytes !== undefined ? message.txBytes : new Uint8Array()));
|
|
751
|
-
return obj;
|
|
752
|
-
},
|
|
753
|
-
fromPartial(object) {
|
|
754
|
-
const message = createBaseTxDecodeRequest();
|
|
755
|
-
message.txBytes = object.txBytes ?? new Uint8Array();
|
|
756
|
-
return message;
|
|
757
|
-
},
|
|
758
|
-
};
|
|
759
|
-
function createBaseTxDecodeResponse() {
|
|
760
|
-
return { tx: undefined };
|
|
761
|
-
}
|
|
762
|
-
export const TxDecodeResponse = {
|
|
763
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
764
|
-
if (message.tx !== undefined) {
|
|
765
|
-
Tx.encode(message.tx, writer.uint32(10).fork()).ldelim();
|
|
766
|
-
}
|
|
767
|
-
return writer;
|
|
768
|
-
},
|
|
769
|
-
decode(input, length) {
|
|
770
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
771
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
772
|
-
const message = createBaseTxDecodeResponse();
|
|
773
|
-
while (reader.pos < end) {
|
|
774
|
-
const tag = reader.uint32();
|
|
775
|
-
switch (tag >>> 3) {
|
|
776
|
-
case 1:
|
|
777
|
-
message.tx = Tx.decode(reader, reader.uint32());
|
|
778
|
-
break;
|
|
779
|
-
default:
|
|
780
|
-
reader.skipType(tag & 7);
|
|
781
|
-
break;
|
|
782
|
-
}
|
|
783
|
-
}
|
|
784
|
-
return message;
|
|
785
|
-
},
|
|
786
|
-
fromJSON(object) {
|
|
787
|
-
return { tx: isSet(object.tx) ? Tx.fromJSON(object.tx) : undefined };
|
|
788
|
-
},
|
|
789
|
-
toJSON(message) {
|
|
790
|
-
const obj = {};
|
|
791
|
-
message.tx !== undefined && (obj.tx = message.tx ? Tx.toJSON(message.tx) : undefined);
|
|
792
|
-
return obj;
|
|
793
|
-
},
|
|
794
|
-
fromPartial(object) {
|
|
795
|
-
const message = createBaseTxDecodeResponse();
|
|
796
|
-
message.tx = (object.tx !== undefined && object.tx !== null) ? Tx.fromPartial(object.tx) : undefined;
|
|
797
|
-
return message;
|
|
798
|
-
},
|
|
799
|
-
};
|
|
800
|
-
function createBaseTxEncodeRequest() {
|
|
801
|
-
return { tx: undefined };
|
|
802
|
-
}
|
|
803
|
-
export const TxEncodeRequest = {
|
|
804
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
805
|
-
if (message.tx !== undefined) {
|
|
806
|
-
Tx.encode(message.tx, writer.uint32(10).fork()).ldelim();
|
|
807
|
-
}
|
|
808
|
-
return writer;
|
|
809
|
-
},
|
|
810
|
-
decode(input, length) {
|
|
811
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
812
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
813
|
-
const message = createBaseTxEncodeRequest();
|
|
814
|
-
while (reader.pos < end) {
|
|
815
|
-
const tag = reader.uint32();
|
|
816
|
-
switch (tag >>> 3) {
|
|
817
|
-
case 1:
|
|
818
|
-
message.tx = Tx.decode(reader, reader.uint32());
|
|
819
|
-
break;
|
|
820
|
-
default:
|
|
821
|
-
reader.skipType(tag & 7);
|
|
822
|
-
break;
|
|
823
|
-
}
|
|
824
|
-
}
|
|
825
|
-
return message;
|
|
826
|
-
},
|
|
827
|
-
fromJSON(object) {
|
|
828
|
-
return { tx: isSet(object.tx) ? Tx.fromJSON(object.tx) : undefined };
|
|
829
|
-
},
|
|
830
|
-
toJSON(message) {
|
|
831
|
-
const obj = {};
|
|
832
|
-
message.tx !== undefined && (obj.tx = message.tx ? Tx.toJSON(message.tx) : undefined);
|
|
833
|
-
return obj;
|
|
834
|
-
},
|
|
835
|
-
fromPartial(object) {
|
|
836
|
-
const message = createBaseTxEncodeRequest();
|
|
837
|
-
message.tx = (object.tx !== undefined && object.tx !== null) ? Tx.fromPartial(object.tx) : undefined;
|
|
838
|
-
return message;
|
|
839
|
-
},
|
|
840
|
-
};
|
|
841
|
-
function createBaseTxEncodeResponse() {
|
|
842
|
-
return { txBytes: new Uint8Array() };
|
|
843
|
-
}
|
|
844
|
-
export const TxEncodeResponse = {
|
|
845
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
846
|
-
if (message.txBytes.length !== 0) {
|
|
847
|
-
writer.uint32(10).bytes(message.txBytes);
|
|
848
|
-
}
|
|
849
|
-
return writer;
|
|
850
|
-
},
|
|
851
|
-
decode(input, length) {
|
|
852
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
853
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
854
|
-
const message = createBaseTxEncodeResponse();
|
|
855
|
-
while (reader.pos < end) {
|
|
856
|
-
const tag = reader.uint32();
|
|
857
|
-
switch (tag >>> 3) {
|
|
858
|
-
case 1:
|
|
859
|
-
message.txBytes = reader.bytes();
|
|
860
|
-
break;
|
|
861
|
-
default:
|
|
862
|
-
reader.skipType(tag & 7);
|
|
863
|
-
break;
|
|
864
|
-
}
|
|
865
|
-
}
|
|
866
|
-
return message;
|
|
867
|
-
},
|
|
868
|
-
fromJSON(object) {
|
|
869
|
-
return { txBytes: isSet(object.txBytes) ? bytesFromBase64(object.txBytes) : new Uint8Array() };
|
|
870
|
-
},
|
|
871
|
-
toJSON(message) {
|
|
872
|
-
const obj = {};
|
|
873
|
-
message.txBytes !== undefined
|
|
874
|
-
&& (obj.txBytes = base64FromBytes(message.txBytes !== undefined ? message.txBytes : new Uint8Array()));
|
|
875
|
-
return obj;
|
|
876
|
-
},
|
|
877
|
-
fromPartial(object) {
|
|
878
|
-
const message = createBaseTxEncodeResponse();
|
|
879
|
-
message.txBytes = object.txBytes ?? new Uint8Array();
|
|
880
|
-
return message;
|
|
881
|
-
},
|
|
882
|
-
};
|
|
883
|
-
function createBaseTxEncodeAminoRequest() {
|
|
884
|
-
return { aminoJson: "" };
|
|
885
|
-
}
|
|
886
|
-
export const TxEncodeAminoRequest = {
|
|
887
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
888
|
-
if (message.aminoJson !== "") {
|
|
889
|
-
writer.uint32(10).string(message.aminoJson);
|
|
890
|
-
}
|
|
891
|
-
return writer;
|
|
892
|
-
},
|
|
893
|
-
decode(input, length) {
|
|
894
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
895
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
896
|
-
const message = createBaseTxEncodeAminoRequest();
|
|
897
|
-
while (reader.pos < end) {
|
|
898
|
-
const tag = reader.uint32();
|
|
899
|
-
switch (tag >>> 3) {
|
|
900
|
-
case 1:
|
|
901
|
-
message.aminoJson = reader.string();
|
|
902
|
-
break;
|
|
903
|
-
default:
|
|
904
|
-
reader.skipType(tag & 7);
|
|
905
|
-
break;
|
|
906
|
-
}
|
|
907
|
-
}
|
|
908
|
-
return message;
|
|
909
|
-
},
|
|
910
|
-
fromJSON(object) {
|
|
911
|
-
return { aminoJson: isSet(object.aminoJson) ? String(object.aminoJson) : "" };
|
|
912
|
-
},
|
|
913
|
-
toJSON(message) {
|
|
914
|
-
const obj = {};
|
|
915
|
-
message.aminoJson !== undefined && (obj.aminoJson = message.aminoJson);
|
|
916
|
-
return obj;
|
|
917
|
-
},
|
|
918
|
-
fromPartial(object) {
|
|
919
|
-
const message = createBaseTxEncodeAminoRequest();
|
|
920
|
-
message.aminoJson = object.aminoJson ?? "";
|
|
921
|
-
return message;
|
|
922
|
-
},
|
|
923
|
-
};
|
|
924
|
-
function createBaseTxEncodeAminoResponse() {
|
|
925
|
-
return { aminoBinary: new Uint8Array() };
|
|
926
|
-
}
|
|
927
|
-
export const TxEncodeAminoResponse = {
|
|
928
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
929
|
-
if (message.aminoBinary.length !== 0) {
|
|
930
|
-
writer.uint32(10).bytes(message.aminoBinary);
|
|
931
|
-
}
|
|
932
|
-
return writer;
|
|
933
|
-
},
|
|
934
|
-
decode(input, length) {
|
|
935
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
936
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
937
|
-
const message = createBaseTxEncodeAminoResponse();
|
|
938
|
-
while (reader.pos < end) {
|
|
939
|
-
const tag = reader.uint32();
|
|
940
|
-
switch (tag >>> 3) {
|
|
941
|
-
case 1:
|
|
942
|
-
message.aminoBinary = reader.bytes();
|
|
943
|
-
break;
|
|
944
|
-
default:
|
|
945
|
-
reader.skipType(tag & 7);
|
|
946
|
-
break;
|
|
947
|
-
}
|
|
948
|
-
}
|
|
949
|
-
return message;
|
|
950
|
-
},
|
|
951
|
-
fromJSON(object) {
|
|
952
|
-
return { aminoBinary: isSet(object.aminoBinary) ? bytesFromBase64(object.aminoBinary) : new Uint8Array() };
|
|
953
|
-
},
|
|
954
|
-
toJSON(message) {
|
|
955
|
-
const obj = {};
|
|
956
|
-
message.aminoBinary !== undefined
|
|
957
|
-
&& (obj.aminoBinary = base64FromBytes(message.aminoBinary !== undefined ? message.aminoBinary : new Uint8Array()));
|
|
958
|
-
return obj;
|
|
959
|
-
},
|
|
960
|
-
fromPartial(object) {
|
|
961
|
-
const message = createBaseTxEncodeAminoResponse();
|
|
962
|
-
message.aminoBinary = object.aminoBinary ?? new Uint8Array();
|
|
963
|
-
return message;
|
|
964
|
-
},
|
|
965
|
-
};
|
|
966
|
-
function createBaseTxDecodeAminoRequest() {
|
|
967
|
-
return { aminoBinary: new Uint8Array() };
|
|
968
|
-
}
|
|
969
|
-
export const TxDecodeAminoRequest = {
|
|
970
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
971
|
-
if (message.aminoBinary.length !== 0) {
|
|
972
|
-
writer.uint32(10).bytes(message.aminoBinary);
|
|
973
|
-
}
|
|
974
|
-
return writer;
|
|
975
|
-
},
|
|
976
|
-
decode(input, length) {
|
|
977
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
978
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
979
|
-
const message = createBaseTxDecodeAminoRequest();
|
|
980
|
-
while (reader.pos < end) {
|
|
981
|
-
const tag = reader.uint32();
|
|
982
|
-
switch (tag >>> 3) {
|
|
983
|
-
case 1:
|
|
984
|
-
message.aminoBinary = reader.bytes();
|
|
985
|
-
break;
|
|
986
|
-
default:
|
|
987
|
-
reader.skipType(tag & 7);
|
|
988
|
-
break;
|
|
989
|
-
}
|
|
990
|
-
}
|
|
991
|
-
return message;
|
|
992
|
-
},
|
|
993
|
-
fromJSON(object) {
|
|
994
|
-
return { aminoBinary: isSet(object.aminoBinary) ? bytesFromBase64(object.aminoBinary) : new Uint8Array() };
|
|
995
|
-
},
|
|
996
|
-
toJSON(message) {
|
|
997
|
-
const obj = {};
|
|
998
|
-
message.aminoBinary !== undefined
|
|
999
|
-
&& (obj.aminoBinary = base64FromBytes(message.aminoBinary !== undefined ? message.aminoBinary : new Uint8Array()));
|
|
1000
|
-
return obj;
|
|
1001
|
-
},
|
|
1002
|
-
fromPartial(object) {
|
|
1003
|
-
const message = createBaseTxDecodeAminoRequest();
|
|
1004
|
-
message.aminoBinary = object.aminoBinary ?? new Uint8Array();
|
|
1005
|
-
return message;
|
|
1006
|
-
},
|
|
1007
|
-
};
|
|
1008
|
-
function createBaseTxDecodeAminoResponse() {
|
|
1009
|
-
return { aminoJson: "" };
|
|
1010
|
-
}
|
|
1011
|
-
export const TxDecodeAminoResponse = {
|
|
1012
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
1013
|
-
if (message.aminoJson !== "") {
|
|
1014
|
-
writer.uint32(10).string(message.aminoJson);
|
|
1015
|
-
}
|
|
1016
|
-
return writer;
|
|
1017
|
-
},
|
|
1018
|
-
decode(input, length) {
|
|
1019
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
1020
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1021
|
-
const message = createBaseTxDecodeAminoResponse();
|
|
1022
|
-
while (reader.pos < end) {
|
|
1023
|
-
const tag = reader.uint32();
|
|
1024
|
-
switch (tag >>> 3) {
|
|
1025
|
-
case 1:
|
|
1026
|
-
message.aminoJson = reader.string();
|
|
1027
|
-
break;
|
|
1028
|
-
default:
|
|
1029
|
-
reader.skipType(tag & 7);
|
|
1030
|
-
break;
|
|
1031
|
-
}
|
|
1032
|
-
}
|
|
1033
|
-
return message;
|
|
1034
|
-
},
|
|
1035
|
-
fromJSON(object) {
|
|
1036
|
-
return { aminoJson: isSet(object.aminoJson) ? String(object.aminoJson) : "" };
|
|
1037
|
-
},
|
|
1038
|
-
toJSON(message) {
|
|
1039
|
-
const obj = {};
|
|
1040
|
-
message.aminoJson !== undefined && (obj.aminoJson = message.aminoJson);
|
|
1041
|
-
return obj;
|
|
1042
|
-
},
|
|
1043
|
-
fromPartial(object) {
|
|
1044
|
-
const message = createBaseTxDecodeAminoResponse();
|
|
1045
|
-
message.aminoJson = object.aminoJson ?? "";
|
|
1046
|
-
return message;
|
|
1047
|
-
},
|
|
1048
|
-
};
|
|
1049
|
-
export class ServiceClientImpl {
|
|
1050
|
-
constructor(rpc) {
|
|
1051
|
-
this.rpc = rpc;
|
|
1052
|
-
this.Simulate = this.Simulate.bind(this);
|
|
1053
|
-
this.GetTx = this.GetTx.bind(this);
|
|
1054
|
-
this.BroadcastTx = this.BroadcastTx.bind(this);
|
|
1055
|
-
this.GetTxsEvent = this.GetTxsEvent.bind(this);
|
|
1056
|
-
this.GetBlockWithTxs = this.GetBlockWithTxs.bind(this);
|
|
1057
|
-
this.TxDecode = this.TxDecode.bind(this);
|
|
1058
|
-
this.TxEncode = this.TxEncode.bind(this);
|
|
1059
|
-
this.TxEncodeAmino = this.TxEncodeAmino.bind(this);
|
|
1060
|
-
this.TxDecodeAmino = this.TxDecodeAmino.bind(this);
|
|
1061
|
-
}
|
|
1062
|
-
Simulate(request) {
|
|
1063
|
-
const data = SimulateRequest.encode(request).finish();
|
|
1064
|
-
const promise = this.rpc.request("cosmos.tx.v1beta1.Service", "Simulate", data);
|
|
1065
|
-
return promise.then((data) => SimulateResponse.decode(new _m0.Reader(data)));
|
|
1066
|
-
}
|
|
1067
|
-
GetTx(request) {
|
|
1068
|
-
const data = GetTxRequest.encode(request).finish();
|
|
1069
|
-
const promise = this.rpc.request("cosmos.tx.v1beta1.Service", "GetTx", data);
|
|
1070
|
-
return promise.then((data) => GetTxResponse.decode(new _m0.Reader(data)));
|
|
1071
|
-
}
|
|
1072
|
-
BroadcastTx(request) {
|
|
1073
|
-
const data = BroadcastTxRequest.encode(request).finish();
|
|
1074
|
-
const promise = this.rpc.request("cosmos.tx.v1beta1.Service", "BroadcastTx", data);
|
|
1075
|
-
return promise.then((data) => BroadcastTxResponse.decode(new _m0.Reader(data)));
|
|
1076
|
-
}
|
|
1077
|
-
GetTxsEvent(request) {
|
|
1078
|
-
const data = GetTxsEventRequest.encode(request).finish();
|
|
1079
|
-
const promise = this.rpc.request("cosmos.tx.v1beta1.Service", "GetTxsEvent", data);
|
|
1080
|
-
return promise.then((data) => GetTxsEventResponse.decode(new _m0.Reader(data)));
|
|
1081
|
-
}
|
|
1082
|
-
GetBlockWithTxs(request) {
|
|
1083
|
-
const data = GetBlockWithTxsRequest.encode(request).finish();
|
|
1084
|
-
const promise = this.rpc.request("cosmos.tx.v1beta1.Service", "GetBlockWithTxs", data);
|
|
1085
|
-
return promise.then((data) => GetBlockWithTxsResponse.decode(new _m0.Reader(data)));
|
|
1086
|
-
}
|
|
1087
|
-
TxDecode(request) {
|
|
1088
|
-
const data = TxDecodeRequest.encode(request).finish();
|
|
1089
|
-
const promise = this.rpc.request("cosmos.tx.v1beta1.Service", "TxDecode", data);
|
|
1090
|
-
return promise.then((data) => TxDecodeResponse.decode(new _m0.Reader(data)));
|
|
1091
|
-
}
|
|
1092
|
-
TxEncode(request) {
|
|
1093
|
-
const data = TxEncodeRequest.encode(request).finish();
|
|
1094
|
-
const promise = this.rpc.request("cosmos.tx.v1beta1.Service", "TxEncode", data);
|
|
1095
|
-
return promise.then((data) => TxEncodeResponse.decode(new _m0.Reader(data)));
|
|
1096
|
-
}
|
|
1097
|
-
TxEncodeAmino(request) {
|
|
1098
|
-
const data = TxEncodeAminoRequest.encode(request).finish();
|
|
1099
|
-
const promise = this.rpc.request("cosmos.tx.v1beta1.Service", "TxEncodeAmino", data);
|
|
1100
|
-
return promise.then((data) => TxEncodeAminoResponse.decode(new _m0.Reader(data)));
|
|
1101
|
-
}
|
|
1102
|
-
TxDecodeAmino(request) {
|
|
1103
|
-
const data = TxDecodeAminoRequest.encode(request).finish();
|
|
1104
|
-
const promise = this.rpc.request("cosmos.tx.v1beta1.Service", "TxDecodeAmino", data);
|
|
1105
|
-
return promise.then((data) => TxDecodeAminoResponse.decode(new _m0.Reader(data)));
|
|
1106
|
-
}
|
|
1107
|
-
}
|
|
1108
|
-
var globalThis = (() => {
|
|
1109
|
-
if (typeof globalThis !== "undefined") {
|
|
1110
|
-
return globalThis;
|
|
1111
|
-
}
|
|
1112
|
-
if (typeof self !== "undefined") {
|
|
1113
|
-
return self;
|
|
1114
|
-
}
|
|
1115
|
-
if (typeof window !== "undefined") {
|
|
1116
|
-
return window;
|
|
1117
|
-
}
|
|
1118
|
-
if (typeof global !== "undefined") {
|
|
1119
|
-
return global;
|
|
1120
|
-
}
|
|
1121
|
-
throw "Unable to locate global object";
|
|
1122
|
-
})();
|
|
1123
|
-
function bytesFromBase64(b64) {
|
|
1124
|
-
if (globalThis.Buffer) {
|
|
1125
|
-
return Uint8Array.from(globalThis.Buffer.from(b64, "base64"));
|
|
1126
|
-
}
|
|
1127
|
-
else {
|
|
1128
|
-
const bin = globalThis.atob(b64);
|
|
1129
|
-
const arr = new Uint8Array(bin.length);
|
|
1130
|
-
for (let i = 0; i < bin.length; ++i) {
|
|
1131
|
-
arr[i] = bin.charCodeAt(i);
|
|
1132
|
-
}
|
|
1133
|
-
return arr;
|
|
1134
|
-
}
|
|
1135
|
-
}
|
|
1136
|
-
function base64FromBytes(arr) {
|
|
1137
|
-
if (globalThis.Buffer) {
|
|
1138
|
-
return globalThis.Buffer.from(arr).toString("base64");
|
|
1139
|
-
}
|
|
1140
|
-
else {
|
|
1141
|
-
const bin = [];
|
|
1142
|
-
arr.forEach((byte) => {
|
|
1143
|
-
bin.push(String.fromCharCode(byte));
|
|
1144
|
-
});
|
|
1145
|
-
return globalThis.btoa(bin.join(""));
|
|
1146
|
-
}
|
|
1147
|
-
}
|
|
1148
|
-
function longToNumber(long) {
|
|
1149
|
-
if (long.gt(Number.MAX_SAFE_INTEGER)) {
|
|
1150
|
-
throw new globalThis.Error("Value is larger than Number.MAX_SAFE_INTEGER");
|
|
1151
|
-
}
|
|
1152
|
-
return long.toNumber();
|
|
1153
|
-
}
|
|
1154
|
-
if (_m0.util.Long !== Long) {
|
|
1155
|
-
_m0.util.Long = Long;
|
|
1156
|
-
_m0.configure();
|
|
1157
|
-
}
|
|
1158
|
-
function isSet(value) {
|
|
1159
|
-
return value !== null && value !== undefined;
|
|
1160
|
-
}
|