@iconlake/client 0.0.3 → 0.1.0
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/client.ts +13 -12
- package/cosmos.auth.v1beta1/index.ts +0 -0
- package/cosmos.auth.v1beta1/module.ts +2 -0
- package/cosmos.auth.v1beta1/registry.ts +0 -0
- package/cosmos.auth.v1beta1/rest.ts +113 -3
- package/cosmos.auth.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/auth.ts +104 -0
- package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/genesis.ts +1 -1
- package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/query.ts +157 -4
- package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/tx.ts +172 -0
- package/cosmos.auth.v1beta1/types/cosmos/msg/v1/msg.ts +2 -0
- package/cosmos.auth.v1beta1/types/cosmos/query/v1/query.ts +2 -0
- package/cosmos.auth.v1beta1/types.ts +2 -0
- package/cosmos.authz.v1beta1/index.ts +0 -0
- package/cosmos.authz.v1beta1/module.ts +24 -24
- package/cosmos.authz.v1beta1/registry.ts +2 -2
- package/cosmos.authz.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/tx.ts +1 -1
- package/cosmos.authz.v1beta1/types.ts +0 -0
- package/cosmos.bank.v1beta1/index.ts +0 -0
- package/cosmos.bank.v1beta1/module.ts +0 -0
- package/cosmos.bank.v1beta1/registry.ts +0 -0
- package/cosmos.bank.v1beta1/rest.ts +99 -6
- package/cosmos.bank.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/authz.ts +24 -2
- package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/bank.ts +9 -0
- package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/genesis.ts +25 -4
- package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/query.ts +356 -5
- package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/tx.ts +305 -1
- package/cosmos.bank.v1beta1/types/cosmos/query/v1/query.ts +2 -0
- package/cosmos.bank.v1beta1/types.ts +0 -0
- package/cosmos.base.node.v1beta1/index.ts +0 -0
- package/cosmos.base.node.v1beta1/module.ts +0 -0
- package/cosmos.base.node.v1beta1/registry.ts +0 -0
- package/cosmos.base.node.v1beta1/types.ts +0 -0
- package/cosmos.base.tendermint.v1beta1/index.ts +0 -0
- package/cosmos.base.tendermint.v1beta1/module.ts +0 -0
- package/cosmos.base.tendermint.v1beta1/registry.ts +0 -0
- package/cosmos.base.tendermint.v1beta1/rest.ts +21 -30
- package/cosmos.base.tendermint.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.base.tendermint.v1beta1/types/cosmos/base/tendermint/v1beta1/query.ts +16 -46
- package/cosmos.base.tendermint.v1beta1/types/tendermint/crypto/keys.ts +1 -1
- package/cosmos.base.tendermint.v1beta1/types/tendermint/types/types.ts +1 -1
- package/cosmos.base.tendermint.v1beta1/types.ts +0 -0
- package/cosmos.consensus.v1/index.ts +6 -0
- package/cosmos.consensus.v1/module.ts +129 -0
- package/cosmos.consensus.v1/registry.ts +9 -0
- package/cosmos.consensus.v1/rest.ts +268 -0
- package/cosmos.consensus.v1/types/cosmos/consensus/v1/query.ts +147 -0
- package/cosmos.consensus.v1/types/cosmos/consensus/v1/tx.ts +196 -0
- package/cosmos.consensus.v1/types/cosmos/msg/v1/msg.ts +2 -0
- package/cosmos.consensus.v1/types/cosmos_proto/cosmos.ts +247 -0
- package/cosmos.consensus.v1/types/gogoproto/gogo.ts +2 -0
- package/cosmos.consensus.v1/types/google/api/annotations.ts +2 -0
- package/cosmos.consensus.v1/types/google/api/http.ts +589 -0
- package/cosmos.consensus.v1/types/google/protobuf/descriptor.ts +3753 -0
- package/cosmos.consensus.v1/types/google/protobuf/duration.ts +187 -0
- package/cosmos.consensus.v1/types/tendermint/types/params.ts +498 -0
- package/cosmos.consensus.v1/types.ts +5 -0
- package/cosmos.crisis.v1beta1/index.ts +0 -0
- package/cosmos.crisis.v1beta1/module.ts +34 -1
- package/cosmos.crisis.v1beta1/registry.ts +2 -0
- package/cosmos.crisis.v1beta1/rest.ts +19 -0
- package/cosmos.crisis.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.crisis.v1beta1/types/cosmos/crisis/v1beta1/tx.ts +140 -1
- package/cosmos.crisis.v1beta1/types.ts +0 -0
- package/cosmos.distribution.v1beta1/index.ts +0 -0
- package/cosmos.distribution.v1beta1/module.ts +79 -13
- package/cosmos.distribution.v1beta1/registry.ts +6 -2
- package/cosmos.distribution.v1beta1/rest.ts +66 -7
- package/cosmos.distribution.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/distribution.ts +19 -0
- package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/genesis.ts +4 -4
- package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/query.ts +158 -1
- package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/tx.ts +300 -3
- package/cosmos.distribution.v1beta1/types.ts +0 -0
- package/cosmos.evidence.v1beta1/index.ts +0 -0
- package/cosmos.evidence.v1beta1/module.ts +0 -0
- package/cosmos.evidence.v1beta1/registry.ts +0 -0
- package/cosmos.evidence.v1beta1/rest.ts +4 -3
- package/cosmos.evidence.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/evidence.ts +7 -1
- package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/query.ts +25 -3
- package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/tx.ts +2 -0
- package/cosmos.evidence.v1beta1/types.ts +0 -0
- package/cosmos.feegrant.v1beta1/index.ts +0 -0
- package/cosmos.feegrant.v1beta1/module.ts +24 -24
- package/cosmos.feegrant.v1beta1/registry.ts +2 -2
- package/cosmos.feegrant.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.feegrant.v1beta1/types.ts +0 -0
- package/cosmos.gov.v1/index.ts +0 -0
- package/cosmos.gov.v1/module.ts +67 -32
- package/cosmos.gov.v1/registry.ts +4 -2
- package/cosmos.gov.v1/rest.ts +155 -41
- package/cosmos.gov.v1/types/amino/amino.ts +2 -0
- package/cosmos.gov.v1/types/cosmos/gov/v1/genesis.ts +40 -5
- package/cosmos.gov.v1/types/cosmos/gov/v1/gov.ts +277 -6
- package/cosmos.gov.v1/types/cosmos/gov/v1/query.ts +45 -7
- package/cosmos.gov.v1/types/cosmos/gov/v1/tx.ts +186 -3
- package/cosmos.gov.v1/types.ts +2 -0
- package/cosmos.gov.v1beta1/index.ts +0 -0
- package/cosmos.gov.v1beta1/module.ts +29 -29
- package/cosmos.gov.v1beta1/registry.ts +2 -2
- package/cosmos.gov.v1beta1/rest.ts +65 -96
- package/cosmos.gov.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/genesis.ts +3 -3
- package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/gov.ts +45 -10
- package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/query.ts +4 -2
- package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/tx.ts +16 -1
- package/cosmos.gov.v1beta1/types.ts +0 -0
- package/cosmos.group.v1/index.ts +0 -0
- package/cosmos.group.v1/module.ts +160 -158
- package/cosmos.group.v1/registry.ts +14 -14
- package/cosmos.group.v1/rest.ts +68 -9
- package/cosmos.group.v1/types/amino/amino.ts +2 -0
- package/cosmos.group.v1/types/cosmos/group/v1/events.ts +89 -1
- package/cosmos.group.v1/types/cosmos/group/v1/query.ts +155 -5
- package/cosmos.group.v1/types/cosmos/group/v1/tx.ts +79 -49
- package/cosmos.group.v1/types/cosmos/group/v1/types.ts +46 -6
- package/cosmos.group.v1/types.ts +2 -0
- package/cosmos.mint.v1beta1/index.ts +0 -0
- package/cosmos.mint.v1beta1/module.ts +0 -0
- package/cosmos.mint.v1beta1/registry.ts +0 -0
- package/cosmos.mint.v1beta1/rest.ts +9 -1
- package/cosmos.mint.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/genesis.ts +1 -1
- package/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/mint.ts +1 -1
- package/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/tx.ts +172 -0
- package/cosmos.mint.v1beta1/types/cosmos/msg/v1/msg.ts +2 -0
- package/cosmos.mint.v1beta1/types.ts +0 -0
- package/cosmos.nft.v1beta1/index.ts +0 -0
- package/cosmos.nft.v1beta1/module.ts +0 -0
- package/cosmos.nft.v1beta1/registry.ts +0 -0
- package/cosmos.nft.v1beta1/rest.ts +18 -22
- package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/event.ts +10 -0
- package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/genesis.ts +1 -0
- package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/query.ts +20 -0
- package/cosmos.nft.v1beta1/types/cosmos_proto/cosmos.ts +247 -0
- package/cosmos.nft.v1beta1/types.ts +0 -0
- package/cosmos.params.v1beta1/index.ts +0 -0
- package/cosmos.params.v1beta1/module.ts +0 -0
- package/cosmos.params.v1beta1/registry.ts +0 -0
- package/cosmos.params.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.params.v1beta1/types.ts +0 -0
- package/cosmos.slashing.v1beta1/index.ts +0 -0
- package/cosmos.slashing.v1beta1/module.ts +0 -0
- package/cosmos.slashing.v1beta1/registry.ts +0 -0
- package/cosmos.slashing.v1beta1/rest.ts +8 -0
- package/cosmos.slashing.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/genesis.ts +1 -1
- package/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/tx.ts +139 -0
- package/cosmos.slashing.v1beta1/types.ts +0 -0
- package/cosmos.staking.v1beta1/index.ts +0 -0
- package/cosmos.staking.v1beta1/module.ts +66 -64
- package/cosmos.staking.v1beta1/registry.ts +6 -6
- package/cosmos.staking.v1beta1/rest.ts +51 -10
- package/cosmos.staking.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.staking.v1beta1/types/cosmos/query/v1/query.ts +2 -0
- package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/genesis.ts +1 -1
- package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/query.ts +36 -5
- package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/staking.ts +206 -3
- package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/tx.ts +138 -1
- package/cosmos.staking.v1beta1/types/tendermint/abci/types.ts +4525 -0
- package/cosmos.staking.v1beta1/types/tendermint/crypto/keys.ts +1 -1
- package/cosmos.staking.v1beta1/types/tendermint/types/params.ts +498 -0
- package/cosmos.staking.v1beta1/types/tendermint/types/types.ts +1 -1
- package/cosmos.staking.v1beta1/types.ts +2 -0
- package/cosmos.tx.v1beta1/index.ts +0 -0
- package/cosmos.tx.v1beta1/module.ts +0 -0
- package/cosmos.tx.v1beta1/registry.ts +0 -0
- package/cosmos.tx.v1beta1/rest.ts +180 -19
- package/cosmos.tx.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.tx.v1beta1/types/cosmos/tx/v1beta1/service.ts +524 -2
- package/cosmos.tx.v1beta1/types/tendermint/abci/types.ts +704 -333
- package/cosmos.tx.v1beta1/types/tendermint/crypto/keys.ts +1 -1
- package/cosmos.tx.v1beta1/types/tendermint/types/params.ts +9 -25
- package/cosmos.tx.v1beta1/types/tendermint/types/types.ts +1 -1
- package/cosmos.tx.v1beta1/types.ts +0 -0
- package/cosmos.upgrade.v1beta1/index.ts +0 -0
- package/cosmos.upgrade.v1beta1/module.ts +0 -0
- package/cosmos.upgrade.v1beta1/registry.ts +0 -0
- package/cosmos.upgrade.v1beta1/rest.ts +0 -1
- package/cosmos.upgrade.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/tx.ts +3 -3
- package/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/upgrade.ts +6 -4
- package/cosmos.upgrade.v1beta1/types.ts +0 -0
- package/cosmos.vesting.v1beta1/index.ts +0 -0
- package/cosmos.vesting.v1beta1/module.ts +24 -24
- package/cosmos.vesting.v1beta1/registry.ts +2 -2
- package/cosmos.vesting.v1beta1/rest.ts +4 -1
- package/cosmos.vesting.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.vesting.v1beta1/types/cosmos/auth/v1beta1/auth.ts +104 -0
- package/cosmos.vesting.v1beta1/types/cosmos/vesting/v1beta1/tx.ts +2 -0
- package/cosmos.vesting.v1beta1/types/cosmos/vesting/v1beta1/vesting.ts +6 -1
- package/cosmos.vesting.v1beta1/types.ts +0 -0
- package/dist/client.js +135 -0
- package/dist/cosmos.auth.v1beta1/index.js +5 -0
- package/dist/cosmos.auth.v1beta1/module.js +64 -0
- package/dist/cosmos.auth.v1beta1/registry.js +2 -0
- package/dist/cosmos.auth.v1beta1/rest.js +228 -0
- package/dist/cosmos.auth.v1beta1/types/amino/amino.js +2 -0
- package/dist/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/auth.js +344 -0
- package/dist/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/genesis.js +67 -0
- package/dist/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/query.js +969 -0
- package/dist/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/tx.js +105 -0
- package/dist/cosmos.auth.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/dist/cosmos.auth.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
- package/dist/cosmos.auth.v1beta1/types/cosmos/query/v1/query.js +2 -0
- package/dist/cosmos.auth.v1beta1/types/cosmos_proto/cosmos.js +171 -0
- package/dist/cosmos.auth.v1beta1/types/gogoproto/gogo.js +2 -0
- package/dist/cosmos.auth.v1beta1/types/google/api/annotations.js +2 -0
- package/dist/cosmos.auth.v1beta1/types/google/api/http.js +260 -0
- package/dist/cosmos.auth.v1beta1/types/google/protobuf/any.js +99 -0
- package/dist/cosmos.auth.v1beta1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/cosmos.auth.v1beta1/types.js +5 -0
- package/dist/cosmos.authz.v1beta1/index.js +5 -0
- package/dist/cosmos.authz.v1beta1/module.js +140 -0
- package/dist/cosmos.authz.v1beta1/registry.js +9 -0
- package/dist/cosmos.authz.v1beta1/rest.js +131 -0
- package/dist/cosmos.authz.v1beta1/types/amino/amino.js +2 -0
- package/dist/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/authz.js +244 -0
- package/dist/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/event.js +128 -0
- package/dist/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/genesis.js +54 -0
- package/dist/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/query.js +394 -0
- package/dist/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/tx.js +362 -0
- package/dist/cosmos.authz.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/dist/cosmos.authz.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
- package/dist/cosmos.authz.v1beta1/types/cosmos_proto/cosmos.js +171 -0
- package/dist/cosmos.authz.v1beta1/types/gogoproto/gogo.js +2 -0
- package/dist/cosmos.authz.v1beta1/types/google/api/annotations.js +2 -0
- package/dist/cosmos.authz.v1beta1/types/google/api/http.js +260 -0
- package/dist/cosmos.authz.v1beta1/types/google/protobuf/any.js +99 -0
- package/dist/cosmos.authz.v1beta1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/cosmos.authz.v1beta1/types/google/protobuf/timestamp.js +84 -0
- package/dist/cosmos.authz.v1beta1/types.js +7 -0
- package/dist/cosmos.bank.v1beta1/index.js +5 -0
- package/dist/cosmos.bank.v1beta1/module.js +125 -0
- package/dist/cosmos.bank.v1beta1/registry.js +7 -0
- package/dist/cosmos.bank.v1beta1/rest.js +253 -0
- package/dist/cosmos.bank.v1beta1/types/amino/amino.js +2 -0
- package/dist/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/authz.js +66 -0
- package/dist/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/bank.js +455 -0
- package/dist/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/genesis.js +170 -0
- package/dist/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/query.js +1243 -0
- package/dist/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/tx.js +424 -0
- package/dist/cosmos.bank.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/dist/cosmos.bank.v1beta1/types/cosmos/base/v1beta1/coin.js +192 -0
- package/dist/cosmos.bank.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
- package/dist/cosmos.bank.v1beta1/types/cosmos/query/v1/query.js +2 -0
- package/dist/cosmos.bank.v1beta1/types/cosmos_proto/cosmos.js +171 -0
- package/dist/cosmos.bank.v1beta1/types/gogoproto/gogo.js +2 -0
- package/dist/cosmos.bank.v1beta1/types/google/api/annotations.js +2 -0
- package/dist/cosmos.bank.v1beta1/types/google/api/http.js +260 -0
- package/dist/cosmos.bank.v1beta1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/cosmos.bank.v1beta1/types.js +11 -0
- package/dist/cosmos.base.node.v1beta1/index.js +5 -0
- package/dist/cosmos.base.node.v1beta1/module.js +55 -0
- package/dist/cosmos.base.node.v1beta1/registry.js +2 -0
- package/dist/cosmos.base.node.v1beta1/rest.js +100 -0
- package/dist/cosmos.base.node.v1beta1/types/cosmos/base/node/v1beta1/query.js +91 -0
- package/dist/cosmos.base.node.v1beta1/types/google/api/annotations.js +2 -0
- package/dist/cosmos.base.node.v1beta1/types/google/api/http.js +260 -0
- package/dist/cosmos.base.node.v1beta1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/cosmos.base.node.v1beta1/types.js +1 -0
- package/dist/cosmos.base.tendermint.v1beta1/index.js +5 -0
- package/dist/cosmos.base.tendermint.v1beta1/module.js +70 -0
- package/dist/cosmos.base.tendermint.v1beta1/registry.js +2 -0
- package/dist/cosmos.base.tendermint.v1beta1/rest.js +209 -0
- package/dist/cosmos.base.tendermint.v1beta1/types/amino/amino.js +2 -0
- package/dist/cosmos.base.tendermint.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/dist/cosmos.base.tendermint.v1beta1/types/cosmos/base/tendermint/v1beta1/query.js +1281 -0
- package/dist/cosmos.base.tendermint.v1beta1/types/cosmos/base/tendermint/v1beta1/types.js +350 -0
- package/dist/cosmos.base.tendermint.v1beta1/types/cosmos_proto/cosmos.js +171 -0
- package/dist/cosmos.base.tendermint.v1beta1/types/gogoproto/gogo.js +2 -0
- package/dist/cosmos.base.tendermint.v1beta1/types/google/api/annotations.js +2 -0
- package/dist/cosmos.base.tendermint.v1beta1/types/google/api/http.js +260 -0
- package/dist/cosmos.base.tendermint.v1beta1/types/google/protobuf/any.js +99 -0
- package/dist/cosmos.base.tendermint.v1beta1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/cosmos.base.tendermint.v1beta1/types/google/protobuf/timestamp.js +84 -0
- package/dist/cosmos.base.tendermint.v1beta1/types/tendermint/crypto/keys.js +100 -0
- package/dist/cosmos.base.tendermint.v1beta1/types/tendermint/crypto/proof.js +356 -0
- package/dist/cosmos.base.tendermint.v1beta1/types/tendermint/p2p/types.js +352 -0
- package/dist/cosmos.base.tendermint.v1beta1/types/tendermint/types/block.js +86 -0
- package/dist/cosmos.base.tendermint.v1beta1/types/tendermint/types/evidence.js +343 -0
- package/dist/cosmos.base.tendermint.v1beta1/types/tendermint/types/types.js +1207 -0
- package/dist/cosmos.base.tendermint.v1beta1/types/tendermint/types/validator.js +254 -0
- package/dist/cosmos.base.tendermint.v1beta1/types/tendermint/version/types.js +133 -0
- package/dist/cosmos.base.tendermint.v1beta1/types.js +8 -0
- package/dist/cosmos.consensus.v1/index.js +5 -0
- package/dist/cosmos.consensus.v1/module.js +81 -0
- package/dist/cosmos.consensus.v1/registry.js +5 -0
- package/dist/cosmos.consensus.v1/rest.js +100 -0
- package/dist/cosmos.consensus.v1/types/cosmos/consensus/v1/query.js +94 -0
- package/dist/cosmos.consensus.v1/types/cosmos/consensus/v1/tx.js +129 -0
- package/dist/cosmos.consensus.v1/types/cosmos/msg/v1/msg.js +2 -0
- package/dist/cosmos.consensus.v1/types/cosmos_proto/cosmos.js +171 -0
- package/dist/cosmos.consensus.v1/types/gogoproto/gogo.js +2 -0
- package/dist/cosmos.consensus.v1/types/google/api/annotations.js +2 -0
- package/dist/cosmos.consensus.v1/types/google/api/http.js +260 -0
- package/dist/cosmos.consensus.v1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/cosmos.consensus.v1/types/google/protobuf/duration.js +84 -0
- package/dist/cosmos.consensus.v1/types/tendermint/types/params.js +369 -0
- package/dist/cosmos.consensus.v1/types.js +1 -0
- package/dist/cosmos.crisis.v1beta1/index.js +5 -0
- package/dist/cosmos.crisis.v1beta1/module.js +104 -0
- package/dist/cosmos.crisis.v1beta1/registry.js +7 -0
- package/dist/cosmos.crisis.v1beta1/rest.js +83 -0
- package/dist/cosmos.crisis.v1beta1/types/amino/amino.js +2 -0
- package/dist/cosmos.crisis.v1beta1/types/cosmos/base/v1beta1/coin.js +192 -0
- package/dist/cosmos.crisis.v1beta1/types/cosmos/crisis/v1beta1/genesis.js +51 -0
- package/dist/cosmos.crisis.v1beta1/types/cosmos/crisis/v1beta1/tx.js +206 -0
- package/dist/cosmos.crisis.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
- package/dist/cosmos.crisis.v1beta1/types/cosmos_proto/cosmos.js +171 -0
- package/dist/cosmos.crisis.v1beta1/types/gogoproto/gogo.js +2 -0
- package/dist/cosmos.crisis.v1beta1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/cosmos.crisis.v1beta1/types.js +1 -0
- package/dist/cosmos.distribution.v1beta1/index.js +5 -0
- package/dist/cosmos.distribution.v1beta1/module.js +235 -0
- package/dist/cosmos.distribution.v1beta1/registry.js +15 -0
- package/dist/cosmos.distribution.v1beta1/rest.js +228 -0
- package/dist/cosmos.distribution.v1beta1/types/amino/amino.js +2 -0
- package/dist/cosmos.distribution.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/dist/cosmos.distribution.v1beta1/types/cosmos/base/v1beta1/coin.js +192 -0
- package/dist/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/distribution.js +737 -0
- package/dist/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/genesis.js +656 -0
- package/dist/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/query.js +1046 -0
- package/dist/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/tx.js +595 -0
- package/dist/cosmos.distribution.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
- package/dist/cosmos.distribution.v1beta1/types/cosmos_proto/cosmos.js +171 -0
- package/dist/cosmos.distribution.v1beta1/types/gogoproto/gogo.js +2 -0
- package/dist/cosmos.distribution.v1beta1/types/google/api/annotations.js +2 -0
- package/dist/cosmos.distribution.v1beta1/types/google/api/http.js +260 -0
- package/dist/cosmos.distribution.v1beta1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/cosmos.distribution.v1beta1/types.js +20 -0
- package/dist/cosmos.evidence.v1beta1/index.js +5 -0
- package/dist/cosmos.evidence.v1beta1/module.js +84 -0
- package/dist/cosmos.evidence.v1beta1/registry.js +5 -0
- package/dist/cosmos.evidence.v1beta1/rest.js +116 -0
- package/dist/cosmos.evidence.v1beta1/types/amino/amino.js +2 -0
- package/dist/cosmos.evidence.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/dist/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/evidence.js +124 -0
- package/dist/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/genesis.js +50 -0
- package/dist/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/query.js +265 -0
- package/dist/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/tx.js +154 -0
- package/dist/cosmos.evidence.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
- package/dist/cosmos.evidence.v1beta1/types/cosmos_proto/cosmos.js +171 -0
- package/dist/cosmos.evidence.v1beta1/types/gogoproto/gogo.js +2 -0
- package/dist/cosmos.evidence.v1beta1/types/google/api/annotations.js +2 -0
- package/dist/cosmos.evidence.v1beta1/types/google/api/http.js +260 -0
- package/dist/cosmos.evidence.v1beta1/types/google/protobuf/any.js +99 -0
- package/dist/cosmos.evidence.v1beta1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/cosmos.evidence.v1beta1/types/google/protobuf/timestamp.js +84 -0
- package/dist/cosmos.evidence.v1beta1/types.js +2 -0
- package/dist/cosmos.feegrant.v1beta1/index.js +5 -0
- package/dist/cosmos.feegrant.v1beta1/module.js +113 -0
- package/dist/cosmos.feegrant.v1beta1/registry.js +7 -0
- package/dist/cosmos.feegrant.v1beta1/rest.js +130 -0
- package/dist/cosmos.feegrant.v1beta1/types/amino/amino.js +2 -0
- package/dist/cosmos.feegrant.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/dist/cosmos.feegrant.v1beta1/types/cosmos/base/v1beta1/coin.js +192 -0
- package/dist/cosmos.feegrant.v1beta1/types/cosmos/feegrant/v1beta1/feegrant.js +307 -0
- package/dist/cosmos.feegrant.v1beta1/types/cosmos/feegrant/v1beta1/genesis.js +52 -0
- package/dist/cosmos.feegrant.v1beta1/types/cosmos/feegrant/v1beta1/query.js +357 -0
- package/dist/cosmos.feegrant.v1beta1/types/cosmos/feegrant/v1beta1/tx.js +205 -0
- package/dist/cosmos.feegrant.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
- package/dist/cosmos.feegrant.v1beta1/types/cosmos_proto/cosmos.js +171 -0
- package/dist/cosmos.feegrant.v1beta1/types/gogoproto/gogo.js +2 -0
- package/dist/cosmos.feegrant.v1beta1/types/google/api/annotations.js +2 -0
- package/dist/cosmos.feegrant.v1beta1/types/google/api/http.js +260 -0
- package/dist/cosmos.feegrant.v1beta1/types/google/protobuf/any.js +99 -0
- package/dist/cosmos.feegrant.v1beta1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/cosmos.feegrant.v1beta1/types/google/protobuf/duration.js +84 -0
- package/dist/cosmos.feegrant.v1beta1/types/google/protobuf/timestamp.js +84 -0
- package/dist/cosmos.feegrant.v1beta1/types.js +5 -0
- package/dist/cosmos.gov.v1/index.js +5 -0
- package/dist/cosmos.gov.v1/module.js +192 -0
- package/dist/cosmos.gov.v1/registry.js +13 -0
- package/dist/cosmos.gov.v1/rest.js +242 -0
- package/dist/cosmos.gov.v1/types/amino/amino.js +2 -0
- package/dist/cosmos.gov.v1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/dist/cosmos.gov.v1/types/cosmos/base/v1beta1/coin.js +192 -0
- package/dist/cosmos.gov.v1/types/cosmos/gov/v1/genesis.js +174 -0
- package/dist/cosmos.gov.v1/types/cosmos/gov/v1/gov.js +945 -0
- package/dist/cosmos.gov.v1/types/cosmos/gov/v1/query.js +928 -0
- package/dist/cosmos.gov.v1/types/cosmos/gov/v1/tx.js +701 -0
- package/dist/cosmos.gov.v1/types/cosmos/msg/v1/msg.js +2 -0
- package/dist/cosmos.gov.v1/types/cosmos_proto/cosmos.js +171 -0
- package/dist/cosmos.gov.v1/types/gogoproto/gogo.js +2 -0
- package/dist/cosmos.gov.v1/types/google/api/annotations.js +2 -0
- package/dist/cosmos.gov.v1/types/google/api/http.js +260 -0
- package/dist/cosmos.gov.v1/types/google/protobuf/any.js +99 -0
- package/dist/cosmos.gov.v1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/cosmos.gov.v1/types/google/protobuf/duration.js +84 -0
- package/dist/cosmos.gov.v1/types/google/protobuf/timestamp.js +84 -0
- package/dist/cosmos.gov.v1/types.js +10 -0
- package/dist/cosmos.gov.v1beta1/index.js +5 -0
- package/dist/cosmos.gov.v1beta1/module.js +169 -0
- package/dist/cosmos.gov.v1beta1/registry.js +11 -0
- package/dist/cosmos.gov.v1beta1/rest.js +242 -0
- package/dist/cosmos.gov.v1beta1/types/amino/amino.js +2 -0
- package/dist/cosmos.gov.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/dist/cosmos.gov.v1beta1/types/cosmos/base/v1beta1/coin.js +192 -0
- package/dist/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/genesis.js +162 -0
- package/dist/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/gov.js +832 -0
- package/dist/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/query.js +917 -0
- package/dist/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/tx.js +467 -0
- package/dist/cosmos.gov.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
- package/dist/cosmos.gov.v1beta1/types/cosmos_proto/cosmos.js +171 -0
- package/dist/cosmos.gov.v1beta1/types/gogoproto/gogo.js +2 -0
- package/dist/cosmos.gov.v1beta1/types/google/api/annotations.js +2 -0
- package/dist/cosmos.gov.v1beta1/types/google/api/http.js +260 -0
- package/dist/cosmos.gov.v1beta1/types/google/protobuf/any.js +99 -0
- package/dist/cosmos.gov.v1beta1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/cosmos.gov.v1beta1/types/google/protobuf/duration.js +84 -0
- package/dist/cosmos.gov.v1beta1/types/google/protobuf/timestamp.js +84 -0
- package/dist/cosmos.gov.v1beta1/types.js +10 -0
- package/dist/cosmos.group.v1/index.js +5 -0
- package/dist/cosmos.group.v1/module.js +423 -0
- package/dist/cosmos.group.v1/registry.js +31 -0
- package/dist/cosmos.group.v1/rest.js +366 -0
- package/dist/cosmos.group.v1/types/amino/amino.js +2 -0
- package/dist/cosmos.group.v1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/dist/cosmos.group.v1/types/cosmos/group/v1/events.js +497 -0
- package/dist/cosmos.group.v1/types/cosmos/group/v1/genesis.js +177 -0
- package/dist/cosmos.group.v1/types/cosmos/group/v1/query.js +1578 -0
- package/dist/cosmos.group.v1/types/cosmos/group/v1/tx.js +1639 -0
- package/dist/cosmos.group.v1/types/cosmos/group/v1/types.js +1125 -0
- package/dist/cosmos.group.v1/types/cosmos/msg/v1/msg.js +2 -0
- package/dist/cosmos.group.v1/types/cosmos_proto/cosmos.js +171 -0
- package/dist/cosmos.group.v1/types/gogoproto/gogo.js +2 -0
- package/dist/cosmos.group.v1/types/google/api/annotations.js +2 -0
- package/dist/cosmos.group.v1/types/google/api/http.js +260 -0
- package/dist/cosmos.group.v1/types/google/protobuf/any.js +99 -0
- package/dist/cosmos.group.v1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/cosmos.group.v1/types/google/protobuf/duration.js +84 -0
- package/dist/cosmos.group.v1/types/google/protobuf/timestamp.js +84 -0
- package/dist/cosmos.group.v1/types.js +22 -0
- package/dist/cosmos.mint.v1beta1/index.js +5 -0
- package/dist/cosmos.mint.v1beta1/module.js +60 -0
- package/dist/cosmos.mint.v1beta1/registry.js +2 -0
- package/dist/cosmos.mint.v1beta1/rest.js +128 -0
- package/dist/cosmos.mint.v1beta1/types/amino/amino.js +2 -0
- package/dist/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/genesis.js +63 -0
- package/dist/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/mint.js +179 -0
- package/dist/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/query.js +298 -0
- package/dist/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/tx.js +105 -0
- package/dist/cosmos.mint.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
- package/dist/cosmos.mint.v1beta1/types/cosmos_proto/cosmos.js +171 -0
- package/dist/cosmos.mint.v1beta1/types/gogoproto/gogo.js +2 -0
- package/dist/cosmos.mint.v1beta1/types/google/api/annotations.js +2 -0
- package/dist/cosmos.mint.v1beta1/types/google/api/http.js +260 -0
- package/dist/cosmos.mint.v1beta1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/cosmos.mint.v1beta1/types.js +3 -0
- package/dist/cosmos.nft.v1beta1/index.js +5 -0
- package/dist/cosmos.nft.v1beta1/module.js +68 -0
- package/dist/cosmos.nft.v1beta1/registry.js +2 -0
- package/dist/cosmos.nft.v1beta1/rest.js +187 -0
- package/dist/cosmos.nft.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/dist/cosmos.nft.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
- package/dist/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/event.js +198 -0
- package/dist/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/genesis.js +126 -0
- package/dist/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/nft.js +183 -0
- package/dist/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/query.js +752 -0
- package/dist/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/tx.js +120 -0
- package/dist/cosmos.nft.v1beta1/types/cosmos_proto/cosmos.js +171 -0
- package/dist/cosmos.nft.v1beta1/types/google/api/annotations.js +2 -0
- package/dist/cosmos.nft.v1beta1/types/google/api/http.js +260 -0
- package/dist/cosmos.nft.v1beta1/types/google/protobuf/any.js +99 -0
- package/dist/cosmos.nft.v1beta1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/cosmos.nft.v1beta1/types.js +7 -0
- package/dist/cosmos.params.v1beta1/index.js +5 -0
- package/dist/cosmos.params.v1beta1/module.js +62 -0
- package/dist/cosmos.params.v1beta1/registry.js +2 -0
- package/dist/cosmos.params.v1beta1/rest.js +116 -0
- package/dist/cosmos.params.v1beta1/types/amino/amino.js +2 -0
- package/dist/cosmos.params.v1beta1/types/cosmos/params/v1beta1/params.js +133 -0
- package/dist/cosmos.params.v1beta1/types/cosmos/params/v1beta1/query.js +257 -0
- package/dist/cosmos.params.v1beta1/types/cosmos_proto/cosmos.js +171 -0
- package/dist/cosmos.params.v1beta1/types/gogoproto/gogo.js +2 -0
- package/dist/cosmos.params.v1beta1/types/google/api/annotations.js +2 -0
- package/dist/cosmos.params.v1beta1/types/google/api/http.js +260 -0
- package/dist/cosmos.params.v1beta1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/cosmos.params.v1beta1/types.js +4 -0
- package/dist/cosmos.slashing.v1beta1/index.js +5 -0
- package/dist/cosmos.slashing.v1beta1/module.js +92 -0
- package/dist/cosmos.slashing.v1beta1/registry.js +5 -0
- package/dist/cosmos.slashing.v1beta1/rest.js +129 -0
- package/dist/cosmos.slashing.v1beta1/types/amino/amino.js +2 -0
- package/dist/cosmos.slashing.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/dist/cosmos.slashing.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
- package/dist/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/genesis.js +279 -0
- package/dist/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/query.js +300 -0
- package/dist/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/slashing.js +275 -0
- package/dist/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/tx.js +185 -0
- package/dist/cosmos.slashing.v1beta1/types/cosmos_proto/cosmos.js +171 -0
- package/dist/cosmos.slashing.v1beta1/types/gogoproto/gogo.js +2 -0
- package/dist/cosmos.slashing.v1beta1/types/google/api/annotations.js +2 -0
- package/dist/cosmos.slashing.v1beta1/types/google/api/http.js +260 -0
- package/dist/cosmos.slashing.v1beta1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/cosmos.slashing.v1beta1/types/google/protobuf/duration.js +84 -0
- package/dist/cosmos.slashing.v1beta1/types/google/protobuf/timestamp.js +84 -0
- package/dist/cosmos.slashing.v1beta1/types.js +6 -0
- package/dist/cosmos.staking.v1beta1/index.js +5 -0
- package/dist/cosmos.staking.v1beta1/module.js +245 -0
- package/dist/cosmos.staking.v1beta1/registry.js +15 -0
- package/dist/cosmos.staking.v1beta1/rest.js +308 -0
- package/dist/cosmos.staking.v1beta1/types/amino/amino.js +2 -0
- package/dist/cosmos.staking.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/dist/cosmos.staking.v1beta1/types/cosmos/base/v1beta1/coin.js +192 -0
- package/dist/cosmos.staking.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
- package/dist/cosmos.staking.v1beta1/types/cosmos/query/v1/query.js +2 -0
- package/dist/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/authz.js +184 -0
- package/dist/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/genesis.js +259 -0
- package/dist/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/query.js +1568 -0
- package/dist/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/staking.js +1614 -0
- package/dist/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/tx.js +861 -0
- package/dist/cosmos.staking.v1beta1/types/cosmos_proto/cosmos.js +171 -0
- package/dist/cosmos.staking.v1beta1/types/gogoproto/gogo.js +2 -0
- package/dist/cosmos.staking.v1beta1/types/google/api/annotations.js +2 -0
- package/dist/cosmos.staking.v1beta1/types/google/api/http.js +260 -0
- package/dist/cosmos.staking.v1beta1/types/google/protobuf/any.js +99 -0
- package/dist/cosmos.staking.v1beta1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/cosmos.staking.v1beta1/types/google/protobuf/duration.js +84 -0
- package/dist/cosmos.staking.v1beta1/types/google/protobuf/timestamp.js +84 -0
- package/dist/cosmos.staking.v1beta1/types/tendermint/abci/types.js +3812 -0
- package/dist/cosmos.staking.v1beta1/types/tendermint/crypto/keys.js +100 -0
- package/dist/cosmos.staking.v1beta1/types/tendermint/crypto/proof.js +356 -0
- package/dist/cosmos.staking.v1beta1/types/tendermint/types/params.js +369 -0
- package/dist/cosmos.staking.v1beta1/types/tendermint/types/types.js +1207 -0
- package/dist/cosmos.staking.v1beta1/types/tendermint/types/validator.js +254 -0
- package/dist/cosmos.staking.v1beta1/types/tendermint/version/types.js +133 -0
- package/dist/cosmos.staking.v1beta1/types.js +25 -0
- package/dist/cosmos.tx.v1beta1/index.js +5 -0
- package/dist/cosmos.tx.v1beta1/module.js +82 -0
- package/dist/cosmos.tx.v1beta1/registry.js +2 -0
- package/dist/cosmos.tx.v1beta1/rest.js +320 -0
- package/dist/cosmos.tx.v1beta1/types/amino/amino.js +2 -0
- package/dist/cosmos.tx.v1beta1/types/cosmos/base/abci/v1beta1/abci.js +803 -0
- package/dist/cosmos.tx.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/dist/cosmos.tx.v1beta1/types/cosmos/base/v1beta1/coin.js +192 -0
- package/dist/cosmos.tx.v1beta1/types/cosmos/crypto/multisig/v1beta1/multisig.js +147 -0
- package/dist/cosmos.tx.v1beta1/types/cosmos/tx/signing/v1beta1/signing.js +449 -0
- package/dist/cosmos.tx.v1beta1/types/cosmos/tx/v1beta1/service.js +1160 -0
- package/dist/cosmos.tx.v1beta1/types/cosmos/tx/v1beta1/tx.js +959 -0
- package/dist/cosmos.tx.v1beta1/types/cosmos_proto/cosmos.js +171 -0
- package/dist/cosmos.tx.v1beta1/types/gogoproto/gogo.js +2 -0
- package/dist/cosmos.tx.v1beta1/types/google/api/annotations.js +2 -0
- package/dist/cosmos.tx.v1beta1/types/google/api/http.js +260 -0
- package/dist/cosmos.tx.v1beta1/types/google/protobuf/any.js +99 -0
- package/dist/cosmos.tx.v1beta1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/cosmos.tx.v1beta1/types/google/protobuf/duration.js +84 -0
- package/dist/cosmos.tx.v1beta1/types/google/protobuf/timestamp.js +84 -0
- package/dist/cosmos.tx.v1beta1/types/tendermint/abci/types.js +3812 -0
- package/dist/cosmos.tx.v1beta1/types/tendermint/crypto/keys.js +100 -0
- package/dist/cosmos.tx.v1beta1/types/tendermint/crypto/proof.js +356 -0
- package/dist/cosmos.tx.v1beta1/types/tendermint/types/block.js +86 -0
- package/dist/cosmos.tx.v1beta1/types/tendermint/types/evidence.js +343 -0
- package/dist/cosmos.tx.v1beta1/types/tendermint/types/params.js +369 -0
- package/dist/cosmos.tx.v1beta1/types/tendermint/types/types.js +1207 -0
- package/dist/cosmos.tx.v1beta1/types/tendermint/types/validator.js +254 -0
- package/dist/cosmos.tx.v1beta1/types/tendermint/version/types.js +133 -0
- package/dist/cosmos.tx.v1beta1/types.js +14 -0
- package/dist/cosmos.upgrade.v1beta1/index.js +5 -0
- package/dist/cosmos.upgrade.v1beta1/module.js +113 -0
- package/dist/cosmos.upgrade.v1beta1/registry.js +7 -0
- package/dist/cosmos.upgrade.v1beta1/rest.js +162 -0
- package/dist/cosmos.upgrade.v1beta1/types/amino/amino.js +2 -0
- package/dist/cosmos.upgrade.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
- package/dist/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/query.js +501 -0
- package/dist/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/tx.js +183 -0
- package/dist/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/upgrade.js +302 -0
- package/dist/cosmos.upgrade.v1beta1/types/cosmos_proto/cosmos.js +171 -0
- package/dist/cosmos.upgrade.v1beta1/types/gogoproto/gogo.js +2 -0
- package/dist/cosmos.upgrade.v1beta1/types/google/api/annotations.js +2 -0
- package/dist/cosmos.upgrade.v1beta1/types/google/api/http.js +260 -0
- package/dist/cosmos.upgrade.v1beta1/types/google/protobuf/any.js +99 -0
- package/dist/cosmos.upgrade.v1beta1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/cosmos.upgrade.v1beta1/types/google/protobuf/timestamp.js +84 -0
- package/dist/cosmos.upgrade.v1beta1/types.js +5 -0
- package/dist/cosmos.vesting.v1beta1/index.js +5 -0
- package/dist/cosmos.vesting.v1beta1/module.js +140 -0
- package/dist/cosmos.vesting.v1beta1/registry.js +9 -0
- package/dist/cosmos.vesting.v1beta1/rest.js +83 -0
- package/dist/cosmos.vesting.v1beta1/types/amino/amino.js +2 -0
- package/dist/cosmos.vesting.v1beta1/types/cosmos/auth/v1beta1/auth.js +344 -0
- package/dist/cosmos.vesting.v1beta1/types/cosmos/base/v1beta1/coin.js +192 -0
- package/dist/cosmos.vesting.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
- package/dist/cosmos.vesting.v1beta1/types/cosmos/vesting/v1beta1/tx.js +383 -0
- package/dist/cosmos.vesting.v1beta1/types/cosmos/vesting/v1beta1/vesting.js +422 -0
- package/dist/cosmos.vesting.v1beta1/types/cosmos_proto/cosmos.js +171 -0
- package/dist/cosmos.vesting.v1beta1/types/gogoproto/gogo.js +2 -0
- package/dist/cosmos.vesting.v1beta1/types/google/protobuf/any.js +99 -0
- package/dist/cosmos.vesting.v1beta1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/cosmos.vesting.v1beta1/types.js +7 -0
- package/dist/env.js +1 -0
- package/dist/helpers.js +11 -0
- package/dist/ibc.applications.interchain_accounts.controller.v1/index.js +5 -0
- package/dist/ibc.applications.interchain_accounts.controller.v1/module.js +58 -0
- package/dist/ibc.applications.interchain_accounts.controller.v1/registry.js +2 -0
- package/dist/ibc.applications.interchain_accounts.controller.v1/rest.js +123 -0
- package/dist/ibc.applications.interchain_accounts.controller.v1/types/gogoproto/gogo.js +2 -0
- package/dist/ibc.applications.interchain_accounts.controller.v1/types/google/api/annotations.js +2 -0
- package/dist/ibc.applications.interchain_accounts.controller.v1/types/google/api/http.js +260 -0
- package/dist/ibc.applications.interchain_accounts.controller.v1/types/google/protobuf/any.js +99 -0
- package/dist/ibc.applications.interchain_accounts.controller.v1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/controller.js +47 -0
- package/dist/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/query.js +193 -0
- package/dist/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/tx.js +277 -0
- package/dist/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/v1/packet.js +192 -0
- package/dist/ibc.applications.interchain_accounts.controller.v1/types.js +2 -0
- package/dist/ibc.applications.interchain_accounts.host.v1/index.js +5 -0
- package/dist/ibc.applications.interchain_accounts.host.v1/module.js +58 -0
- package/dist/ibc.applications.interchain_accounts.host.v1/registry.js +2 -0
- package/dist/ibc.applications.interchain_accounts.host.v1/rest.js +100 -0
- package/dist/ibc.applications.interchain_accounts.host.v1/types/gogoproto/gogo.js +2 -0
- package/dist/ibc.applications.interchain_accounts.host.v1/types/google/api/annotations.js +2 -0
- package/dist/ibc.applications.interchain_accounts.host.v1/types/google/api/http.js +260 -0
- package/dist/ibc.applications.interchain_accounts.host.v1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/ibc.applications.interchain_accounts.host.v1/types/ibc/applications/interchain_accounts/host/v1/host.js +63 -0
- package/dist/ibc.applications.interchain_accounts.host.v1/types/ibc/applications/interchain_accounts/host/v1/query.js +94 -0
- package/dist/ibc.applications.interchain_accounts.host.v1/types.js +2 -0
- package/dist/ibc.applications.transfer.v1/index.js +5 -0
- package/dist/ibc.applications.transfer.v1/module.js +64 -0
- package/dist/ibc.applications.transfer.v1/registry.js +2 -0
- package/dist/ibc.applications.transfer.v1/rest.js +171 -0
- package/dist/ibc.applications.transfer.v1/types/amino/amino.js +2 -0
- package/dist/ibc.applications.transfer.v1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/dist/ibc.applications.transfer.v1/types/cosmos/base/v1beta1/coin.js +192 -0
- package/dist/ibc.applications.transfer.v1/types/cosmos/upgrade/v1beta1/upgrade.js +302 -0
- package/dist/ibc.applications.transfer.v1/types/cosmos_proto/cosmos.js +171 -0
- package/dist/ibc.applications.transfer.v1/types/gogoproto/gogo.js +2 -0
- package/dist/ibc.applications.transfer.v1/types/google/api/annotations.js +2 -0
- package/dist/ibc.applications.transfer.v1/types/google/api/http.js +260 -0
- package/dist/ibc.applications.transfer.v1/types/google/protobuf/any.js +99 -0
- package/dist/ibc.applications.transfer.v1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/ibc.applications.transfer.v1/types/google/protobuf/timestamp.js +84 -0
- package/dist/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/authz.js +135 -0
- package/dist/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/genesis.js +90 -0
- package/dist/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/query.js +574 -0
- package/dist/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/transfer.js +110 -0
- package/dist/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/tx.js +204 -0
- package/dist/ibc.applications.transfer.v1/types/ibc/core/client/v1/client.js +448 -0
- package/dist/ibc.applications.transfer.v1/types.js +5 -0
- package/dist/ibc.core.channel.v1/index.js +5 -0
- package/dist/ibc.core.channel.v1/module.js +72 -0
- package/dist/ibc.core.channel.v1/registry.js +2 -0
- package/dist/ibc.core.channel.v1/rest.js +323 -0
- package/dist/ibc.core.channel.v1/types/amino/amino.js +2 -0
- package/dist/ibc.core.channel.v1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/dist/ibc.core.channel.v1/types/cosmos/upgrade/v1beta1/upgrade.js +302 -0
- package/dist/ibc.core.channel.v1/types/cosmos_proto/cosmos.js +171 -0
- package/dist/ibc.core.channel.v1/types/gogoproto/gogo.js +2 -0
- package/dist/ibc.core.channel.v1/types/google/api/annotations.js +2 -0
- package/dist/ibc.core.channel.v1/types/google/api/http.js +260 -0
- package/dist/ibc.core.channel.v1/types/google/protobuf/any.js +99 -0
- package/dist/ibc.core.channel.v1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/ibc.core.channel.v1/types/google/protobuf/timestamp.js +84 -0
- package/dist/ibc.core.channel.v1/types/ibc/core/channel/v1/channel.js +714 -0
- package/dist/ibc.core.channel.v1/types/ibc/core/channel/v1/genesis.js +254 -0
- package/dist/ibc.core.channel.v1/types/ibc/core/channel/v1/query.js +1866 -0
- package/dist/ibc.core.channel.v1/types/ibc/core/channel/v1/tx.js +1436 -0
- package/dist/ibc.core.channel.v1/types/ibc/core/client/v1/client.js +448 -0
- package/dist/ibc.core.channel.v1/types.js +9 -0
- package/dist/ibc.core.client.v1/index.js +5 -0
- package/dist/ibc.core.client.v1/module.js +74 -0
- package/dist/ibc.core.client.v1/registry.js +2 -0
- package/dist/ibc.core.client.v1/rest.js +218 -0
- package/dist/ibc.core.client.v1/types/amino/amino.js +2 -0
- package/dist/ibc.core.client.v1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/dist/ibc.core.client.v1/types/cosmos/upgrade/v1beta1/upgrade.js +302 -0
- package/dist/ibc.core.client.v1/types/cosmos_proto/cosmos.js +171 -0
- package/dist/ibc.core.client.v1/types/gogoproto/gogo.js +2 -0
- package/dist/ibc.core.client.v1/types/google/api/annotations.js +2 -0
- package/dist/ibc.core.client.v1/types/google/api/http.js +260 -0
- package/dist/ibc.core.client.v1/types/google/protobuf/any.js +99 -0
- package/dist/ibc.core.client.v1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/ibc.core.client.v1/types/google/protobuf/timestamp.js +84 -0
- package/dist/ibc.core.client.v1/types/ibc/core/client/v1/client.js +448 -0
- package/dist/ibc.core.client.v1/types/ibc/core/client/v1/genesis.js +287 -0
- package/dist/ibc.core.client.v1/types/ibc/core/client/v1/query.js +1026 -0
- package/dist/ibc.core.client.v1/types/ibc/core/client/v1/tx.js +510 -0
- package/dist/ibc.core.client.v1/types.js +10 -0
- package/dist/ibc.core.connection.v1/index.js +5 -0
- package/dist/ibc.core.connection.v1/module.js +70 -0
- package/dist/ibc.core.connection.v1/registry.js +2 -0
- package/dist/ibc.core.connection.v1/rest.js +191 -0
- package/dist/ibc.core.connection.v1/types/amino/amino.js +2 -0
- package/dist/ibc.core.connection.v1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/dist/ibc.core.connection.v1/types/cosmos/ics23/v1/proofs.js +1126 -0
- package/dist/ibc.core.connection.v1/types/cosmos/upgrade/v1beta1/upgrade.js +302 -0
- package/dist/ibc.core.connection.v1/types/cosmos_proto/cosmos.js +171 -0
- package/dist/ibc.core.connection.v1/types/gogoproto/gogo.js +2 -0
- package/dist/ibc.core.connection.v1/types/google/api/annotations.js +2 -0
- package/dist/ibc.core.connection.v1/types/google/api/http.js +260 -0
- package/dist/ibc.core.connection.v1/types/google/protobuf/any.js +99 -0
- package/dist/ibc.core.connection.v1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/ibc.core.connection.v1/types/google/protobuf/timestamp.js +84 -0
- package/dist/ibc.core.connection.v1/types/ibc/core/client/v1/client.js +448 -0
- package/dist/ibc.core.connection.v1/types/ibc/core/commitment/v1/commitment.js +223 -0
- package/dist/ibc.core.connection.v1/types/ibc/core/connection/v1/connection.js +537 -0
- package/dist/ibc.core.connection.v1/types/ibc/core/connection/v1/genesis.js +120 -0
- package/dist/ibc.core.connection.v1/types/ibc/core/connection/v1/query.js +766 -0
- package/dist/ibc.core.connection.v1/types/ibc/core/connection/v1/tx.js +731 -0
- package/dist/ibc.core.connection.v1/types.js +8 -0
- package/dist/iconlake.drop/index.js +5 -0
- package/dist/iconlake.drop/module.js +86 -0
- package/dist/iconlake.drop/registry.js +5 -0
- package/dist/iconlake.drop/rest.js +128 -0
- package/dist/iconlake.drop/types/amino/amino.js +2 -0
- package/dist/iconlake.drop/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/dist/iconlake.drop/types/cosmos/base/v1beta1/coin.js +192 -0
- package/dist/iconlake.drop/types/cosmos_proto/cosmos.js +171 -0
- package/dist/iconlake.drop/types/gogoproto/gogo.js +2 -0
- package/dist/iconlake.drop/types/google/api/annotations.js +2 -0
- package/dist/iconlake.drop/types/google/api/http.js +260 -0
- package/dist/iconlake.drop/types/google/protobuf/descriptor.js +2830 -0
- package/dist/iconlake.drop/types/iconlake/drop/genesis.js +67 -0
- package/dist/iconlake.drop/types/iconlake/drop/info.js +84 -0
- package/dist/iconlake.drop/types/iconlake/drop/params.js +36 -0
- package/dist/iconlake.drop/types/iconlake/drop/query.js +294 -0
- package/dist/iconlake.drop/types/iconlake/drop/tx.js +152 -0
- package/dist/iconlake.drop/types.js +3 -0
- package/dist/iconlake.icon/index.js +5 -0
- package/dist/iconlake.icon/module.js +88 -0
- package/dist/iconlake.icon/registry.js +5 -0
- package/dist/iconlake.icon/rest.js +115 -0
- package/dist/iconlake.icon/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/dist/iconlake.icon/types/gogoproto/gogo.js +2 -0
- package/dist/iconlake.icon/types/google/api/annotations.js +2 -0
- package/dist/iconlake.icon/types/google/api/http.js +260 -0
- package/dist/iconlake.icon/types/google/protobuf/descriptor.js +2830 -0
- package/dist/iconlake.icon/types/iconlake/icon/class_data.js +58 -0
- package/dist/iconlake.icon/types/iconlake/icon/genesis.js +50 -0
- package/dist/iconlake.icon/types/iconlake/icon/icon_data.js +76 -0
- package/dist/iconlake.icon/types/iconlake/icon/params.js +36 -0
- package/dist/iconlake.icon/types/iconlake/icon/query.js +204 -0
- package/dist/iconlake.icon/types/iconlake/icon/tx.js +174 -0
- package/dist/iconlake.icon/types.js +4 -0
- package/dist/iconlake.iconlake/index.js +5 -0
- package/dist/iconlake.iconlake/module.js +86 -0
- package/dist/iconlake.iconlake/registry.js +5 -0
- package/dist/iconlake.iconlake/rest.js +128 -0
- package/dist/iconlake.iconlake/types/amino/amino.js +2 -0
- package/dist/iconlake.iconlake/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/dist/iconlake.iconlake/types/cosmos/base/v1beta1/coin.js +192 -0
- package/dist/iconlake.iconlake/types/cosmos_proto/cosmos.js +171 -0
- package/dist/iconlake.iconlake/types/gogoproto/gogo.js +2 -0
- package/dist/iconlake.iconlake/types/google/api/annotations.js +2 -0
- package/dist/iconlake.iconlake/types/google/api/http.js +260 -0
- package/dist/iconlake.iconlake/types/google/protobuf/descriptor.js +2830 -0
- package/dist/iconlake.iconlake/types/iconlake/iconlake/account.js +84 -0
- package/dist/iconlake.iconlake/types/iconlake/iconlake/genesis.js +67 -0
- package/dist/iconlake.iconlake/types/iconlake/iconlake/params.js +36 -0
- package/dist/iconlake.iconlake/types/iconlake/iconlake/query.js +296 -0
- package/dist/iconlake.iconlake/types/iconlake/iconlake/tx.js +113 -0
- package/dist/iconlake.iconlake/types.js +3 -0
- package/dist/index.js +68 -0
- package/dist/modules.js +1 -0
- package/env.ts +0 -0
- package/helpers.ts +0 -0
- package/ibc.applications.interchain_accounts.controller.v1/index.ts +0 -0
- package/ibc.applications.interchain_accounts.controller.v1/module.ts +0 -0
- package/ibc.applications.interchain_accounts.controller.v1/registry.ts +0 -0
- package/ibc.applications.interchain_accounts.controller.v1/rest.ts +1 -0
- package/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/tx.ts +16 -4
- package/ibc.applications.interchain_accounts.controller.v1/types.ts +0 -0
- package/ibc.applications.interchain_accounts.host.v1/index.ts +0 -0
- package/ibc.applications.interchain_accounts.host.v1/module.ts +0 -0
- package/ibc.applications.interchain_accounts.host.v1/registry.ts +0 -0
- package/ibc.applications.interchain_accounts.host.v1/types.ts +0 -0
- package/ibc.applications.transfer.v1/index.ts +0 -0
- package/ibc.applications.transfer.v1/module.ts +5 -34
- package/ibc.applications.transfer.v1/registry.ts +0 -2
- package/ibc.applications.transfer.v1/rest.ts +30 -1
- package/ibc.applications.transfer.v1/types/amino/amino.ts +2 -0
- package/ibc.applications.transfer.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +6 -4
- package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/authz.ts +178 -0
- package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/genesis.ts +23 -2
- package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/query.ts +120 -0
- package/ibc.applications.transfer.v1/types/ibc/core/client/v1/client.ts +5 -1
- package/ibc.applications.transfer.v1/types.ts +4 -0
- package/ibc.core.channel.v1/index.ts +0 -0
- package/ibc.core.channel.v1/module.ts +0 -0
- package/ibc.core.channel.v1/registry.ts +0 -0
- package/ibc.core.channel.v1/rest.ts +1 -0
- package/ibc.core.channel.v1/types/amino/amino.ts +2 -0
- package/ibc.core.channel.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +6 -4
- package/ibc.core.channel.v1/types/ibc/core/channel/v1/tx.ts +14 -2
- package/ibc.core.channel.v1/types/ibc/core/client/v1/client.ts +5 -1
- package/ibc.core.channel.v1/types.ts +0 -0
- package/ibc.core.client.v1/index.ts +0 -0
- package/ibc.core.client.v1/module.ts +0 -0
- package/ibc.core.client.v1/registry.ts +0 -0
- package/ibc.core.client.v1/rest.ts +5 -1
- package/ibc.core.client.v1/types/amino/amino.ts +2 -0
- package/ibc.core.client.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +6 -4
- package/ibc.core.client.v1/types/ibc/core/client/v1/client.ts +5 -1
- package/ibc.core.client.v1/types/ibc/core/client/v1/tx.ts +28 -14
- package/ibc.core.client.v1/types.ts +0 -0
- package/ibc.core.connection.v1/index.ts +0 -0
- package/ibc.core.connection.v1/module.ts +0 -0
- package/ibc.core.connection.v1/registry.ts +0 -0
- package/ibc.core.connection.v1/types/amino/amino.ts +2 -0
- package/ibc.core.connection.v1/types/{proofs.ts → cosmos/ics23/v1/proofs.ts} +1 -1
- package/ibc.core.connection.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +6 -4
- package/ibc.core.connection.v1/types/ibc/core/client/v1/client.ts +5 -1
- package/ibc.core.connection.v1/types/ibc/core/commitment/v1/commitment.ts +1 -1
- package/ibc.core.connection.v1/types/ibc/core/connection/v1/tx.ts +34 -0
- package/ibc.core.connection.v1/types.ts +0 -0
- package/iconlake.drop/index.ts +6 -0
- package/iconlake.drop/module.ts +133 -0
- package/iconlake.drop/registry.ts +9 -0
- package/iconlake.drop/rest.ts +339 -0
- package/iconlake.drop/types/amino/amino.ts +2 -0
- package/iconlake.drop/types/cosmos/base/query/v1beta1/pagination.ts +286 -0
- package/iconlake.drop/types/cosmos/base/v1beta1/coin.ts +261 -0
- package/iconlake.drop/types/cosmos_proto/cosmos.ts +247 -0
- package/iconlake.drop/types/gogoproto/gogo.ts +2 -0
- package/iconlake.drop/types/google/api/annotations.ts +2 -0
- package/iconlake.drop/types/google/api/http.ts +589 -0
- package/iconlake.drop/types/google/protobuf/descriptor.ts +3753 -0
- package/iconlake.drop/types/iconlake/drop/genesis.ts +91 -0
- package/iconlake.drop/types/iconlake/drop/info.ts +114 -0
- package/iconlake.drop/types/iconlake/drop/params.ts +58 -0
- package/iconlake.drop/types/iconlake/drop/query.ts +386 -0
- package/iconlake.drop/types/iconlake/drop/tx.ts +204 -0
- package/iconlake.drop/types.ts +9 -0
- package/iconlake.icon/index.ts +0 -0
- package/iconlake.icon/module.ts +2 -2
- package/iconlake.icon/registry.ts +0 -0
- package/iconlake.icon/rest.ts +1 -1
- package/iconlake.icon/types/iconlake/icon/class_data.ts +82 -0
- package/iconlake.icon/types/iconlake/icon/icon_data.ts +102 -0
- package/iconlake.icon/types/iconlake/icon/tx.ts +1 -146
- package/iconlake.icon/types.ts +3 -3
- package/iconlake.iconlake/index.ts +0 -0
- package/iconlake.iconlake/module.ts +0 -0
- package/iconlake.iconlake/registry.ts +0 -0
- package/iconlake.iconlake/rest.ts +2 -14
- package/iconlake.iconlake/types/amino/amino.ts +2 -0
- package/iconlake.iconlake/types/iconlake/iconlake/account.ts +10 -36
- package/iconlake.iconlake/types/iconlake/iconlake/tx.ts +8 -64
- package/iconlake.iconlake/types.ts +0 -0
- package/index.ts +5 -3
- package/modules.ts +0 -0
- package/package.json +15 -8
- package/tsconfig.json +11 -11
- package/types.d.ts +0 -0
|
@@ -0,0 +1,1046 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import Long from "long";
|
|
3
|
+
import _m0 from "protobufjs/minimal";
|
|
4
|
+
import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination";
|
|
5
|
+
import { DecCoin } from "../../base/v1beta1/coin";
|
|
6
|
+
import { DelegationDelegatorReward, Params, ValidatorAccumulatedCommission, ValidatorOutstandingRewards, ValidatorSlashEvent, } from "./distribution";
|
|
7
|
+
export const protobufPackage = "cosmos.distribution.v1beta1";
|
|
8
|
+
function createBaseQueryParamsRequest() {
|
|
9
|
+
return {};
|
|
10
|
+
}
|
|
11
|
+
export const QueryParamsRequest = {
|
|
12
|
+
encode(_, writer = _m0.Writer.create()) {
|
|
13
|
+
return writer;
|
|
14
|
+
},
|
|
15
|
+
decode(input, length) {
|
|
16
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
17
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
18
|
+
const message = createBaseQueryParamsRequest();
|
|
19
|
+
while (reader.pos < end) {
|
|
20
|
+
const tag = reader.uint32();
|
|
21
|
+
switch (tag >>> 3) {
|
|
22
|
+
default:
|
|
23
|
+
reader.skipType(tag & 7);
|
|
24
|
+
break;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
return message;
|
|
28
|
+
},
|
|
29
|
+
fromJSON(_) {
|
|
30
|
+
return {};
|
|
31
|
+
},
|
|
32
|
+
toJSON(_) {
|
|
33
|
+
const obj = {};
|
|
34
|
+
return obj;
|
|
35
|
+
},
|
|
36
|
+
fromPartial(_) {
|
|
37
|
+
const message = createBaseQueryParamsRequest();
|
|
38
|
+
return message;
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
function createBaseQueryParamsResponse() {
|
|
42
|
+
return { params: undefined };
|
|
43
|
+
}
|
|
44
|
+
export const QueryParamsResponse = {
|
|
45
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
46
|
+
if (message.params !== undefined) {
|
|
47
|
+
Params.encode(message.params, writer.uint32(10).fork()).ldelim();
|
|
48
|
+
}
|
|
49
|
+
return writer;
|
|
50
|
+
},
|
|
51
|
+
decode(input, length) {
|
|
52
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
53
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
54
|
+
const message = createBaseQueryParamsResponse();
|
|
55
|
+
while (reader.pos < end) {
|
|
56
|
+
const tag = reader.uint32();
|
|
57
|
+
switch (tag >>> 3) {
|
|
58
|
+
case 1:
|
|
59
|
+
message.params = Params.decode(reader, reader.uint32());
|
|
60
|
+
break;
|
|
61
|
+
default:
|
|
62
|
+
reader.skipType(tag & 7);
|
|
63
|
+
break;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
return message;
|
|
67
|
+
},
|
|
68
|
+
fromJSON(object) {
|
|
69
|
+
return { params: isSet(object.params) ? Params.fromJSON(object.params) : undefined };
|
|
70
|
+
},
|
|
71
|
+
toJSON(message) {
|
|
72
|
+
const obj = {};
|
|
73
|
+
message.params !== undefined && (obj.params = message.params ? Params.toJSON(message.params) : undefined);
|
|
74
|
+
return obj;
|
|
75
|
+
},
|
|
76
|
+
fromPartial(object) {
|
|
77
|
+
const message = createBaseQueryParamsResponse();
|
|
78
|
+
message.params = (object.params !== undefined && object.params !== null)
|
|
79
|
+
? Params.fromPartial(object.params)
|
|
80
|
+
: undefined;
|
|
81
|
+
return message;
|
|
82
|
+
},
|
|
83
|
+
};
|
|
84
|
+
function createBaseQueryValidatorDistributionInfoRequest() {
|
|
85
|
+
return { validatorAddress: "" };
|
|
86
|
+
}
|
|
87
|
+
export const QueryValidatorDistributionInfoRequest = {
|
|
88
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
89
|
+
if (message.validatorAddress !== "") {
|
|
90
|
+
writer.uint32(10).string(message.validatorAddress);
|
|
91
|
+
}
|
|
92
|
+
return writer;
|
|
93
|
+
},
|
|
94
|
+
decode(input, length) {
|
|
95
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
96
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
97
|
+
const message = createBaseQueryValidatorDistributionInfoRequest();
|
|
98
|
+
while (reader.pos < end) {
|
|
99
|
+
const tag = reader.uint32();
|
|
100
|
+
switch (tag >>> 3) {
|
|
101
|
+
case 1:
|
|
102
|
+
message.validatorAddress = reader.string();
|
|
103
|
+
break;
|
|
104
|
+
default:
|
|
105
|
+
reader.skipType(tag & 7);
|
|
106
|
+
break;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
return message;
|
|
110
|
+
},
|
|
111
|
+
fromJSON(object) {
|
|
112
|
+
return { validatorAddress: isSet(object.validatorAddress) ? String(object.validatorAddress) : "" };
|
|
113
|
+
},
|
|
114
|
+
toJSON(message) {
|
|
115
|
+
const obj = {};
|
|
116
|
+
message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress);
|
|
117
|
+
return obj;
|
|
118
|
+
},
|
|
119
|
+
fromPartial(object) {
|
|
120
|
+
const message = createBaseQueryValidatorDistributionInfoRequest();
|
|
121
|
+
message.validatorAddress = object.validatorAddress ?? "";
|
|
122
|
+
return message;
|
|
123
|
+
},
|
|
124
|
+
};
|
|
125
|
+
function createBaseQueryValidatorDistributionInfoResponse() {
|
|
126
|
+
return { operatorAddress: "", selfBondRewards: [], commission: [] };
|
|
127
|
+
}
|
|
128
|
+
export const QueryValidatorDistributionInfoResponse = {
|
|
129
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
130
|
+
if (message.operatorAddress !== "") {
|
|
131
|
+
writer.uint32(10).string(message.operatorAddress);
|
|
132
|
+
}
|
|
133
|
+
for (const v of message.selfBondRewards) {
|
|
134
|
+
DecCoin.encode(v, writer.uint32(18).fork()).ldelim();
|
|
135
|
+
}
|
|
136
|
+
for (const v of message.commission) {
|
|
137
|
+
DecCoin.encode(v, writer.uint32(26).fork()).ldelim();
|
|
138
|
+
}
|
|
139
|
+
return writer;
|
|
140
|
+
},
|
|
141
|
+
decode(input, length) {
|
|
142
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
143
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
144
|
+
const message = createBaseQueryValidatorDistributionInfoResponse();
|
|
145
|
+
while (reader.pos < end) {
|
|
146
|
+
const tag = reader.uint32();
|
|
147
|
+
switch (tag >>> 3) {
|
|
148
|
+
case 1:
|
|
149
|
+
message.operatorAddress = reader.string();
|
|
150
|
+
break;
|
|
151
|
+
case 2:
|
|
152
|
+
message.selfBondRewards.push(DecCoin.decode(reader, reader.uint32()));
|
|
153
|
+
break;
|
|
154
|
+
case 3:
|
|
155
|
+
message.commission.push(DecCoin.decode(reader, reader.uint32()));
|
|
156
|
+
break;
|
|
157
|
+
default:
|
|
158
|
+
reader.skipType(tag & 7);
|
|
159
|
+
break;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
return message;
|
|
163
|
+
},
|
|
164
|
+
fromJSON(object) {
|
|
165
|
+
return {
|
|
166
|
+
operatorAddress: isSet(object.operatorAddress) ? String(object.operatorAddress) : "",
|
|
167
|
+
selfBondRewards: Array.isArray(object?.selfBondRewards)
|
|
168
|
+
? object.selfBondRewards.map((e) => DecCoin.fromJSON(e))
|
|
169
|
+
: [],
|
|
170
|
+
commission: Array.isArray(object?.commission) ? object.commission.map((e) => DecCoin.fromJSON(e)) : [],
|
|
171
|
+
};
|
|
172
|
+
},
|
|
173
|
+
toJSON(message) {
|
|
174
|
+
const obj = {};
|
|
175
|
+
message.operatorAddress !== undefined && (obj.operatorAddress = message.operatorAddress);
|
|
176
|
+
if (message.selfBondRewards) {
|
|
177
|
+
obj.selfBondRewards = message.selfBondRewards.map((e) => e ? DecCoin.toJSON(e) : undefined);
|
|
178
|
+
}
|
|
179
|
+
else {
|
|
180
|
+
obj.selfBondRewards = [];
|
|
181
|
+
}
|
|
182
|
+
if (message.commission) {
|
|
183
|
+
obj.commission = message.commission.map((e) => e ? DecCoin.toJSON(e) : undefined);
|
|
184
|
+
}
|
|
185
|
+
else {
|
|
186
|
+
obj.commission = [];
|
|
187
|
+
}
|
|
188
|
+
return obj;
|
|
189
|
+
},
|
|
190
|
+
fromPartial(object) {
|
|
191
|
+
const message = createBaseQueryValidatorDistributionInfoResponse();
|
|
192
|
+
message.operatorAddress = object.operatorAddress ?? "";
|
|
193
|
+
message.selfBondRewards = object.selfBondRewards?.map((e) => DecCoin.fromPartial(e)) || [];
|
|
194
|
+
message.commission = object.commission?.map((e) => DecCoin.fromPartial(e)) || [];
|
|
195
|
+
return message;
|
|
196
|
+
},
|
|
197
|
+
};
|
|
198
|
+
function createBaseQueryValidatorOutstandingRewardsRequest() {
|
|
199
|
+
return { validatorAddress: "" };
|
|
200
|
+
}
|
|
201
|
+
export const QueryValidatorOutstandingRewardsRequest = {
|
|
202
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
203
|
+
if (message.validatorAddress !== "") {
|
|
204
|
+
writer.uint32(10).string(message.validatorAddress);
|
|
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 = createBaseQueryValidatorOutstandingRewardsRequest();
|
|
212
|
+
while (reader.pos < end) {
|
|
213
|
+
const tag = reader.uint32();
|
|
214
|
+
switch (tag >>> 3) {
|
|
215
|
+
case 1:
|
|
216
|
+
message.validatorAddress = reader.string();
|
|
217
|
+
break;
|
|
218
|
+
default:
|
|
219
|
+
reader.skipType(tag & 7);
|
|
220
|
+
break;
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
return message;
|
|
224
|
+
},
|
|
225
|
+
fromJSON(object) {
|
|
226
|
+
return { validatorAddress: isSet(object.validatorAddress) ? String(object.validatorAddress) : "" };
|
|
227
|
+
},
|
|
228
|
+
toJSON(message) {
|
|
229
|
+
const obj = {};
|
|
230
|
+
message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress);
|
|
231
|
+
return obj;
|
|
232
|
+
},
|
|
233
|
+
fromPartial(object) {
|
|
234
|
+
const message = createBaseQueryValidatorOutstandingRewardsRequest();
|
|
235
|
+
message.validatorAddress = object.validatorAddress ?? "";
|
|
236
|
+
return message;
|
|
237
|
+
},
|
|
238
|
+
};
|
|
239
|
+
function createBaseQueryValidatorOutstandingRewardsResponse() {
|
|
240
|
+
return { rewards: undefined };
|
|
241
|
+
}
|
|
242
|
+
export const QueryValidatorOutstandingRewardsResponse = {
|
|
243
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
244
|
+
if (message.rewards !== undefined) {
|
|
245
|
+
ValidatorOutstandingRewards.encode(message.rewards, writer.uint32(10).fork()).ldelim();
|
|
246
|
+
}
|
|
247
|
+
return writer;
|
|
248
|
+
},
|
|
249
|
+
decode(input, length) {
|
|
250
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
251
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
252
|
+
const message = createBaseQueryValidatorOutstandingRewardsResponse();
|
|
253
|
+
while (reader.pos < end) {
|
|
254
|
+
const tag = reader.uint32();
|
|
255
|
+
switch (tag >>> 3) {
|
|
256
|
+
case 1:
|
|
257
|
+
message.rewards = ValidatorOutstandingRewards.decode(reader, reader.uint32());
|
|
258
|
+
break;
|
|
259
|
+
default:
|
|
260
|
+
reader.skipType(tag & 7);
|
|
261
|
+
break;
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
return message;
|
|
265
|
+
},
|
|
266
|
+
fromJSON(object) {
|
|
267
|
+
return { rewards: isSet(object.rewards) ? ValidatorOutstandingRewards.fromJSON(object.rewards) : undefined };
|
|
268
|
+
},
|
|
269
|
+
toJSON(message) {
|
|
270
|
+
const obj = {};
|
|
271
|
+
message.rewards !== undefined
|
|
272
|
+
&& (obj.rewards = message.rewards ? ValidatorOutstandingRewards.toJSON(message.rewards) : undefined);
|
|
273
|
+
return obj;
|
|
274
|
+
},
|
|
275
|
+
fromPartial(object) {
|
|
276
|
+
const message = createBaseQueryValidatorOutstandingRewardsResponse();
|
|
277
|
+
message.rewards = (object.rewards !== undefined && object.rewards !== null)
|
|
278
|
+
? ValidatorOutstandingRewards.fromPartial(object.rewards)
|
|
279
|
+
: undefined;
|
|
280
|
+
return message;
|
|
281
|
+
},
|
|
282
|
+
};
|
|
283
|
+
function createBaseQueryValidatorCommissionRequest() {
|
|
284
|
+
return { validatorAddress: "" };
|
|
285
|
+
}
|
|
286
|
+
export const QueryValidatorCommissionRequest = {
|
|
287
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
288
|
+
if (message.validatorAddress !== "") {
|
|
289
|
+
writer.uint32(10).string(message.validatorAddress);
|
|
290
|
+
}
|
|
291
|
+
return writer;
|
|
292
|
+
},
|
|
293
|
+
decode(input, length) {
|
|
294
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
295
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
296
|
+
const message = createBaseQueryValidatorCommissionRequest();
|
|
297
|
+
while (reader.pos < end) {
|
|
298
|
+
const tag = reader.uint32();
|
|
299
|
+
switch (tag >>> 3) {
|
|
300
|
+
case 1:
|
|
301
|
+
message.validatorAddress = reader.string();
|
|
302
|
+
break;
|
|
303
|
+
default:
|
|
304
|
+
reader.skipType(tag & 7);
|
|
305
|
+
break;
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
return message;
|
|
309
|
+
},
|
|
310
|
+
fromJSON(object) {
|
|
311
|
+
return { validatorAddress: isSet(object.validatorAddress) ? String(object.validatorAddress) : "" };
|
|
312
|
+
},
|
|
313
|
+
toJSON(message) {
|
|
314
|
+
const obj = {};
|
|
315
|
+
message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress);
|
|
316
|
+
return obj;
|
|
317
|
+
},
|
|
318
|
+
fromPartial(object) {
|
|
319
|
+
const message = createBaseQueryValidatorCommissionRequest();
|
|
320
|
+
message.validatorAddress = object.validatorAddress ?? "";
|
|
321
|
+
return message;
|
|
322
|
+
},
|
|
323
|
+
};
|
|
324
|
+
function createBaseQueryValidatorCommissionResponse() {
|
|
325
|
+
return { commission: undefined };
|
|
326
|
+
}
|
|
327
|
+
export const QueryValidatorCommissionResponse = {
|
|
328
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
329
|
+
if (message.commission !== undefined) {
|
|
330
|
+
ValidatorAccumulatedCommission.encode(message.commission, writer.uint32(10).fork()).ldelim();
|
|
331
|
+
}
|
|
332
|
+
return writer;
|
|
333
|
+
},
|
|
334
|
+
decode(input, length) {
|
|
335
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
336
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
337
|
+
const message = createBaseQueryValidatorCommissionResponse();
|
|
338
|
+
while (reader.pos < end) {
|
|
339
|
+
const tag = reader.uint32();
|
|
340
|
+
switch (tag >>> 3) {
|
|
341
|
+
case 1:
|
|
342
|
+
message.commission = ValidatorAccumulatedCommission.decode(reader, reader.uint32());
|
|
343
|
+
break;
|
|
344
|
+
default:
|
|
345
|
+
reader.skipType(tag & 7);
|
|
346
|
+
break;
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
return message;
|
|
350
|
+
},
|
|
351
|
+
fromJSON(object) {
|
|
352
|
+
return {
|
|
353
|
+
commission: isSet(object.commission) ? ValidatorAccumulatedCommission.fromJSON(object.commission) : undefined,
|
|
354
|
+
};
|
|
355
|
+
},
|
|
356
|
+
toJSON(message) {
|
|
357
|
+
const obj = {};
|
|
358
|
+
message.commission !== undefined
|
|
359
|
+
&& (obj.commission = message.commission ? ValidatorAccumulatedCommission.toJSON(message.commission) : undefined);
|
|
360
|
+
return obj;
|
|
361
|
+
},
|
|
362
|
+
fromPartial(object) {
|
|
363
|
+
const message = createBaseQueryValidatorCommissionResponse();
|
|
364
|
+
message.commission = (object.commission !== undefined && object.commission !== null)
|
|
365
|
+
? ValidatorAccumulatedCommission.fromPartial(object.commission)
|
|
366
|
+
: undefined;
|
|
367
|
+
return message;
|
|
368
|
+
},
|
|
369
|
+
};
|
|
370
|
+
function createBaseQueryValidatorSlashesRequest() {
|
|
371
|
+
return { validatorAddress: "", startingHeight: 0, endingHeight: 0, pagination: undefined };
|
|
372
|
+
}
|
|
373
|
+
export const QueryValidatorSlashesRequest = {
|
|
374
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
375
|
+
if (message.validatorAddress !== "") {
|
|
376
|
+
writer.uint32(10).string(message.validatorAddress);
|
|
377
|
+
}
|
|
378
|
+
if (message.startingHeight !== 0) {
|
|
379
|
+
writer.uint32(16).uint64(message.startingHeight);
|
|
380
|
+
}
|
|
381
|
+
if (message.endingHeight !== 0) {
|
|
382
|
+
writer.uint32(24).uint64(message.endingHeight);
|
|
383
|
+
}
|
|
384
|
+
if (message.pagination !== undefined) {
|
|
385
|
+
PageRequest.encode(message.pagination, writer.uint32(34).fork()).ldelim();
|
|
386
|
+
}
|
|
387
|
+
return writer;
|
|
388
|
+
},
|
|
389
|
+
decode(input, length) {
|
|
390
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
391
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
392
|
+
const message = createBaseQueryValidatorSlashesRequest();
|
|
393
|
+
while (reader.pos < end) {
|
|
394
|
+
const tag = reader.uint32();
|
|
395
|
+
switch (tag >>> 3) {
|
|
396
|
+
case 1:
|
|
397
|
+
message.validatorAddress = reader.string();
|
|
398
|
+
break;
|
|
399
|
+
case 2:
|
|
400
|
+
message.startingHeight = longToNumber(reader.uint64());
|
|
401
|
+
break;
|
|
402
|
+
case 3:
|
|
403
|
+
message.endingHeight = longToNumber(reader.uint64());
|
|
404
|
+
break;
|
|
405
|
+
case 4:
|
|
406
|
+
message.pagination = PageRequest.decode(reader, reader.uint32());
|
|
407
|
+
break;
|
|
408
|
+
default:
|
|
409
|
+
reader.skipType(tag & 7);
|
|
410
|
+
break;
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
return message;
|
|
414
|
+
},
|
|
415
|
+
fromJSON(object) {
|
|
416
|
+
return {
|
|
417
|
+
validatorAddress: isSet(object.validatorAddress) ? String(object.validatorAddress) : "",
|
|
418
|
+
startingHeight: isSet(object.startingHeight) ? Number(object.startingHeight) : 0,
|
|
419
|
+
endingHeight: isSet(object.endingHeight) ? Number(object.endingHeight) : 0,
|
|
420
|
+
pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined,
|
|
421
|
+
};
|
|
422
|
+
},
|
|
423
|
+
toJSON(message) {
|
|
424
|
+
const obj = {};
|
|
425
|
+
message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress);
|
|
426
|
+
message.startingHeight !== undefined && (obj.startingHeight = Math.round(message.startingHeight));
|
|
427
|
+
message.endingHeight !== undefined && (obj.endingHeight = Math.round(message.endingHeight));
|
|
428
|
+
message.pagination !== undefined
|
|
429
|
+
&& (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined);
|
|
430
|
+
return obj;
|
|
431
|
+
},
|
|
432
|
+
fromPartial(object) {
|
|
433
|
+
const message = createBaseQueryValidatorSlashesRequest();
|
|
434
|
+
message.validatorAddress = object.validatorAddress ?? "";
|
|
435
|
+
message.startingHeight = object.startingHeight ?? 0;
|
|
436
|
+
message.endingHeight = object.endingHeight ?? 0;
|
|
437
|
+
message.pagination = (object.pagination !== undefined && object.pagination !== null)
|
|
438
|
+
? PageRequest.fromPartial(object.pagination)
|
|
439
|
+
: undefined;
|
|
440
|
+
return message;
|
|
441
|
+
},
|
|
442
|
+
};
|
|
443
|
+
function createBaseQueryValidatorSlashesResponse() {
|
|
444
|
+
return { slashes: [], pagination: undefined };
|
|
445
|
+
}
|
|
446
|
+
export const QueryValidatorSlashesResponse = {
|
|
447
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
448
|
+
for (const v of message.slashes) {
|
|
449
|
+
ValidatorSlashEvent.encode(v, writer.uint32(10).fork()).ldelim();
|
|
450
|
+
}
|
|
451
|
+
if (message.pagination !== undefined) {
|
|
452
|
+
PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
|
453
|
+
}
|
|
454
|
+
return writer;
|
|
455
|
+
},
|
|
456
|
+
decode(input, length) {
|
|
457
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
458
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
459
|
+
const message = createBaseQueryValidatorSlashesResponse();
|
|
460
|
+
while (reader.pos < end) {
|
|
461
|
+
const tag = reader.uint32();
|
|
462
|
+
switch (tag >>> 3) {
|
|
463
|
+
case 1:
|
|
464
|
+
message.slashes.push(ValidatorSlashEvent.decode(reader, reader.uint32()));
|
|
465
|
+
break;
|
|
466
|
+
case 2:
|
|
467
|
+
message.pagination = PageResponse.decode(reader, reader.uint32());
|
|
468
|
+
break;
|
|
469
|
+
default:
|
|
470
|
+
reader.skipType(tag & 7);
|
|
471
|
+
break;
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
return message;
|
|
475
|
+
},
|
|
476
|
+
fromJSON(object) {
|
|
477
|
+
return {
|
|
478
|
+
slashes: Array.isArray(object?.slashes) ? object.slashes.map((e) => ValidatorSlashEvent.fromJSON(e)) : [],
|
|
479
|
+
pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined,
|
|
480
|
+
};
|
|
481
|
+
},
|
|
482
|
+
toJSON(message) {
|
|
483
|
+
const obj = {};
|
|
484
|
+
if (message.slashes) {
|
|
485
|
+
obj.slashes = message.slashes.map((e) => e ? ValidatorSlashEvent.toJSON(e) : undefined);
|
|
486
|
+
}
|
|
487
|
+
else {
|
|
488
|
+
obj.slashes = [];
|
|
489
|
+
}
|
|
490
|
+
message.pagination !== undefined
|
|
491
|
+
&& (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined);
|
|
492
|
+
return obj;
|
|
493
|
+
},
|
|
494
|
+
fromPartial(object) {
|
|
495
|
+
const message = createBaseQueryValidatorSlashesResponse();
|
|
496
|
+
message.slashes = object.slashes?.map((e) => ValidatorSlashEvent.fromPartial(e)) || [];
|
|
497
|
+
message.pagination = (object.pagination !== undefined && object.pagination !== null)
|
|
498
|
+
? PageResponse.fromPartial(object.pagination)
|
|
499
|
+
: undefined;
|
|
500
|
+
return message;
|
|
501
|
+
},
|
|
502
|
+
};
|
|
503
|
+
function createBaseQueryDelegationRewardsRequest() {
|
|
504
|
+
return { delegatorAddress: "", validatorAddress: "" };
|
|
505
|
+
}
|
|
506
|
+
export const QueryDelegationRewardsRequest = {
|
|
507
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
508
|
+
if (message.delegatorAddress !== "") {
|
|
509
|
+
writer.uint32(10).string(message.delegatorAddress);
|
|
510
|
+
}
|
|
511
|
+
if (message.validatorAddress !== "") {
|
|
512
|
+
writer.uint32(18).string(message.validatorAddress);
|
|
513
|
+
}
|
|
514
|
+
return writer;
|
|
515
|
+
},
|
|
516
|
+
decode(input, length) {
|
|
517
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
518
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
519
|
+
const message = createBaseQueryDelegationRewardsRequest();
|
|
520
|
+
while (reader.pos < end) {
|
|
521
|
+
const tag = reader.uint32();
|
|
522
|
+
switch (tag >>> 3) {
|
|
523
|
+
case 1:
|
|
524
|
+
message.delegatorAddress = reader.string();
|
|
525
|
+
break;
|
|
526
|
+
case 2:
|
|
527
|
+
message.validatorAddress = reader.string();
|
|
528
|
+
break;
|
|
529
|
+
default:
|
|
530
|
+
reader.skipType(tag & 7);
|
|
531
|
+
break;
|
|
532
|
+
}
|
|
533
|
+
}
|
|
534
|
+
return message;
|
|
535
|
+
},
|
|
536
|
+
fromJSON(object) {
|
|
537
|
+
return {
|
|
538
|
+
delegatorAddress: isSet(object.delegatorAddress) ? String(object.delegatorAddress) : "",
|
|
539
|
+
validatorAddress: isSet(object.validatorAddress) ? String(object.validatorAddress) : "",
|
|
540
|
+
};
|
|
541
|
+
},
|
|
542
|
+
toJSON(message) {
|
|
543
|
+
const obj = {};
|
|
544
|
+
message.delegatorAddress !== undefined && (obj.delegatorAddress = message.delegatorAddress);
|
|
545
|
+
message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress);
|
|
546
|
+
return obj;
|
|
547
|
+
},
|
|
548
|
+
fromPartial(object) {
|
|
549
|
+
const message = createBaseQueryDelegationRewardsRequest();
|
|
550
|
+
message.delegatorAddress = object.delegatorAddress ?? "";
|
|
551
|
+
message.validatorAddress = object.validatorAddress ?? "";
|
|
552
|
+
return message;
|
|
553
|
+
},
|
|
554
|
+
};
|
|
555
|
+
function createBaseQueryDelegationRewardsResponse() {
|
|
556
|
+
return { rewards: [] };
|
|
557
|
+
}
|
|
558
|
+
export const QueryDelegationRewardsResponse = {
|
|
559
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
560
|
+
for (const v of message.rewards) {
|
|
561
|
+
DecCoin.encode(v, writer.uint32(10).fork()).ldelim();
|
|
562
|
+
}
|
|
563
|
+
return writer;
|
|
564
|
+
},
|
|
565
|
+
decode(input, length) {
|
|
566
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
567
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
568
|
+
const message = createBaseQueryDelegationRewardsResponse();
|
|
569
|
+
while (reader.pos < end) {
|
|
570
|
+
const tag = reader.uint32();
|
|
571
|
+
switch (tag >>> 3) {
|
|
572
|
+
case 1:
|
|
573
|
+
message.rewards.push(DecCoin.decode(reader, reader.uint32()));
|
|
574
|
+
break;
|
|
575
|
+
default:
|
|
576
|
+
reader.skipType(tag & 7);
|
|
577
|
+
break;
|
|
578
|
+
}
|
|
579
|
+
}
|
|
580
|
+
return message;
|
|
581
|
+
},
|
|
582
|
+
fromJSON(object) {
|
|
583
|
+
return { rewards: Array.isArray(object?.rewards) ? object.rewards.map((e) => DecCoin.fromJSON(e)) : [] };
|
|
584
|
+
},
|
|
585
|
+
toJSON(message) {
|
|
586
|
+
const obj = {};
|
|
587
|
+
if (message.rewards) {
|
|
588
|
+
obj.rewards = message.rewards.map((e) => e ? DecCoin.toJSON(e) : undefined);
|
|
589
|
+
}
|
|
590
|
+
else {
|
|
591
|
+
obj.rewards = [];
|
|
592
|
+
}
|
|
593
|
+
return obj;
|
|
594
|
+
},
|
|
595
|
+
fromPartial(object) {
|
|
596
|
+
const message = createBaseQueryDelegationRewardsResponse();
|
|
597
|
+
message.rewards = object.rewards?.map((e) => DecCoin.fromPartial(e)) || [];
|
|
598
|
+
return message;
|
|
599
|
+
},
|
|
600
|
+
};
|
|
601
|
+
function createBaseQueryDelegationTotalRewardsRequest() {
|
|
602
|
+
return { delegatorAddress: "" };
|
|
603
|
+
}
|
|
604
|
+
export const QueryDelegationTotalRewardsRequest = {
|
|
605
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
606
|
+
if (message.delegatorAddress !== "") {
|
|
607
|
+
writer.uint32(10).string(message.delegatorAddress);
|
|
608
|
+
}
|
|
609
|
+
return writer;
|
|
610
|
+
},
|
|
611
|
+
decode(input, length) {
|
|
612
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
613
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
614
|
+
const message = createBaseQueryDelegationTotalRewardsRequest();
|
|
615
|
+
while (reader.pos < end) {
|
|
616
|
+
const tag = reader.uint32();
|
|
617
|
+
switch (tag >>> 3) {
|
|
618
|
+
case 1:
|
|
619
|
+
message.delegatorAddress = reader.string();
|
|
620
|
+
break;
|
|
621
|
+
default:
|
|
622
|
+
reader.skipType(tag & 7);
|
|
623
|
+
break;
|
|
624
|
+
}
|
|
625
|
+
}
|
|
626
|
+
return message;
|
|
627
|
+
},
|
|
628
|
+
fromJSON(object) {
|
|
629
|
+
return { delegatorAddress: isSet(object.delegatorAddress) ? String(object.delegatorAddress) : "" };
|
|
630
|
+
},
|
|
631
|
+
toJSON(message) {
|
|
632
|
+
const obj = {};
|
|
633
|
+
message.delegatorAddress !== undefined && (obj.delegatorAddress = message.delegatorAddress);
|
|
634
|
+
return obj;
|
|
635
|
+
},
|
|
636
|
+
fromPartial(object) {
|
|
637
|
+
const message = createBaseQueryDelegationTotalRewardsRequest();
|
|
638
|
+
message.delegatorAddress = object.delegatorAddress ?? "";
|
|
639
|
+
return message;
|
|
640
|
+
},
|
|
641
|
+
};
|
|
642
|
+
function createBaseQueryDelegationTotalRewardsResponse() {
|
|
643
|
+
return { rewards: [], total: [] };
|
|
644
|
+
}
|
|
645
|
+
export const QueryDelegationTotalRewardsResponse = {
|
|
646
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
647
|
+
for (const v of message.rewards) {
|
|
648
|
+
DelegationDelegatorReward.encode(v, writer.uint32(10).fork()).ldelim();
|
|
649
|
+
}
|
|
650
|
+
for (const v of message.total) {
|
|
651
|
+
DecCoin.encode(v, writer.uint32(18).fork()).ldelim();
|
|
652
|
+
}
|
|
653
|
+
return writer;
|
|
654
|
+
},
|
|
655
|
+
decode(input, length) {
|
|
656
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
657
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
658
|
+
const message = createBaseQueryDelegationTotalRewardsResponse();
|
|
659
|
+
while (reader.pos < end) {
|
|
660
|
+
const tag = reader.uint32();
|
|
661
|
+
switch (tag >>> 3) {
|
|
662
|
+
case 1:
|
|
663
|
+
message.rewards.push(DelegationDelegatorReward.decode(reader, reader.uint32()));
|
|
664
|
+
break;
|
|
665
|
+
case 2:
|
|
666
|
+
message.total.push(DecCoin.decode(reader, reader.uint32()));
|
|
667
|
+
break;
|
|
668
|
+
default:
|
|
669
|
+
reader.skipType(tag & 7);
|
|
670
|
+
break;
|
|
671
|
+
}
|
|
672
|
+
}
|
|
673
|
+
return message;
|
|
674
|
+
},
|
|
675
|
+
fromJSON(object) {
|
|
676
|
+
return {
|
|
677
|
+
rewards: Array.isArray(object?.rewards)
|
|
678
|
+
? object.rewards.map((e) => DelegationDelegatorReward.fromJSON(e))
|
|
679
|
+
: [],
|
|
680
|
+
total: Array.isArray(object?.total) ? object.total.map((e) => DecCoin.fromJSON(e)) : [],
|
|
681
|
+
};
|
|
682
|
+
},
|
|
683
|
+
toJSON(message) {
|
|
684
|
+
const obj = {};
|
|
685
|
+
if (message.rewards) {
|
|
686
|
+
obj.rewards = message.rewards.map((e) => e ? DelegationDelegatorReward.toJSON(e) : undefined);
|
|
687
|
+
}
|
|
688
|
+
else {
|
|
689
|
+
obj.rewards = [];
|
|
690
|
+
}
|
|
691
|
+
if (message.total) {
|
|
692
|
+
obj.total = message.total.map((e) => e ? DecCoin.toJSON(e) : undefined);
|
|
693
|
+
}
|
|
694
|
+
else {
|
|
695
|
+
obj.total = [];
|
|
696
|
+
}
|
|
697
|
+
return obj;
|
|
698
|
+
},
|
|
699
|
+
fromPartial(object) {
|
|
700
|
+
const message = createBaseQueryDelegationTotalRewardsResponse();
|
|
701
|
+
message.rewards = object.rewards?.map((e) => DelegationDelegatorReward.fromPartial(e)) || [];
|
|
702
|
+
message.total = object.total?.map((e) => DecCoin.fromPartial(e)) || [];
|
|
703
|
+
return message;
|
|
704
|
+
},
|
|
705
|
+
};
|
|
706
|
+
function createBaseQueryDelegatorValidatorsRequest() {
|
|
707
|
+
return { delegatorAddress: "" };
|
|
708
|
+
}
|
|
709
|
+
export const QueryDelegatorValidatorsRequest = {
|
|
710
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
711
|
+
if (message.delegatorAddress !== "") {
|
|
712
|
+
writer.uint32(10).string(message.delegatorAddress);
|
|
713
|
+
}
|
|
714
|
+
return writer;
|
|
715
|
+
},
|
|
716
|
+
decode(input, length) {
|
|
717
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
718
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
719
|
+
const message = createBaseQueryDelegatorValidatorsRequest();
|
|
720
|
+
while (reader.pos < end) {
|
|
721
|
+
const tag = reader.uint32();
|
|
722
|
+
switch (tag >>> 3) {
|
|
723
|
+
case 1:
|
|
724
|
+
message.delegatorAddress = reader.string();
|
|
725
|
+
break;
|
|
726
|
+
default:
|
|
727
|
+
reader.skipType(tag & 7);
|
|
728
|
+
break;
|
|
729
|
+
}
|
|
730
|
+
}
|
|
731
|
+
return message;
|
|
732
|
+
},
|
|
733
|
+
fromJSON(object) {
|
|
734
|
+
return { delegatorAddress: isSet(object.delegatorAddress) ? String(object.delegatorAddress) : "" };
|
|
735
|
+
},
|
|
736
|
+
toJSON(message) {
|
|
737
|
+
const obj = {};
|
|
738
|
+
message.delegatorAddress !== undefined && (obj.delegatorAddress = message.delegatorAddress);
|
|
739
|
+
return obj;
|
|
740
|
+
},
|
|
741
|
+
fromPartial(object) {
|
|
742
|
+
const message = createBaseQueryDelegatorValidatorsRequest();
|
|
743
|
+
message.delegatorAddress = object.delegatorAddress ?? "";
|
|
744
|
+
return message;
|
|
745
|
+
},
|
|
746
|
+
};
|
|
747
|
+
function createBaseQueryDelegatorValidatorsResponse() {
|
|
748
|
+
return { validators: [] };
|
|
749
|
+
}
|
|
750
|
+
export const QueryDelegatorValidatorsResponse = {
|
|
751
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
752
|
+
for (const v of message.validators) {
|
|
753
|
+
writer.uint32(10).string(v);
|
|
754
|
+
}
|
|
755
|
+
return writer;
|
|
756
|
+
},
|
|
757
|
+
decode(input, length) {
|
|
758
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
759
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
760
|
+
const message = createBaseQueryDelegatorValidatorsResponse();
|
|
761
|
+
while (reader.pos < end) {
|
|
762
|
+
const tag = reader.uint32();
|
|
763
|
+
switch (tag >>> 3) {
|
|
764
|
+
case 1:
|
|
765
|
+
message.validators.push(reader.string());
|
|
766
|
+
break;
|
|
767
|
+
default:
|
|
768
|
+
reader.skipType(tag & 7);
|
|
769
|
+
break;
|
|
770
|
+
}
|
|
771
|
+
}
|
|
772
|
+
return message;
|
|
773
|
+
},
|
|
774
|
+
fromJSON(object) {
|
|
775
|
+
return { validators: Array.isArray(object?.validators) ? object.validators.map((e) => String(e)) : [] };
|
|
776
|
+
},
|
|
777
|
+
toJSON(message) {
|
|
778
|
+
const obj = {};
|
|
779
|
+
if (message.validators) {
|
|
780
|
+
obj.validators = message.validators.map((e) => e);
|
|
781
|
+
}
|
|
782
|
+
else {
|
|
783
|
+
obj.validators = [];
|
|
784
|
+
}
|
|
785
|
+
return obj;
|
|
786
|
+
},
|
|
787
|
+
fromPartial(object) {
|
|
788
|
+
const message = createBaseQueryDelegatorValidatorsResponse();
|
|
789
|
+
message.validators = object.validators?.map((e) => e) || [];
|
|
790
|
+
return message;
|
|
791
|
+
},
|
|
792
|
+
};
|
|
793
|
+
function createBaseQueryDelegatorWithdrawAddressRequest() {
|
|
794
|
+
return { delegatorAddress: "" };
|
|
795
|
+
}
|
|
796
|
+
export const QueryDelegatorWithdrawAddressRequest = {
|
|
797
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
798
|
+
if (message.delegatorAddress !== "") {
|
|
799
|
+
writer.uint32(10).string(message.delegatorAddress);
|
|
800
|
+
}
|
|
801
|
+
return writer;
|
|
802
|
+
},
|
|
803
|
+
decode(input, length) {
|
|
804
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
805
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
806
|
+
const message = createBaseQueryDelegatorWithdrawAddressRequest();
|
|
807
|
+
while (reader.pos < end) {
|
|
808
|
+
const tag = reader.uint32();
|
|
809
|
+
switch (tag >>> 3) {
|
|
810
|
+
case 1:
|
|
811
|
+
message.delegatorAddress = reader.string();
|
|
812
|
+
break;
|
|
813
|
+
default:
|
|
814
|
+
reader.skipType(tag & 7);
|
|
815
|
+
break;
|
|
816
|
+
}
|
|
817
|
+
}
|
|
818
|
+
return message;
|
|
819
|
+
},
|
|
820
|
+
fromJSON(object) {
|
|
821
|
+
return { delegatorAddress: isSet(object.delegatorAddress) ? String(object.delegatorAddress) : "" };
|
|
822
|
+
},
|
|
823
|
+
toJSON(message) {
|
|
824
|
+
const obj = {};
|
|
825
|
+
message.delegatorAddress !== undefined && (obj.delegatorAddress = message.delegatorAddress);
|
|
826
|
+
return obj;
|
|
827
|
+
},
|
|
828
|
+
fromPartial(object) {
|
|
829
|
+
const message = createBaseQueryDelegatorWithdrawAddressRequest();
|
|
830
|
+
message.delegatorAddress = object.delegatorAddress ?? "";
|
|
831
|
+
return message;
|
|
832
|
+
},
|
|
833
|
+
};
|
|
834
|
+
function createBaseQueryDelegatorWithdrawAddressResponse() {
|
|
835
|
+
return { withdrawAddress: "" };
|
|
836
|
+
}
|
|
837
|
+
export const QueryDelegatorWithdrawAddressResponse = {
|
|
838
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
839
|
+
if (message.withdrawAddress !== "") {
|
|
840
|
+
writer.uint32(10).string(message.withdrawAddress);
|
|
841
|
+
}
|
|
842
|
+
return writer;
|
|
843
|
+
},
|
|
844
|
+
decode(input, length) {
|
|
845
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
846
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
847
|
+
const message = createBaseQueryDelegatorWithdrawAddressResponse();
|
|
848
|
+
while (reader.pos < end) {
|
|
849
|
+
const tag = reader.uint32();
|
|
850
|
+
switch (tag >>> 3) {
|
|
851
|
+
case 1:
|
|
852
|
+
message.withdrawAddress = reader.string();
|
|
853
|
+
break;
|
|
854
|
+
default:
|
|
855
|
+
reader.skipType(tag & 7);
|
|
856
|
+
break;
|
|
857
|
+
}
|
|
858
|
+
}
|
|
859
|
+
return message;
|
|
860
|
+
},
|
|
861
|
+
fromJSON(object) {
|
|
862
|
+
return { withdrawAddress: isSet(object.withdrawAddress) ? String(object.withdrawAddress) : "" };
|
|
863
|
+
},
|
|
864
|
+
toJSON(message) {
|
|
865
|
+
const obj = {};
|
|
866
|
+
message.withdrawAddress !== undefined && (obj.withdrawAddress = message.withdrawAddress);
|
|
867
|
+
return obj;
|
|
868
|
+
},
|
|
869
|
+
fromPartial(object) {
|
|
870
|
+
const message = createBaseQueryDelegatorWithdrawAddressResponse();
|
|
871
|
+
message.withdrawAddress = object.withdrawAddress ?? "";
|
|
872
|
+
return message;
|
|
873
|
+
},
|
|
874
|
+
};
|
|
875
|
+
function createBaseQueryCommunityPoolRequest() {
|
|
876
|
+
return {};
|
|
877
|
+
}
|
|
878
|
+
export const QueryCommunityPoolRequest = {
|
|
879
|
+
encode(_, writer = _m0.Writer.create()) {
|
|
880
|
+
return writer;
|
|
881
|
+
},
|
|
882
|
+
decode(input, length) {
|
|
883
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
884
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
885
|
+
const message = createBaseQueryCommunityPoolRequest();
|
|
886
|
+
while (reader.pos < end) {
|
|
887
|
+
const tag = reader.uint32();
|
|
888
|
+
switch (tag >>> 3) {
|
|
889
|
+
default:
|
|
890
|
+
reader.skipType(tag & 7);
|
|
891
|
+
break;
|
|
892
|
+
}
|
|
893
|
+
}
|
|
894
|
+
return message;
|
|
895
|
+
},
|
|
896
|
+
fromJSON(_) {
|
|
897
|
+
return {};
|
|
898
|
+
},
|
|
899
|
+
toJSON(_) {
|
|
900
|
+
const obj = {};
|
|
901
|
+
return obj;
|
|
902
|
+
},
|
|
903
|
+
fromPartial(_) {
|
|
904
|
+
const message = createBaseQueryCommunityPoolRequest();
|
|
905
|
+
return message;
|
|
906
|
+
},
|
|
907
|
+
};
|
|
908
|
+
function createBaseQueryCommunityPoolResponse() {
|
|
909
|
+
return { pool: [] };
|
|
910
|
+
}
|
|
911
|
+
export const QueryCommunityPoolResponse = {
|
|
912
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
913
|
+
for (const v of message.pool) {
|
|
914
|
+
DecCoin.encode(v, writer.uint32(10).fork()).ldelim();
|
|
915
|
+
}
|
|
916
|
+
return writer;
|
|
917
|
+
},
|
|
918
|
+
decode(input, length) {
|
|
919
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
920
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
921
|
+
const message = createBaseQueryCommunityPoolResponse();
|
|
922
|
+
while (reader.pos < end) {
|
|
923
|
+
const tag = reader.uint32();
|
|
924
|
+
switch (tag >>> 3) {
|
|
925
|
+
case 1:
|
|
926
|
+
message.pool.push(DecCoin.decode(reader, reader.uint32()));
|
|
927
|
+
break;
|
|
928
|
+
default:
|
|
929
|
+
reader.skipType(tag & 7);
|
|
930
|
+
break;
|
|
931
|
+
}
|
|
932
|
+
}
|
|
933
|
+
return message;
|
|
934
|
+
},
|
|
935
|
+
fromJSON(object) {
|
|
936
|
+
return { pool: Array.isArray(object?.pool) ? object.pool.map((e) => DecCoin.fromJSON(e)) : [] };
|
|
937
|
+
},
|
|
938
|
+
toJSON(message) {
|
|
939
|
+
const obj = {};
|
|
940
|
+
if (message.pool) {
|
|
941
|
+
obj.pool = message.pool.map((e) => e ? DecCoin.toJSON(e) : undefined);
|
|
942
|
+
}
|
|
943
|
+
else {
|
|
944
|
+
obj.pool = [];
|
|
945
|
+
}
|
|
946
|
+
return obj;
|
|
947
|
+
},
|
|
948
|
+
fromPartial(object) {
|
|
949
|
+
const message = createBaseQueryCommunityPoolResponse();
|
|
950
|
+
message.pool = object.pool?.map((e) => DecCoin.fromPartial(e)) || [];
|
|
951
|
+
return message;
|
|
952
|
+
},
|
|
953
|
+
};
|
|
954
|
+
export class QueryClientImpl {
|
|
955
|
+
constructor(rpc) {
|
|
956
|
+
this.rpc = rpc;
|
|
957
|
+
this.Params = this.Params.bind(this);
|
|
958
|
+
this.ValidatorDistributionInfo = this.ValidatorDistributionInfo.bind(this);
|
|
959
|
+
this.ValidatorOutstandingRewards = this.ValidatorOutstandingRewards.bind(this);
|
|
960
|
+
this.ValidatorCommission = this.ValidatorCommission.bind(this);
|
|
961
|
+
this.ValidatorSlashes = this.ValidatorSlashes.bind(this);
|
|
962
|
+
this.DelegationRewards = this.DelegationRewards.bind(this);
|
|
963
|
+
this.DelegationTotalRewards = this.DelegationTotalRewards.bind(this);
|
|
964
|
+
this.DelegatorValidators = this.DelegatorValidators.bind(this);
|
|
965
|
+
this.DelegatorWithdrawAddress = this.DelegatorWithdrawAddress.bind(this);
|
|
966
|
+
this.CommunityPool = this.CommunityPool.bind(this);
|
|
967
|
+
}
|
|
968
|
+
Params(request) {
|
|
969
|
+
const data = QueryParamsRequest.encode(request).finish();
|
|
970
|
+
const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "Params", data);
|
|
971
|
+
return promise.then((data) => QueryParamsResponse.decode(new _m0.Reader(data)));
|
|
972
|
+
}
|
|
973
|
+
ValidatorDistributionInfo(request) {
|
|
974
|
+
const data = QueryValidatorDistributionInfoRequest.encode(request).finish();
|
|
975
|
+
const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "ValidatorDistributionInfo", data);
|
|
976
|
+
return promise.then((data) => QueryValidatorDistributionInfoResponse.decode(new _m0.Reader(data)));
|
|
977
|
+
}
|
|
978
|
+
ValidatorOutstandingRewards(request) {
|
|
979
|
+
const data = QueryValidatorOutstandingRewardsRequest.encode(request).finish();
|
|
980
|
+
const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "ValidatorOutstandingRewards", data);
|
|
981
|
+
return promise.then((data) => QueryValidatorOutstandingRewardsResponse.decode(new _m0.Reader(data)));
|
|
982
|
+
}
|
|
983
|
+
ValidatorCommission(request) {
|
|
984
|
+
const data = QueryValidatorCommissionRequest.encode(request).finish();
|
|
985
|
+
const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "ValidatorCommission", data);
|
|
986
|
+
return promise.then((data) => QueryValidatorCommissionResponse.decode(new _m0.Reader(data)));
|
|
987
|
+
}
|
|
988
|
+
ValidatorSlashes(request) {
|
|
989
|
+
const data = QueryValidatorSlashesRequest.encode(request).finish();
|
|
990
|
+
const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "ValidatorSlashes", data);
|
|
991
|
+
return promise.then((data) => QueryValidatorSlashesResponse.decode(new _m0.Reader(data)));
|
|
992
|
+
}
|
|
993
|
+
DelegationRewards(request) {
|
|
994
|
+
const data = QueryDelegationRewardsRequest.encode(request).finish();
|
|
995
|
+
const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "DelegationRewards", data);
|
|
996
|
+
return promise.then((data) => QueryDelegationRewardsResponse.decode(new _m0.Reader(data)));
|
|
997
|
+
}
|
|
998
|
+
DelegationTotalRewards(request) {
|
|
999
|
+
const data = QueryDelegationTotalRewardsRequest.encode(request).finish();
|
|
1000
|
+
const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "DelegationTotalRewards", data);
|
|
1001
|
+
return promise.then((data) => QueryDelegationTotalRewardsResponse.decode(new _m0.Reader(data)));
|
|
1002
|
+
}
|
|
1003
|
+
DelegatorValidators(request) {
|
|
1004
|
+
const data = QueryDelegatorValidatorsRequest.encode(request).finish();
|
|
1005
|
+
const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "DelegatorValidators", data);
|
|
1006
|
+
return promise.then((data) => QueryDelegatorValidatorsResponse.decode(new _m0.Reader(data)));
|
|
1007
|
+
}
|
|
1008
|
+
DelegatorWithdrawAddress(request) {
|
|
1009
|
+
const data = QueryDelegatorWithdrawAddressRequest.encode(request).finish();
|
|
1010
|
+
const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "DelegatorWithdrawAddress", data);
|
|
1011
|
+
return promise.then((data) => QueryDelegatorWithdrawAddressResponse.decode(new _m0.Reader(data)));
|
|
1012
|
+
}
|
|
1013
|
+
CommunityPool(request) {
|
|
1014
|
+
const data = QueryCommunityPoolRequest.encode(request).finish();
|
|
1015
|
+
const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "CommunityPool", data);
|
|
1016
|
+
return promise.then((data) => QueryCommunityPoolResponse.decode(new _m0.Reader(data)));
|
|
1017
|
+
}
|
|
1018
|
+
}
|
|
1019
|
+
var globalThis = (() => {
|
|
1020
|
+
if (typeof globalThis !== "undefined") {
|
|
1021
|
+
return globalThis;
|
|
1022
|
+
}
|
|
1023
|
+
if (typeof self !== "undefined") {
|
|
1024
|
+
return self;
|
|
1025
|
+
}
|
|
1026
|
+
if (typeof window !== "undefined") {
|
|
1027
|
+
return window;
|
|
1028
|
+
}
|
|
1029
|
+
if (typeof global !== "undefined") {
|
|
1030
|
+
return global;
|
|
1031
|
+
}
|
|
1032
|
+
throw "Unable to locate global object";
|
|
1033
|
+
})();
|
|
1034
|
+
function longToNumber(long) {
|
|
1035
|
+
if (long.gt(Number.MAX_SAFE_INTEGER)) {
|
|
1036
|
+
throw new globalThis.Error("Value is larger than Number.MAX_SAFE_INTEGER");
|
|
1037
|
+
}
|
|
1038
|
+
return long.toNumber();
|
|
1039
|
+
}
|
|
1040
|
+
if (_m0.util.Long !== Long) {
|
|
1041
|
+
_m0.util.Long = Long;
|
|
1042
|
+
_m0.configure();
|
|
1043
|
+
}
|
|
1044
|
+
function isSet(value) {
|
|
1045
|
+
return value !== null && value !== undefined;
|
|
1046
|
+
}
|