@iconlake/client 0.0.2 → 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 +6 -5
- 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,1281 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import Long from "long";
|
|
3
|
+
import _m0 from "protobufjs/minimal";
|
|
4
|
+
import { Any } from "../../../../google/protobuf/any";
|
|
5
|
+
import { DefaultNodeInfo } from "../../../../tendermint/p2p/types";
|
|
6
|
+
import { Block } from "../../../../tendermint/types/block";
|
|
7
|
+
import { BlockID } from "../../../../tendermint/types/types";
|
|
8
|
+
import { PageRequest, PageResponse } from "../../query/v1beta1/pagination";
|
|
9
|
+
import { Block as Block1 } from "./types";
|
|
10
|
+
export const protobufPackage = "cosmos.base.tendermint.v1beta1";
|
|
11
|
+
function createBaseGetValidatorSetByHeightRequest() {
|
|
12
|
+
return { height: 0, pagination: undefined };
|
|
13
|
+
}
|
|
14
|
+
export const GetValidatorSetByHeightRequest = {
|
|
15
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
16
|
+
if (message.height !== 0) {
|
|
17
|
+
writer.uint32(8).int64(message.height);
|
|
18
|
+
}
|
|
19
|
+
if (message.pagination !== undefined) {
|
|
20
|
+
PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
|
21
|
+
}
|
|
22
|
+
return writer;
|
|
23
|
+
},
|
|
24
|
+
decode(input, length) {
|
|
25
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
26
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
27
|
+
const message = createBaseGetValidatorSetByHeightRequest();
|
|
28
|
+
while (reader.pos < end) {
|
|
29
|
+
const tag = reader.uint32();
|
|
30
|
+
switch (tag >>> 3) {
|
|
31
|
+
case 1:
|
|
32
|
+
message.height = longToNumber(reader.int64());
|
|
33
|
+
break;
|
|
34
|
+
case 2:
|
|
35
|
+
message.pagination = PageRequest.decode(reader, reader.uint32());
|
|
36
|
+
break;
|
|
37
|
+
default:
|
|
38
|
+
reader.skipType(tag & 7);
|
|
39
|
+
break;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
return message;
|
|
43
|
+
},
|
|
44
|
+
fromJSON(object) {
|
|
45
|
+
return {
|
|
46
|
+
height: isSet(object.height) ? Number(object.height) : 0,
|
|
47
|
+
pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined,
|
|
48
|
+
};
|
|
49
|
+
},
|
|
50
|
+
toJSON(message) {
|
|
51
|
+
const obj = {};
|
|
52
|
+
message.height !== undefined && (obj.height = Math.round(message.height));
|
|
53
|
+
message.pagination !== undefined
|
|
54
|
+
&& (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined);
|
|
55
|
+
return obj;
|
|
56
|
+
},
|
|
57
|
+
fromPartial(object) {
|
|
58
|
+
const message = createBaseGetValidatorSetByHeightRequest();
|
|
59
|
+
message.height = object.height ?? 0;
|
|
60
|
+
message.pagination = (object.pagination !== undefined && object.pagination !== null)
|
|
61
|
+
? PageRequest.fromPartial(object.pagination)
|
|
62
|
+
: undefined;
|
|
63
|
+
return message;
|
|
64
|
+
},
|
|
65
|
+
};
|
|
66
|
+
function createBaseGetValidatorSetByHeightResponse() {
|
|
67
|
+
return { blockHeight: 0, validators: [], pagination: undefined };
|
|
68
|
+
}
|
|
69
|
+
export const GetValidatorSetByHeightResponse = {
|
|
70
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
71
|
+
if (message.blockHeight !== 0) {
|
|
72
|
+
writer.uint32(8).int64(message.blockHeight);
|
|
73
|
+
}
|
|
74
|
+
for (const v of message.validators) {
|
|
75
|
+
Validator.encode(v, writer.uint32(18).fork()).ldelim();
|
|
76
|
+
}
|
|
77
|
+
if (message.pagination !== undefined) {
|
|
78
|
+
PageResponse.encode(message.pagination, writer.uint32(26).fork()).ldelim();
|
|
79
|
+
}
|
|
80
|
+
return writer;
|
|
81
|
+
},
|
|
82
|
+
decode(input, length) {
|
|
83
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
84
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
85
|
+
const message = createBaseGetValidatorSetByHeightResponse();
|
|
86
|
+
while (reader.pos < end) {
|
|
87
|
+
const tag = reader.uint32();
|
|
88
|
+
switch (tag >>> 3) {
|
|
89
|
+
case 1:
|
|
90
|
+
message.blockHeight = longToNumber(reader.int64());
|
|
91
|
+
break;
|
|
92
|
+
case 2:
|
|
93
|
+
message.validators.push(Validator.decode(reader, reader.uint32()));
|
|
94
|
+
break;
|
|
95
|
+
case 3:
|
|
96
|
+
message.pagination = PageResponse.decode(reader, reader.uint32());
|
|
97
|
+
break;
|
|
98
|
+
default:
|
|
99
|
+
reader.skipType(tag & 7);
|
|
100
|
+
break;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
return message;
|
|
104
|
+
},
|
|
105
|
+
fromJSON(object) {
|
|
106
|
+
return {
|
|
107
|
+
blockHeight: isSet(object.blockHeight) ? Number(object.blockHeight) : 0,
|
|
108
|
+
validators: Array.isArray(object?.validators) ? object.validators.map((e) => Validator.fromJSON(e)) : [],
|
|
109
|
+
pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined,
|
|
110
|
+
};
|
|
111
|
+
},
|
|
112
|
+
toJSON(message) {
|
|
113
|
+
const obj = {};
|
|
114
|
+
message.blockHeight !== undefined && (obj.blockHeight = Math.round(message.blockHeight));
|
|
115
|
+
if (message.validators) {
|
|
116
|
+
obj.validators = message.validators.map((e) => e ? Validator.toJSON(e) : undefined);
|
|
117
|
+
}
|
|
118
|
+
else {
|
|
119
|
+
obj.validators = [];
|
|
120
|
+
}
|
|
121
|
+
message.pagination !== undefined
|
|
122
|
+
&& (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined);
|
|
123
|
+
return obj;
|
|
124
|
+
},
|
|
125
|
+
fromPartial(object) {
|
|
126
|
+
const message = createBaseGetValidatorSetByHeightResponse();
|
|
127
|
+
message.blockHeight = object.blockHeight ?? 0;
|
|
128
|
+
message.validators = object.validators?.map((e) => Validator.fromPartial(e)) || [];
|
|
129
|
+
message.pagination = (object.pagination !== undefined && object.pagination !== null)
|
|
130
|
+
? PageResponse.fromPartial(object.pagination)
|
|
131
|
+
: undefined;
|
|
132
|
+
return message;
|
|
133
|
+
},
|
|
134
|
+
};
|
|
135
|
+
function createBaseGetLatestValidatorSetRequest() {
|
|
136
|
+
return { pagination: undefined };
|
|
137
|
+
}
|
|
138
|
+
export const GetLatestValidatorSetRequest = {
|
|
139
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
140
|
+
if (message.pagination !== undefined) {
|
|
141
|
+
PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim();
|
|
142
|
+
}
|
|
143
|
+
return writer;
|
|
144
|
+
},
|
|
145
|
+
decode(input, length) {
|
|
146
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
147
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
148
|
+
const message = createBaseGetLatestValidatorSetRequest();
|
|
149
|
+
while (reader.pos < end) {
|
|
150
|
+
const tag = reader.uint32();
|
|
151
|
+
switch (tag >>> 3) {
|
|
152
|
+
case 1:
|
|
153
|
+
message.pagination = PageRequest.decode(reader, reader.uint32());
|
|
154
|
+
break;
|
|
155
|
+
default:
|
|
156
|
+
reader.skipType(tag & 7);
|
|
157
|
+
break;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
return message;
|
|
161
|
+
},
|
|
162
|
+
fromJSON(object) {
|
|
163
|
+
return { pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined };
|
|
164
|
+
},
|
|
165
|
+
toJSON(message) {
|
|
166
|
+
const obj = {};
|
|
167
|
+
message.pagination !== undefined
|
|
168
|
+
&& (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined);
|
|
169
|
+
return obj;
|
|
170
|
+
},
|
|
171
|
+
fromPartial(object) {
|
|
172
|
+
const message = createBaseGetLatestValidatorSetRequest();
|
|
173
|
+
message.pagination = (object.pagination !== undefined && object.pagination !== null)
|
|
174
|
+
? PageRequest.fromPartial(object.pagination)
|
|
175
|
+
: undefined;
|
|
176
|
+
return message;
|
|
177
|
+
},
|
|
178
|
+
};
|
|
179
|
+
function createBaseGetLatestValidatorSetResponse() {
|
|
180
|
+
return { blockHeight: 0, validators: [], pagination: undefined };
|
|
181
|
+
}
|
|
182
|
+
export const GetLatestValidatorSetResponse = {
|
|
183
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
184
|
+
if (message.blockHeight !== 0) {
|
|
185
|
+
writer.uint32(8).int64(message.blockHeight);
|
|
186
|
+
}
|
|
187
|
+
for (const v of message.validators) {
|
|
188
|
+
Validator.encode(v, writer.uint32(18).fork()).ldelim();
|
|
189
|
+
}
|
|
190
|
+
if (message.pagination !== undefined) {
|
|
191
|
+
PageResponse.encode(message.pagination, writer.uint32(26).fork()).ldelim();
|
|
192
|
+
}
|
|
193
|
+
return writer;
|
|
194
|
+
},
|
|
195
|
+
decode(input, length) {
|
|
196
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
197
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
198
|
+
const message = createBaseGetLatestValidatorSetResponse();
|
|
199
|
+
while (reader.pos < end) {
|
|
200
|
+
const tag = reader.uint32();
|
|
201
|
+
switch (tag >>> 3) {
|
|
202
|
+
case 1:
|
|
203
|
+
message.blockHeight = longToNumber(reader.int64());
|
|
204
|
+
break;
|
|
205
|
+
case 2:
|
|
206
|
+
message.validators.push(Validator.decode(reader, reader.uint32()));
|
|
207
|
+
break;
|
|
208
|
+
case 3:
|
|
209
|
+
message.pagination = PageResponse.decode(reader, reader.uint32());
|
|
210
|
+
break;
|
|
211
|
+
default:
|
|
212
|
+
reader.skipType(tag & 7);
|
|
213
|
+
break;
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
return message;
|
|
217
|
+
},
|
|
218
|
+
fromJSON(object) {
|
|
219
|
+
return {
|
|
220
|
+
blockHeight: isSet(object.blockHeight) ? Number(object.blockHeight) : 0,
|
|
221
|
+
validators: Array.isArray(object?.validators) ? object.validators.map((e) => Validator.fromJSON(e)) : [],
|
|
222
|
+
pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined,
|
|
223
|
+
};
|
|
224
|
+
},
|
|
225
|
+
toJSON(message) {
|
|
226
|
+
const obj = {};
|
|
227
|
+
message.blockHeight !== undefined && (obj.blockHeight = Math.round(message.blockHeight));
|
|
228
|
+
if (message.validators) {
|
|
229
|
+
obj.validators = message.validators.map((e) => e ? Validator.toJSON(e) : undefined);
|
|
230
|
+
}
|
|
231
|
+
else {
|
|
232
|
+
obj.validators = [];
|
|
233
|
+
}
|
|
234
|
+
message.pagination !== undefined
|
|
235
|
+
&& (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined);
|
|
236
|
+
return obj;
|
|
237
|
+
},
|
|
238
|
+
fromPartial(object) {
|
|
239
|
+
const message = createBaseGetLatestValidatorSetResponse();
|
|
240
|
+
message.blockHeight = object.blockHeight ?? 0;
|
|
241
|
+
message.validators = object.validators?.map((e) => Validator.fromPartial(e)) || [];
|
|
242
|
+
message.pagination = (object.pagination !== undefined && object.pagination !== null)
|
|
243
|
+
? PageResponse.fromPartial(object.pagination)
|
|
244
|
+
: undefined;
|
|
245
|
+
return message;
|
|
246
|
+
},
|
|
247
|
+
};
|
|
248
|
+
function createBaseValidator() {
|
|
249
|
+
return { address: "", pubKey: undefined, votingPower: 0, proposerPriority: 0 };
|
|
250
|
+
}
|
|
251
|
+
export const Validator = {
|
|
252
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
253
|
+
if (message.address !== "") {
|
|
254
|
+
writer.uint32(10).string(message.address);
|
|
255
|
+
}
|
|
256
|
+
if (message.pubKey !== undefined) {
|
|
257
|
+
Any.encode(message.pubKey, writer.uint32(18).fork()).ldelim();
|
|
258
|
+
}
|
|
259
|
+
if (message.votingPower !== 0) {
|
|
260
|
+
writer.uint32(24).int64(message.votingPower);
|
|
261
|
+
}
|
|
262
|
+
if (message.proposerPriority !== 0) {
|
|
263
|
+
writer.uint32(32).int64(message.proposerPriority);
|
|
264
|
+
}
|
|
265
|
+
return writer;
|
|
266
|
+
},
|
|
267
|
+
decode(input, length) {
|
|
268
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
269
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
270
|
+
const message = createBaseValidator();
|
|
271
|
+
while (reader.pos < end) {
|
|
272
|
+
const tag = reader.uint32();
|
|
273
|
+
switch (tag >>> 3) {
|
|
274
|
+
case 1:
|
|
275
|
+
message.address = reader.string();
|
|
276
|
+
break;
|
|
277
|
+
case 2:
|
|
278
|
+
message.pubKey = Any.decode(reader, reader.uint32());
|
|
279
|
+
break;
|
|
280
|
+
case 3:
|
|
281
|
+
message.votingPower = longToNumber(reader.int64());
|
|
282
|
+
break;
|
|
283
|
+
case 4:
|
|
284
|
+
message.proposerPriority = longToNumber(reader.int64());
|
|
285
|
+
break;
|
|
286
|
+
default:
|
|
287
|
+
reader.skipType(tag & 7);
|
|
288
|
+
break;
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
return message;
|
|
292
|
+
},
|
|
293
|
+
fromJSON(object) {
|
|
294
|
+
return {
|
|
295
|
+
address: isSet(object.address) ? String(object.address) : "",
|
|
296
|
+
pubKey: isSet(object.pubKey) ? Any.fromJSON(object.pubKey) : undefined,
|
|
297
|
+
votingPower: isSet(object.votingPower) ? Number(object.votingPower) : 0,
|
|
298
|
+
proposerPriority: isSet(object.proposerPriority) ? Number(object.proposerPriority) : 0,
|
|
299
|
+
};
|
|
300
|
+
},
|
|
301
|
+
toJSON(message) {
|
|
302
|
+
const obj = {};
|
|
303
|
+
message.address !== undefined && (obj.address = message.address);
|
|
304
|
+
message.pubKey !== undefined && (obj.pubKey = message.pubKey ? Any.toJSON(message.pubKey) : undefined);
|
|
305
|
+
message.votingPower !== undefined && (obj.votingPower = Math.round(message.votingPower));
|
|
306
|
+
message.proposerPriority !== undefined && (obj.proposerPriority = Math.round(message.proposerPriority));
|
|
307
|
+
return obj;
|
|
308
|
+
},
|
|
309
|
+
fromPartial(object) {
|
|
310
|
+
const message = createBaseValidator();
|
|
311
|
+
message.address = object.address ?? "";
|
|
312
|
+
message.pubKey = (object.pubKey !== undefined && object.pubKey !== null)
|
|
313
|
+
? Any.fromPartial(object.pubKey)
|
|
314
|
+
: undefined;
|
|
315
|
+
message.votingPower = object.votingPower ?? 0;
|
|
316
|
+
message.proposerPriority = object.proposerPriority ?? 0;
|
|
317
|
+
return message;
|
|
318
|
+
},
|
|
319
|
+
};
|
|
320
|
+
function createBaseGetBlockByHeightRequest() {
|
|
321
|
+
return { height: 0 };
|
|
322
|
+
}
|
|
323
|
+
export const GetBlockByHeightRequest = {
|
|
324
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
325
|
+
if (message.height !== 0) {
|
|
326
|
+
writer.uint32(8).int64(message.height);
|
|
327
|
+
}
|
|
328
|
+
return writer;
|
|
329
|
+
},
|
|
330
|
+
decode(input, length) {
|
|
331
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
332
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
333
|
+
const message = createBaseGetBlockByHeightRequest();
|
|
334
|
+
while (reader.pos < end) {
|
|
335
|
+
const tag = reader.uint32();
|
|
336
|
+
switch (tag >>> 3) {
|
|
337
|
+
case 1:
|
|
338
|
+
message.height = longToNumber(reader.int64());
|
|
339
|
+
break;
|
|
340
|
+
default:
|
|
341
|
+
reader.skipType(tag & 7);
|
|
342
|
+
break;
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
return message;
|
|
346
|
+
},
|
|
347
|
+
fromJSON(object) {
|
|
348
|
+
return { height: isSet(object.height) ? Number(object.height) : 0 };
|
|
349
|
+
},
|
|
350
|
+
toJSON(message) {
|
|
351
|
+
const obj = {};
|
|
352
|
+
message.height !== undefined && (obj.height = Math.round(message.height));
|
|
353
|
+
return obj;
|
|
354
|
+
},
|
|
355
|
+
fromPartial(object) {
|
|
356
|
+
const message = createBaseGetBlockByHeightRequest();
|
|
357
|
+
message.height = object.height ?? 0;
|
|
358
|
+
return message;
|
|
359
|
+
},
|
|
360
|
+
};
|
|
361
|
+
function createBaseGetBlockByHeightResponse() {
|
|
362
|
+
return { blockId: undefined, block: undefined, sdkBlock: undefined };
|
|
363
|
+
}
|
|
364
|
+
export const GetBlockByHeightResponse = {
|
|
365
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
366
|
+
if (message.blockId !== undefined) {
|
|
367
|
+
BlockID.encode(message.blockId, writer.uint32(10).fork()).ldelim();
|
|
368
|
+
}
|
|
369
|
+
if (message.block !== undefined) {
|
|
370
|
+
Block.encode(message.block, writer.uint32(18).fork()).ldelim();
|
|
371
|
+
}
|
|
372
|
+
if (message.sdkBlock !== undefined) {
|
|
373
|
+
Block1.encode(message.sdkBlock, writer.uint32(26).fork()).ldelim();
|
|
374
|
+
}
|
|
375
|
+
return writer;
|
|
376
|
+
},
|
|
377
|
+
decode(input, length) {
|
|
378
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
379
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
380
|
+
const message = createBaseGetBlockByHeightResponse();
|
|
381
|
+
while (reader.pos < end) {
|
|
382
|
+
const tag = reader.uint32();
|
|
383
|
+
switch (tag >>> 3) {
|
|
384
|
+
case 1:
|
|
385
|
+
message.blockId = BlockID.decode(reader, reader.uint32());
|
|
386
|
+
break;
|
|
387
|
+
case 2:
|
|
388
|
+
message.block = Block.decode(reader, reader.uint32());
|
|
389
|
+
break;
|
|
390
|
+
case 3:
|
|
391
|
+
message.sdkBlock = Block1.decode(reader, reader.uint32());
|
|
392
|
+
break;
|
|
393
|
+
default:
|
|
394
|
+
reader.skipType(tag & 7);
|
|
395
|
+
break;
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
return message;
|
|
399
|
+
},
|
|
400
|
+
fromJSON(object) {
|
|
401
|
+
return {
|
|
402
|
+
blockId: isSet(object.blockId) ? BlockID.fromJSON(object.blockId) : undefined,
|
|
403
|
+
block: isSet(object.block) ? Block.fromJSON(object.block) : undefined,
|
|
404
|
+
sdkBlock: isSet(object.sdkBlock) ? Block1.fromJSON(object.sdkBlock) : undefined,
|
|
405
|
+
};
|
|
406
|
+
},
|
|
407
|
+
toJSON(message) {
|
|
408
|
+
const obj = {};
|
|
409
|
+
message.blockId !== undefined && (obj.blockId = message.blockId ? BlockID.toJSON(message.blockId) : undefined);
|
|
410
|
+
message.block !== undefined && (obj.block = message.block ? Block.toJSON(message.block) : undefined);
|
|
411
|
+
message.sdkBlock !== undefined && (obj.sdkBlock = message.sdkBlock ? Block1.toJSON(message.sdkBlock) : undefined);
|
|
412
|
+
return obj;
|
|
413
|
+
},
|
|
414
|
+
fromPartial(object) {
|
|
415
|
+
const message = createBaseGetBlockByHeightResponse();
|
|
416
|
+
message.blockId = (object.blockId !== undefined && object.blockId !== null)
|
|
417
|
+
? BlockID.fromPartial(object.blockId)
|
|
418
|
+
: undefined;
|
|
419
|
+
message.block = (object.block !== undefined && object.block !== null) ? Block.fromPartial(object.block) : undefined;
|
|
420
|
+
message.sdkBlock = (object.sdkBlock !== undefined && object.sdkBlock !== null)
|
|
421
|
+
? Block1.fromPartial(object.sdkBlock)
|
|
422
|
+
: undefined;
|
|
423
|
+
return message;
|
|
424
|
+
},
|
|
425
|
+
};
|
|
426
|
+
function createBaseGetLatestBlockRequest() {
|
|
427
|
+
return {};
|
|
428
|
+
}
|
|
429
|
+
export const GetLatestBlockRequest = {
|
|
430
|
+
encode(_, writer = _m0.Writer.create()) {
|
|
431
|
+
return writer;
|
|
432
|
+
},
|
|
433
|
+
decode(input, length) {
|
|
434
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
435
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
436
|
+
const message = createBaseGetLatestBlockRequest();
|
|
437
|
+
while (reader.pos < end) {
|
|
438
|
+
const tag = reader.uint32();
|
|
439
|
+
switch (tag >>> 3) {
|
|
440
|
+
default:
|
|
441
|
+
reader.skipType(tag & 7);
|
|
442
|
+
break;
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
return message;
|
|
446
|
+
},
|
|
447
|
+
fromJSON(_) {
|
|
448
|
+
return {};
|
|
449
|
+
},
|
|
450
|
+
toJSON(_) {
|
|
451
|
+
const obj = {};
|
|
452
|
+
return obj;
|
|
453
|
+
},
|
|
454
|
+
fromPartial(_) {
|
|
455
|
+
const message = createBaseGetLatestBlockRequest();
|
|
456
|
+
return message;
|
|
457
|
+
},
|
|
458
|
+
};
|
|
459
|
+
function createBaseGetLatestBlockResponse() {
|
|
460
|
+
return { blockId: undefined, block: undefined, sdkBlock: undefined };
|
|
461
|
+
}
|
|
462
|
+
export const GetLatestBlockResponse = {
|
|
463
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
464
|
+
if (message.blockId !== undefined) {
|
|
465
|
+
BlockID.encode(message.blockId, writer.uint32(10).fork()).ldelim();
|
|
466
|
+
}
|
|
467
|
+
if (message.block !== undefined) {
|
|
468
|
+
Block.encode(message.block, writer.uint32(18).fork()).ldelim();
|
|
469
|
+
}
|
|
470
|
+
if (message.sdkBlock !== undefined) {
|
|
471
|
+
Block1.encode(message.sdkBlock, writer.uint32(26).fork()).ldelim();
|
|
472
|
+
}
|
|
473
|
+
return writer;
|
|
474
|
+
},
|
|
475
|
+
decode(input, length) {
|
|
476
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
477
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
478
|
+
const message = createBaseGetLatestBlockResponse();
|
|
479
|
+
while (reader.pos < end) {
|
|
480
|
+
const tag = reader.uint32();
|
|
481
|
+
switch (tag >>> 3) {
|
|
482
|
+
case 1:
|
|
483
|
+
message.blockId = BlockID.decode(reader, reader.uint32());
|
|
484
|
+
break;
|
|
485
|
+
case 2:
|
|
486
|
+
message.block = Block.decode(reader, reader.uint32());
|
|
487
|
+
break;
|
|
488
|
+
case 3:
|
|
489
|
+
message.sdkBlock = Block1.decode(reader, reader.uint32());
|
|
490
|
+
break;
|
|
491
|
+
default:
|
|
492
|
+
reader.skipType(tag & 7);
|
|
493
|
+
break;
|
|
494
|
+
}
|
|
495
|
+
}
|
|
496
|
+
return message;
|
|
497
|
+
},
|
|
498
|
+
fromJSON(object) {
|
|
499
|
+
return {
|
|
500
|
+
blockId: isSet(object.blockId) ? BlockID.fromJSON(object.blockId) : undefined,
|
|
501
|
+
block: isSet(object.block) ? Block.fromJSON(object.block) : undefined,
|
|
502
|
+
sdkBlock: isSet(object.sdkBlock) ? Block1.fromJSON(object.sdkBlock) : undefined,
|
|
503
|
+
};
|
|
504
|
+
},
|
|
505
|
+
toJSON(message) {
|
|
506
|
+
const obj = {};
|
|
507
|
+
message.blockId !== undefined && (obj.blockId = message.blockId ? BlockID.toJSON(message.blockId) : undefined);
|
|
508
|
+
message.block !== undefined && (obj.block = message.block ? Block.toJSON(message.block) : undefined);
|
|
509
|
+
message.sdkBlock !== undefined && (obj.sdkBlock = message.sdkBlock ? Block1.toJSON(message.sdkBlock) : undefined);
|
|
510
|
+
return obj;
|
|
511
|
+
},
|
|
512
|
+
fromPartial(object) {
|
|
513
|
+
const message = createBaseGetLatestBlockResponse();
|
|
514
|
+
message.blockId = (object.blockId !== undefined && object.blockId !== null)
|
|
515
|
+
? BlockID.fromPartial(object.blockId)
|
|
516
|
+
: undefined;
|
|
517
|
+
message.block = (object.block !== undefined && object.block !== null) ? Block.fromPartial(object.block) : undefined;
|
|
518
|
+
message.sdkBlock = (object.sdkBlock !== undefined && object.sdkBlock !== null)
|
|
519
|
+
? Block1.fromPartial(object.sdkBlock)
|
|
520
|
+
: undefined;
|
|
521
|
+
return message;
|
|
522
|
+
},
|
|
523
|
+
};
|
|
524
|
+
function createBaseGetSyncingRequest() {
|
|
525
|
+
return {};
|
|
526
|
+
}
|
|
527
|
+
export const GetSyncingRequest = {
|
|
528
|
+
encode(_, writer = _m0.Writer.create()) {
|
|
529
|
+
return writer;
|
|
530
|
+
},
|
|
531
|
+
decode(input, length) {
|
|
532
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
533
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
534
|
+
const message = createBaseGetSyncingRequest();
|
|
535
|
+
while (reader.pos < end) {
|
|
536
|
+
const tag = reader.uint32();
|
|
537
|
+
switch (tag >>> 3) {
|
|
538
|
+
default:
|
|
539
|
+
reader.skipType(tag & 7);
|
|
540
|
+
break;
|
|
541
|
+
}
|
|
542
|
+
}
|
|
543
|
+
return message;
|
|
544
|
+
},
|
|
545
|
+
fromJSON(_) {
|
|
546
|
+
return {};
|
|
547
|
+
},
|
|
548
|
+
toJSON(_) {
|
|
549
|
+
const obj = {};
|
|
550
|
+
return obj;
|
|
551
|
+
},
|
|
552
|
+
fromPartial(_) {
|
|
553
|
+
const message = createBaseGetSyncingRequest();
|
|
554
|
+
return message;
|
|
555
|
+
},
|
|
556
|
+
};
|
|
557
|
+
function createBaseGetSyncingResponse() {
|
|
558
|
+
return { syncing: false };
|
|
559
|
+
}
|
|
560
|
+
export const GetSyncingResponse = {
|
|
561
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
562
|
+
if (message.syncing === true) {
|
|
563
|
+
writer.uint32(8).bool(message.syncing);
|
|
564
|
+
}
|
|
565
|
+
return writer;
|
|
566
|
+
},
|
|
567
|
+
decode(input, length) {
|
|
568
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
569
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
570
|
+
const message = createBaseGetSyncingResponse();
|
|
571
|
+
while (reader.pos < end) {
|
|
572
|
+
const tag = reader.uint32();
|
|
573
|
+
switch (tag >>> 3) {
|
|
574
|
+
case 1:
|
|
575
|
+
message.syncing = reader.bool();
|
|
576
|
+
break;
|
|
577
|
+
default:
|
|
578
|
+
reader.skipType(tag & 7);
|
|
579
|
+
break;
|
|
580
|
+
}
|
|
581
|
+
}
|
|
582
|
+
return message;
|
|
583
|
+
},
|
|
584
|
+
fromJSON(object) {
|
|
585
|
+
return { syncing: isSet(object.syncing) ? Boolean(object.syncing) : false };
|
|
586
|
+
},
|
|
587
|
+
toJSON(message) {
|
|
588
|
+
const obj = {};
|
|
589
|
+
message.syncing !== undefined && (obj.syncing = message.syncing);
|
|
590
|
+
return obj;
|
|
591
|
+
},
|
|
592
|
+
fromPartial(object) {
|
|
593
|
+
const message = createBaseGetSyncingResponse();
|
|
594
|
+
message.syncing = object.syncing ?? false;
|
|
595
|
+
return message;
|
|
596
|
+
},
|
|
597
|
+
};
|
|
598
|
+
function createBaseGetNodeInfoRequest() {
|
|
599
|
+
return {};
|
|
600
|
+
}
|
|
601
|
+
export const GetNodeInfoRequest = {
|
|
602
|
+
encode(_, writer = _m0.Writer.create()) {
|
|
603
|
+
return writer;
|
|
604
|
+
},
|
|
605
|
+
decode(input, length) {
|
|
606
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
607
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
608
|
+
const message = createBaseGetNodeInfoRequest();
|
|
609
|
+
while (reader.pos < end) {
|
|
610
|
+
const tag = reader.uint32();
|
|
611
|
+
switch (tag >>> 3) {
|
|
612
|
+
default:
|
|
613
|
+
reader.skipType(tag & 7);
|
|
614
|
+
break;
|
|
615
|
+
}
|
|
616
|
+
}
|
|
617
|
+
return message;
|
|
618
|
+
},
|
|
619
|
+
fromJSON(_) {
|
|
620
|
+
return {};
|
|
621
|
+
},
|
|
622
|
+
toJSON(_) {
|
|
623
|
+
const obj = {};
|
|
624
|
+
return obj;
|
|
625
|
+
},
|
|
626
|
+
fromPartial(_) {
|
|
627
|
+
const message = createBaseGetNodeInfoRequest();
|
|
628
|
+
return message;
|
|
629
|
+
},
|
|
630
|
+
};
|
|
631
|
+
function createBaseGetNodeInfoResponse() {
|
|
632
|
+
return { defaultNodeInfo: undefined, applicationVersion: undefined };
|
|
633
|
+
}
|
|
634
|
+
export const GetNodeInfoResponse = {
|
|
635
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
636
|
+
if (message.defaultNodeInfo !== undefined) {
|
|
637
|
+
DefaultNodeInfo.encode(message.defaultNodeInfo, writer.uint32(10).fork()).ldelim();
|
|
638
|
+
}
|
|
639
|
+
if (message.applicationVersion !== undefined) {
|
|
640
|
+
VersionInfo.encode(message.applicationVersion, writer.uint32(18).fork()).ldelim();
|
|
641
|
+
}
|
|
642
|
+
return writer;
|
|
643
|
+
},
|
|
644
|
+
decode(input, length) {
|
|
645
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
646
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
647
|
+
const message = createBaseGetNodeInfoResponse();
|
|
648
|
+
while (reader.pos < end) {
|
|
649
|
+
const tag = reader.uint32();
|
|
650
|
+
switch (tag >>> 3) {
|
|
651
|
+
case 1:
|
|
652
|
+
message.defaultNodeInfo = DefaultNodeInfo.decode(reader, reader.uint32());
|
|
653
|
+
break;
|
|
654
|
+
case 2:
|
|
655
|
+
message.applicationVersion = VersionInfo.decode(reader, reader.uint32());
|
|
656
|
+
break;
|
|
657
|
+
default:
|
|
658
|
+
reader.skipType(tag & 7);
|
|
659
|
+
break;
|
|
660
|
+
}
|
|
661
|
+
}
|
|
662
|
+
return message;
|
|
663
|
+
},
|
|
664
|
+
fromJSON(object) {
|
|
665
|
+
return {
|
|
666
|
+
defaultNodeInfo: isSet(object.defaultNodeInfo) ? DefaultNodeInfo.fromJSON(object.defaultNodeInfo) : undefined,
|
|
667
|
+
applicationVersion: isSet(object.applicationVersion)
|
|
668
|
+
? VersionInfo.fromJSON(object.applicationVersion)
|
|
669
|
+
: undefined,
|
|
670
|
+
};
|
|
671
|
+
},
|
|
672
|
+
toJSON(message) {
|
|
673
|
+
const obj = {};
|
|
674
|
+
message.defaultNodeInfo !== undefined
|
|
675
|
+
&& (obj.defaultNodeInfo = message.defaultNodeInfo ? DefaultNodeInfo.toJSON(message.defaultNodeInfo) : undefined);
|
|
676
|
+
message.applicationVersion !== undefined && (obj.applicationVersion = message.applicationVersion
|
|
677
|
+
? VersionInfo.toJSON(message.applicationVersion)
|
|
678
|
+
: undefined);
|
|
679
|
+
return obj;
|
|
680
|
+
},
|
|
681
|
+
fromPartial(object) {
|
|
682
|
+
const message = createBaseGetNodeInfoResponse();
|
|
683
|
+
message.defaultNodeInfo = (object.defaultNodeInfo !== undefined && object.defaultNodeInfo !== null)
|
|
684
|
+
? DefaultNodeInfo.fromPartial(object.defaultNodeInfo)
|
|
685
|
+
: undefined;
|
|
686
|
+
message.applicationVersion = (object.applicationVersion !== undefined && object.applicationVersion !== null)
|
|
687
|
+
? VersionInfo.fromPartial(object.applicationVersion)
|
|
688
|
+
: undefined;
|
|
689
|
+
return message;
|
|
690
|
+
},
|
|
691
|
+
};
|
|
692
|
+
function createBaseVersionInfo() {
|
|
693
|
+
return {
|
|
694
|
+
name: "",
|
|
695
|
+
appName: "",
|
|
696
|
+
version: "",
|
|
697
|
+
gitCommit: "",
|
|
698
|
+
buildTags: "",
|
|
699
|
+
goVersion: "",
|
|
700
|
+
buildDeps: [],
|
|
701
|
+
cosmosSdkVersion: "",
|
|
702
|
+
};
|
|
703
|
+
}
|
|
704
|
+
export const VersionInfo = {
|
|
705
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
706
|
+
if (message.name !== "") {
|
|
707
|
+
writer.uint32(10).string(message.name);
|
|
708
|
+
}
|
|
709
|
+
if (message.appName !== "") {
|
|
710
|
+
writer.uint32(18).string(message.appName);
|
|
711
|
+
}
|
|
712
|
+
if (message.version !== "") {
|
|
713
|
+
writer.uint32(26).string(message.version);
|
|
714
|
+
}
|
|
715
|
+
if (message.gitCommit !== "") {
|
|
716
|
+
writer.uint32(34).string(message.gitCommit);
|
|
717
|
+
}
|
|
718
|
+
if (message.buildTags !== "") {
|
|
719
|
+
writer.uint32(42).string(message.buildTags);
|
|
720
|
+
}
|
|
721
|
+
if (message.goVersion !== "") {
|
|
722
|
+
writer.uint32(50).string(message.goVersion);
|
|
723
|
+
}
|
|
724
|
+
for (const v of message.buildDeps) {
|
|
725
|
+
Module.encode(v, writer.uint32(58).fork()).ldelim();
|
|
726
|
+
}
|
|
727
|
+
if (message.cosmosSdkVersion !== "") {
|
|
728
|
+
writer.uint32(66).string(message.cosmosSdkVersion);
|
|
729
|
+
}
|
|
730
|
+
return writer;
|
|
731
|
+
},
|
|
732
|
+
decode(input, length) {
|
|
733
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
734
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
735
|
+
const message = createBaseVersionInfo();
|
|
736
|
+
while (reader.pos < end) {
|
|
737
|
+
const tag = reader.uint32();
|
|
738
|
+
switch (tag >>> 3) {
|
|
739
|
+
case 1:
|
|
740
|
+
message.name = reader.string();
|
|
741
|
+
break;
|
|
742
|
+
case 2:
|
|
743
|
+
message.appName = reader.string();
|
|
744
|
+
break;
|
|
745
|
+
case 3:
|
|
746
|
+
message.version = reader.string();
|
|
747
|
+
break;
|
|
748
|
+
case 4:
|
|
749
|
+
message.gitCommit = reader.string();
|
|
750
|
+
break;
|
|
751
|
+
case 5:
|
|
752
|
+
message.buildTags = reader.string();
|
|
753
|
+
break;
|
|
754
|
+
case 6:
|
|
755
|
+
message.goVersion = reader.string();
|
|
756
|
+
break;
|
|
757
|
+
case 7:
|
|
758
|
+
message.buildDeps.push(Module.decode(reader, reader.uint32()));
|
|
759
|
+
break;
|
|
760
|
+
case 8:
|
|
761
|
+
message.cosmosSdkVersion = reader.string();
|
|
762
|
+
break;
|
|
763
|
+
default:
|
|
764
|
+
reader.skipType(tag & 7);
|
|
765
|
+
break;
|
|
766
|
+
}
|
|
767
|
+
}
|
|
768
|
+
return message;
|
|
769
|
+
},
|
|
770
|
+
fromJSON(object) {
|
|
771
|
+
return {
|
|
772
|
+
name: isSet(object.name) ? String(object.name) : "",
|
|
773
|
+
appName: isSet(object.appName) ? String(object.appName) : "",
|
|
774
|
+
version: isSet(object.version) ? String(object.version) : "",
|
|
775
|
+
gitCommit: isSet(object.gitCommit) ? String(object.gitCommit) : "",
|
|
776
|
+
buildTags: isSet(object.buildTags) ? String(object.buildTags) : "",
|
|
777
|
+
goVersion: isSet(object.goVersion) ? String(object.goVersion) : "",
|
|
778
|
+
buildDeps: Array.isArray(object?.buildDeps) ? object.buildDeps.map((e) => Module.fromJSON(e)) : [],
|
|
779
|
+
cosmosSdkVersion: isSet(object.cosmosSdkVersion) ? String(object.cosmosSdkVersion) : "",
|
|
780
|
+
};
|
|
781
|
+
},
|
|
782
|
+
toJSON(message) {
|
|
783
|
+
const obj = {};
|
|
784
|
+
message.name !== undefined && (obj.name = message.name);
|
|
785
|
+
message.appName !== undefined && (obj.appName = message.appName);
|
|
786
|
+
message.version !== undefined && (obj.version = message.version);
|
|
787
|
+
message.gitCommit !== undefined && (obj.gitCommit = message.gitCommit);
|
|
788
|
+
message.buildTags !== undefined && (obj.buildTags = message.buildTags);
|
|
789
|
+
message.goVersion !== undefined && (obj.goVersion = message.goVersion);
|
|
790
|
+
if (message.buildDeps) {
|
|
791
|
+
obj.buildDeps = message.buildDeps.map((e) => e ? Module.toJSON(e) : undefined);
|
|
792
|
+
}
|
|
793
|
+
else {
|
|
794
|
+
obj.buildDeps = [];
|
|
795
|
+
}
|
|
796
|
+
message.cosmosSdkVersion !== undefined && (obj.cosmosSdkVersion = message.cosmosSdkVersion);
|
|
797
|
+
return obj;
|
|
798
|
+
},
|
|
799
|
+
fromPartial(object) {
|
|
800
|
+
const message = createBaseVersionInfo();
|
|
801
|
+
message.name = object.name ?? "";
|
|
802
|
+
message.appName = object.appName ?? "";
|
|
803
|
+
message.version = object.version ?? "";
|
|
804
|
+
message.gitCommit = object.gitCommit ?? "";
|
|
805
|
+
message.buildTags = object.buildTags ?? "";
|
|
806
|
+
message.goVersion = object.goVersion ?? "";
|
|
807
|
+
message.buildDeps = object.buildDeps?.map((e) => Module.fromPartial(e)) || [];
|
|
808
|
+
message.cosmosSdkVersion = object.cosmosSdkVersion ?? "";
|
|
809
|
+
return message;
|
|
810
|
+
},
|
|
811
|
+
};
|
|
812
|
+
function createBaseModule() {
|
|
813
|
+
return { path: "", version: "", sum: "" };
|
|
814
|
+
}
|
|
815
|
+
export const Module = {
|
|
816
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
817
|
+
if (message.path !== "") {
|
|
818
|
+
writer.uint32(10).string(message.path);
|
|
819
|
+
}
|
|
820
|
+
if (message.version !== "") {
|
|
821
|
+
writer.uint32(18).string(message.version);
|
|
822
|
+
}
|
|
823
|
+
if (message.sum !== "") {
|
|
824
|
+
writer.uint32(26).string(message.sum);
|
|
825
|
+
}
|
|
826
|
+
return writer;
|
|
827
|
+
},
|
|
828
|
+
decode(input, length) {
|
|
829
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
830
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
831
|
+
const message = createBaseModule();
|
|
832
|
+
while (reader.pos < end) {
|
|
833
|
+
const tag = reader.uint32();
|
|
834
|
+
switch (tag >>> 3) {
|
|
835
|
+
case 1:
|
|
836
|
+
message.path = reader.string();
|
|
837
|
+
break;
|
|
838
|
+
case 2:
|
|
839
|
+
message.version = reader.string();
|
|
840
|
+
break;
|
|
841
|
+
case 3:
|
|
842
|
+
message.sum = reader.string();
|
|
843
|
+
break;
|
|
844
|
+
default:
|
|
845
|
+
reader.skipType(tag & 7);
|
|
846
|
+
break;
|
|
847
|
+
}
|
|
848
|
+
}
|
|
849
|
+
return message;
|
|
850
|
+
},
|
|
851
|
+
fromJSON(object) {
|
|
852
|
+
return {
|
|
853
|
+
path: isSet(object.path) ? String(object.path) : "",
|
|
854
|
+
version: isSet(object.version) ? String(object.version) : "",
|
|
855
|
+
sum: isSet(object.sum) ? String(object.sum) : "",
|
|
856
|
+
};
|
|
857
|
+
},
|
|
858
|
+
toJSON(message) {
|
|
859
|
+
const obj = {};
|
|
860
|
+
message.path !== undefined && (obj.path = message.path);
|
|
861
|
+
message.version !== undefined && (obj.version = message.version);
|
|
862
|
+
message.sum !== undefined && (obj.sum = message.sum);
|
|
863
|
+
return obj;
|
|
864
|
+
},
|
|
865
|
+
fromPartial(object) {
|
|
866
|
+
const message = createBaseModule();
|
|
867
|
+
message.path = object.path ?? "";
|
|
868
|
+
message.version = object.version ?? "";
|
|
869
|
+
message.sum = object.sum ?? "";
|
|
870
|
+
return message;
|
|
871
|
+
},
|
|
872
|
+
};
|
|
873
|
+
function createBaseABCIQueryRequest() {
|
|
874
|
+
return { data: new Uint8Array(), path: "", height: 0, prove: false };
|
|
875
|
+
}
|
|
876
|
+
export const ABCIQueryRequest = {
|
|
877
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
878
|
+
if (message.data.length !== 0) {
|
|
879
|
+
writer.uint32(10).bytes(message.data);
|
|
880
|
+
}
|
|
881
|
+
if (message.path !== "") {
|
|
882
|
+
writer.uint32(18).string(message.path);
|
|
883
|
+
}
|
|
884
|
+
if (message.height !== 0) {
|
|
885
|
+
writer.uint32(24).int64(message.height);
|
|
886
|
+
}
|
|
887
|
+
if (message.prove === true) {
|
|
888
|
+
writer.uint32(32).bool(message.prove);
|
|
889
|
+
}
|
|
890
|
+
return writer;
|
|
891
|
+
},
|
|
892
|
+
decode(input, length) {
|
|
893
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
894
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
895
|
+
const message = createBaseABCIQueryRequest();
|
|
896
|
+
while (reader.pos < end) {
|
|
897
|
+
const tag = reader.uint32();
|
|
898
|
+
switch (tag >>> 3) {
|
|
899
|
+
case 1:
|
|
900
|
+
message.data = reader.bytes();
|
|
901
|
+
break;
|
|
902
|
+
case 2:
|
|
903
|
+
message.path = reader.string();
|
|
904
|
+
break;
|
|
905
|
+
case 3:
|
|
906
|
+
message.height = longToNumber(reader.int64());
|
|
907
|
+
break;
|
|
908
|
+
case 4:
|
|
909
|
+
message.prove = reader.bool();
|
|
910
|
+
break;
|
|
911
|
+
default:
|
|
912
|
+
reader.skipType(tag & 7);
|
|
913
|
+
break;
|
|
914
|
+
}
|
|
915
|
+
}
|
|
916
|
+
return message;
|
|
917
|
+
},
|
|
918
|
+
fromJSON(object) {
|
|
919
|
+
return {
|
|
920
|
+
data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array(),
|
|
921
|
+
path: isSet(object.path) ? String(object.path) : "",
|
|
922
|
+
height: isSet(object.height) ? Number(object.height) : 0,
|
|
923
|
+
prove: isSet(object.prove) ? Boolean(object.prove) : false,
|
|
924
|
+
};
|
|
925
|
+
},
|
|
926
|
+
toJSON(message) {
|
|
927
|
+
const obj = {};
|
|
928
|
+
message.data !== undefined
|
|
929
|
+
&& (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array()));
|
|
930
|
+
message.path !== undefined && (obj.path = message.path);
|
|
931
|
+
message.height !== undefined && (obj.height = Math.round(message.height));
|
|
932
|
+
message.prove !== undefined && (obj.prove = message.prove);
|
|
933
|
+
return obj;
|
|
934
|
+
},
|
|
935
|
+
fromPartial(object) {
|
|
936
|
+
const message = createBaseABCIQueryRequest();
|
|
937
|
+
message.data = object.data ?? new Uint8Array();
|
|
938
|
+
message.path = object.path ?? "";
|
|
939
|
+
message.height = object.height ?? 0;
|
|
940
|
+
message.prove = object.prove ?? false;
|
|
941
|
+
return message;
|
|
942
|
+
},
|
|
943
|
+
};
|
|
944
|
+
function createBaseABCIQueryResponse() {
|
|
945
|
+
return {
|
|
946
|
+
code: 0,
|
|
947
|
+
log: "",
|
|
948
|
+
info: "",
|
|
949
|
+
index: 0,
|
|
950
|
+
key: new Uint8Array(),
|
|
951
|
+
value: new Uint8Array(),
|
|
952
|
+
proofOps: undefined,
|
|
953
|
+
height: 0,
|
|
954
|
+
codespace: "",
|
|
955
|
+
};
|
|
956
|
+
}
|
|
957
|
+
export const ABCIQueryResponse = {
|
|
958
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
959
|
+
if (message.code !== 0) {
|
|
960
|
+
writer.uint32(8).uint32(message.code);
|
|
961
|
+
}
|
|
962
|
+
if (message.log !== "") {
|
|
963
|
+
writer.uint32(26).string(message.log);
|
|
964
|
+
}
|
|
965
|
+
if (message.info !== "") {
|
|
966
|
+
writer.uint32(34).string(message.info);
|
|
967
|
+
}
|
|
968
|
+
if (message.index !== 0) {
|
|
969
|
+
writer.uint32(40).int64(message.index);
|
|
970
|
+
}
|
|
971
|
+
if (message.key.length !== 0) {
|
|
972
|
+
writer.uint32(50).bytes(message.key);
|
|
973
|
+
}
|
|
974
|
+
if (message.value.length !== 0) {
|
|
975
|
+
writer.uint32(58).bytes(message.value);
|
|
976
|
+
}
|
|
977
|
+
if (message.proofOps !== undefined) {
|
|
978
|
+
ProofOps.encode(message.proofOps, writer.uint32(66).fork()).ldelim();
|
|
979
|
+
}
|
|
980
|
+
if (message.height !== 0) {
|
|
981
|
+
writer.uint32(72).int64(message.height);
|
|
982
|
+
}
|
|
983
|
+
if (message.codespace !== "") {
|
|
984
|
+
writer.uint32(82).string(message.codespace);
|
|
985
|
+
}
|
|
986
|
+
return writer;
|
|
987
|
+
},
|
|
988
|
+
decode(input, length) {
|
|
989
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
990
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
991
|
+
const message = createBaseABCIQueryResponse();
|
|
992
|
+
while (reader.pos < end) {
|
|
993
|
+
const tag = reader.uint32();
|
|
994
|
+
switch (tag >>> 3) {
|
|
995
|
+
case 1:
|
|
996
|
+
message.code = reader.uint32();
|
|
997
|
+
break;
|
|
998
|
+
case 3:
|
|
999
|
+
message.log = reader.string();
|
|
1000
|
+
break;
|
|
1001
|
+
case 4:
|
|
1002
|
+
message.info = reader.string();
|
|
1003
|
+
break;
|
|
1004
|
+
case 5:
|
|
1005
|
+
message.index = longToNumber(reader.int64());
|
|
1006
|
+
break;
|
|
1007
|
+
case 6:
|
|
1008
|
+
message.key = reader.bytes();
|
|
1009
|
+
break;
|
|
1010
|
+
case 7:
|
|
1011
|
+
message.value = reader.bytes();
|
|
1012
|
+
break;
|
|
1013
|
+
case 8:
|
|
1014
|
+
message.proofOps = ProofOps.decode(reader, reader.uint32());
|
|
1015
|
+
break;
|
|
1016
|
+
case 9:
|
|
1017
|
+
message.height = longToNumber(reader.int64());
|
|
1018
|
+
break;
|
|
1019
|
+
case 10:
|
|
1020
|
+
message.codespace = reader.string();
|
|
1021
|
+
break;
|
|
1022
|
+
default:
|
|
1023
|
+
reader.skipType(tag & 7);
|
|
1024
|
+
break;
|
|
1025
|
+
}
|
|
1026
|
+
}
|
|
1027
|
+
return message;
|
|
1028
|
+
},
|
|
1029
|
+
fromJSON(object) {
|
|
1030
|
+
return {
|
|
1031
|
+
code: isSet(object.code) ? Number(object.code) : 0,
|
|
1032
|
+
log: isSet(object.log) ? String(object.log) : "",
|
|
1033
|
+
info: isSet(object.info) ? String(object.info) : "",
|
|
1034
|
+
index: isSet(object.index) ? Number(object.index) : 0,
|
|
1035
|
+
key: isSet(object.key) ? bytesFromBase64(object.key) : new Uint8Array(),
|
|
1036
|
+
value: isSet(object.value) ? bytesFromBase64(object.value) : new Uint8Array(),
|
|
1037
|
+
proofOps: isSet(object.proofOps) ? ProofOps.fromJSON(object.proofOps) : undefined,
|
|
1038
|
+
height: isSet(object.height) ? Number(object.height) : 0,
|
|
1039
|
+
codespace: isSet(object.codespace) ? String(object.codespace) : "",
|
|
1040
|
+
};
|
|
1041
|
+
},
|
|
1042
|
+
toJSON(message) {
|
|
1043
|
+
const obj = {};
|
|
1044
|
+
message.code !== undefined && (obj.code = Math.round(message.code));
|
|
1045
|
+
message.log !== undefined && (obj.log = message.log);
|
|
1046
|
+
message.info !== undefined && (obj.info = message.info);
|
|
1047
|
+
message.index !== undefined && (obj.index = Math.round(message.index));
|
|
1048
|
+
message.key !== undefined
|
|
1049
|
+
&& (obj.key = base64FromBytes(message.key !== undefined ? message.key : new Uint8Array()));
|
|
1050
|
+
message.value !== undefined
|
|
1051
|
+
&& (obj.value = base64FromBytes(message.value !== undefined ? message.value : new Uint8Array()));
|
|
1052
|
+
message.proofOps !== undefined && (obj.proofOps = message.proofOps ? ProofOps.toJSON(message.proofOps) : undefined);
|
|
1053
|
+
message.height !== undefined && (obj.height = Math.round(message.height));
|
|
1054
|
+
message.codespace !== undefined && (obj.codespace = message.codespace);
|
|
1055
|
+
return obj;
|
|
1056
|
+
},
|
|
1057
|
+
fromPartial(object) {
|
|
1058
|
+
const message = createBaseABCIQueryResponse();
|
|
1059
|
+
message.code = object.code ?? 0;
|
|
1060
|
+
message.log = object.log ?? "";
|
|
1061
|
+
message.info = object.info ?? "";
|
|
1062
|
+
message.index = object.index ?? 0;
|
|
1063
|
+
message.key = object.key ?? new Uint8Array();
|
|
1064
|
+
message.value = object.value ?? new Uint8Array();
|
|
1065
|
+
message.proofOps = (object.proofOps !== undefined && object.proofOps !== null)
|
|
1066
|
+
? ProofOps.fromPartial(object.proofOps)
|
|
1067
|
+
: undefined;
|
|
1068
|
+
message.height = object.height ?? 0;
|
|
1069
|
+
message.codespace = object.codespace ?? "";
|
|
1070
|
+
return message;
|
|
1071
|
+
},
|
|
1072
|
+
};
|
|
1073
|
+
function createBaseProofOp() {
|
|
1074
|
+
return { type: "", key: new Uint8Array(), data: new Uint8Array() };
|
|
1075
|
+
}
|
|
1076
|
+
export const ProofOp = {
|
|
1077
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
1078
|
+
if (message.type !== "") {
|
|
1079
|
+
writer.uint32(10).string(message.type);
|
|
1080
|
+
}
|
|
1081
|
+
if (message.key.length !== 0) {
|
|
1082
|
+
writer.uint32(18).bytes(message.key);
|
|
1083
|
+
}
|
|
1084
|
+
if (message.data.length !== 0) {
|
|
1085
|
+
writer.uint32(26).bytes(message.data);
|
|
1086
|
+
}
|
|
1087
|
+
return writer;
|
|
1088
|
+
},
|
|
1089
|
+
decode(input, length) {
|
|
1090
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
1091
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1092
|
+
const message = createBaseProofOp();
|
|
1093
|
+
while (reader.pos < end) {
|
|
1094
|
+
const tag = reader.uint32();
|
|
1095
|
+
switch (tag >>> 3) {
|
|
1096
|
+
case 1:
|
|
1097
|
+
message.type = reader.string();
|
|
1098
|
+
break;
|
|
1099
|
+
case 2:
|
|
1100
|
+
message.key = reader.bytes();
|
|
1101
|
+
break;
|
|
1102
|
+
case 3:
|
|
1103
|
+
message.data = reader.bytes();
|
|
1104
|
+
break;
|
|
1105
|
+
default:
|
|
1106
|
+
reader.skipType(tag & 7);
|
|
1107
|
+
break;
|
|
1108
|
+
}
|
|
1109
|
+
}
|
|
1110
|
+
return message;
|
|
1111
|
+
},
|
|
1112
|
+
fromJSON(object) {
|
|
1113
|
+
return {
|
|
1114
|
+
type: isSet(object.type) ? String(object.type) : "",
|
|
1115
|
+
key: isSet(object.key) ? bytesFromBase64(object.key) : new Uint8Array(),
|
|
1116
|
+
data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array(),
|
|
1117
|
+
};
|
|
1118
|
+
},
|
|
1119
|
+
toJSON(message) {
|
|
1120
|
+
const obj = {};
|
|
1121
|
+
message.type !== undefined && (obj.type = message.type);
|
|
1122
|
+
message.key !== undefined
|
|
1123
|
+
&& (obj.key = base64FromBytes(message.key !== undefined ? message.key : new Uint8Array()));
|
|
1124
|
+
message.data !== undefined
|
|
1125
|
+
&& (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array()));
|
|
1126
|
+
return obj;
|
|
1127
|
+
},
|
|
1128
|
+
fromPartial(object) {
|
|
1129
|
+
const message = createBaseProofOp();
|
|
1130
|
+
message.type = object.type ?? "";
|
|
1131
|
+
message.key = object.key ?? new Uint8Array();
|
|
1132
|
+
message.data = object.data ?? new Uint8Array();
|
|
1133
|
+
return message;
|
|
1134
|
+
},
|
|
1135
|
+
};
|
|
1136
|
+
function createBaseProofOps() {
|
|
1137
|
+
return { ops: [] };
|
|
1138
|
+
}
|
|
1139
|
+
export const ProofOps = {
|
|
1140
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
1141
|
+
for (const v of message.ops) {
|
|
1142
|
+
ProofOp.encode(v, writer.uint32(10).fork()).ldelim();
|
|
1143
|
+
}
|
|
1144
|
+
return writer;
|
|
1145
|
+
},
|
|
1146
|
+
decode(input, length) {
|
|
1147
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
1148
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1149
|
+
const message = createBaseProofOps();
|
|
1150
|
+
while (reader.pos < end) {
|
|
1151
|
+
const tag = reader.uint32();
|
|
1152
|
+
switch (tag >>> 3) {
|
|
1153
|
+
case 1:
|
|
1154
|
+
message.ops.push(ProofOp.decode(reader, reader.uint32()));
|
|
1155
|
+
break;
|
|
1156
|
+
default:
|
|
1157
|
+
reader.skipType(tag & 7);
|
|
1158
|
+
break;
|
|
1159
|
+
}
|
|
1160
|
+
}
|
|
1161
|
+
return message;
|
|
1162
|
+
},
|
|
1163
|
+
fromJSON(object) {
|
|
1164
|
+
return { ops: Array.isArray(object?.ops) ? object.ops.map((e) => ProofOp.fromJSON(e)) : [] };
|
|
1165
|
+
},
|
|
1166
|
+
toJSON(message) {
|
|
1167
|
+
const obj = {};
|
|
1168
|
+
if (message.ops) {
|
|
1169
|
+
obj.ops = message.ops.map((e) => e ? ProofOp.toJSON(e) : undefined);
|
|
1170
|
+
}
|
|
1171
|
+
else {
|
|
1172
|
+
obj.ops = [];
|
|
1173
|
+
}
|
|
1174
|
+
return obj;
|
|
1175
|
+
},
|
|
1176
|
+
fromPartial(object) {
|
|
1177
|
+
const message = createBaseProofOps();
|
|
1178
|
+
message.ops = object.ops?.map((e) => ProofOp.fromPartial(e)) || [];
|
|
1179
|
+
return message;
|
|
1180
|
+
},
|
|
1181
|
+
};
|
|
1182
|
+
export class ServiceClientImpl {
|
|
1183
|
+
constructor(rpc) {
|
|
1184
|
+
this.rpc = rpc;
|
|
1185
|
+
this.GetNodeInfo = this.GetNodeInfo.bind(this);
|
|
1186
|
+
this.GetSyncing = this.GetSyncing.bind(this);
|
|
1187
|
+
this.GetLatestBlock = this.GetLatestBlock.bind(this);
|
|
1188
|
+
this.GetBlockByHeight = this.GetBlockByHeight.bind(this);
|
|
1189
|
+
this.GetLatestValidatorSet = this.GetLatestValidatorSet.bind(this);
|
|
1190
|
+
this.GetValidatorSetByHeight = this.GetValidatorSetByHeight.bind(this);
|
|
1191
|
+
this.ABCIQuery = this.ABCIQuery.bind(this);
|
|
1192
|
+
}
|
|
1193
|
+
GetNodeInfo(request) {
|
|
1194
|
+
const data = GetNodeInfoRequest.encode(request).finish();
|
|
1195
|
+
const promise = this.rpc.request("cosmos.base.tendermint.v1beta1.Service", "GetNodeInfo", data);
|
|
1196
|
+
return promise.then((data) => GetNodeInfoResponse.decode(new _m0.Reader(data)));
|
|
1197
|
+
}
|
|
1198
|
+
GetSyncing(request) {
|
|
1199
|
+
const data = GetSyncingRequest.encode(request).finish();
|
|
1200
|
+
const promise = this.rpc.request("cosmos.base.tendermint.v1beta1.Service", "GetSyncing", data);
|
|
1201
|
+
return promise.then((data) => GetSyncingResponse.decode(new _m0.Reader(data)));
|
|
1202
|
+
}
|
|
1203
|
+
GetLatestBlock(request) {
|
|
1204
|
+
const data = GetLatestBlockRequest.encode(request).finish();
|
|
1205
|
+
const promise = this.rpc.request("cosmos.base.tendermint.v1beta1.Service", "GetLatestBlock", data);
|
|
1206
|
+
return promise.then((data) => GetLatestBlockResponse.decode(new _m0.Reader(data)));
|
|
1207
|
+
}
|
|
1208
|
+
GetBlockByHeight(request) {
|
|
1209
|
+
const data = GetBlockByHeightRequest.encode(request).finish();
|
|
1210
|
+
const promise = this.rpc.request("cosmos.base.tendermint.v1beta1.Service", "GetBlockByHeight", data);
|
|
1211
|
+
return promise.then((data) => GetBlockByHeightResponse.decode(new _m0.Reader(data)));
|
|
1212
|
+
}
|
|
1213
|
+
GetLatestValidatorSet(request) {
|
|
1214
|
+
const data = GetLatestValidatorSetRequest.encode(request).finish();
|
|
1215
|
+
const promise = this.rpc.request("cosmos.base.tendermint.v1beta1.Service", "GetLatestValidatorSet", data);
|
|
1216
|
+
return promise.then((data) => GetLatestValidatorSetResponse.decode(new _m0.Reader(data)));
|
|
1217
|
+
}
|
|
1218
|
+
GetValidatorSetByHeight(request) {
|
|
1219
|
+
const data = GetValidatorSetByHeightRequest.encode(request).finish();
|
|
1220
|
+
const promise = this.rpc.request("cosmos.base.tendermint.v1beta1.Service", "GetValidatorSetByHeight", data);
|
|
1221
|
+
return promise.then((data) => GetValidatorSetByHeightResponse.decode(new _m0.Reader(data)));
|
|
1222
|
+
}
|
|
1223
|
+
ABCIQuery(request) {
|
|
1224
|
+
const data = ABCIQueryRequest.encode(request).finish();
|
|
1225
|
+
const promise = this.rpc.request("cosmos.base.tendermint.v1beta1.Service", "ABCIQuery", data);
|
|
1226
|
+
return promise.then((data) => ABCIQueryResponse.decode(new _m0.Reader(data)));
|
|
1227
|
+
}
|
|
1228
|
+
}
|
|
1229
|
+
var globalThis = (() => {
|
|
1230
|
+
if (typeof globalThis !== "undefined") {
|
|
1231
|
+
return globalThis;
|
|
1232
|
+
}
|
|
1233
|
+
if (typeof self !== "undefined") {
|
|
1234
|
+
return self;
|
|
1235
|
+
}
|
|
1236
|
+
if (typeof window !== "undefined") {
|
|
1237
|
+
return window;
|
|
1238
|
+
}
|
|
1239
|
+
if (typeof global !== "undefined") {
|
|
1240
|
+
return global;
|
|
1241
|
+
}
|
|
1242
|
+
throw "Unable to locate global object";
|
|
1243
|
+
})();
|
|
1244
|
+
function bytesFromBase64(b64) {
|
|
1245
|
+
if (globalThis.Buffer) {
|
|
1246
|
+
return Uint8Array.from(globalThis.Buffer.from(b64, "base64"));
|
|
1247
|
+
}
|
|
1248
|
+
else {
|
|
1249
|
+
const bin = globalThis.atob(b64);
|
|
1250
|
+
const arr = new Uint8Array(bin.length);
|
|
1251
|
+
for (let i = 0; i < bin.length; ++i) {
|
|
1252
|
+
arr[i] = bin.charCodeAt(i);
|
|
1253
|
+
}
|
|
1254
|
+
return arr;
|
|
1255
|
+
}
|
|
1256
|
+
}
|
|
1257
|
+
function base64FromBytes(arr) {
|
|
1258
|
+
if (globalThis.Buffer) {
|
|
1259
|
+
return globalThis.Buffer.from(arr).toString("base64");
|
|
1260
|
+
}
|
|
1261
|
+
else {
|
|
1262
|
+
const bin = [];
|
|
1263
|
+
arr.forEach((byte) => {
|
|
1264
|
+
bin.push(String.fromCharCode(byte));
|
|
1265
|
+
});
|
|
1266
|
+
return globalThis.btoa(bin.join(""));
|
|
1267
|
+
}
|
|
1268
|
+
}
|
|
1269
|
+
function longToNumber(long) {
|
|
1270
|
+
if (long.gt(Number.MAX_SAFE_INTEGER)) {
|
|
1271
|
+
throw new globalThis.Error("Value is larger than Number.MAX_SAFE_INTEGER");
|
|
1272
|
+
}
|
|
1273
|
+
return long.toNumber();
|
|
1274
|
+
}
|
|
1275
|
+
if (_m0.util.Long !== Long) {
|
|
1276
|
+
_m0.util.Long = Long;
|
|
1277
|
+
_m0.configure();
|
|
1278
|
+
}
|
|
1279
|
+
function isSet(value) {
|
|
1280
|
+
return value !== null && value !== undefined;
|
|
1281
|
+
}
|