@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,84 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
import Long from "long";
|
|
3
|
-
import _m0 from "protobufjs/minimal";
|
|
4
|
-
export const protobufPackage = "google.protobuf";
|
|
5
|
-
function createBaseDuration() {
|
|
6
|
-
return { seconds: 0, nanos: 0 };
|
|
7
|
-
}
|
|
8
|
-
export const Duration = {
|
|
9
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
10
|
-
if (message.seconds !== 0) {
|
|
11
|
-
writer.uint32(8).int64(message.seconds);
|
|
12
|
-
}
|
|
13
|
-
if (message.nanos !== 0) {
|
|
14
|
-
writer.uint32(16).int32(message.nanos);
|
|
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 = createBaseDuration();
|
|
22
|
-
while (reader.pos < end) {
|
|
23
|
-
const tag = reader.uint32();
|
|
24
|
-
switch (tag >>> 3) {
|
|
25
|
-
case 1:
|
|
26
|
-
message.seconds = longToNumber(reader.int64());
|
|
27
|
-
break;
|
|
28
|
-
case 2:
|
|
29
|
-
message.nanos = reader.int32();
|
|
30
|
-
break;
|
|
31
|
-
default:
|
|
32
|
-
reader.skipType(tag & 7);
|
|
33
|
-
break;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
return message;
|
|
37
|
-
},
|
|
38
|
-
fromJSON(object) {
|
|
39
|
-
return {
|
|
40
|
-
seconds: isSet(object.seconds) ? Number(object.seconds) : 0,
|
|
41
|
-
nanos: isSet(object.nanos) ? Number(object.nanos) : 0,
|
|
42
|
-
};
|
|
43
|
-
},
|
|
44
|
-
toJSON(message) {
|
|
45
|
-
const obj = {};
|
|
46
|
-
message.seconds !== undefined && (obj.seconds = Math.round(message.seconds));
|
|
47
|
-
message.nanos !== undefined && (obj.nanos = Math.round(message.nanos));
|
|
48
|
-
return obj;
|
|
49
|
-
},
|
|
50
|
-
fromPartial(object) {
|
|
51
|
-
const message = createBaseDuration();
|
|
52
|
-
message.seconds = object.seconds ?? 0;
|
|
53
|
-
message.nanos = object.nanos ?? 0;
|
|
54
|
-
return message;
|
|
55
|
-
},
|
|
56
|
-
};
|
|
57
|
-
var globalThis = (() => {
|
|
58
|
-
if (typeof globalThis !== "undefined") {
|
|
59
|
-
return globalThis;
|
|
60
|
-
}
|
|
61
|
-
if (typeof self !== "undefined") {
|
|
62
|
-
return self;
|
|
63
|
-
}
|
|
64
|
-
if (typeof window !== "undefined") {
|
|
65
|
-
return window;
|
|
66
|
-
}
|
|
67
|
-
if (typeof global !== "undefined") {
|
|
68
|
-
return global;
|
|
69
|
-
}
|
|
70
|
-
throw "Unable to locate global object";
|
|
71
|
-
})();
|
|
72
|
-
function longToNumber(long) {
|
|
73
|
-
if (long.gt(Number.MAX_SAFE_INTEGER)) {
|
|
74
|
-
throw new globalThis.Error("Value is larger than Number.MAX_SAFE_INTEGER");
|
|
75
|
-
}
|
|
76
|
-
return long.toNumber();
|
|
77
|
-
}
|
|
78
|
-
if (_m0.util.Long !== Long) {
|
|
79
|
-
_m0.util.Long = Long;
|
|
80
|
-
_m0.configure();
|
|
81
|
-
}
|
|
82
|
-
function isSet(value) {
|
|
83
|
-
return value !== null && value !== undefined;
|
|
84
|
-
}
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
import Long from "long";
|
|
3
|
-
import _m0 from "protobufjs/minimal";
|
|
4
|
-
export const protobufPackage = "google.protobuf";
|
|
5
|
-
function createBaseTimestamp() {
|
|
6
|
-
return { seconds: 0, nanos: 0 };
|
|
7
|
-
}
|
|
8
|
-
export const Timestamp = {
|
|
9
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
10
|
-
if (message.seconds !== 0) {
|
|
11
|
-
writer.uint32(8).int64(message.seconds);
|
|
12
|
-
}
|
|
13
|
-
if (message.nanos !== 0) {
|
|
14
|
-
writer.uint32(16).int32(message.nanos);
|
|
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 = createBaseTimestamp();
|
|
22
|
-
while (reader.pos < end) {
|
|
23
|
-
const tag = reader.uint32();
|
|
24
|
-
switch (tag >>> 3) {
|
|
25
|
-
case 1:
|
|
26
|
-
message.seconds = longToNumber(reader.int64());
|
|
27
|
-
break;
|
|
28
|
-
case 2:
|
|
29
|
-
message.nanos = reader.int32();
|
|
30
|
-
break;
|
|
31
|
-
default:
|
|
32
|
-
reader.skipType(tag & 7);
|
|
33
|
-
break;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
return message;
|
|
37
|
-
},
|
|
38
|
-
fromJSON(object) {
|
|
39
|
-
return {
|
|
40
|
-
seconds: isSet(object.seconds) ? Number(object.seconds) : 0,
|
|
41
|
-
nanos: isSet(object.nanos) ? Number(object.nanos) : 0,
|
|
42
|
-
};
|
|
43
|
-
},
|
|
44
|
-
toJSON(message) {
|
|
45
|
-
const obj = {};
|
|
46
|
-
message.seconds !== undefined && (obj.seconds = Math.round(message.seconds));
|
|
47
|
-
message.nanos !== undefined && (obj.nanos = Math.round(message.nanos));
|
|
48
|
-
return obj;
|
|
49
|
-
},
|
|
50
|
-
fromPartial(object) {
|
|
51
|
-
const message = createBaseTimestamp();
|
|
52
|
-
message.seconds = object.seconds ?? 0;
|
|
53
|
-
message.nanos = object.nanos ?? 0;
|
|
54
|
-
return message;
|
|
55
|
-
},
|
|
56
|
-
};
|
|
57
|
-
var globalThis = (() => {
|
|
58
|
-
if (typeof globalThis !== "undefined") {
|
|
59
|
-
return globalThis;
|
|
60
|
-
}
|
|
61
|
-
if (typeof self !== "undefined") {
|
|
62
|
-
return self;
|
|
63
|
-
}
|
|
64
|
-
if (typeof window !== "undefined") {
|
|
65
|
-
return window;
|
|
66
|
-
}
|
|
67
|
-
if (typeof global !== "undefined") {
|
|
68
|
-
return global;
|
|
69
|
-
}
|
|
70
|
-
throw "Unable to locate global object";
|
|
71
|
-
})();
|
|
72
|
-
function longToNumber(long) {
|
|
73
|
-
if (long.gt(Number.MAX_SAFE_INTEGER)) {
|
|
74
|
-
throw new globalThis.Error("Value is larger than Number.MAX_SAFE_INTEGER");
|
|
75
|
-
}
|
|
76
|
-
return long.toNumber();
|
|
77
|
-
}
|
|
78
|
-
if (_m0.util.Long !== Long) {
|
|
79
|
-
_m0.util.Long = Long;
|
|
80
|
-
_m0.configure();
|
|
81
|
-
}
|
|
82
|
-
function isSet(value) {
|
|
83
|
-
return value !== null && value !== undefined;
|
|
84
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { WeightedVoteOption } from "./types/cosmos/gov/v1beta1/gov";
|
|
2
|
-
import { TextProposal } from "./types/cosmos/gov/v1beta1/gov";
|
|
3
|
-
import { Deposit } from "./types/cosmos/gov/v1beta1/gov";
|
|
4
|
-
import { Proposal } from "./types/cosmos/gov/v1beta1/gov";
|
|
5
|
-
import { TallyResult } from "./types/cosmos/gov/v1beta1/gov";
|
|
6
|
-
import { Vote } from "./types/cosmos/gov/v1beta1/gov";
|
|
7
|
-
import { DepositParams } from "./types/cosmos/gov/v1beta1/gov";
|
|
8
|
-
import { VotingParams } from "./types/cosmos/gov/v1beta1/gov";
|
|
9
|
-
import { TallyParams } from "./types/cosmos/gov/v1beta1/gov";
|
|
10
|
-
export { WeightedVoteOption, TextProposal, Deposit, Proposal, TallyResult, Vote, DepositParams, VotingParams, TallyParams, };
|
|
@@ -1,423 +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 { MsgUpdateGroupMetadata } from "./types/cosmos/group/v1/tx";
|
|
7
|
-
import { MsgSubmitProposal } from "./types/cosmos/group/v1/tx";
|
|
8
|
-
import { MsgLeaveGroup } from "./types/cosmos/group/v1/tx";
|
|
9
|
-
import { MsgCreateGroupPolicy } from "./types/cosmos/group/v1/tx";
|
|
10
|
-
import { MsgCreateGroupWithPolicy } from "./types/cosmos/group/v1/tx";
|
|
11
|
-
import { MsgUpdateGroupPolicyDecisionPolicy } from "./types/cosmos/group/v1/tx";
|
|
12
|
-
import { MsgExec } from "./types/cosmos/group/v1/tx";
|
|
13
|
-
import { MsgUpdateGroupAdmin } from "./types/cosmos/group/v1/tx";
|
|
14
|
-
import { MsgUpdateGroupPolicyAdmin } from "./types/cosmos/group/v1/tx";
|
|
15
|
-
import { MsgWithdrawProposal } from "./types/cosmos/group/v1/tx";
|
|
16
|
-
import { MsgUpdateGroupPolicyMetadata } from "./types/cosmos/group/v1/tx";
|
|
17
|
-
import { MsgVote } from "./types/cosmos/group/v1/tx";
|
|
18
|
-
import { MsgCreateGroup } from "./types/cosmos/group/v1/tx";
|
|
19
|
-
import { MsgUpdateGroupMembers } from "./types/cosmos/group/v1/tx";
|
|
20
|
-
import { EventCreateGroup as typeEventCreateGroup } from "./types";
|
|
21
|
-
import { EventUpdateGroup as typeEventUpdateGroup } from "./types";
|
|
22
|
-
import { EventCreateGroupPolicy as typeEventCreateGroupPolicy } from "./types";
|
|
23
|
-
import { EventUpdateGroupPolicy as typeEventUpdateGroupPolicy } from "./types";
|
|
24
|
-
import { EventSubmitProposal as typeEventSubmitProposal } from "./types";
|
|
25
|
-
import { EventWithdrawProposal as typeEventWithdrawProposal } from "./types";
|
|
26
|
-
import { EventVote as typeEventVote } from "./types";
|
|
27
|
-
import { EventExec as typeEventExec } from "./types";
|
|
28
|
-
import { EventLeaveGroup as typeEventLeaveGroup } from "./types";
|
|
29
|
-
import { EventProposalPruned as typeEventProposalPruned } from "./types";
|
|
30
|
-
import { Member as typeMember } from "./types";
|
|
31
|
-
import { MemberRequest as typeMemberRequest } from "./types";
|
|
32
|
-
import { ThresholdDecisionPolicy as typeThresholdDecisionPolicy } from "./types";
|
|
33
|
-
import { PercentageDecisionPolicy as typePercentageDecisionPolicy } from "./types";
|
|
34
|
-
import { DecisionPolicyWindows as typeDecisionPolicyWindows } from "./types";
|
|
35
|
-
import { GroupInfo as typeGroupInfo } from "./types";
|
|
36
|
-
import { GroupMember as typeGroupMember } from "./types";
|
|
37
|
-
import { GroupPolicyInfo as typeGroupPolicyInfo } from "./types";
|
|
38
|
-
import { Proposal as typeProposal } from "./types";
|
|
39
|
-
import { TallyResult as typeTallyResult } from "./types";
|
|
40
|
-
import { Vote as typeVote } from "./types";
|
|
41
|
-
export { MsgUpdateGroupMetadata, MsgSubmitProposal, MsgLeaveGroup, MsgCreateGroupPolicy, MsgCreateGroupWithPolicy, MsgUpdateGroupPolicyDecisionPolicy, MsgExec, MsgUpdateGroupAdmin, MsgUpdateGroupPolicyAdmin, MsgWithdrawProposal, MsgUpdateGroupPolicyMetadata, MsgVote, MsgCreateGroup, MsgUpdateGroupMembers };
|
|
42
|
-
export const registry = new Registry(msgTypes);
|
|
43
|
-
function getStructure(template) {
|
|
44
|
-
const structure = { fields: [] };
|
|
45
|
-
for (let [key, value] of Object.entries(template)) {
|
|
46
|
-
let field = { name: key, type: typeof value };
|
|
47
|
-
structure.fields.push(field);
|
|
48
|
-
}
|
|
49
|
-
return structure;
|
|
50
|
-
}
|
|
51
|
-
const defaultFee = {
|
|
52
|
-
amount: [],
|
|
53
|
-
gas: "200000",
|
|
54
|
-
};
|
|
55
|
-
export const txClient = ({ signer, prefix, addr } = { addr: "http://localhost:26657", prefix: "cosmos" }) => {
|
|
56
|
-
return {
|
|
57
|
-
async sendMsgUpdateGroupMetadata({ value, fee, memo }) {
|
|
58
|
-
if (!signer) {
|
|
59
|
-
throw new Error('TxClient:sendMsgUpdateGroupMetadata: Unable to sign Tx. Signer is not present.');
|
|
60
|
-
}
|
|
61
|
-
try {
|
|
62
|
-
const { address } = (await signer.getAccounts())[0];
|
|
63
|
-
const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
|
|
64
|
-
let msg = this.msgUpdateGroupMetadata({ value: MsgUpdateGroupMetadata.fromPartial(value) });
|
|
65
|
-
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
|
|
66
|
-
}
|
|
67
|
-
catch (e) {
|
|
68
|
-
throw new Error('TxClient:sendMsgUpdateGroupMetadata: Could not broadcast Tx: ' + e.message);
|
|
69
|
-
}
|
|
70
|
-
},
|
|
71
|
-
async sendMsgSubmitProposal({ value, fee, memo }) {
|
|
72
|
-
if (!signer) {
|
|
73
|
-
throw new Error('TxClient:sendMsgSubmitProposal: Unable to sign Tx. Signer is not present.');
|
|
74
|
-
}
|
|
75
|
-
try {
|
|
76
|
-
const { address } = (await signer.getAccounts())[0];
|
|
77
|
-
const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
|
|
78
|
-
let msg = this.msgSubmitProposal({ value: MsgSubmitProposal.fromPartial(value) });
|
|
79
|
-
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
|
|
80
|
-
}
|
|
81
|
-
catch (e) {
|
|
82
|
-
throw new Error('TxClient:sendMsgSubmitProposal: Could not broadcast Tx: ' + e.message);
|
|
83
|
-
}
|
|
84
|
-
},
|
|
85
|
-
async sendMsgLeaveGroup({ value, fee, memo }) {
|
|
86
|
-
if (!signer) {
|
|
87
|
-
throw new Error('TxClient:sendMsgLeaveGroup: Unable to sign Tx. Signer is not present.');
|
|
88
|
-
}
|
|
89
|
-
try {
|
|
90
|
-
const { address } = (await signer.getAccounts())[0];
|
|
91
|
-
const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
|
|
92
|
-
let msg = this.msgLeaveGroup({ value: MsgLeaveGroup.fromPartial(value) });
|
|
93
|
-
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
|
|
94
|
-
}
|
|
95
|
-
catch (e) {
|
|
96
|
-
throw new Error('TxClient:sendMsgLeaveGroup: Could not broadcast Tx: ' + e.message);
|
|
97
|
-
}
|
|
98
|
-
},
|
|
99
|
-
async sendMsgCreateGroupPolicy({ value, fee, memo }) {
|
|
100
|
-
if (!signer) {
|
|
101
|
-
throw new Error('TxClient:sendMsgCreateGroupPolicy: Unable to sign Tx. Signer is not present.');
|
|
102
|
-
}
|
|
103
|
-
try {
|
|
104
|
-
const { address } = (await signer.getAccounts())[0];
|
|
105
|
-
const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
|
|
106
|
-
let msg = this.msgCreateGroupPolicy({ value: MsgCreateGroupPolicy.fromPartial(value) });
|
|
107
|
-
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
|
|
108
|
-
}
|
|
109
|
-
catch (e) {
|
|
110
|
-
throw new Error('TxClient:sendMsgCreateGroupPolicy: Could not broadcast Tx: ' + e.message);
|
|
111
|
-
}
|
|
112
|
-
},
|
|
113
|
-
async sendMsgCreateGroupWithPolicy({ value, fee, memo }) {
|
|
114
|
-
if (!signer) {
|
|
115
|
-
throw new Error('TxClient:sendMsgCreateGroupWithPolicy: Unable to sign Tx. Signer is not present.');
|
|
116
|
-
}
|
|
117
|
-
try {
|
|
118
|
-
const { address } = (await signer.getAccounts())[0];
|
|
119
|
-
const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
|
|
120
|
-
let msg = this.msgCreateGroupWithPolicy({ value: MsgCreateGroupWithPolicy.fromPartial(value) });
|
|
121
|
-
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
|
|
122
|
-
}
|
|
123
|
-
catch (e) {
|
|
124
|
-
throw new Error('TxClient:sendMsgCreateGroupWithPolicy: Could not broadcast Tx: ' + e.message);
|
|
125
|
-
}
|
|
126
|
-
},
|
|
127
|
-
async sendMsgUpdateGroupPolicyDecisionPolicy({ value, fee, memo }) {
|
|
128
|
-
if (!signer) {
|
|
129
|
-
throw new Error('TxClient:sendMsgUpdateGroupPolicyDecisionPolicy: Unable to sign Tx. Signer is not present.');
|
|
130
|
-
}
|
|
131
|
-
try {
|
|
132
|
-
const { address } = (await signer.getAccounts())[0];
|
|
133
|
-
const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
|
|
134
|
-
let msg = this.msgUpdateGroupPolicyDecisionPolicy({ value: MsgUpdateGroupPolicyDecisionPolicy.fromPartial(value) });
|
|
135
|
-
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
|
|
136
|
-
}
|
|
137
|
-
catch (e) {
|
|
138
|
-
throw new Error('TxClient:sendMsgUpdateGroupPolicyDecisionPolicy: Could not broadcast Tx: ' + e.message);
|
|
139
|
-
}
|
|
140
|
-
},
|
|
141
|
-
async sendMsgExec({ value, fee, memo }) {
|
|
142
|
-
if (!signer) {
|
|
143
|
-
throw new Error('TxClient:sendMsgExec: Unable to sign Tx. Signer is not present.');
|
|
144
|
-
}
|
|
145
|
-
try {
|
|
146
|
-
const { address } = (await signer.getAccounts())[0];
|
|
147
|
-
const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
|
|
148
|
-
let msg = this.msgExec({ value: MsgExec.fromPartial(value) });
|
|
149
|
-
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
|
|
150
|
-
}
|
|
151
|
-
catch (e) {
|
|
152
|
-
throw new Error('TxClient:sendMsgExec: Could not broadcast Tx: ' + e.message);
|
|
153
|
-
}
|
|
154
|
-
},
|
|
155
|
-
async sendMsgUpdateGroupAdmin({ value, fee, memo }) {
|
|
156
|
-
if (!signer) {
|
|
157
|
-
throw new Error('TxClient:sendMsgUpdateGroupAdmin: Unable to sign Tx. Signer is not present.');
|
|
158
|
-
}
|
|
159
|
-
try {
|
|
160
|
-
const { address } = (await signer.getAccounts())[0];
|
|
161
|
-
const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
|
|
162
|
-
let msg = this.msgUpdateGroupAdmin({ value: MsgUpdateGroupAdmin.fromPartial(value) });
|
|
163
|
-
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
|
|
164
|
-
}
|
|
165
|
-
catch (e) {
|
|
166
|
-
throw new Error('TxClient:sendMsgUpdateGroupAdmin: Could not broadcast Tx: ' + e.message);
|
|
167
|
-
}
|
|
168
|
-
},
|
|
169
|
-
async sendMsgUpdateGroupPolicyAdmin({ value, fee, memo }) {
|
|
170
|
-
if (!signer) {
|
|
171
|
-
throw new Error('TxClient:sendMsgUpdateGroupPolicyAdmin: Unable to sign Tx. Signer is not present.');
|
|
172
|
-
}
|
|
173
|
-
try {
|
|
174
|
-
const { address } = (await signer.getAccounts())[0];
|
|
175
|
-
const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
|
|
176
|
-
let msg = this.msgUpdateGroupPolicyAdmin({ value: MsgUpdateGroupPolicyAdmin.fromPartial(value) });
|
|
177
|
-
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
|
|
178
|
-
}
|
|
179
|
-
catch (e) {
|
|
180
|
-
throw new Error('TxClient:sendMsgUpdateGroupPolicyAdmin: Could not broadcast Tx: ' + e.message);
|
|
181
|
-
}
|
|
182
|
-
},
|
|
183
|
-
async sendMsgWithdrawProposal({ value, fee, memo }) {
|
|
184
|
-
if (!signer) {
|
|
185
|
-
throw new Error('TxClient:sendMsgWithdrawProposal: Unable to sign Tx. Signer is not present.');
|
|
186
|
-
}
|
|
187
|
-
try {
|
|
188
|
-
const { address } = (await signer.getAccounts())[0];
|
|
189
|
-
const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
|
|
190
|
-
let msg = this.msgWithdrawProposal({ value: MsgWithdrawProposal.fromPartial(value) });
|
|
191
|
-
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
|
|
192
|
-
}
|
|
193
|
-
catch (e) {
|
|
194
|
-
throw new Error('TxClient:sendMsgWithdrawProposal: Could not broadcast Tx: ' + e.message);
|
|
195
|
-
}
|
|
196
|
-
},
|
|
197
|
-
async sendMsgUpdateGroupPolicyMetadata({ value, fee, memo }) {
|
|
198
|
-
if (!signer) {
|
|
199
|
-
throw new Error('TxClient:sendMsgUpdateGroupPolicyMetadata: Unable to sign Tx. Signer is not present.');
|
|
200
|
-
}
|
|
201
|
-
try {
|
|
202
|
-
const { address } = (await signer.getAccounts())[0];
|
|
203
|
-
const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
|
|
204
|
-
let msg = this.msgUpdateGroupPolicyMetadata({ value: MsgUpdateGroupPolicyMetadata.fromPartial(value) });
|
|
205
|
-
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
|
|
206
|
-
}
|
|
207
|
-
catch (e) {
|
|
208
|
-
throw new Error('TxClient:sendMsgUpdateGroupPolicyMetadata: Could not broadcast Tx: ' + e.message);
|
|
209
|
-
}
|
|
210
|
-
},
|
|
211
|
-
async sendMsgVote({ value, fee, memo }) {
|
|
212
|
-
if (!signer) {
|
|
213
|
-
throw new Error('TxClient:sendMsgVote: Unable to sign Tx. Signer is not present.');
|
|
214
|
-
}
|
|
215
|
-
try {
|
|
216
|
-
const { address } = (await signer.getAccounts())[0];
|
|
217
|
-
const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
|
|
218
|
-
let msg = this.msgVote({ value: MsgVote.fromPartial(value) });
|
|
219
|
-
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
|
|
220
|
-
}
|
|
221
|
-
catch (e) {
|
|
222
|
-
throw new Error('TxClient:sendMsgVote: Could not broadcast Tx: ' + e.message);
|
|
223
|
-
}
|
|
224
|
-
},
|
|
225
|
-
async sendMsgCreateGroup({ value, fee, memo }) {
|
|
226
|
-
if (!signer) {
|
|
227
|
-
throw new Error('TxClient:sendMsgCreateGroup: Unable to sign Tx. Signer is not present.');
|
|
228
|
-
}
|
|
229
|
-
try {
|
|
230
|
-
const { address } = (await signer.getAccounts())[0];
|
|
231
|
-
const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
|
|
232
|
-
let msg = this.msgCreateGroup({ value: MsgCreateGroup.fromPartial(value) });
|
|
233
|
-
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
|
|
234
|
-
}
|
|
235
|
-
catch (e) {
|
|
236
|
-
throw new Error('TxClient:sendMsgCreateGroup: Could not broadcast Tx: ' + e.message);
|
|
237
|
-
}
|
|
238
|
-
},
|
|
239
|
-
async sendMsgUpdateGroupMembers({ value, fee, memo }) {
|
|
240
|
-
if (!signer) {
|
|
241
|
-
throw new Error('TxClient:sendMsgUpdateGroupMembers: Unable to sign Tx. Signer is not present.');
|
|
242
|
-
}
|
|
243
|
-
try {
|
|
244
|
-
const { address } = (await signer.getAccounts())[0];
|
|
245
|
-
const signingClient = await SigningStargateClient.connectWithSigner(addr, signer, { registry, prefix });
|
|
246
|
-
let msg = this.msgUpdateGroupMembers({ value: MsgUpdateGroupMembers.fromPartial(value) });
|
|
247
|
-
return await signingClient.signAndBroadcast(address, [msg], fee ? fee : defaultFee, memo);
|
|
248
|
-
}
|
|
249
|
-
catch (e) {
|
|
250
|
-
throw new Error('TxClient:sendMsgUpdateGroupMembers: Could not broadcast Tx: ' + e.message);
|
|
251
|
-
}
|
|
252
|
-
},
|
|
253
|
-
msgUpdateGroupMetadata({ value }) {
|
|
254
|
-
try {
|
|
255
|
-
return { typeUrl: "/cosmos.group.v1.MsgUpdateGroupMetadata", value: MsgUpdateGroupMetadata.fromPartial(value) };
|
|
256
|
-
}
|
|
257
|
-
catch (e) {
|
|
258
|
-
throw new Error('TxClient:MsgUpdateGroupMetadata: Could not create message: ' + e.message);
|
|
259
|
-
}
|
|
260
|
-
},
|
|
261
|
-
msgSubmitProposal({ value }) {
|
|
262
|
-
try {
|
|
263
|
-
return { typeUrl: "/cosmos.group.v1.MsgSubmitProposal", value: MsgSubmitProposal.fromPartial(value) };
|
|
264
|
-
}
|
|
265
|
-
catch (e) {
|
|
266
|
-
throw new Error('TxClient:MsgSubmitProposal: Could not create message: ' + e.message);
|
|
267
|
-
}
|
|
268
|
-
},
|
|
269
|
-
msgLeaveGroup({ value }) {
|
|
270
|
-
try {
|
|
271
|
-
return { typeUrl: "/cosmos.group.v1.MsgLeaveGroup", value: MsgLeaveGroup.fromPartial(value) };
|
|
272
|
-
}
|
|
273
|
-
catch (e) {
|
|
274
|
-
throw new Error('TxClient:MsgLeaveGroup: Could not create message: ' + e.message);
|
|
275
|
-
}
|
|
276
|
-
},
|
|
277
|
-
msgCreateGroupPolicy({ value }) {
|
|
278
|
-
try {
|
|
279
|
-
return { typeUrl: "/cosmos.group.v1.MsgCreateGroupPolicy", value: MsgCreateGroupPolicy.fromPartial(value) };
|
|
280
|
-
}
|
|
281
|
-
catch (e) {
|
|
282
|
-
throw new Error('TxClient:MsgCreateGroupPolicy: Could not create message: ' + e.message);
|
|
283
|
-
}
|
|
284
|
-
},
|
|
285
|
-
msgCreateGroupWithPolicy({ value }) {
|
|
286
|
-
try {
|
|
287
|
-
return { typeUrl: "/cosmos.group.v1.MsgCreateGroupWithPolicy", value: MsgCreateGroupWithPolicy.fromPartial(value) };
|
|
288
|
-
}
|
|
289
|
-
catch (e) {
|
|
290
|
-
throw new Error('TxClient:MsgCreateGroupWithPolicy: Could not create message: ' + e.message);
|
|
291
|
-
}
|
|
292
|
-
},
|
|
293
|
-
msgUpdateGroupPolicyDecisionPolicy({ value }) {
|
|
294
|
-
try {
|
|
295
|
-
return { typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy", value: MsgUpdateGroupPolicyDecisionPolicy.fromPartial(value) };
|
|
296
|
-
}
|
|
297
|
-
catch (e) {
|
|
298
|
-
throw new Error('TxClient:MsgUpdateGroupPolicyDecisionPolicy: Could not create message: ' + e.message);
|
|
299
|
-
}
|
|
300
|
-
},
|
|
301
|
-
msgExec({ value }) {
|
|
302
|
-
try {
|
|
303
|
-
return { typeUrl: "/cosmos.group.v1.MsgExec", value: MsgExec.fromPartial(value) };
|
|
304
|
-
}
|
|
305
|
-
catch (e) {
|
|
306
|
-
throw new Error('TxClient:MsgExec: Could not create message: ' + e.message);
|
|
307
|
-
}
|
|
308
|
-
},
|
|
309
|
-
msgUpdateGroupAdmin({ value }) {
|
|
310
|
-
try {
|
|
311
|
-
return { typeUrl: "/cosmos.group.v1.MsgUpdateGroupAdmin", value: MsgUpdateGroupAdmin.fromPartial(value) };
|
|
312
|
-
}
|
|
313
|
-
catch (e) {
|
|
314
|
-
throw new Error('TxClient:MsgUpdateGroupAdmin: Could not create message: ' + e.message);
|
|
315
|
-
}
|
|
316
|
-
},
|
|
317
|
-
msgUpdateGroupPolicyAdmin({ value }) {
|
|
318
|
-
try {
|
|
319
|
-
return { typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyAdmin", value: MsgUpdateGroupPolicyAdmin.fromPartial(value) };
|
|
320
|
-
}
|
|
321
|
-
catch (e) {
|
|
322
|
-
throw new Error('TxClient:MsgUpdateGroupPolicyAdmin: Could not create message: ' + e.message);
|
|
323
|
-
}
|
|
324
|
-
},
|
|
325
|
-
msgWithdrawProposal({ value }) {
|
|
326
|
-
try {
|
|
327
|
-
return { typeUrl: "/cosmos.group.v1.MsgWithdrawProposal", value: MsgWithdrawProposal.fromPartial(value) };
|
|
328
|
-
}
|
|
329
|
-
catch (e) {
|
|
330
|
-
throw new Error('TxClient:MsgWithdrawProposal: Could not create message: ' + e.message);
|
|
331
|
-
}
|
|
332
|
-
},
|
|
333
|
-
msgUpdateGroupPolicyMetadata({ value }) {
|
|
334
|
-
try {
|
|
335
|
-
return { typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyMetadata", value: MsgUpdateGroupPolicyMetadata.fromPartial(value) };
|
|
336
|
-
}
|
|
337
|
-
catch (e) {
|
|
338
|
-
throw new Error('TxClient:MsgUpdateGroupPolicyMetadata: Could not create message: ' + e.message);
|
|
339
|
-
}
|
|
340
|
-
},
|
|
341
|
-
msgVote({ value }) {
|
|
342
|
-
try {
|
|
343
|
-
return { typeUrl: "/cosmos.group.v1.MsgVote", value: MsgVote.fromPartial(value) };
|
|
344
|
-
}
|
|
345
|
-
catch (e) {
|
|
346
|
-
throw new Error('TxClient:MsgVote: Could not create message: ' + e.message);
|
|
347
|
-
}
|
|
348
|
-
},
|
|
349
|
-
msgCreateGroup({ value }) {
|
|
350
|
-
try {
|
|
351
|
-
return { typeUrl: "/cosmos.group.v1.MsgCreateGroup", value: MsgCreateGroup.fromPartial(value) };
|
|
352
|
-
}
|
|
353
|
-
catch (e) {
|
|
354
|
-
throw new Error('TxClient:MsgCreateGroup: Could not create message: ' + e.message);
|
|
355
|
-
}
|
|
356
|
-
},
|
|
357
|
-
msgUpdateGroupMembers({ value }) {
|
|
358
|
-
try {
|
|
359
|
-
return { typeUrl: "/cosmos.group.v1.MsgUpdateGroupMembers", value: MsgUpdateGroupMembers.fromPartial(value) };
|
|
360
|
-
}
|
|
361
|
-
catch (e) {
|
|
362
|
-
throw new Error('TxClient:MsgUpdateGroupMembers: Could not create message: ' + e.message);
|
|
363
|
-
}
|
|
364
|
-
},
|
|
365
|
-
};
|
|
366
|
-
};
|
|
367
|
-
export const queryClient = ({ addr: addr } = { addr: "http://localhost:1317" }) => {
|
|
368
|
-
return new Api({ baseURL: addr });
|
|
369
|
-
};
|
|
370
|
-
class SDKModule {
|
|
371
|
-
constructor(client) {
|
|
372
|
-
this.registry = [];
|
|
373
|
-
this.query = queryClient({ addr: client.env.apiURL });
|
|
374
|
-
this.updateTX(client);
|
|
375
|
-
this.structure = {
|
|
376
|
-
EventCreateGroup: getStructure(typeEventCreateGroup.fromPartial({})),
|
|
377
|
-
EventUpdateGroup: getStructure(typeEventUpdateGroup.fromPartial({})),
|
|
378
|
-
EventCreateGroupPolicy: getStructure(typeEventCreateGroupPolicy.fromPartial({})),
|
|
379
|
-
EventUpdateGroupPolicy: getStructure(typeEventUpdateGroupPolicy.fromPartial({})),
|
|
380
|
-
EventSubmitProposal: getStructure(typeEventSubmitProposal.fromPartial({})),
|
|
381
|
-
EventWithdrawProposal: getStructure(typeEventWithdrawProposal.fromPartial({})),
|
|
382
|
-
EventVote: getStructure(typeEventVote.fromPartial({})),
|
|
383
|
-
EventExec: getStructure(typeEventExec.fromPartial({})),
|
|
384
|
-
EventLeaveGroup: getStructure(typeEventLeaveGroup.fromPartial({})),
|
|
385
|
-
EventProposalPruned: getStructure(typeEventProposalPruned.fromPartial({})),
|
|
386
|
-
Member: getStructure(typeMember.fromPartial({})),
|
|
387
|
-
MemberRequest: getStructure(typeMemberRequest.fromPartial({})),
|
|
388
|
-
ThresholdDecisionPolicy: getStructure(typeThresholdDecisionPolicy.fromPartial({})),
|
|
389
|
-
PercentageDecisionPolicy: getStructure(typePercentageDecisionPolicy.fromPartial({})),
|
|
390
|
-
DecisionPolicyWindows: getStructure(typeDecisionPolicyWindows.fromPartial({})),
|
|
391
|
-
GroupInfo: getStructure(typeGroupInfo.fromPartial({})),
|
|
392
|
-
GroupMember: getStructure(typeGroupMember.fromPartial({})),
|
|
393
|
-
GroupPolicyInfo: getStructure(typeGroupPolicyInfo.fromPartial({})),
|
|
394
|
-
Proposal: getStructure(typeProposal.fromPartial({})),
|
|
395
|
-
TallyResult: getStructure(typeTallyResult.fromPartial({})),
|
|
396
|
-
Vote: getStructure(typeVote.fromPartial({})),
|
|
397
|
-
};
|
|
398
|
-
client.on('signer-changed', (signer) => {
|
|
399
|
-
this.updateTX(client);
|
|
400
|
-
});
|
|
401
|
-
}
|
|
402
|
-
updateTX(client) {
|
|
403
|
-
const methods = txClient({
|
|
404
|
-
signer: client.signer,
|
|
405
|
-
addr: client.env.rpcURL,
|
|
406
|
-
prefix: client.env.prefix ?? "cosmos",
|
|
407
|
-
});
|
|
408
|
-
this.tx = methods;
|
|
409
|
-
for (let m in methods) {
|
|
410
|
-
this.tx[m] = methods[m].bind(this.tx);
|
|
411
|
-
}
|
|
412
|
-
}
|
|
413
|
-
}
|
|
414
|
-
;
|
|
415
|
-
const Module = (test) => {
|
|
416
|
-
return {
|
|
417
|
-
module: {
|
|
418
|
-
CosmosGroupV1: new SDKModule(test)
|
|
419
|
-
},
|
|
420
|
-
registry: msgTypes
|
|
421
|
-
};
|
|
422
|
-
};
|
|
423
|
-
export default Module;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { MsgUpdateGroupMetadata } from "./types/cosmos/group/v1/tx";
|
|
2
|
-
import { MsgSubmitProposal } from "./types/cosmos/group/v1/tx";
|
|
3
|
-
import { MsgLeaveGroup } from "./types/cosmos/group/v1/tx";
|
|
4
|
-
import { MsgCreateGroupPolicy } from "./types/cosmos/group/v1/tx";
|
|
5
|
-
import { MsgCreateGroupWithPolicy } from "./types/cosmos/group/v1/tx";
|
|
6
|
-
import { MsgUpdateGroupPolicyDecisionPolicy } from "./types/cosmos/group/v1/tx";
|
|
7
|
-
import { MsgExec } from "./types/cosmos/group/v1/tx";
|
|
8
|
-
import { MsgUpdateGroupAdmin } from "./types/cosmos/group/v1/tx";
|
|
9
|
-
import { MsgUpdateGroupPolicyAdmin } from "./types/cosmos/group/v1/tx";
|
|
10
|
-
import { MsgWithdrawProposal } from "./types/cosmos/group/v1/tx";
|
|
11
|
-
import { MsgUpdateGroupPolicyMetadata } from "./types/cosmos/group/v1/tx";
|
|
12
|
-
import { MsgVote } from "./types/cosmos/group/v1/tx";
|
|
13
|
-
import { MsgCreateGroup } from "./types/cosmos/group/v1/tx";
|
|
14
|
-
import { MsgUpdateGroupMembers } from "./types/cosmos/group/v1/tx";
|
|
15
|
-
const msgTypes = [
|
|
16
|
-
["/cosmos.group.v1.MsgUpdateGroupMetadata", MsgUpdateGroupMetadata],
|
|
17
|
-
["/cosmos.group.v1.MsgSubmitProposal", MsgSubmitProposal],
|
|
18
|
-
["/cosmos.group.v1.MsgLeaveGroup", MsgLeaveGroup],
|
|
19
|
-
["/cosmos.group.v1.MsgCreateGroupPolicy", MsgCreateGroupPolicy],
|
|
20
|
-
["/cosmos.group.v1.MsgCreateGroupWithPolicy", MsgCreateGroupWithPolicy],
|
|
21
|
-
["/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy", MsgUpdateGroupPolicyDecisionPolicy],
|
|
22
|
-
["/cosmos.group.v1.MsgExec", MsgExec],
|
|
23
|
-
["/cosmos.group.v1.MsgUpdateGroupAdmin", MsgUpdateGroupAdmin],
|
|
24
|
-
["/cosmos.group.v1.MsgUpdateGroupPolicyAdmin", MsgUpdateGroupPolicyAdmin],
|
|
25
|
-
["/cosmos.group.v1.MsgWithdrawProposal", MsgWithdrawProposal],
|
|
26
|
-
["/cosmos.group.v1.MsgUpdateGroupPolicyMetadata", MsgUpdateGroupPolicyMetadata],
|
|
27
|
-
["/cosmos.group.v1.MsgVote", MsgVote],
|
|
28
|
-
["/cosmos.group.v1.MsgCreateGroup", MsgCreateGroup],
|
|
29
|
-
["/cosmos.group.v1.MsgUpdateGroupMembers", MsgUpdateGroupMembers],
|
|
30
|
-
];
|
|
31
|
-
export { msgTypes };
|