@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,1125 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
import Long from "long";
|
|
3
|
-
import _m0 from "protobufjs/minimal";
|
|
4
|
-
import { Any } from "../../../google/protobuf/any";
|
|
5
|
-
import { Duration } from "../../../google/protobuf/duration";
|
|
6
|
-
import { Timestamp } from "../../../google/protobuf/timestamp";
|
|
7
|
-
export const protobufPackage = "cosmos.group.v1";
|
|
8
|
-
/** Since: cosmos-sdk 0.46 */
|
|
9
|
-
/** VoteOption enumerates the valid vote options for a given proposal. */
|
|
10
|
-
export var VoteOption;
|
|
11
|
-
(function (VoteOption) {
|
|
12
|
-
/**
|
|
13
|
-
* VOTE_OPTION_UNSPECIFIED - VOTE_OPTION_UNSPECIFIED defines an unspecified vote option which will
|
|
14
|
-
* return an error.
|
|
15
|
-
*/
|
|
16
|
-
VoteOption[VoteOption["VOTE_OPTION_UNSPECIFIED"] = 0] = "VOTE_OPTION_UNSPECIFIED";
|
|
17
|
-
/** VOTE_OPTION_YES - VOTE_OPTION_YES defines a yes vote option. */
|
|
18
|
-
VoteOption[VoteOption["VOTE_OPTION_YES"] = 1] = "VOTE_OPTION_YES";
|
|
19
|
-
/** VOTE_OPTION_ABSTAIN - VOTE_OPTION_ABSTAIN defines an abstain vote option. */
|
|
20
|
-
VoteOption[VoteOption["VOTE_OPTION_ABSTAIN"] = 2] = "VOTE_OPTION_ABSTAIN";
|
|
21
|
-
/** VOTE_OPTION_NO - VOTE_OPTION_NO defines a no vote option. */
|
|
22
|
-
VoteOption[VoteOption["VOTE_OPTION_NO"] = 3] = "VOTE_OPTION_NO";
|
|
23
|
-
/** VOTE_OPTION_NO_WITH_VETO - VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. */
|
|
24
|
-
VoteOption[VoteOption["VOTE_OPTION_NO_WITH_VETO"] = 4] = "VOTE_OPTION_NO_WITH_VETO";
|
|
25
|
-
VoteOption[VoteOption["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
26
|
-
})(VoteOption || (VoteOption = {}));
|
|
27
|
-
export function voteOptionFromJSON(object) {
|
|
28
|
-
switch (object) {
|
|
29
|
-
case 0:
|
|
30
|
-
case "VOTE_OPTION_UNSPECIFIED":
|
|
31
|
-
return VoteOption.VOTE_OPTION_UNSPECIFIED;
|
|
32
|
-
case 1:
|
|
33
|
-
case "VOTE_OPTION_YES":
|
|
34
|
-
return VoteOption.VOTE_OPTION_YES;
|
|
35
|
-
case 2:
|
|
36
|
-
case "VOTE_OPTION_ABSTAIN":
|
|
37
|
-
return VoteOption.VOTE_OPTION_ABSTAIN;
|
|
38
|
-
case 3:
|
|
39
|
-
case "VOTE_OPTION_NO":
|
|
40
|
-
return VoteOption.VOTE_OPTION_NO;
|
|
41
|
-
case 4:
|
|
42
|
-
case "VOTE_OPTION_NO_WITH_VETO":
|
|
43
|
-
return VoteOption.VOTE_OPTION_NO_WITH_VETO;
|
|
44
|
-
case -1:
|
|
45
|
-
case "UNRECOGNIZED":
|
|
46
|
-
default:
|
|
47
|
-
return VoteOption.UNRECOGNIZED;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
export function voteOptionToJSON(object) {
|
|
51
|
-
switch (object) {
|
|
52
|
-
case VoteOption.VOTE_OPTION_UNSPECIFIED:
|
|
53
|
-
return "VOTE_OPTION_UNSPECIFIED";
|
|
54
|
-
case VoteOption.VOTE_OPTION_YES:
|
|
55
|
-
return "VOTE_OPTION_YES";
|
|
56
|
-
case VoteOption.VOTE_OPTION_ABSTAIN:
|
|
57
|
-
return "VOTE_OPTION_ABSTAIN";
|
|
58
|
-
case VoteOption.VOTE_OPTION_NO:
|
|
59
|
-
return "VOTE_OPTION_NO";
|
|
60
|
-
case VoteOption.VOTE_OPTION_NO_WITH_VETO:
|
|
61
|
-
return "VOTE_OPTION_NO_WITH_VETO";
|
|
62
|
-
case VoteOption.UNRECOGNIZED:
|
|
63
|
-
default:
|
|
64
|
-
return "UNRECOGNIZED";
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
/** ProposalStatus defines proposal statuses. */
|
|
68
|
-
export var ProposalStatus;
|
|
69
|
-
(function (ProposalStatus) {
|
|
70
|
-
/** PROPOSAL_STATUS_UNSPECIFIED - An empty value is invalid and not allowed. */
|
|
71
|
-
ProposalStatus[ProposalStatus["PROPOSAL_STATUS_UNSPECIFIED"] = 0] = "PROPOSAL_STATUS_UNSPECIFIED";
|
|
72
|
-
/** PROPOSAL_STATUS_SUBMITTED - Initial status of a proposal when submitted. */
|
|
73
|
-
ProposalStatus[ProposalStatus["PROPOSAL_STATUS_SUBMITTED"] = 1] = "PROPOSAL_STATUS_SUBMITTED";
|
|
74
|
-
/**
|
|
75
|
-
* PROPOSAL_STATUS_ACCEPTED - Final status of a proposal when the final tally is done and the outcome
|
|
76
|
-
* passes the group policy's decision policy.
|
|
77
|
-
*/
|
|
78
|
-
ProposalStatus[ProposalStatus["PROPOSAL_STATUS_ACCEPTED"] = 2] = "PROPOSAL_STATUS_ACCEPTED";
|
|
79
|
-
/**
|
|
80
|
-
* PROPOSAL_STATUS_REJECTED - Final status of a proposal when the final tally is done and the outcome
|
|
81
|
-
* is rejected by the group policy's decision policy.
|
|
82
|
-
*/
|
|
83
|
-
ProposalStatus[ProposalStatus["PROPOSAL_STATUS_REJECTED"] = 3] = "PROPOSAL_STATUS_REJECTED";
|
|
84
|
-
/**
|
|
85
|
-
* PROPOSAL_STATUS_ABORTED - Final status of a proposal when the group policy is modified before the
|
|
86
|
-
* final tally.
|
|
87
|
-
*/
|
|
88
|
-
ProposalStatus[ProposalStatus["PROPOSAL_STATUS_ABORTED"] = 4] = "PROPOSAL_STATUS_ABORTED";
|
|
89
|
-
/**
|
|
90
|
-
* PROPOSAL_STATUS_WITHDRAWN - A proposal can be withdrawn before the voting start time by the owner.
|
|
91
|
-
* When this happens the final status is Withdrawn.
|
|
92
|
-
*/
|
|
93
|
-
ProposalStatus[ProposalStatus["PROPOSAL_STATUS_WITHDRAWN"] = 5] = "PROPOSAL_STATUS_WITHDRAWN";
|
|
94
|
-
ProposalStatus[ProposalStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
95
|
-
})(ProposalStatus || (ProposalStatus = {}));
|
|
96
|
-
export function proposalStatusFromJSON(object) {
|
|
97
|
-
switch (object) {
|
|
98
|
-
case 0:
|
|
99
|
-
case "PROPOSAL_STATUS_UNSPECIFIED":
|
|
100
|
-
return ProposalStatus.PROPOSAL_STATUS_UNSPECIFIED;
|
|
101
|
-
case 1:
|
|
102
|
-
case "PROPOSAL_STATUS_SUBMITTED":
|
|
103
|
-
return ProposalStatus.PROPOSAL_STATUS_SUBMITTED;
|
|
104
|
-
case 2:
|
|
105
|
-
case "PROPOSAL_STATUS_ACCEPTED":
|
|
106
|
-
return ProposalStatus.PROPOSAL_STATUS_ACCEPTED;
|
|
107
|
-
case 3:
|
|
108
|
-
case "PROPOSAL_STATUS_REJECTED":
|
|
109
|
-
return ProposalStatus.PROPOSAL_STATUS_REJECTED;
|
|
110
|
-
case 4:
|
|
111
|
-
case "PROPOSAL_STATUS_ABORTED":
|
|
112
|
-
return ProposalStatus.PROPOSAL_STATUS_ABORTED;
|
|
113
|
-
case 5:
|
|
114
|
-
case "PROPOSAL_STATUS_WITHDRAWN":
|
|
115
|
-
return ProposalStatus.PROPOSAL_STATUS_WITHDRAWN;
|
|
116
|
-
case -1:
|
|
117
|
-
case "UNRECOGNIZED":
|
|
118
|
-
default:
|
|
119
|
-
return ProposalStatus.UNRECOGNIZED;
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
export function proposalStatusToJSON(object) {
|
|
123
|
-
switch (object) {
|
|
124
|
-
case ProposalStatus.PROPOSAL_STATUS_UNSPECIFIED:
|
|
125
|
-
return "PROPOSAL_STATUS_UNSPECIFIED";
|
|
126
|
-
case ProposalStatus.PROPOSAL_STATUS_SUBMITTED:
|
|
127
|
-
return "PROPOSAL_STATUS_SUBMITTED";
|
|
128
|
-
case ProposalStatus.PROPOSAL_STATUS_ACCEPTED:
|
|
129
|
-
return "PROPOSAL_STATUS_ACCEPTED";
|
|
130
|
-
case ProposalStatus.PROPOSAL_STATUS_REJECTED:
|
|
131
|
-
return "PROPOSAL_STATUS_REJECTED";
|
|
132
|
-
case ProposalStatus.PROPOSAL_STATUS_ABORTED:
|
|
133
|
-
return "PROPOSAL_STATUS_ABORTED";
|
|
134
|
-
case ProposalStatus.PROPOSAL_STATUS_WITHDRAWN:
|
|
135
|
-
return "PROPOSAL_STATUS_WITHDRAWN";
|
|
136
|
-
case ProposalStatus.UNRECOGNIZED:
|
|
137
|
-
default:
|
|
138
|
-
return "UNRECOGNIZED";
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
/** ProposalExecutorResult defines types of proposal executor results. */
|
|
142
|
-
export var ProposalExecutorResult;
|
|
143
|
-
(function (ProposalExecutorResult) {
|
|
144
|
-
/** PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED - An empty value is not allowed. */
|
|
145
|
-
ProposalExecutorResult[ProposalExecutorResult["PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED"] = 0] = "PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED";
|
|
146
|
-
/** PROPOSAL_EXECUTOR_RESULT_NOT_RUN - We have not yet run the executor. */
|
|
147
|
-
ProposalExecutorResult[ProposalExecutorResult["PROPOSAL_EXECUTOR_RESULT_NOT_RUN"] = 1] = "PROPOSAL_EXECUTOR_RESULT_NOT_RUN";
|
|
148
|
-
/** PROPOSAL_EXECUTOR_RESULT_SUCCESS - The executor was successful and proposed action updated state. */
|
|
149
|
-
ProposalExecutorResult[ProposalExecutorResult["PROPOSAL_EXECUTOR_RESULT_SUCCESS"] = 2] = "PROPOSAL_EXECUTOR_RESULT_SUCCESS";
|
|
150
|
-
/** PROPOSAL_EXECUTOR_RESULT_FAILURE - The executor returned an error and proposed action didn't update state. */
|
|
151
|
-
ProposalExecutorResult[ProposalExecutorResult["PROPOSAL_EXECUTOR_RESULT_FAILURE"] = 3] = "PROPOSAL_EXECUTOR_RESULT_FAILURE";
|
|
152
|
-
ProposalExecutorResult[ProposalExecutorResult["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
153
|
-
})(ProposalExecutorResult || (ProposalExecutorResult = {}));
|
|
154
|
-
export function proposalExecutorResultFromJSON(object) {
|
|
155
|
-
switch (object) {
|
|
156
|
-
case 0:
|
|
157
|
-
case "PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED":
|
|
158
|
-
return ProposalExecutorResult.PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED;
|
|
159
|
-
case 1:
|
|
160
|
-
case "PROPOSAL_EXECUTOR_RESULT_NOT_RUN":
|
|
161
|
-
return ProposalExecutorResult.PROPOSAL_EXECUTOR_RESULT_NOT_RUN;
|
|
162
|
-
case 2:
|
|
163
|
-
case "PROPOSAL_EXECUTOR_RESULT_SUCCESS":
|
|
164
|
-
return ProposalExecutorResult.PROPOSAL_EXECUTOR_RESULT_SUCCESS;
|
|
165
|
-
case 3:
|
|
166
|
-
case "PROPOSAL_EXECUTOR_RESULT_FAILURE":
|
|
167
|
-
return ProposalExecutorResult.PROPOSAL_EXECUTOR_RESULT_FAILURE;
|
|
168
|
-
case -1:
|
|
169
|
-
case "UNRECOGNIZED":
|
|
170
|
-
default:
|
|
171
|
-
return ProposalExecutorResult.UNRECOGNIZED;
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
export function proposalExecutorResultToJSON(object) {
|
|
175
|
-
switch (object) {
|
|
176
|
-
case ProposalExecutorResult.PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED:
|
|
177
|
-
return "PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED";
|
|
178
|
-
case ProposalExecutorResult.PROPOSAL_EXECUTOR_RESULT_NOT_RUN:
|
|
179
|
-
return "PROPOSAL_EXECUTOR_RESULT_NOT_RUN";
|
|
180
|
-
case ProposalExecutorResult.PROPOSAL_EXECUTOR_RESULT_SUCCESS:
|
|
181
|
-
return "PROPOSAL_EXECUTOR_RESULT_SUCCESS";
|
|
182
|
-
case ProposalExecutorResult.PROPOSAL_EXECUTOR_RESULT_FAILURE:
|
|
183
|
-
return "PROPOSAL_EXECUTOR_RESULT_FAILURE";
|
|
184
|
-
case ProposalExecutorResult.UNRECOGNIZED:
|
|
185
|
-
default:
|
|
186
|
-
return "UNRECOGNIZED";
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
function createBaseMember() {
|
|
190
|
-
return { address: "", weight: "", metadata: "", addedAt: undefined };
|
|
191
|
-
}
|
|
192
|
-
export const Member = {
|
|
193
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
194
|
-
if (message.address !== "") {
|
|
195
|
-
writer.uint32(10).string(message.address);
|
|
196
|
-
}
|
|
197
|
-
if (message.weight !== "") {
|
|
198
|
-
writer.uint32(18).string(message.weight);
|
|
199
|
-
}
|
|
200
|
-
if (message.metadata !== "") {
|
|
201
|
-
writer.uint32(26).string(message.metadata);
|
|
202
|
-
}
|
|
203
|
-
if (message.addedAt !== undefined) {
|
|
204
|
-
Timestamp.encode(toTimestamp(message.addedAt), writer.uint32(34).fork()).ldelim();
|
|
205
|
-
}
|
|
206
|
-
return writer;
|
|
207
|
-
},
|
|
208
|
-
decode(input, length) {
|
|
209
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
210
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
211
|
-
const message = createBaseMember();
|
|
212
|
-
while (reader.pos < end) {
|
|
213
|
-
const tag = reader.uint32();
|
|
214
|
-
switch (tag >>> 3) {
|
|
215
|
-
case 1:
|
|
216
|
-
message.address = reader.string();
|
|
217
|
-
break;
|
|
218
|
-
case 2:
|
|
219
|
-
message.weight = reader.string();
|
|
220
|
-
break;
|
|
221
|
-
case 3:
|
|
222
|
-
message.metadata = reader.string();
|
|
223
|
-
break;
|
|
224
|
-
case 4:
|
|
225
|
-
message.addedAt = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
226
|
-
break;
|
|
227
|
-
default:
|
|
228
|
-
reader.skipType(tag & 7);
|
|
229
|
-
break;
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
|
-
return message;
|
|
233
|
-
},
|
|
234
|
-
fromJSON(object) {
|
|
235
|
-
return {
|
|
236
|
-
address: isSet(object.address) ? String(object.address) : "",
|
|
237
|
-
weight: isSet(object.weight) ? String(object.weight) : "",
|
|
238
|
-
metadata: isSet(object.metadata) ? String(object.metadata) : "",
|
|
239
|
-
addedAt: isSet(object.addedAt) ? fromJsonTimestamp(object.addedAt) : undefined,
|
|
240
|
-
};
|
|
241
|
-
},
|
|
242
|
-
toJSON(message) {
|
|
243
|
-
const obj = {};
|
|
244
|
-
message.address !== undefined && (obj.address = message.address);
|
|
245
|
-
message.weight !== undefined && (obj.weight = message.weight);
|
|
246
|
-
message.metadata !== undefined && (obj.metadata = message.metadata);
|
|
247
|
-
message.addedAt !== undefined && (obj.addedAt = message.addedAt.toISOString());
|
|
248
|
-
return obj;
|
|
249
|
-
},
|
|
250
|
-
fromPartial(object) {
|
|
251
|
-
const message = createBaseMember();
|
|
252
|
-
message.address = object.address ?? "";
|
|
253
|
-
message.weight = object.weight ?? "";
|
|
254
|
-
message.metadata = object.metadata ?? "";
|
|
255
|
-
message.addedAt = object.addedAt ?? undefined;
|
|
256
|
-
return message;
|
|
257
|
-
},
|
|
258
|
-
};
|
|
259
|
-
function createBaseMemberRequest() {
|
|
260
|
-
return { address: "", weight: "", metadata: "" };
|
|
261
|
-
}
|
|
262
|
-
export const MemberRequest = {
|
|
263
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
264
|
-
if (message.address !== "") {
|
|
265
|
-
writer.uint32(10).string(message.address);
|
|
266
|
-
}
|
|
267
|
-
if (message.weight !== "") {
|
|
268
|
-
writer.uint32(18).string(message.weight);
|
|
269
|
-
}
|
|
270
|
-
if (message.metadata !== "") {
|
|
271
|
-
writer.uint32(26).string(message.metadata);
|
|
272
|
-
}
|
|
273
|
-
return writer;
|
|
274
|
-
},
|
|
275
|
-
decode(input, length) {
|
|
276
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
277
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
278
|
-
const message = createBaseMemberRequest();
|
|
279
|
-
while (reader.pos < end) {
|
|
280
|
-
const tag = reader.uint32();
|
|
281
|
-
switch (tag >>> 3) {
|
|
282
|
-
case 1:
|
|
283
|
-
message.address = reader.string();
|
|
284
|
-
break;
|
|
285
|
-
case 2:
|
|
286
|
-
message.weight = reader.string();
|
|
287
|
-
break;
|
|
288
|
-
case 3:
|
|
289
|
-
message.metadata = reader.string();
|
|
290
|
-
break;
|
|
291
|
-
default:
|
|
292
|
-
reader.skipType(tag & 7);
|
|
293
|
-
break;
|
|
294
|
-
}
|
|
295
|
-
}
|
|
296
|
-
return message;
|
|
297
|
-
},
|
|
298
|
-
fromJSON(object) {
|
|
299
|
-
return {
|
|
300
|
-
address: isSet(object.address) ? String(object.address) : "",
|
|
301
|
-
weight: isSet(object.weight) ? String(object.weight) : "",
|
|
302
|
-
metadata: isSet(object.metadata) ? String(object.metadata) : "",
|
|
303
|
-
};
|
|
304
|
-
},
|
|
305
|
-
toJSON(message) {
|
|
306
|
-
const obj = {};
|
|
307
|
-
message.address !== undefined && (obj.address = message.address);
|
|
308
|
-
message.weight !== undefined && (obj.weight = message.weight);
|
|
309
|
-
message.metadata !== undefined && (obj.metadata = message.metadata);
|
|
310
|
-
return obj;
|
|
311
|
-
},
|
|
312
|
-
fromPartial(object) {
|
|
313
|
-
const message = createBaseMemberRequest();
|
|
314
|
-
message.address = object.address ?? "";
|
|
315
|
-
message.weight = object.weight ?? "";
|
|
316
|
-
message.metadata = object.metadata ?? "";
|
|
317
|
-
return message;
|
|
318
|
-
},
|
|
319
|
-
};
|
|
320
|
-
function createBaseThresholdDecisionPolicy() {
|
|
321
|
-
return { threshold: "", windows: undefined };
|
|
322
|
-
}
|
|
323
|
-
export const ThresholdDecisionPolicy = {
|
|
324
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
325
|
-
if (message.threshold !== "") {
|
|
326
|
-
writer.uint32(10).string(message.threshold);
|
|
327
|
-
}
|
|
328
|
-
if (message.windows !== undefined) {
|
|
329
|
-
DecisionPolicyWindows.encode(message.windows, writer.uint32(18).fork()).ldelim();
|
|
330
|
-
}
|
|
331
|
-
return writer;
|
|
332
|
-
},
|
|
333
|
-
decode(input, length) {
|
|
334
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
335
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
336
|
-
const message = createBaseThresholdDecisionPolicy();
|
|
337
|
-
while (reader.pos < end) {
|
|
338
|
-
const tag = reader.uint32();
|
|
339
|
-
switch (tag >>> 3) {
|
|
340
|
-
case 1:
|
|
341
|
-
message.threshold = reader.string();
|
|
342
|
-
break;
|
|
343
|
-
case 2:
|
|
344
|
-
message.windows = DecisionPolicyWindows.decode(reader, reader.uint32());
|
|
345
|
-
break;
|
|
346
|
-
default:
|
|
347
|
-
reader.skipType(tag & 7);
|
|
348
|
-
break;
|
|
349
|
-
}
|
|
350
|
-
}
|
|
351
|
-
return message;
|
|
352
|
-
},
|
|
353
|
-
fromJSON(object) {
|
|
354
|
-
return {
|
|
355
|
-
threshold: isSet(object.threshold) ? String(object.threshold) : "",
|
|
356
|
-
windows: isSet(object.windows) ? DecisionPolicyWindows.fromJSON(object.windows) : undefined,
|
|
357
|
-
};
|
|
358
|
-
},
|
|
359
|
-
toJSON(message) {
|
|
360
|
-
const obj = {};
|
|
361
|
-
message.threshold !== undefined && (obj.threshold = message.threshold);
|
|
362
|
-
message.windows !== undefined
|
|
363
|
-
&& (obj.windows = message.windows ? DecisionPolicyWindows.toJSON(message.windows) : undefined);
|
|
364
|
-
return obj;
|
|
365
|
-
},
|
|
366
|
-
fromPartial(object) {
|
|
367
|
-
const message = createBaseThresholdDecisionPolicy();
|
|
368
|
-
message.threshold = object.threshold ?? "";
|
|
369
|
-
message.windows = (object.windows !== undefined && object.windows !== null)
|
|
370
|
-
? DecisionPolicyWindows.fromPartial(object.windows)
|
|
371
|
-
: undefined;
|
|
372
|
-
return message;
|
|
373
|
-
},
|
|
374
|
-
};
|
|
375
|
-
function createBasePercentageDecisionPolicy() {
|
|
376
|
-
return { percentage: "", windows: undefined };
|
|
377
|
-
}
|
|
378
|
-
export const PercentageDecisionPolicy = {
|
|
379
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
380
|
-
if (message.percentage !== "") {
|
|
381
|
-
writer.uint32(10).string(message.percentage);
|
|
382
|
-
}
|
|
383
|
-
if (message.windows !== undefined) {
|
|
384
|
-
DecisionPolicyWindows.encode(message.windows, writer.uint32(18).fork()).ldelim();
|
|
385
|
-
}
|
|
386
|
-
return writer;
|
|
387
|
-
},
|
|
388
|
-
decode(input, length) {
|
|
389
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
390
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
391
|
-
const message = createBasePercentageDecisionPolicy();
|
|
392
|
-
while (reader.pos < end) {
|
|
393
|
-
const tag = reader.uint32();
|
|
394
|
-
switch (tag >>> 3) {
|
|
395
|
-
case 1:
|
|
396
|
-
message.percentage = reader.string();
|
|
397
|
-
break;
|
|
398
|
-
case 2:
|
|
399
|
-
message.windows = DecisionPolicyWindows.decode(reader, reader.uint32());
|
|
400
|
-
break;
|
|
401
|
-
default:
|
|
402
|
-
reader.skipType(tag & 7);
|
|
403
|
-
break;
|
|
404
|
-
}
|
|
405
|
-
}
|
|
406
|
-
return message;
|
|
407
|
-
},
|
|
408
|
-
fromJSON(object) {
|
|
409
|
-
return {
|
|
410
|
-
percentage: isSet(object.percentage) ? String(object.percentage) : "",
|
|
411
|
-
windows: isSet(object.windows) ? DecisionPolicyWindows.fromJSON(object.windows) : undefined,
|
|
412
|
-
};
|
|
413
|
-
},
|
|
414
|
-
toJSON(message) {
|
|
415
|
-
const obj = {};
|
|
416
|
-
message.percentage !== undefined && (obj.percentage = message.percentage);
|
|
417
|
-
message.windows !== undefined
|
|
418
|
-
&& (obj.windows = message.windows ? DecisionPolicyWindows.toJSON(message.windows) : undefined);
|
|
419
|
-
return obj;
|
|
420
|
-
},
|
|
421
|
-
fromPartial(object) {
|
|
422
|
-
const message = createBasePercentageDecisionPolicy();
|
|
423
|
-
message.percentage = object.percentage ?? "";
|
|
424
|
-
message.windows = (object.windows !== undefined && object.windows !== null)
|
|
425
|
-
? DecisionPolicyWindows.fromPartial(object.windows)
|
|
426
|
-
: undefined;
|
|
427
|
-
return message;
|
|
428
|
-
},
|
|
429
|
-
};
|
|
430
|
-
function createBaseDecisionPolicyWindows() {
|
|
431
|
-
return { votingPeriod: undefined, minExecutionPeriod: undefined };
|
|
432
|
-
}
|
|
433
|
-
export const DecisionPolicyWindows = {
|
|
434
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
435
|
-
if (message.votingPeriod !== undefined) {
|
|
436
|
-
Duration.encode(message.votingPeriod, writer.uint32(10).fork()).ldelim();
|
|
437
|
-
}
|
|
438
|
-
if (message.minExecutionPeriod !== undefined) {
|
|
439
|
-
Duration.encode(message.minExecutionPeriod, 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 = createBaseDecisionPolicyWindows();
|
|
447
|
-
while (reader.pos < end) {
|
|
448
|
-
const tag = reader.uint32();
|
|
449
|
-
switch (tag >>> 3) {
|
|
450
|
-
case 1:
|
|
451
|
-
message.votingPeriod = Duration.decode(reader, reader.uint32());
|
|
452
|
-
break;
|
|
453
|
-
case 2:
|
|
454
|
-
message.minExecutionPeriod = Duration.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
|
-
votingPeriod: isSet(object.votingPeriod) ? Duration.fromJSON(object.votingPeriod) : undefined,
|
|
466
|
-
minExecutionPeriod: isSet(object.minExecutionPeriod) ? Duration.fromJSON(object.minExecutionPeriod) : undefined,
|
|
467
|
-
};
|
|
468
|
-
},
|
|
469
|
-
toJSON(message) {
|
|
470
|
-
const obj = {};
|
|
471
|
-
message.votingPeriod !== undefined
|
|
472
|
-
&& (obj.votingPeriod = message.votingPeriod ? Duration.toJSON(message.votingPeriod) : undefined);
|
|
473
|
-
message.minExecutionPeriod !== undefined
|
|
474
|
-
&& (obj.minExecutionPeriod = message.minExecutionPeriod
|
|
475
|
-
? Duration.toJSON(message.minExecutionPeriod)
|
|
476
|
-
: undefined);
|
|
477
|
-
return obj;
|
|
478
|
-
},
|
|
479
|
-
fromPartial(object) {
|
|
480
|
-
const message = createBaseDecisionPolicyWindows();
|
|
481
|
-
message.votingPeriod = (object.votingPeriod !== undefined && object.votingPeriod !== null)
|
|
482
|
-
? Duration.fromPartial(object.votingPeriod)
|
|
483
|
-
: undefined;
|
|
484
|
-
message.minExecutionPeriod = (object.minExecutionPeriod !== undefined && object.minExecutionPeriod !== null)
|
|
485
|
-
? Duration.fromPartial(object.minExecutionPeriod)
|
|
486
|
-
: undefined;
|
|
487
|
-
return message;
|
|
488
|
-
},
|
|
489
|
-
};
|
|
490
|
-
function createBaseGroupInfo() {
|
|
491
|
-
return { id: 0, admin: "", metadata: "", version: 0, totalWeight: "", createdAt: undefined };
|
|
492
|
-
}
|
|
493
|
-
export const GroupInfo = {
|
|
494
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
495
|
-
if (message.id !== 0) {
|
|
496
|
-
writer.uint32(8).uint64(message.id);
|
|
497
|
-
}
|
|
498
|
-
if (message.admin !== "") {
|
|
499
|
-
writer.uint32(18).string(message.admin);
|
|
500
|
-
}
|
|
501
|
-
if (message.metadata !== "") {
|
|
502
|
-
writer.uint32(26).string(message.metadata);
|
|
503
|
-
}
|
|
504
|
-
if (message.version !== 0) {
|
|
505
|
-
writer.uint32(32).uint64(message.version);
|
|
506
|
-
}
|
|
507
|
-
if (message.totalWeight !== "") {
|
|
508
|
-
writer.uint32(42).string(message.totalWeight);
|
|
509
|
-
}
|
|
510
|
-
if (message.createdAt !== undefined) {
|
|
511
|
-
Timestamp.encode(toTimestamp(message.createdAt), writer.uint32(50).fork()).ldelim();
|
|
512
|
-
}
|
|
513
|
-
return writer;
|
|
514
|
-
},
|
|
515
|
-
decode(input, length) {
|
|
516
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
517
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
518
|
-
const message = createBaseGroupInfo();
|
|
519
|
-
while (reader.pos < end) {
|
|
520
|
-
const tag = reader.uint32();
|
|
521
|
-
switch (tag >>> 3) {
|
|
522
|
-
case 1:
|
|
523
|
-
message.id = longToNumber(reader.uint64());
|
|
524
|
-
break;
|
|
525
|
-
case 2:
|
|
526
|
-
message.admin = reader.string();
|
|
527
|
-
break;
|
|
528
|
-
case 3:
|
|
529
|
-
message.metadata = reader.string();
|
|
530
|
-
break;
|
|
531
|
-
case 4:
|
|
532
|
-
message.version = longToNumber(reader.uint64());
|
|
533
|
-
break;
|
|
534
|
-
case 5:
|
|
535
|
-
message.totalWeight = reader.string();
|
|
536
|
-
break;
|
|
537
|
-
case 6:
|
|
538
|
-
message.createdAt = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
539
|
-
break;
|
|
540
|
-
default:
|
|
541
|
-
reader.skipType(tag & 7);
|
|
542
|
-
break;
|
|
543
|
-
}
|
|
544
|
-
}
|
|
545
|
-
return message;
|
|
546
|
-
},
|
|
547
|
-
fromJSON(object) {
|
|
548
|
-
return {
|
|
549
|
-
id: isSet(object.id) ? Number(object.id) : 0,
|
|
550
|
-
admin: isSet(object.admin) ? String(object.admin) : "",
|
|
551
|
-
metadata: isSet(object.metadata) ? String(object.metadata) : "",
|
|
552
|
-
version: isSet(object.version) ? Number(object.version) : 0,
|
|
553
|
-
totalWeight: isSet(object.totalWeight) ? String(object.totalWeight) : "",
|
|
554
|
-
createdAt: isSet(object.createdAt) ? fromJsonTimestamp(object.createdAt) : undefined,
|
|
555
|
-
};
|
|
556
|
-
},
|
|
557
|
-
toJSON(message) {
|
|
558
|
-
const obj = {};
|
|
559
|
-
message.id !== undefined && (obj.id = Math.round(message.id));
|
|
560
|
-
message.admin !== undefined && (obj.admin = message.admin);
|
|
561
|
-
message.metadata !== undefined && (obj.metadata = message.metadata);
|
|
562
|
-
message.version !== undefined && (obj.version = Math.round(message.version));
|
|
563
|
-
message.totalWeight !== undefined && (obj.totalWeight = message.totalWeight);
|
|
564
|
-
message.createdAt !== undefined && (obj.createdAt = message.createdAt.toISOString());
|
|
565
|
-
return obj;
|
|
566
|
-
},
|
|
567
|
-
fromPartial(object) {
|
|
568
|
-
const message = createBaseGroupInfo();
|
|
569
|
-
message.id = object.id ?? 0;
|
|
570
|
-
message.admin = object.admin ?? "";
|
|
571
|
-
message.metadata = object.metadata ?? "";
|
|
572
|
-
message.version = object.version ?? 0;
|
|
573
|
-
message.totalWeight = object.totalWeight ?? "";
|
|
574
|
-
message.createdAt = object.createdAt ?? undefined;
|
|
575
|
-
return message;
|
|
576
|
-
},
|
|
577
|
-
};
|
|
578
|
-
function createBaseGroupMember() {
|
|
579
|
-
return { groupId: 0, member: undefined };
|
|
580
|
-
}
|
|
581
|
-
export const GroupMember = {
|
|
582
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
583
|
-
if (message.groupId !== 0) {
|
|
584
|
-
writer.uint32(8).uint64(message.groupId);
|
|
585
|
-
}
|
|
586
|
-
if (message.member !== undefined) {
|
|
587
|
-
Member.encode(message.member, writer.uint32(18).fork()).ldelim();
|
|
588
|
-
}
|
|
589
|
-
return writer;
|
|
590
|
-
},
|
|
591
|
-
decode(input, length) {
|
|
592
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
593
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
594
|
-
const message = createBaseGroupMember();
|
|
595
|
-
while (reader.pos < end) {
|
|
596
|
-
const tag = reader.uint32();
|
|
597
|
-
switch (tag >>> 3) {
|
|
598
|
-
case 1:
|
|
599
|
-
message.groupId = longToNumber(reader.uint64());
|
|
600
|
-
break;
|
|
601
|
-
case 2:
|
|
602
|
-
message.member = Member.decode(reader, reader.uint32());
|
|
603
|
-
break;
|
|
604
|
-
default:
|
|
605
|
-
reader.skipType(tag & 7);
|
|
606
|
-
break;
|
|
607
|
-
}
|
|
608
|
-
}
|
|
609
|
-
return message;
|
|
610
|
-
},
|
|
611
|
-
fromJSON(object) {
|
|
612
|
-
return {
|
|
613
|
-
groupId: isSet(object.groupId) ? Number(object.groupId) : 0,
|
|
614
|
-
member: isSet(object.member) ? Member.fromJSON(object.member) : undefined,
|
|
615
|
-
};
|
|
616
|
-
},
|
|
617
|
-
toJSON(message) {
|
|
618
|
-
const obj = {};
|
|
619
|
-
message.groupId !== undefined && (obj.groupId = Math.round(message.groupId));
|
|
620
|
-
message.member !== undefined && (obj.member = message.member ? Member.toJSON(message.member) : undefined);
|
|
621
|
-
return obj;
|
|
622
|
-
},
|
|
623
|
-
fromPartial(object) {
|
|
624
|
-
const message = createBaseGroupMember();
|
|
625
|
-
message.groupId = object.groupId ?? 0;
|
|
626
|
-
message.member = (object.member !== undefined && object.member !== null)
|
|
627
|
-
? Member.fromPartial(object.member)
|
|
628
|
-
: undefined;
|
|
629
|
-
return message;
|
|
630
|
-
},
|
|
631
|
-
};
|
|
632
|
-
function createBaseGroupPolicyInfo() {
|
|
633
|
-
return {
|
|
634
|
-
address: "",
|
|
635
|
-
groupId: 0,
|
|
636
|
-
admin: "",
|
|
637
|
-
metadata: "",
|
|
638
|
-
version: 0,
|
|
639
|
-
decisionPolicy: undefined,
|
|
640
|
-
createdAt: undefined,
|
|
641
|
-
};
|
|
642
|
-
}
|
|
643
|
-
export const GroupPolicyInfo = {
|
|
644
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
645
|
-
if (message.address !== "") {
|
|
646
|
-
writer.uint32(10).string(message.address);
|
|
647
|
-
}
|
|
648
|
-
if (message.groupId !== 0) {
|
|
649
|
-
writer.uint32(16).uint64(message.groupId);
|
|
650
|
-
}
|
|
651
|
-
if (message.admin !== "") {
|
|
652
|
-
writer.uint32(26).string(message.admin);
|
|
653
|
-
}
|
|
654
|
-
if (message.metadata !== "") {
|
|
655
|
-
writer.uint32(34).string(message.metadata);
|
|
656
|
-
}
|
|
657
|
-
if (message.version !== 0) {
|
|
658
|
-
writer.uint32(40).uint64(message.version);
|
|
659
|
-
}
|
|
660
|
-
if (message.decisionPolicy !== undefined) {
|
|
661
|
-
Any.encode(message.decisionPolicy, writer.uint32(50).fork()).ldelim();
|
|
662
|
-
}
|
|
663
|
-
if (message.createdAt !== undefined) {
|
|
664
|
-
Timestamp.encode(toTimestamp(message.createdAt), writer.uint32(58).fork()).ldelim();
|
|
665
|
-
}
|
|
666
|
-
return writer;
|
|
667
|
-
},
|
|
668
|
-
decode(input, length) {
|
|
669
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
670
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
671
|
-
const message = createBaseGroupPolicyInfo();
|
|
672
|
-
while (reader.pos < end) {
|
|
673
|
-
const tag = reader.uint32();
|
|
674
|
-
switch (tag >>> 3) {
|
|
675
|
-
case 1:
|
|
676
|
-
message.address = reader.string();
|
|
677
|
-
break;
|
|
678
|
-
case 2:
|
|
679
|
-
message.groupId = longToNumber(reader.uint64());
|
|
680
|
-
break;
|
|
681
|
-
case 3:
|
|
682
|
-
message.admin = reader.string();
|
|
683
|
-
break;
|
|
684
|
-
case 4:
|
|
685
|
-
message.metadata = reader.string();
|
|
686
|
-
break;
|
|
687
|
-
case 5:
|
|
688
|
-
message.version = longToNumber(reader.uint64());
|
|
689
|
-
break;
|
|
690
|
-
case 6:
|
|
691
|
-
message.decisionPolicy = Any.decode(reader, reader.uint32());
|
|
692
|
-
break;
|
|
693
|
-
case 7:
|
|
694
|
-
message.createdAt = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
695
|
-
break;
|
|
696
|
-
default:
|
|
697
|
-
reader.skipType(tag & 7);
|
|
698
|
-
break;
|
|
699
|
-
}
|
|
700
|
-
}
|
|
701
|
-
return message;
|
|
702
|
-
},
|
|
703
|
-
fromJSON(object) {
|
|
704
|
-
return {
|
|
705
|
-
address: isSet(object.address) ? String(object.address) : "",
|
|
706
|
-
groupId: isSet(object.groupId) ? Number(object.groupId) : 0,
|
|
707
|
-
admin: isSet(object.admin) ? String(object.admin) : "",
|
|
708
|
-
metadata: isSet(object.metadata) ? String(object.metadata) : "",
|
|
709
|
-
version: isSet(object.version) ? Number(object.version) : 0,
|
|
710
|
-
decisionPolicy: isSet(object.decisionPolicy) ? Any.fromJSON(object.decisionPolicy) : undefined,
|
|
711
|
-
createdAt: isSet(object.createdAt) ? fromJsonTimestamp(object.createdAt) : undefined,
|
|
712
|
-
};
|
|
713
|
-
},
|
|
714
|
-
toJSON(message) {
|
|
715
|
-
const obj = {};
|
|
716
|
-
message.address !== undefined && (obj.address = message.address);
|
|
717
|
-
message.groupId !== undefined && (obj.groupId = Math.round(message.groupId));
|
|
718
|
-
message.admin !== undefined && (obj.admin = message.admin);
|
|
719
|
-
message.metadata !== undefined && (obj.metadata = message.metadata);
|
|
720
|
-
message.version !== undefined && (obj.version = Math.round(message.version));
|
|
721
|
-
message.decisionPolicy !== undefined
|
|
722
|
-
&& (obj.decisionPolicy = message.decisionPolicy ? Any.toJSON(message.decisionPolicy) : undefined);
|
|
723
|
-
message.createdAt !== undefined && (obj.createdAt = message.createdAt.toISOString());
|
|
724
|
-
return obj;
|
|
725
|
-
},
|
|
726
|
-
fromPartial(object) {
|
|
727
|
-
const message = createBaseGroupPolicyInfo();
|
|
728
|
-
message.address = object.address ?? "";
|
|
729
|
-
message.groupId = object.groupId ?? 0;
|
|
730
|
-
message.admin = object.admin ?? "";
|
|
731
|
-
message.metadata = object.metadata ?? "";
|
|
732
|
-
message.version = object.version ?? 0;
|
|
733
|
-
message.decisionPolicy = (object.decisionPolicy !== undefined && object.decisionPolicy !== null)
|
|
734
|
-
? Any.fromPartial(object.decisionPolicy)
|
|
735
|
-
: undefined;
|
|
736
|
-
message.createdAt = object.createdAt ?? undefined;
|
|
737
|
-
return message;
|
|
738
|
-
},
|
|
739
|
-
};
|
|
740
|
-
function createBaseProposal() {
|
|
741
|
-
return {
|
|
742
|
-
id: 0,
|
|
743
|
-
groupPolicyAddress: "",
|
|
744
|
-
metadata: "",
|
|
745
|
-
proposers: [],
|
|
746
|
-
submitTime: undefined,
|
|
747
|
-
groupVersion: 0,
|
|
748
|
-
groupPolicyVersion: 0,
|
|
749
|
-
status: 0,
|
|
750
|
-
finalTallyResult: undefined,
|
|
751
|
-
votingPeriodEnd: undefined,
|
|
752
|
-
executorResult: 0,
|
|
753
|
-
messages: [],
|
|
754
|
-
title: "",
|
|
755
|
-
summary: "",
|
|
756
|
-
};
|
|
757
|
-
}
|
|
758
|
-
export const Proposal = {
|
|
759
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
760
|
-
if (message.id !== 0) {
|
|
761
|
-
writer.uint32(8).uint64(message.id);
|
|
762
|
-
}
|
|
763
|
-
if (message.groupPolicyAddress !== "") {
|
|
764
|
-
writer.uint32(18).string(message.groupPolicyAddress);
|
|
765
|
-
}
|
|
766
|
-
if (message.metadata !== "") {
|
|
767
|
-
writer.uint32(26).string(message.metadata);
|
|
768
|
-
}
|
|
769
|
-
for (const v of message.proposers) {
|
|
770
|
-
writer.uint32(34).string(v);
|
|
771
|
-
}
|
|
772
|
-
if (message.submitTime !== undefined) {
|
|
773
|
-
Timestamp.encode(toTimestamp(message.submitTime), writer.uint32(42).fork()).ldelim();
|
|
774
|
-
}
|
|
775
|
-
if (message.groupVersion !== 0) {
|
|
776
|
-
writer.uint32(48).uint64(message.groupVersion);
|
|
777
|
-
}
|
|
778
|
-
if (message.groupPolicyVersion !== 0) {
|
|
779
|
-
writer.uint32(56).uint64(message.groupPolicyVersion);
|
|
780
|
-
}
|
|
781
|
-
if (message.status !== 0) {
|
|
782
|
-
writer.uint32(64).int32(message.status);
|
|
783
|
-
}
|
|
784
|
-
if (message.finalTallyResult !== undefined) {
|
|
785
|
-
TallyResult.encode(message.finalTallyResult, writer.uint32(74).fork()).ldelim();
|
|
786
|
-
}
|
|
787
|
-
if (message.votingPeriodEnd !== undefined) {
|
|
788
|
-
Timestamp.encode(toTimestamp(message.votingPeriodEnd), writer.uint32(82).fork()).ldelim();
|
|
789
|
-
}
|
|
790
|
-
if (message.executorResult !== 0) {
|
|
791
|
-
writer.uint32(88).int32(message.executorResult);
|
|
792
|
-
}
|
|
793
|
-
for (const v of message.messages) {
|
|
794
|
-
Any.encode(v, writer.uint32(98).fork()).ldelim();
|
|
795
|
-
}
|
|
796
|
-
if (message.title !== "") {
|
|
797
|
-
writer.uint32(106).string(message.title);
|
|
798
|
-
}
|
|
799
|
-
if (message.summary !== "") {
|
|
800
|
-
writer.uint32(114).string(message.summary);
|
|
801
|
-
}
|
|
802
|
-
return writer;
|
|
803
|
-
},
|
|
804
|
-
decode(input, length) {
|
|
805
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
806
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
807
|
-
const message = createBaseProposal();
|
|
808
|
-
while (reader.pos < end) {
|
|
809
|
-
const tag = reader.uint32();
|
|
810
|
-
switch (tag >>> 3) {
|
|
811
|
-
case 1:
|
|
812
|
-
message.id = longToNumber(reader.uint64());
|
|
813
|
-
break;
|
|
814
|
-
case 2:
|
|
815
|
-
message.groupPolicyAddress = reader.string();
|
|
816
|
-
break;
|
|
817
|
-
case 3:
|
|
818
|
-
message.metadata = reader.string();
|
|
819
|
-
break;
|
|
820
|
-
case 4:
|
|
821
|
-
message.proposers.push(reader.string());
|
|
822
|
-
break;
|
|
823
|
-
case 5:
|
|
824
|
-
message.submitTime = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
825
|
-
break;
|
|
826
|
-
case 6:
|
|
827
|
-
message.groupVersion = longToNumber(reader.uint64());
|
|
828
|
-
break;
|
|
829
|
-
case 7:
|
|
830
|
-
message.groupPolicyVersion = longToNumber(reader.uint64());
|
|
831
|
-
break;
|
|
832
|
-
case 8:
|
|
833
|
-
message.status = reader.int32();
|
|
834
|
-
break;
|
|
835
|
-
case 9:
|
|
836
|
-
message.finalTallyResult = TallyResult.decode(reader, reader.uint32());
|
|
837
|
-
break;
|
|
838
|
-
case 10:
|
|
839
|
-
message.votingPeriodEnd = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
840
|
-
break;
|
|
841
|
-
case 11:
|
|
842
|
-
message.executorResult = reader.int32();
|
|
843
|
-
break;
|
|
844
|
-
case 12:
|
|
845
|
-
message.messages.push(Any.decode(reader, reader.uint32()));
|
|
846
|
-
break;
|
|
847
|
-
case 13:
|
|
848
|
-
message.title = reader.string();
|
|
849
|
-
break;
|
|
850
|
-
case 14:
|
|
851
|
-
message.summary = reader.string();
|
|
852
|
-
break;
|
|
853
|
-
default:
|
|
854
|
-
reader.skipType(tag & 7);
|
|
855
|
-
break;
|
|
856
|
-
}
|
|
857
|
-
}
|
|
858
|
-
return message;
|
|
859
|
-
},
|
|
860
|
-
fromJSON(object) {
|
|
861
|
-
return {
|
|
862
|
-
id: isSet(object.id) ? Number(object.id) : 0,
|
|
863
|
-
groupPolicyAddress: isSet(object.groupPolicyAddress) ? String(object.groupPolicyAddress) : "",
|
|
864
|
-
metadata: isSet(object.metadata) ? String(object.metadata) : "",
|
|
865
|
-
proposers: Array.isArray(object?.proposers) ? object.proposers.map((e) => String(e)) : [],
|
|
866
|
-
submitTime: isSet(object.submitTime) ? fromJsonTimestamp(object.submitTime) : undefined,
|
|
867
|
-
groupVersion: isSet(object.groupVersion) ? Number(object.groupVersion) : 0,
|
|
868
|
-
groupPolicyVersion: isSet(object.groupPolicyVersion) ? Number(object.groupPolicyVersion) : 0,
|
|
869
|
-
status: isSet(object.status) ? proposalStatusFromJSON(object.status) : 0,
|
|
870
|
-
finalTallyResult: isSet(object.finalTallyResult) ? TallyResult.fromJSON(object.finalTallyResult) : undefined,
|
|
871
|
-
votingPeriodEnd: isSet(object.votingPeriodEnd) ? fromJsonTimestamp(object.votingPeriodEnd) : undefined,
|
|
872
|
-
executorResult: isSet(object.executorResult) ? proposalExecutorResultFromJSON(object.executorResult) : 0,
|
|
873
|
-
messages: Array.isArray(object?.messages) ? object.messages.map((e) => Any.fromJSON(e)) : [],
|
|
874
|
-
title: isSet(object.title) ? String(object.title) : "",
|
|
875
|
-
summary: isSet(object.summary) ? String(object.summary) : "",
|
|
876
|
-
};
|
|
877
|
-
},
|
|
878
|
-
toJSON(message) {
|
|
879
|
-
const obj = {};
|
|
880
|
-
message.id !== undefined && (obj.id = Math.round(message.id));
|
|
881
|
-
message.groupPolicyAddress !== undefined && (obj.groupPolicyAddress = message.groupPolicyAddress);
|
|
882
|
-
message.metadata !== undefined && (obj.metadata = message.metadata);
|
|
883
|
-
if (message.proposers) {
|
|
884
|
-
obj.proposers = message.proposers.map((e) => e);
|
|
885
|
-
}
|
|
886
|
-
else {
|
|
887
|
-
obj.proposers = [];
|
|
888
|
-
}
|
|
889
|
-
message.submitTime !== undefined && (obj.submitTime = message.submitTime.toISOString());
|
|
890
|
-
message.groupVersion !== undefined && (obj.groupVersion = Math.round(message.groupVersion));
|
|
891
|
-
message.groupPolicyVersion !== undefined && (obj.groupPolicyVersion = Math.round(message.groupPolicyVersion));
|
|
892
|
-
message.status !== undefined && (obj.status = proposalStatusToJSON(message.status));
|
|
893
|
-
message.finalTallyResult !== undefined
|
|
894
|
-
&& (obj.finalTallyResult = message.finalTallyResult ? TallyResult.toJSON(message.finalTallyResult) : undefined);
|
|
895
|
-
message.votingPeriodEnd !== undefined && (obj.votingPeriodEnd = message.votingPeriodEnd.toISOString());
|
|
896
|
-
message.executorResult !== undefined && (obj.executorResult = proposalExecutorResultToJSON(message.executorResult));
|
|
897
|
-
if (message.messages) {
|
|
898
|
-
obj.messages = message.messages.map((e) => e ? Any.toJSON(e) : undefined);
|
|
899
|
-
}
|
|
900
|
-
else {
|
|
901
|
-
obj.messages = [];
|
|
902
|
-
}
|
|
903
|
-
message.title !== undefined && (obj.title = message.title);
|
|
904
|
-
message.summary !== undefined && (obj.summary = message.summary);
|
|
905
|
-
return obj;
|
|
906
|
-
},
|
|
907
|
-
fromPartial(object) {
|
|
908
|
-
const message = createBaseProposal();
|
|
909
|
-
message.id = object.id ?? 0;
|
|
910
|
-
message.groupPolicyAddress = object.groupPolicyAddress ?? "";
|
|
911
|
-
message.metadata = object.metadata ?? "";
|
|
912
|
-
message.proposers = object.proposers?.map((e) => e) || [];
|
|
913
|
-
message.submitTime = object.submitTime ?? undefined;
|
|
914
|
-
message.groupVersion = object.groupVersion ?? 0;
|
|
915
|
-
message.groupPolicyVersion = object.groupPolicyVersion ?? 0;
|
|
916
|
-
message.status = object.status ?? 0;
|
|
917
|
-
message.finalTallyResult = (object.finalTallyResult !== undefined && object.finalTallyResult !== null)
|
|
918
|
-
? TallyResult.fromPartial(object.finalTallyResult)
|
|
919
|
-
: undefined;
|
|
920
|
-
message.votingPeriodEnd = object.votingPeriodEnd ?? undefined;
|
|
921
|
-
message.executorResult = object.executorResult ?? 0;
|
|
922
|
-
message.messages = object.messages?.map((e) => Any.fromPartial(e)) || [];
|
|
923
|
-
message.title = object.title ?? "";
|
|
924
|
-
message.summary = object.summary ?? "";
|
|
925
|
-
return message;
|
|
926
|
-
},
|
|
927
|
-
};
|
|
928
|
-
function createBaseTallyResult() {
|
|
929
|
-
return { yesCount: "", abstainCount: "", noCount: "", noWithVetoCount: "" };
|
|
930
|
-
}
|
|
931
|
-
export const TallyResult = {
|
|
932
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
933
|
-
if (message.yesCount !== "") {
|
|
934
|
-
writer.uint32(10).string(message.yesCount);
|
|
935
|
-
}
|
|
936
|
-
if (message.abstainCount !== "") {
|
|
937
|
-
writer.uint32(18).string(message.abstainCount);
|
|
938
|
-
}
|
|
939
|
-
if (message.noCount !== "") {
|
|
940
|
-
writer.uint32(26).string(message.noCount);
|
|
941
|
-
}
|
|
942
|
-
if (message.noWithVetoCount !== "") {
|
|
943
|
-
writer.uint32(34).string(message.noWithVetoCount);
|
|
944
|
-
}
|
|
945
|
-
return writer;
|
|
946
|
-
},
|
|
947
|
-
decode(input, length) {
|
|
948
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
949
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
950
|
-
const message = createBaseTallyResult();
|
|
951
|
-
while (reader.pos < end) {
|
|
952
|
-
const tag = reader.uint32();
|
|
953
|
-
switch (tag >>> 3) {
|
|
954
|
-
case 1:
|
|
955
|
-
message.yesCount = reader.string();
|
|
956
|
-
break;
|
|
957
|
-
case 2:
|
|
958
|
-
message.abstainCount = reader.string();
|
|
959
|
-
break;
|
|
960
|
-
case 3:
|
|
961
|
-
message.noCount = reader.string();
|
|
962
|
-
break;
|
|
963
|
-
case 4:
|
|
964
|
-
message.noWithVetoCount = reader.string();
|
|
965
|
-
break;
|
|
966
|
-
default:
|
|
967
|
-
reader.skipType(tag & 7);
|
|
968
|
-
break;
|
|
969
|
-
}
|
|
970
|
-
}
|
|
971
|
-
return message;
|
|
972
|
-
},
|
|
973
|
-
fromJSON(object) {
|
|
974
|
-
return {
|
|
975
|
-
yesCount: isSet(object.yesCount) ? String(object.yesCount) : "",
|
|
976
|
-
abstainCount: isSet(object.abstainCount) ? String(object.abstainCount) : "",
|
|
977
|
-
noCount: isSet(object.noCount) ? String(object.noCount) : "",
|
|
978
|
-
noWithVetoCount: isSet(object.noWithVetoCount) ? String(object.noWithVetoCount) : "",
|
|
979
|
-
};
|
|
980
|
-
},
|
|
981
|
-
toJSON(message) {
|
|
982
|
-
const obj = {};
|
|
983
|
-
message.yesCount !== undefined && (obj.yesCount = message.yesCount);
|
|
984
|
-
message.abstainCount !== undefined && (obj.abstainCount = message.abstainCount);
|
|
985
|
-
message.noCount !== undefined && (obj.noCount = message.noCount);
|
|
986
|
-
message.noWithVetoCount !== undefined && (obj.noWithVetoCount = message.noWithVetoCount);
|
|
987
|
-
return obj;
|
|
988
|
-
},
|
|
989
|
-
fromPartial(object) {
|
|
990
|
-
const message = createBaseTallyResult();
|
|
991
|
-
message.yesCount = object.yesCount ?? "";
|
|
992
|
-
message.abstainCount = object.abstainCount ?? "";
|
|
993
|
-
message.noCount = object.noCount ?? "";
|
|
994
|
-
message.noWithVetoCount = object.noWithVetoCount ?? "";
|
|
995
|
-
return message;
|
|
996
|
-
},
|
|
997
|
-
};
|
|
998
|
-
function createBaseVote() {
|
|
999
|
-
return { proposalId: 0, voter: "", option: 0, metadata: "", submitTime: undefined };
|
|
1000
|
-
}
|
|
1001
|
-
export const Vote = {
|
|
1002
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
1003
|
-
if (message.proposalId !== 0) {
|
|
1004
|
-
writer.uint32(8).uint64(message.proposalId);
|
|
1005
|
-
}
|
|
1006
|
-
if (message.voter !== "") {
|
|
1007
|
-
writer.uint32(18).string(message.voter);
|
|
1008
|
-
}
|
|
1009
|
-
if (message.option !== 0) {
|
|
1010
|
-
writer.uint32(24).int32(message.option);
|
|
1011
|
-
}
|
|
1012
|
-
if (message.metadata !== "") {
|
|
1013
|
-
writer.uint32(34).string(message.metadata);
|
|
1014
|
-
}
|
|
1015
|
-
if (message.submitTime !== undefined) {
|
|
1016
|
-
Timestamp.encode(toTimestamp(message.submitTime), writer.uint32(42).fork()).ldelim();
|
|
1017
|
-
}
|
|
1018
|
-
return writer;
|
|
1019
|
-
},
|
|
1020
|
-
decode(input, length) {
|
|
1021
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
1022
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1023
|
-
const message = createBaseVote();
|
|
1024
|
-
while (reader.pos < end) {
|
|
1025
|
-
const tag = reader.uint32();
|
|
1026
|
-
switch (tag >>> 3) {
|
|
1027
|
-
case 1:
|
|
1028
|
-
message.proposalId = longToNumber(reader.uint64());
|
|
1029
|
-
break;
|
|
1030
|
-
case 2:
|
|
1031
|
-
message.voter = reader.string();
|
|
1032
|
-
break;
|
|
1033
|
-
case 3:
|
|
1034
|
-
message.option = reader.int32();
|
|
1035
|
-
break;
|
|
1036
|
-
case 4:
|
|
1037
|
-
message.metadata = reader.string();
|
|
1038
|
-
break;
|
|
1039
|
-
case 5:
|
|
1040
|
-
message.submitTime = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
1041
|
-
break;
|
|
1042
|
-
default:
|
|
1043
|
-
reader.skipType(tag & 7);
|
|
1044
|
-
break;
|
|
1045
|
-
}
|
|
1046
|
-
}
|
|
1047
|
-
return message;
|
|
1048
|
-
},
|
|
1049
|
-
fromJSON(object) {
|
|
1050
|
-
return {
|
|
1051
|
-
proposalId: isSet(object.proposalId) ? Number(object.proposalId) : 0,
|
|
1052
|
-
voter: isSet(object.voter) ? String(object.voter) : "",
|
|
1053
|
-
option: isSet(object.option) ? voteOptionFromJSON(object.option) : 0,
|
|
1054
|
-
metadata: isSet(object.metadata) ? String(object.metadata) : "",
|
|
1055
|
-
submitTime: isSet(object.submitTime) ? fromJsonTimestamp(object.submitTime) : undefined,
|
|
1056
|
-
};
|
|
1057
|
-
},
|
|
1058
|
-
toJSON(message) {
|
|
1059
|
-
const obj = {};
|
|
1060
|
-
message.proposalId !== undefined && (obj.proposalId = Math.round(message.proposalId));
|
|
1061
|
-
message.voter !== undefined && (obj.voter = message.voter);
|
|
1062
|
-
message.option !== undefined && (obj.option = voteOptionToJSON(message.option));
|
|
1063
|
-
message.metadata !== undefined && (obj.metadata = message.metadata);
|
|
1064
|
-
message.submitTime !== undefined && (obj.submitTime = message.submitTime.toISOString());
|
|
1065
|
-
return obj;
|
|
1066
|
-
},
|
|
1067
|
-
fromPartial(object) {
|
|
1068
|
-
const message = createBaseVote();
|
|
1069
|
-
message.proposalId = object.proposalId ?? 0;
|
|
1070
|
-
message.voter = object.voter ?? "";
|
|
1071
|
-
message.option = object.option ?? 0;
|
|
1072
|
-
message.metadata = object.metadata ?? "";
|
|
1073
|
-
message.submitTime = object.submitTime ?? undefined;
|
|
1074
|
-
return message;
|
|
1075
|
-
},
|
|
1076
|
-
};
|
|
1077
|
-
var globalThis = (() => {
|
|
1078
|
-
if (typeof globalThis !== "undefined") {
|
|
1079
|
-
return globalThis;
|
|
1080
|
-
}
|
|
1081
|
-
if (typeof self !== "undefined") {
|
|
1082
|
-
return self;
|
|
1083
|
-
}
|
|
1084
|
-
if (typeof window !== "undefined") {
|
|
1085
|
-
return window;
|
|
1086
|
-
}
|
|
1087
|
-
if (typeof global !== "undefined") {
|
|
1088
|
-
return global;
|
|
1089
|
-
}
|
|
1090
|
-
throw "Unable to locate global object";
|
|
1091
|
-
})();
|
|
1092
|
-
function toTimestamp(date) {
|
|
1093
|
-
const seconds = date.getTime() / 1000;
|
|
1094
|
-
const nanos = (date.getTime() % 1000) * 1000000;
|
|
1095
|
-
return { seconds, nanos };
|
|
1096
|
-
}
|
|
1097
|
-
function fromTimestamp(t) {
|
|
1098
|
-
let millis = t.seconds * 1000;
|
|
1099
|
-
millis += t.nanos / 1000000;
|
|
1100
|
-
return new Date(millis);
|
|
1101
|
-
}
|
|
1102
|
-
function fromJsonTimestamp(o) {
|
|
1103
|
-
if (o instanceof Date) {
|
|
1104
|
-
return o;
|
|
1105
|
-
}
|
|
1106
|
-
else if (typeof o === "string") {
|
|
1107
|
-
return new Date(o);
|
|
1108
|
-
}
|
|
1109
|
-
else {
|
|
1110
|
-
return fromTimestamp(Timestamp.fromJSON(o));
|
|
1111
|
-
}
|
|
1112
|
-
}
|
|
1113
|
-
function longToNumber(long) {
|
|
1114
|
-
if (long.gt(Number.MAX_SAFE_INTEGER)) {
|
|
1115
|
-
throw new globalThis.Error("Value is larger than Number.MAX_SAFE_INTEGER");
|
|
1116
|
-
}
|
|
1117
|
-
return long.toNumber();
|
|
1118
|
-
}
|
|
1119
|
-
if (_m0.util.Long !== Long) {
|
|
1120
|
-
_m0.util.Long = Long;
|
|
1121
|
-
_m0.configure();
|
|
1122
|
-
}
|
|
1123
|
-
function isSet(value) {
|
|
1124
|
-
return value !== null && value !== undefined;
|
|
1125
|
-
}
|