@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
|
@@ -4,7 +4,7 @@ import _m0 from "protobufjs/minimal";
|
|
|
4
4
|
import { Timestamp } from "../../google/protobuf/timestamp";
|
|
5
5
|
import { PublicKey } from "../crypto/keys";
|
|
6
6
|
import { ProofOps } from "../crypto/proof";
|
|
7
|
-
import {
|
|
7
|
+
import { ConsensusParams } from "../types/params";
|
|
8
8
|
import { Header } from "../types/types";
|
|
9
9
|
|
|
10
10
|
export const protobufPackage = "tendermint.abci";
|
|
@@ -42,40 +42,40 @@ export function checkTxTypeToJSON(object: CheckTxType): string {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
export enum
|
|
45
|
+
export enum MisbehaviorType {
|
|
46
46
|
UNKNOWN = 0,
|
|
47
47
|
DUPLICATE_VOTE = 1,
|
|
48
48
|
LIGHT_CLIENT_ATTACK = 2,
|
|
49
49
|
UNRECOGNIZED = -1,
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
export function
|
|
52
|
+
export function misbehaviorTypeFromJSON(object: any): MisbehaviorType {
|
|
53
53
|
switch (object) {
|
|
54
54
|
case 0:
|
|
55
55
|
case "UNKNOWN":
|
|
56
|
-
return
|
|
56
|
+
return MisbehaviorType.UNKNOWN;
|
|
57
57
|
case 1:
|
|
58
58
|
case "DUPLICATE_VOTE":
|
|
59
|
-
return
|
|
59
|
+
return MisbehaviorType.DUPLICATE_VOTE;
|
|
60
60
|
case 2:
|
|
61
61
|
case "LIGHT_CLIENT_ATTACK":
|
|
62
|
-
return
|
|
62
|
+
return MisbehaviorType.LIGHT_CLIENT_ATTACK;
|
|
63
63
|
case -1:
|
|
64
64
|
case "UNRECOGNIZED":
|
|
65
65
|
default:
|
|
66
|
-
return
|
|
66
|
+
return MisbehaviorType.UNRECOGNIZED;
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
-
export function
|
|
70
|
+
export function misbehaviorTypeToJSON(object: MisbehaviorType): string {
|
|
71
71
|
switch (object) {
|
|
72
|
-
case
|
|
72
|
+
case MisbehaviorType.UNKNOWN:
|
|
73
73
|
return "UNKNOWN";
|
|
74
|
-
case
|
|
74
|
+
case MisbehaviorType.DUPLICATE_VOTE:
|
|
75
75
|
return "DUPLICATE_VOTE";
|
|
76
|
-
case
|
|
76
|
+
case MisbehaviorType.LIGHT_CLIENT_ATTACK:
|
|
77
77
|
return "LIGHT_CLIENT_ATTACK";
|
|
78
|
-
case
|
|
78
|
+
case MisbehaviorType.UNRECOGNIZED:
|
|
79
79
|
default:
|
|
80
80
|
return "UNRECOGNIZED";
|
|
81
81
|
}
|
|
@@ -85,7 +85,6 @@ export interface Request {
|
|
|
85
85
|
echo: RequestEcho | undefined;
|
|
86
86
|
flush: RequestFlush | undefined;
|
|
87
87
|
info: RequestInfo | undefined;
|
|
88
|
-
setOption: RequestSetOption | undefined;
|
|
89
88
|
initChain: RequestInitChain | undefined;
|
|
90
89
|
query: RequestQuery | undefined;
|
|
91
90
|
beginBlock: RequestBeginBlock | undefined;
|
|
@@ -97,6 +96,8 @@ export interface Request {
|
|
|
97
96
|
offerSnapshot: RequestOfferSnapshot | undefined;
|
|
98
97
|
loadSnapshotChunk: RequestLoadSnapshotChunk | undefined;
|
|
99
98
|
applySnapshotChunk: RequestApplySnapshotChunk | undefined;
|
|
99
|
+
prepareProposal: RequestPrepareProposal | undefined;
|
|
100
|
+
processProposal: RequestProcessProposal | undefined;
|
|
100
101
|
}
|
|
101
102
|
|
|
102
103
|
export interface RequestEcho {
|
|
@@ -110,12 +111,7 @@ export interface RequestInfo {
|
|
|
110
111
|
version: string;
|
|
111
112
|
blockVersion: number;
|
|
112
113
|
p2pVersion: number;
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
/** nondeterministic */
|
|
116
|
-
export interface RequestSetOption {
|
|
117
|
-
key: string;
|
|
118
|
-
value: string;
|
|
114
|
+
abciVersion: string;
|
|
119
115
|
}
|
|
120
116
|
|
|
121
117
|
export interface RequestInitChain {
|
|
@@ -137,8 +133,8 @@ export interface RequestQuery {
|
|
|
137
133
|
export interface RequestBeginBlock {
|
|
138
134
|
hash: Uint8Array;
|
|
139
135
|
header: Header | undefined;
|
|
140
|
-
lastCommitInfo:
|
|
141
|
-
byzantineValidators:
|
|
136
|
+
lastCommitInfo: CommitInfo | undefined;
|
|
137
|
+
byzantineValidators: Misbehavior[];
|
|
142
138
|
}
|
|
143
139
|
|
|
144
140
|
export interface RequestCheckTx {
|
|
@@ -185,12 +181,41 @@ export interface RequestApplySnapshotChunk {
|
|
|
185
181
|
sender: string;
|
|
186
182
|
}
|
|
187
183
|
|
|
184
|
+
export interface RequestPrepareProposal {
|
|
185
|
+
/** the modified transactions cannot exceed this size. */
|
|
186
|
+
maxTxBytes: number;
|
|
187
|
+
/**
|
|
188
|
+
* txs is an array of transactions that will be included in a block,
|
|
189
|
+
* sent to the app for possible modifications.
|
|
190
|
+
*/
|
|
191
|
+
txs: Uint8Array[];
|
|
192
|
+
localLastCommit: ExtendedCommitInfo | undefined;
|
|
193
|
+
misbehavior: Misbehavior[];
|
|
194
|
+
height: number;
|
|
195
|
+
time: Date | undefined;
|
|
196
|
+
nextValidatorsHash: Uint8Array;
|
|
197
|
+
/** address of the public key of the validator proposing the block. */
|
|
198
|
+
proposerAddress: Uint8Array;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
export interface RequestProcessProposal {
|
|
202
|
+
txs: Uint8Array[];
|
|
203
|
+
proposedLastCommit: CommitInfo | undefined;
|
|
204
|
+
misbehavior: Misbehavior[];
|
|
205
|
+
/** hash is the merkle root hash of the fields of the proposed block. */
|
|
206
|
+
hash: Uint8Array;
|
|
207
|
+
height: number;
|
|
208
|
+
time: Date | undefined;
|
|
209
|
+
nextValidatorsHash: Uint8Array;
|
|
210
|
+
/** address of the public key of the original proposer of the block. */
|
|
211
|
+
proposerAddress: Uint8Array;
|
|
212
|
+
}
|
|
213
|
+
|
|
188
214
|
export interface Response {
|
|
189
215
|
exception: ResponseException | undefined;
|
|
190
216
|
echo: ResponseEcho | undefined;
|
|
191
217
|
flush: ResponseFlush | undefined;
|
|
192
218
|
info: ResponseInfo | undefined;
|
|
193
|
-
setOption: ResponseSetOption | undefined;
|
|
194
219
|
initChain: ResponseInitChain | undefined;
|
|
195
220
|
query: ResponseQuery | undefined;
|
|
196
221
|
beginBlock: ResponseBeginBlock | undefined;
|
|
@@ -202,6 +227,8 @@ export interface Response {
|
|
|
202
227
|
offerSnapshot: ResponseOfferSnapshot | undefined;
|
|
203
228
|
loadSnapshotChunk: ResponseLoadSnapshotChunk | undefined;
|
|
204
229
|
applySnapshotChunk: ResponseApplySnapshotChunk | undefined;
|
|
230
|
+
prepareProposal: ResponsePrepareProposal | undefined;
|
|
231
|
+
processProposal: ResponseProcessProposal | undefined;
|
|
205
232
|
}
|
|
206
233
|
|
|
207
234
|
/** nondeterministic */
|
|
@@ -224,14 +251,6 @@ export interface ResponseInfo {
|
|
|
224
251
|
lastBlockAppHash: Uint8Array;
|
|
225
252
|
}
|
|
226
253
|
|
|
227
|
-
/** nondeterministic */
|
|
228
|
-
export interface ResponseSetOption {
|
|
229
|
-
code: number;
|
|
230
|
-
/** bytes data = 2; */
|
|
231
|
-
log: string;
|
|
232
|
-
info: string;
|
|
233
|
-
}
|
|
234
|
-
|
|
235
254
|
export interface ResponseInitChain {
|
|
236
255
|
consensusParams: ConsensusParams | undefined;
|
|
237
256
|
validators: ValidatorUpdate[];
|
|
@@ -270,7 +289,7 @@ export interface ResponseCheckTx {
|
|
|
270
289
|
sender: string;
|
|
271
290
|
priority: number;
|
|
272
291
|
/**
|
|
273
|
-
* mempool_error is set by
|
|
292
|
+
* mempool_error is set by CometBFT.
|
|
274
293
|
* ABCI applictions creating a ResponseCheckTX should not set mempool_error.
|
|
275
294
|
*/
|
|
276
295
|
mempoolError: string;
|
|
@@ -448,30 +467,68 @@ export function responseApplySnapshotChunk_ResultToJSON(object: ResponseApplySna
|
|
|
448
467
|
}
|
|
449
468
|
}
|
|
450
469
|
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
export interface
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
470
|
+
export interface ResponsePrepareProposal {
|
|
471
|
+
txs: Uint8Array[];
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
export interface ResponseProcessProposal {
|
|
475
|
+
status: ResponseProcessProposal_ProposalStatus;
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
export enum ResponseProcessProposal_ProposalStatus {
|
|
479
|
+
UNKNOWN = 0,
|
|
480
|
+
ACCEPT = 1,
|
|
481
|
+
REJECT = 2,
|
|
482
|
+
UNRECOGNIZED = -1,
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
export function responseProcessProposal_ProposalStatusFromJSON(object: any): ResponseProcessProposal_ProposalStatus {
|
|
486
|
+
switch (object) {
|
|
487
|
+
case 0:
|
|
488
|
+
case "UNKNOWN":
|
|
489
|
+
return ResponseProcessProposal_ProposalStatus.UNKNOWN;
|
|
490
|
+
case 1:
|
|
491
|
+
case "ACCEPT":
|
|
492
|
+
return ResponseProcessProposal_ProposalStatus.ACCEPT;
|
|
493
|
+
case 2:
|
|
494
|
+
case "REJECT":
|
|
495
|
+
return ResponseProcessProposal_ProposalStatus.REJECT;
|
|
496
|
+
case -1:
|
|
497
|
+
case "UNRECOGNIZED":
|
|
498
|
+
default:
|
|
499
|
+
return ResponseProcessProposal_ProposalStatus.UNRECOGNIZED;
|
|
500
|
+
}
|
|
460
501
|
}
|
|
461
502
|
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
503
|
+
export function responseProcessProposal_ProposalStatusToJSON(object: ResponseProcessProposal_ProposalStatus): string {
|
|
504
|
+
switch (object) {
|
|
505
|
+
case ResponseProcessProposal_ProposalStatus.UNKNOWN:
|
|
506
|
+
return "UNKNOWN";
|
|
507
|
+
case ResponseProcessProposal_ProposalStatus.ACCEPT:
|
|
508
|
+
return "ACCEPT";
|
|
509
|
+
case ResponseProcessProposal_ProposalStatus.REJECT:
|
|
510
|
+
return "REJECT";
|
|
511
|
+
case ResponseProcessProposal_ProposalStatus.UNRECOGNIZED:
|
|
512
|
+
default:
|
|
513
|
+
return "UNRECOGNIZED";
|
|
514
|
+
}
|
|
468
515
|
}
|
|
469
516
|
|
|
470
|
-
export interface
|
|
517
|
+
export interface CommitInfo {
|
|
471
518
|
round: number;
|
|
472
519
|
votes: VoteInfo[];
|
|
473
520
|
}
|
|
474
521
|
|
|
522
|
+
export interface ExtendedCommitInfo {
|
|
523
|
+
/** The round at which the block proposer decided in the previous height. */
|
|
524
|
+
round: number;
|
|
525
|
+
/**
|
|
526
|
+
* List of validators' addresses in the last validator set with their voting
|
|
527
|
+
* information, including vote extensions.
|
|
528
|
+
*/
|
|
529
|
+
votes: ExtendedVoteInfo[];
|
|
530
|
+
}
|
|
531
|
+
|
|
475
532
|
/**
|
|
476
533
|
* Event allows application developers to attach additional information to
|
|
477
534
|
* ResponseBeginBlock, ResponseEndBlock, ResponseCheckTx and ResponseDeliverTx.
|
|
@@ -484,8 +541,8 @@ export interface Event {
|
|
|
484
541
|
|
|
485
542
|
/** EventAttribute is a single key-value pair, associated with an event. */
|
|
486
543
|
export interface EventAttribute {
|
|
487
|
-
key:
|
|
488
|
-
value:
|
|
544
|
+
key: string;
|
|
545
|
+
value: string;
|
|
489
546
|
/** nondeterministic */
|
|
490
547
|
index: boolean;
|
|
491
548
|
}
|
|
@@ -522,8 +579,15 @@ export interface VoteInfo {
|
|
|
522
579
|
signedLastBlock: boolean;
|
|
523
580
|
}
|
|
524
581
|
|
|
525
|
-
export interface
|
|
526
|
-
|
|
582
|
+
export interface ExtendedVoteInfo {
|
|
583
|
+
validator: Validator | undefined;
|
|
584
|
+
signedLastBlock: boolean;
|
|
585
|
+
/** Reserved for future use */
|
|
586
|
+
voteExtension: Uint8Array;
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
export interface Misbehavior {
|
|
590
|
+
type: MisbehaviorType;
|
|
527
591
|
/** The offending validator */
|
|
528
592
|
validator:
|
|
529
593
|
| Validator
|
|
@@ -560,7 +624,6 @@ function createBaseRequest(): Request {
|
|
|
560
624
|
echo: undefined,
|
|
561
625
|
flush: undefined,
|
|
562
626
|
info: undefined,
|
|
563
|
-
setOption: undefined,
|
|
564
627
|
initChain: undefined,
|
|
565
628
|
query: undefined,
|
|
566
629
|
beginBlock: undefined,
|
|
@@ -572,6 +635,8 @@ function createBaseRequest(): Request {
|
|
|
572
635
|
offerSnapshot: undefined,
|
|
573
636
|
loadSnapshotChunk: undefined,
|
|
574
637
|
applySnapshotChunk: undefined,
|
|
638
|
+
prepareProposal: undefined,
|
|
639
|
+
processProposal: undefined,
|
|
575
640
|
};
|
|
576
641
|
}
|
|
577
642
|
|
|
@@ -586,9 +651,6 @@ export const Request = {
|
|
|
586
651
|
if (message.info !== undefined) {
|
|
587
652
|
RequestInfo.encode(message.info, writer.uint32(26).fork()).ldelim();
|
|
588
653
|
}
|
|
589
|
-
if (message.setOption !== undefined) {
|
|
590
|
-
RequestSetOption.encode(message.setOption, writer.uint32(34).fork()).ldelim();
|
|
591
|
-
}
|
|
592
654
|
if (message.initChain !== undefined) {
|
|
593
655
|
RequestInitChain.encode(message.initChain, writer.uint32(42).fork()).ldelim();
|
|
594
656
|
}
|
|
@@ -622,6 +684,12 @@ export const Request = {
|
|
|
622
684
|
if (message.applySnapshotChunk !== undefined) {
|
|
623
685
|
RequestApplySnapshotChunk.encode(message.applySnapshotChunk, writer.uint32(122).fork()).ldelim();
|
|
624
686
|
}
|
|
687
|
+
if (message.prepareProposal !== undefined) {
|
|
688
|
+
RequestPrepareProposal.encode(message.prepareProposal, writer.uint32(130).fork()).ldelim();
|
|
689
|
+
}
|
|
690
|
+
if (message.processProposal !== undefined) {
|
|
691
|
+
RequestProcessProposal.encode(message.processProposal, writer.uint32(138).fork()).ldelim();
|
|
692
|
+
}
|
|
625
693
|
return writer;
|
|
626
694
|
},
|
|
627
695
|
|
|
@@ -641,9 +709,6 @@ export const Request = {
|
|
|
641
709
|
case 3:
|
|
642
710
|
message.info = RequestInfo.decode(reader, reader.uint32());
|
|
643
711
|
break;
|
|
644
|
-
case 4:
|
|
645
|
-
message.setOption = RequestSetOption.decode(reader, reader.uint32());
|
|
646
|
-
break;
|
|
647
712
|
case 5:
|
|
648
713
|
message.initChain = RequestInitChain.decode(reader, reader.uint32());
|
|
649
714
|
break;
|
|
@@ -677,6 +742,12 @@ export const Request = {
|
|
|
677
742
|
case 15:
|
|
678
743
|
message.applySnapshotChunk = RequestApplySnapshotChunk.decode(reader, reader.uint32());
|
|
679
744
|
break;
|
|
745
|
+
case 16:
|
|
746
|
+
message.prepareProposal = RequestPrepareProposal.decode(reader, reader.uint32());
|
|
747
|
+
break;
|
|
748
|
+
case 17:
|
|
749
|
+
message.processProposal = RequestProcessProposal.decode(reader, reader.uint32());
|
|
750
|
+
break;
|
|
680
751
|
default:
|
|
681
752
|
reader.skipType(tag & 7);
|
|
682
753
|
break;
|
|
@@ -690,7 +761,6 @@ export const Request = {
|
|
|
690
761
|
echo: isSet(object.echo) ? RequestEcho.fromJSON(object.echo) : undefined,
|
|
691
762
|
flush: isSet(object.flush) ? RequestFlush.fromJSON(object.flush) : undefined,
|
|
692
763
|
info: isSet(object.info) ? RequestInfo.fromJSON(object.info) : undefined,
|
|
693
|
-
setOption: isSet(object.setOption) ? RequestSetOption.fromJSON(object.setOption) : undefined,
|
|
694
764
|
initChain: isSet(object.initChain) ? RequestInitChain.fromJSON(object.initChain) : undefined,
|
|
695
765
|
query: isSet(object.query) ? RequestQuery.fromJSON(object.query) : undefined,
|
|
696
766
|
beginBlock: isSet(object.beginBlock) ? RequestBeginBlock.fromJSON(object.beginBlock) : undefined,
|
|
@@ -706,6 +776,12 @@ export const Request = {
|
|
|
706
776
|
applySnapshotChunk: isSet(object.applySnapshotChunk)
|
|
707
777
|
? RequestApplySnapshotChunk.fromJSON(object.applySnapshotChunk)
|
|
708
778
|
: undefined,
|
|
779
|
+
prepareProposal: isSet(object.prepareProposal)
|
|
780
|
+
? RequestPrepareProposal.fromJSON(object.prepareProposal)
|
|
781
|
+
: undefined,
|
|
782
|
+
processProposal: isSet(object.processProposal)
|
|
783
|
+
? RequestProcessProposal.fromJSON(object.processProposal)
|
|
784
|
+
: undefined,
|
|
709
785
|
};
|
|
710
786
|
},
|
|
711
787
|
|
|
@@ -714,8 +790,6 @@ export const Request = {
|
|
|
714
790
|
message.echo !== undefined && (obj.echo = message.echo ? RequestEcho.toJSON(message.echo) : undefined);
|
|
715
791
|
message.flush !== undefined && (obj.flush = message.flush ? RequestFlush.toJSON(message.flush) : undefined);
|
|
716
792
|
message.info !== undefined && (obj.info = message.info ? RequestInfo.toJSON(message.info) : undefined);
|
|
717
|
-
message.setOption !== undefined
|
|
718
|
-
&& (obj.setOption = message.setOption ? RequestSetOption.toJSON(message.setOption) : undefined);
|
|
719
793
|
message.initChain !== undefined
|
|
720
794
|
&& (obj.initChain = message.initChain ? RequestInitChain.toJSON(message.initChain) : undefined);
|
|
721
795
|
message.query !== undefined && (obj.query = message.query ? RequestQuery.toJSON(message.query) : undefined);
|
|
@@ -738,6 +812,12 @@ export const Request = {
|
|
|
738
812
|
message.applySnapshotChunk !== undefined && (obj.applySnapshotChunk = message.applySnapshotChunk
|
|
739
813
|
? RequestApplySnapshotChunk.toJSON(message.applySnapshotChunk)
|
|
740
814
|
: undefined);
|
|
815
|
+
message.prepareProposal !== undefined && (obj.prepareProposal = message.prepareProposal
|
|
816
|
+
? RequestPrepareProposal.toJSON(message.prepareProposal)
|
|
817
|
+
: undefined);
|
|
818
|
+
message.processProposal !== undefined && (obj.processProposal = message.processProposal
|
|
819
|
+
? RequestProcessProposal.toJSON(message.processProposal)
|
|
820
|
+
: undefined);
|
|
741
821
|
return obj;
|
|
742
822
|
},
|
|
743
823
|
|
|
@@ -752,9 +832,6 @@ export const Request = {
|
|
|
752
832
|
message.info = (object.info !== undefined && object.info !== null)
|
|
753
833
|
? RequestInfo.fromPartial(object.info)
|
|
754
834
|
: undefined;
|
|
755
|
-
message.setOption = (object.setOption !== undefined && object.setOption !== null)
|
|
756
|
-
? RequestSetOption.fromPartial(object.setOption)
|
|
757
|
-
: undefined;
|
|
758
835
|
message.initChain = (object.initChain !== undefined && object.initChain !== null)
|
|
759
836
|
? RequestInitChain.fromPartial(object.initChain)
|
|
760
837
|
: undefined;
|
|
@@ -788,6 +865,12 @@ export const Request = {
|
|
|
788
865
|
message.applySnapshotChunk = (object.applySnapshotChunk !== undefined && object.applySnapshotChunk !== null)
|
|
789
866
|
? RequestApplySnapshotChunk.fromPartial(object.applySnapshotChunk)
|
|
790
867
|
: undefined;
|
|
868
|
+
message.prepareProposal = (object.prepareProposal !== undefined && object.prepareProposal !== null)
|
|
869
|
+
? RequestPrepareProposal.fromPartial(object.prepareProposal)
|
|
870
|
+
: undefined;
|
|
871
|
+
message.processProposal = (object.processProposal !== undefined && object.processProposal !== null)
|
|
872
|
+
? RequestProcessProposal.fromPartial(object.processProposal)
|
|
873
|
+
: undefined;
|
|
791
874
|
return message;
|
|
792
875
|
},
|
|
793
876
|
};
|
|
@@ -879,7 +962,7 @@ export const RequestFlush = {
|
|
|
879
962
|
};
|
|
880
963
|
|
|
881
964
|
function createBaseRequestInfo(): RequestInfo {
|
|
882
|
-
return { version: "", blockVersion: 0, p2pVersion: 0 };
|
|
965
|
+
return { version: "", blockVersion: 0, p2pVersion: 0, abciVersion: "" };
|
|
883
966
|
}
|
|
884
967
|
|
|
885
968
|
export const RequestInfo = {
|
|
@@ -893,6 +976,9 @@ export const RequestInfo = {
|
|
|
893
976
|
if (message.p2pVersion !== 0) {
|
|
894
977
|
writer.uint32(24).uint64(message.p2pVersion);
|
|
895
978
|
}
|
|
979
|
+
if (message.abciVersion !== "") {
|
|
980
|
+
writer.uint32(34).string(message.abciVersion);
|
|
981
|
+
}
|
|
896
982
|
return writer;
|
|
897
983
|
},
|
|
898
984
|
|
|
@@ -912,6 +998,9 @@ export const RequestInfo = {
|
|
|
912
998
|
case 3:
|
|
913
999
|
message.p2pVersion = longToNumber(reader.uint64() as Long);
|
|
914
1000
|
break;
|
|
1001
|
+
case 4:
|
|
1002
|
+
message.abciVersion = reader.string();
|
|
1003
|
+
break;
|
|
915
1004
|
default:
|
|
916
1005
|
reader.skipType(tag & 7);
|
|
917
1006
|
break;
|
|
@@ -925,6 +1014,7 @@ export const RequestInfo = {
|
|
|
925
1014
|
version: isSet(object.version) ? String(object.version) : "",
|
|
926
1015
|
blockVersion: isSet(object.blockVersion) ? Number(object.blockVersion) : 0,
|
|
927
1016
|
p2pVersion: isSet(object.p2pVersion) ? Number(object.p2pVersion) : 0,
|
|
1017
|
+
abciVersion: isSet(object.abciVersion) ? String(object.abciVersion) : "",
|
|
928
1018
|
};
|
|
929
1019
|
},
|
|
930
1020
|
|
|
@@ -933,6 +1023,7 @@ export const RequestInfo = {
|
|
|
933
1023
|
message.version !== undefined && (obj.version = message.version);
|
|
934
1024
|
message.blockVersion !== undefined && (obj.blockVersion = Math.round(message.blockVersion));
|
|
935
1025
|
message.p2pVersion !== undefined && (obj.p2pVersion = Math.round(message.p2pVersion));
|
|
1026
|
+
message.abciVersion !== undefined && (obj.abciVersion = message.abciVersion);
|
|
936
1027
|
return obj;
|
|
937
1028
|
},
|
|
938
1029
|
|
|
@@ -941,61 +1032,7 @@ export const RequestInfo = {
|
|
|
941
1032
|
message.version = object.version ?? "";
|
|
942
1033
|
message.blockVersion = object.blockVersion ?? 0;
|
|
943
1034
|
message.p2pVersion = object.p2pVersion ?? 0;
|
|
944
|
-
|
|
945
|
-
},
|
|
946
|
-
};
|
|
947
|
-
|
|
948
|
-
function createBaseRequestSetOption(): RequestSetOption {
|
|
949
|
-
return { key: "", value: "" };
|
|
950
|
-
}
|
|
951
|
-
|
|
952
|
-
export const RequestSetOption = {
|
|
953
|
-
encode(message: RequestSetOption, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
954
|
-
if (message.key !== "") {
|
|
955
|
-
writer.uint32(10).string(message.key);
|
|
956
|
-
}
|
|
957
|
-
if (message.value !== "") {
|
|
958
|
-
writer.uint32(18).string(message.value);
|
|
959
|
-
}
|
|
960
|
-
return writer;
|
|
961
|
-
},
|
|
962
|
-
|
|
963
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): RequestSetOption {
|
|
964
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
965
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
966
|
-
const message = createBaseRequestSetOption();
|
|
967
|
-
while (reader.pos < end) {
|
|
968
|
-
const tag = reader.uint32();
|
|
969
|
-
switch (tag >>> 3) {
|
|
970
|
-
case 1:
|
|
971
|
-
message.key = reader.string();
|
|
972
|
-
break;
|
|
973
|
-
case 2:
|
|
974
|
-
message.value = reader.string();
|
|
975
|
-
break;
|
|
976
|
-
default:
|
|
977
|
-
reader.skipType(tag & 7);
|
|
978
|
-
break;
|
|
979
|
-
}
|
|
980
|
-
}
|
|
981
|
-
return message;
|
|
982
|
-
},
|
|
983
|
-
|
|
984
|
-
fromJSON(object: any): RequestSetOption {
|
|
985
|
-
return { key: isSet(object.key) ? String(object.key) : "", value: isSet(object.value) ? String(object.value) : "" };
|
|
986
|
-
},
|
|
987
|
-
|
|
988
|
-
toJSON(message: RequestSetOption): unknown {
|
|
989
|
-
const obj: any = {};
|
|
990
|
-
message.key !== undefined && (obj.key = message.key);
|
|
991
|
-
message.value !== undefined && (obj.value = message.value);
|
|
992
|
-
return obj;
|
|
993
|
-
},
|
|
994
|
-
|
|
995
|
-
fromPartial<I extends Exact<DeepPartial<RequestSetOption>, I>>(object: I): RequestSetOption {
|
|
996
|
-
const message = createBaseRequestSetOption();
|
|
997
|
-
message.key = object.key ?? "";
|
|
998
|
-
message.value = object.value ?? "";
|
|
1035
|
+
message.abciVersion = object.abciVersion ?? "";
|
|
999
1036
|
return message;
|
|
1000
1037
|
},
|
|
1001
1038
|
};
|
|
@@ -1203,10 +1240,10 @@ export const RequestBeginBlock = {
|
|
|
1203
1240
|
Header.encode(message.header, writer.uint32(18).fork()).ldelim();
|
|
1204
1241
|
}
|
|
1205
1242
|
if (message.lastCommitInfo !== undefined) {
|
|
1206
|
-
|
|
1243
|
+
CommitInfo.encode(message.lastCommitInfo, writer.uint32(26).fork()).ldelim();
|
|
1207
1244
|
}
|
|
1208
1245
|
for (const v of message.byzantineValidators) {
|
|
1209
|
-
|
|
1246
|
+
Misbehavior.encode(v!, writer.uint32(34).fork()).ldelim();
|
|
1210
1247
|
}
|
|
1211
1248
|
return writer;
|
|
1212
1249
|
},
|
|
@@ -1225,10 +1262,10 @@ export const RequestBeginBlock = {
|
|
|
1225
1262
|
message.header = Header.decode(reader, reader.uint32());
|
|
1226
1263
|
break;
|
|
1227
1264
|
case 3:
|
|
1228
|
-
message.lastCommitInfo =
|
|
1265
|
+
message.lastCommitInfo = CommitInfo.decode(reader, reader.uint32());
|
|
1229
1266
|
break;
|
|
1230
1267
|
case 4:
|
|
1231
|
-
message.byzantineValidators.push(
|
|
1268
|
+
message.byzantineValidators.push(Misbehavior.decode(reader, reader.uint32()));
|
|
1232
1269
|
break;
|
|
1233
1270
|
default:
|
|
1234
1271
|
reader.skipType(tag & 7);
|
|
@@ -1242,9 +1279,9 @@ export const RequestBeginBlock = {
|
|
|
1242
1279
|
return {
|
|
1243
1280
|
hash: isSet(object.hash) ? bytesFromBase64(object.hash) : new Uint8Array(),
|
|
1244
1281
|
header: isSet(object.header) ? Header.fromJSON(object.header) : undefined,
|
|
1245
|
-
lastCommitInfo: isSet(object.lastCommitInfo) ?
|
|
1282
|
+
lastCommitInfo: isSet(object.lastCommitInfo) ? CommitInfo.fromJSON(object.lastCommitInfo) : undefined,
|
|
1246
1283
|
byzantineValidators: Array.isArray(object?.byzantineValidators)
|
|
1247
|
-
? object.byzantineValidators.map((e: any) =>
|
|
1284
|
+
? object.byzantineValidators.map((e: any) => Misbehavior.fromJSON(e))
|
|
1248
1285
|
: [],
|
|
1249
1286
|
};
|
|
1250
1287
|
},
|
|
@@ -1255,9 +1292,9 @@ export const RequestBeginBlock = {
|
|
|
1255
1292
|
&& (obj.hash = base64FromBytes(message.hash !== undefined ? message.hash : new Uint8Array()));
|
|
1256
1293
|
message.header !== undefined && (obj.header = message.header ? Header.toJSON(message.header) : undefined);
|
|
1257
1294
|
message.lastCommitInfo !== undefined
|
|
1258
|
-
&& (obj.lastCommitInfo = message.lastCommitInfo ?
|
|
1295
|
+
&& (obj.lastCommitInfo = message.lastCommitInfo ? CommitInfo.toJSON(message.lastCommitInfo) : undefined);
|
|
1259
1296
|
if (message.byzantineValidators) {
|
|
1260
|
-
obj.byzantineValidators = message.byzantineValidators.map((e) => e ?
|
|
1297
|
+
obj.byzantineValidators = message.byzantineValidators.map((e) => e ? Misbehavior.toJSON(e) : undefined);
|
|
1261
1298
|
} else {
|
|
1262
1299
|
obj.byzantineValidators = [];
|
|
1263
1300
|
}
|
|
@@ -1271,9 +1308,9 @@ export const RequestBeginBlock = {
|
|
|
1271
1308
|
? Header.fromPartial(object.header)
|
|
1272
1309
|
: undefined;
|
|
1273
1310
|
message.lastCommitInfo = (object.lastCommitInfo !== undefined && object.lastCommitInfo !== null)
|
|
1274
|
-
?
|
|
1311
|
+
? CommitInfo.fromPartial(object.lastCommitInfo)
|
|
1275
1312
|
: undefined;
|
|
1276
|
-
message.byzantineValidators = object.byzantineValidators?.map((e) =>
|
|
1313
|
+
message.byzantineValidators = object.byzantineValidators?.map((e) => Misbehavior.fromPartial(e)) || [];
|
|
1277
1314
|
return message;
|
|
1278
1315
|
},
|
|
1279
1316
|
};
|
|
@@ -1704,13 +1741,300 @@ export const RequestApplySnapshotChunk = {
|
|
|
1704
1741
|
},
|
|
1705
1742
|
};
|
|
1706
1743
|
|
|
1744
|
+
function createBaseRequestPrepareProposal(): RequestPrepareProposal {
|
|
1745
|
+
return {
|
|
1746
|
+
maxTxBytes: 0,
|
|
1747
|
+
txs: [],
|
|
1748
|
+
localLastCommit: undefined,
|
|
1749
|
+
misbehavior: [],
|
|
1750
|
+
height: 0,
|
|
1751
|
+
time: undefined,
|
|
1752
|
+
nextValidatorsHash: new Uint8Array(),
|
|
1753
|
+
proposerAddress: new Uint8Array(),
|
|
1754
|
+
};
|
|
1755
|
+
}
|
|
1756
|
+
|
|
1757
|
+
export const RequestPrepareProposal = {
|
|
1758
|
+
encode(message: RequestPrepareProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
1759
|
+
if (message.maxTxBytes !== 0) {
|
|
1760
|
+
writer.uint32(8).int64(message.maxTxBytes);
|
|
1761
|
+
}
|
|
1762
|
+
for (const v of message.txs) {
|
|
1763
|
+
writer.uint32(18).bytes(v!);
|
|
1764
|
+
}
|
|
1765
|
+
if (message.localLastCommit !== undefined) {
|
|
1766
|
+
ExtendedCommitInfo.encode(message.localLastCommit, writer.uint32(26).fork()).ldelim();
|
|
1767
|
+
}
|
|
1768
|
+
for (const v of message.misbehavior) {
|
|
1769
|
+
Misbehavior.encode(v!, writer.uint32(34).fork()).ldelim();
|
|
1770
|
+
}
|
|
1771
|
+
if (message.height !== 0) {
|
|
1772
|
+
writer.uint32(40).int64(message.height);
|
|
1773
|
+
}
|
|
1774
|
+
if (message.time !== undefined) {
|
|
1775
|
+
Timestamp.encode(toTimestamp(message.time), writer.uint32(50).fork()).ldelim();
|
|
1776
|
+
}
|
|
1777
|
+
if (message.nextValidatorsHash.length !== 0) {
|
|
1778
|
+
writer.uint32(58).bytes(message.nextValidatorsHash);
|
|
1779
|
+
}
|
|
1780
|
+
if (message.proposerAddress.length !== 0) {
|
|
1781
|
+
writer.uint32(66).bytes(message.proposerAddress);
|
|
1782
|
+
}
|
|
1783
|
+
return writer;
|
|
1784
|
+
},
|
|
1785
|
+
|
|
1786
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): RequestPrepareProposal {
|
|
1787
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
1788
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1789
|
+
const message = createBaseRequestPrepareProposal();
|
|
1790
|
+
while (reader.pos < end) {
|
|
1791
|
+
const tag = reader.uint32();
|
|
1792
|
+
switch (tag >>> 3) {
|
|
1793
|
+
case 1:
|
|
1794
|
+
message.maxTxBytes = longToNumber(reader.int64() as Long);
|
|
1795
|
+
break;
|
|
1796
|
+
case 2:
|
|
1797
|
+
message.txs.push(reader.bytes());
|
|
1798
|
+
break;
|
|
1799
|
+
case 3:
|
|
1800
|
+
message.localLastCommit = ExtendedCommitInfo.decode(reader, reader.uint32());
|
|
1801
|
+
break;
|
|
1802
|
+
case 4:
|
|
1803
|
+
message.misbehavior.push(Misbehavior.decode(reader, reader.uint32()));
|
|
1804
|
+
break;
|
|
1805
|
+
case 5:
|
|
1806
|
+
message.height = longToNumber(reader.int64() as Long);
|
|
1807
|
+
break;
|
|
1808
|
+
case 6:
|
|
1809
|
+
message.time = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
1810
|
+
break;
|
|
1811
|
+
case 7:
|
|
1812
|
+
message.nextValidatorsHash = reader.bytes();
|
|
1813
|
+
break;
|
|
1814
|
+
case 8:
|
|
1815
|
+
message.proposerAddress = reader.bytes();
|
|
1816
|
+
break;
|
|
1817
|
+
default:
|
|
1818
|
+
reader.skipType(tag & 7);
|
|
1819
|
+
break;
|
|
1820
|
+
}
|
|
1821
|
+
}
|
|
1822
|
+
return message;
|
|
1823
|
+
},
|
|
1824
|
+
|
|
1825
|
+
fromJSON(object: any): RequestPrepareProposal {
|
|
1826
|
+
return {
|
|
1827
|
+
maxTxBytes: isSet(object.maxTxBytes) ? Number(object.maxTxBytes) : 0,
|
|
1828
|
+
txs: Array.isArray(object?.txs) ? object.txs.map((e: any) => bytesFromBase64(e)) : [],
|
|
1829
|
+
localLastCommit: isSet(object.localLastCommit) ? ExtendedCommitInfo.fromJSON(object.localLastCommit) : undefined,
|
|
1830
|
+
misbehavior: Array.isArray(object?.misbehavior)
|
|
1831
|
+
? object.misbehavior.map((e: any) => Misbehavior.fromJSON(e))
|
|
1832
|
+
: [],
|
|
1833
|
+
height: isSet(object.height) ? Number(object.height) : 0,
|
|
1834
|
+
time: isSet(object.time) ? fromJsonTimestamp(object.time) : undefined,
|
|
1835
|
+
nextValidatorsHash: isSet(object.nextValidatorsHash)
|
|
1836
|
+
? bytesFromBase64(object.nextValidatorsHash)
|
|
1837
|
+
: new Uint8Array(),
|
|
1838
|
+
proposerAddress: isSet(object.proposerAddress) ? bytesFromBase64(object.proposerAddress) : new Uint8Array(),
|
|
1839
|
+
};
|
|
1840
|
+
},
|
|
1841
|
+
|
|
1842
|
+
toJSON(message: RequestPrepareProposal): unknown {
|
|
1843
|
+
const obj: any = {};
|
|
1844
|
+
message.maxTxBytes !== undefined && (obj.maxTxBytes = Math.round(message.maxTxBytes));
|
|
1845
|
+
if (message.txs) {
|
|
1846
|
+
obj.txs = message.txs.map((e) => base64FromBytes(e !== undefined ? e : new Uint8Array()));
|
|
1847
|
+
} else {
|
|
1848
|
+
obj.txs = [];
|
|
1849
|
+
}
|
|
1850
|
+
message.localLastCommit !== undefined
|
|
1851
|
+
&& (obj.localLastCommit = message.localLastCommit
|
|
1852
|
+
? ExtendedCommitInfo.toJSON(message.localLastCommit)
|
|
1853
|
+
: undefined);
|
|
1854
|
+
if (message.misbehavior) {
|
|
1855
|
+
obj.misbehavior = message.misbehavior.map((e) => e ? Misbehavior.toJSON(e) : undefined);
|
|
1856
|
+
} else {
|
|
1857
|
+
obj.misbehavior = [];
|
|
1858
|
+
}
|
|
1859
|
+
message.height !== undefined && (obj.height = Math.round(message.height));
|
|
1860
|
+
message.time !== undefined && (obj.time = message.time.toISOString());
|
|
1861
|
+
message.nextValidatorsHash !== undefined
|
|
1862
|
+
&& (obj.nextValidatorsHash = base64FromBytes(
|
|
1863
|
+
message.nextValidatorsHash !== undefined ? message.nextValidatorsHash : new Uint8Array(),
|
|
1864
|
+
));
|
|
1865
|
+
message.proposerAddress !== undefined
|
|
1866
|
+
&& (obj.proposerAddress = base64FromBytes(
|
|
1867
|
+
message.proposerAddress !== undefined ? message.proposerAddress : new Uint8Array(),
|
|
1868
|
+
));
|
|
1869
|
+
return obj;
|
|
1870
|
+
},
|
|
1871
|
+
|
|
1872
|
+
fromPartial<I extends Exact<DeepPartial<RequestPrepareProposal>, I>>(object: I): RequestPrepareProposal {
|
|
1873
|
+
const message = createBaseRequestPrepareProposal();
|
|
1874
|
+
message.maxTxBytes = object.maxTxBytes ?? 0;
|
|
1875
|
+
message.txs = object.txs?.map((e) => e) || [];
|
|
1876
|
+
message.localLastCommit = (object.localLastCommit !== undefined && object.localLastCommit !== null)
|
|
1877
|
+
? ExtendedCommitInfo.fromPartial(object.localLastCommit)
|
|
1878
|
+
: undefined;
|
|
1879
|
+
message.misbehavior = object.misbehavior?.map((e) => Misbehavior.fromPartial(e)) || [];
|
|
1880
|
+
message.height = object.height ?? 0;
|
|
1881
|
+
message.time = object.time ?? undefined;
|
|
1882
|
+
message.nextValidatorsHash = object.nextValidatorsHash ?? new Uint8Array();
|
|
1883
|
+
message.proposerAddress = object.proposerAddress ?? new Uint8Array();
|
|
1884
|
+
return message;
|
|
1885
|
+
},
|
|
1886
|
+
};
|
|
1887
|
+
|
|
1888
|
+
function createBaseRequestProcessProposal(): RequestProcessProposal {
|
|
1889
|
+
return {
|
|
1890
|
+
txs: [],
|
|
1891
|
+
proposedLastCommit: undefined,
|
|
1892
|
+
misbehavior: [],
|
|
1893
|
+
hash: new Uint8Array(),
|
|
1894
|
+
height: 0,
|
|
1895
|
+
time: undefined,
|
|
1896
|
+
nextValidatorsHash: new Uint8Array(),
|
|
1897
|
+
proposerAddress: new Uint8Array(),
|
|
1898
|
+
};
|
|
1899
|
+
}
|
|
1900
|
+
|
|
1901
|
+
export const RequestProcessProposal = {
|
|
1902
|
+
encode(message: RequestProcessProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
1903
|
+
for (const v of message.txs) {
|
|
1904
|
+
writer.uint32(10).bytes(v!);
|
|
1905
|
+
}
|
|
1906
|
+
if (message.proposedLastCommit !== undefined) {
|
|
1907
|
+
CommitInfo.encode(message.proposedLastCommit, writer.uint32(18).fork()).ldelim();
|
|
1908
|
+
}
|
|
1909
|
+
for (const v of message.misbehavior) {
|
|
1910
|
+
Misbehavior.encode(v!, writer.uint32(26).fork()).ldelim();
|
|
1911
|
+
}
|
|
1912
|
+
if (message.hash.length !== 0) {
|
|
1913
|
+
writer.uint32(34).bytes(message.hash);
|
|
1914
|
+
}
|
|
1915
|
+
if (message.height !== 0) {
|
|
1916
|
+
writer.uint32(40).int64(message.height);
|
|
1917
|
+
}
|
|
1918
|
+
if (message.time !== undefined) {
|
|
1919
|
+
Timestamp.encode(toTimestamp(message.time), writer.uint32(50).fork()).ldelim();
|
|
1920
|
+
}
|
|
1921
|
+
if (message.nextValidatorsHash.length !== 0) {
|
|
1922
|
+
writer.uint32(58).bytes(message.nextValidatorsHash);
|
|
1923
|
+
}
|
|
1924
|
+
if (message.proposerAddress.length !== 0) {
|
|
1925
|
+
writer.uint32(66).bytes(message.proposerAddress);
|
|
1926
|
+
}
|
|
1927
|
+
return writer;
|
|
1928
|
+
},
|
|
1929
|
+
|
|
1930
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): RequestProcessProposal {
|
|
1931
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
1932
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1933
|
+
const message = createBaseRequestProcessProposal();
|
|
1934
|
+
while (reader.pos < end) {
|
|
1935
|
+
const tag = reader.uint32();
|
|
1936
|
+
switch (tag >>> 3) {
|
|
1937
|
+
case 1:
|
|
1938
|
+
message.txs.push(reader.bytes());
|
|
1939
|
+
break;
|
|
1940
|
+
case 2:
|
|
1941
|
+
message.proposedLastCommit = CommitInfo.decode(reader, reader.uint32());
|
|
1942
|
+
break;
|
|
1943
|
+
case 3:
|
|
1944
|
+
message.misbehavior.push(Misbehavior.decode(reader, reader.uint32()));
|
|
1945
|
+
break;
|
|
1946
|
+
case 4:
|
|
1947
|
+
message.hash = reader.bytes();
|
|
1948
|
+
break;
|
|
1949
|
+
case 5:
|
|
1950
|
+
message.height = longToNumber(reader.int64() as Long);
|
|
1951
|
+
break;
|
|
1952
|
+
case 6:
|
|
1953
|
+
message.time = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
1954
|
+
break;
|
|
1955
|
+
case 7:
|
|
1956
|
+
message.nextValidatorsHash = reader.bytes();
|
|
1957
|
+
break;
|
|
1958
|
+
case 8:
|
|
1959
|
+
message.proposerAddress = reader.bytes();
|
|
1960
|
+
break;
|
|
1961
|
+
default:
|
|
1962
|
+
reader.skipType(tag & 7);
|
|
1963
|
+
break;
|
|
1964
|
+
}
|
|
1965
|
+
}
|
|
1966
|
+
return message;
|
|
1967
|
+
},
|
|
1968
|
+
|
|
1969
|
+
fromJSON(object: any): RequestProcessProposal {
|
|
1970
|
+
return {
|
|
1971
|
+
txs: Array.isArray(object?.txs) ? object.txs.map((e: any) => bytesFromBase64(e)) : [],
|
|
1972
|
+
proposedLastCommit: isSet(object.proposedLastCommit) ? CommitInfo.fromJSON(object.proposedLastCommit) : undefined,
|
|
1973
|
+
misbehavior: Array.isArray(object?.misbehavior)
|
|
1974
|
+
? object.misbehavior.map((e: any) => Misbehavior.fromJSON(e))
|
|
1975
|
+
: [],
|
|
1976
|
+
hash: isSet(object.hash) ? bytesFromBase64(object.hash) : new Uint8Array(),
|
|
1977
|
+
height: isSet(object.height) ? Number(object.height) : 0,
|
|
1978
|
+
time: isSet(object.time) ? fromJsonTimestamp(object.time) : undefined,
|
|
1979
|
+
nextValidatorsHash: isSet(object.nextValidatorsHash)
|
|
1980
|
+
? bytesFromBase64(object.nextValidatorsHash)
|
|
1981
|
+
: new Uint8Array(),
|
|
1982
|
+
proposerAddress: isSet(object.proposerAddress) ? bytesFromBase64(object.proposerAddress) : new Uint8Array(),
|
|
1983
|
+
};
|
|
1984
|
+
},
|
|
1985
|
+
|
|
1986
|
+
toJSON(message: RequestProcessProposal): unknown {
|
|
1987
|
+
const obj: any = {};
|
|
1988
|
+
if (message.txs) {
|
|
1989
|
+
obj.txs = message.txs.map((e) => base64FromBytes(e !== undefined ? e : new Uint8Array()));
|
|
1990
|
+
} else {
|
|
1991
|
+
obj.txs = [];
|
|
1992
|
+
}
|
|
1993
|
+
message.proposedLastCommit !== undefined && (obj.proposedLastCommit = message.proposedLastCommit
|
|
1994
|
+
? CommitInfo.toJSON(message.proposedLastCommit)
|
|
1995
|
+
: undefined);
|
|
1996
|
+
if (message.misbehavior) {
|
|
1997
|
+
obj.misbehavior = message.misbehavior.map((e) => e ? Misbehavior.toJSON(e) : undefined);
|
|
1998
|
+
} else {
|
|
1999
|
+
obj.misbehavior = [];
|
|
2000
|
+
}
|
|
2001
|
+
message.hash !== undefined
|
|
2002
|
+
&& (obj.hash = base64FromBytes(message.hash !== undefined ? message.hash : new Uint8Array()));
|
|
2003
|
+
message.height !== undefined && (obj.height = Math.round(message.height));
|
|
2004
|
+
message.time !== undefined && (obj.time = message.time.toISOString());
|
|
2005
|
+
message.nextValidatorsHash !== undefined
|
|
2006
|
+
&& (obj.nextValidatorsHash = base64FromBytes(
|
|
2007
|
+
message.nextValidatorsHash !== undefined ? message.nextValidatorsHash : new Uint8Array(),
|
|
2008
|
+
));
|
|
2009
|
+
message.proposerAddress !== undefined
|
|
2010
|
+
&& (obj.proposerAddress = base64FromBytes(
|
|
2011
|
+
message.proposerAddress !== undefined ? message.proposerAddress : new Uint8Array(),
|
|
2012
|
+
));
|
|
2013
|
+
return obj;
|
|
2014
|
+
},
|
|
2015
|
+
|
|
2016
|
+
fromPartial<I extends Exact<DeepPartial<RequestProcessProposal>, I>>(object: I): RequestProcessProposal {
|
|
2017
|
+
const message = createBaseRequestProcessProposal();
|
|
2018
|
+
message.txs = object.txs?.map((e) => e) || [];
|
|
2019
|
+
message.proposedLastCommit = (object.proposedLastCommit !== undefined && object.proposedLastCommit !== null)
|
|
2020
|
+
? CommitInfo.fromPartial(object.proposedLastCommit)
|
|
2021
|
+
: undefined;
|
|
2022
|
+
message.misbehavior = object.misbehavior?.map((e) => Misbehavior.fromPartial(e)) || [];
|
|
2023
|
+
message.hash = object.hash ?? new Uint8Array();
|
|
2024
|
+
message.height = object.height ?? 0;
|
|
2025
|
+
message.time = object.time ?? undefined;
|
|
2026
|
+
message.nextValidatorsHash = object.nextValidatorsHash ?? new Uint8Array();
|
|
2027
|
+
message.proposerAddress = object.proposerAddress ?? new Uint8Array();
|
|
2028
|
+
return message;
|
|
2029
|
+
},
|
|
2030
|
+
};
|
|
2031
|
+
|
|
1707
2032
|
function createBaseResponse(): Response {
|
|
1708
2033
|
return {
|
|
1709
2034
|
exception: undefined,
|
|
1710
2035
|
echo: undefined,
|
|
1711
2036
|
flush: undefined,
|
|
1712
2037
|
info: undefined,
|
|
1713
|
-
setOption: undefined,
|
|
1714
2038
|
initChain: undefined,
|
|
1715
2039
|
query: undefined,
|
|
1716
2040
|
beginBlock: undefined,
|
|
@@ -1722,6 +2046,8 @@ function createBaseResponse(): Response {
|
|
|
1722
2046
|
offerSnapshot: undefined,
|
|
1723
2047
|
loadSnapshotChunk: undefined,
|
|
1724
2048
|
applySnapshotChunk: undefined,
|
|
2049
|
+
prepareProposal: undefined,
|
|
2050
|
+
processProposal: undefined,
|
|
1725
2051
|
};
|
|
1726
2052
|
}
|
|
1727
2053
|
|
|
@@ -1739,9 +2065,6 @@ export const Response = {
|
|
|
1739
2065
|
if (message.info !== undefined) {
|
|
1740
2066
|
ResponseInfo.encode(message.info, writer.uint32(34).fork()).ldelim();
|
|
1741
2067
|
}
|
|
1742
|
-
if (message.setOption !== undefined) {
|
|
1743
|
-
ResponseSetOption.encode(message.setOption, writer.uint32(42).fork()).ldelim();
|
|
1744
|
-
}
|
|
1745
2068
|
if (message.initChain !== undefined) {
|
|
1746
2069
|
ResponseInitChain.encode(message.initChain, writer.uint32(50).fork()).ldelim();
|
|
1747
2070
|
}
|
|
@@ -1775,6 +2098,12 @@ export const Response = {
|
|
|
1775
2098
|
if (message.applySnapshotChunk !== undefined) {
|
|
1776
2099
|
ResponseApplySnapshotChunk.encode(message.applySnapshotChunk, writer.uint32(130).fork()).ldelim();
|
|
1777
2100
|
}
|
|
2101
|
+
if (message.prepareProposal !== undefined) {
|
|
2102
|
+
ResponsePrepareProposal.encode(message.prepareProposal, writer.uint32(138).fork()).ldelim();
|
|
2103
|
+
}
|
|
2104
|
+
if (message.processProposal !== undefined) {
|
|
2105
|
+
ResponseProcessProposal.encode(message.processProposal, writer.uint32(146).fork()).ldelim();
|
|
2106
|
+
}
|
|
1778
2107
|
return writer;
|
|
1779
2108
|
},
|
|
1780
2109
|
|
|
@@ -1797,9 +2126,6 @@ export const Response = {
|
|
|
1797
2126
|
case 4:
|
|
1798
2127
|
message.info = ResponseInfo.decode(reader, reader.uint32());
|
|
1799
2128
|
break;
|
|
1800
|
-
case 5:
|
|
1801
|
-
message.setOption = ResponseSetOption.decode(reader, reader.uint32());
|
|
1802
|
-
break;
|
|
1803
2129
|
case 6:
|
|
1804
2130
|
message.initChain = ResponseInitChain.decode(reader, reader.uint32());
|
|
1805
2131
|
break;
|
|
@@ -1833,6 +2159,12 @@ export const Response = {
|
|
|
1833
2159
|
case 16:
|
|
1834
2160
|
message.applySnapshotChunk = ResponseApplySnapshotChunk.decode(reader, reader.uint32());
|
|
1835
2161
|
break;
|
|
2162
|
+
case 17:
|
|
2163
|
+
message.prepareProposal = ResponsePrepareProposal.decode(reader, reader.uint32());
|
|
2164
|
+
break;
|
|
2165
|
+
case 18:
|
|
2166
|
+
message.processProposal = ResponseProcessProposal.decode(reader, reader.uint32());
|
|
2167
|
+
break;
|
|
1836
2168
|
default:
|
|
1837
2169
|
reader.skipType(tag & 7);
|
|
1838
2170
|
break;
|
|
@@ -1847,7 +2179,6 @@ export const Response = {
|
|
|
1847
2179
|
echo: isSet(object.echo) ? ResponseEcho.fromJSON(object.echo) : undefined,
|
|
1848
2180
|
flush: isSet(object.flush) ? ResponseFlush.fromJSON(object.flush) : undefined,
|
|
1849
2181
|
info: isSet(object.info) ? ResponseInfo.fromJSON(object.info) : undefined,
|
|
1850
|
-
setOption: isSet(object.setOption) ? ResponseSetOption.fromJSON(object.setOption) : undefined,
|
|
1851
2182
|
initChain: isSet(object.initChain) ? ResponseInitChain.fromJSON(object.initChain) : undefined,
|
|
1852
2183
|
query: isSet(object.query) ? ResponseQuery.fromJSON(object.query) : undefined,
|
|
1853
2184
|
beginBlock: isSet(object.beginBlock) ? ResponseBeginBlock.fromJSON(object.beginBlock) : undefined,
|
|
@@ -1863,6 +2194,12 @@ export const Response = {
|
|
|
1863
2194
|
applySnapshotChunk: isSet(object.applySnapshotChunk)
|
|
1864
2195
|
? ResponseApplySnapshotChunk.fromJSON(object.applySnapshotChunk)
|
|
1865
2196
|
: undefined,
|
|
2197
|
+
prepareProposal: isSet(object.prepareProposal)
|
|
2198
|
+
? ResponsePrepareProposal.fromJSON(object.prepareProposal)
|
|
2199
|
+
: undefined,
|
|
2200
|
+
processProposal: isSet(object.processProposal)
|
|
2201
|
+
? ResponseProcessProposal.fromJSON(object.processProposal)
|
|
2202
|
+
: undefined,
|
|
1866
2203
|
};
|
|
1867
2204
|
},
|
|
1868
2205
|
|
|
@@ -1873,8 +2210,6 @@ export const Response = {
|
|
|
1873
2210
|
message.echo !== undefined && (obj.echo = message.echo ? ResponseEcho.toJSON(message.echo) : undefined);
|
|
1874
2211
|
message.flush !== undefined && (obj.flush = message.flush ? ResponseFlush.toJSON(message.flush) : undefined);
|
|
1875
2212
|
message.info !== undefined && (obj.info = message.info ? ResponseInfo.toJSON(message.info) : undefined);
|
|
1876
|
-
message.setOption !== undefined
|
|
1877
|
-
&& (obj.setOption = message.setOption ? ResponseSetOption.toJSON(message.setOption) : undefined);
|
|
1878
2213
|
message.initChain !== undefined
|
|
1879
2214
|
&& (obj.initChain = message.initChain ? ResponseInitChain.toJSON(message.initChain) : undefined);
|
|
1880
2215
|
message.query !== undefined && (obj.query = message.query ? ResponseQuery.toJSON(message.query) : undefined);
|
|
@@ -1897,6 +2232,12 @@ export const Response = {
|
|
|
1897
2232
|
message.applySnapshotChunk !== undefined && (obj.applySnapshotChunk = message.applySnapshotChunk
|
|
1898
2233
|
? ResponseApplySnapshotChunk.toJSON(message.applySnapshotChunk)
|
|
1899
2234
|
: undefined);
|
|
2235
|
+
message.prepareProposal !== undefined && (obj.prepareProposal = message.prepareProposal
|
|
2236
|
+
? ResponsePrepareProposal.toJSON(message.prepareProposal)
|
|
2237
|
+
: undefined);
|
|
2238
|
+
message.processProposal !== undefined && (obj.processProposal = message.processProposal
|
|
2239
|
+
? ResponseProcessProposal.toJSON(message.processProposal)
|
|
2240
|
+
: undefined);
|
|
1900
2241
|
return obj;
|
|
1901
2242
|
},
|
|
1902
2243
|
|
|
@@ -1914,9 +2255,6 @@ export const Response = {
|
|
|
1914
2255
|
message.info = (object.info !== undefined && object.info !== null)
|
|
1915
2256
|
? ResponseInfo.fromPartial(object.info)
|
|
1916
2257
|
: undefined;
|
|
1917
|
-
message.setOption = (object.setOption !== undefined && object.setOption !== null)
|
|
1918
|
-
? ResponseSetOption.fromPartial(object.setOption)
|
|
1919
|
-
: undefined;
|
|
1920
2258
|
message.initChain = (object.initChain !== undefined && object.initChain !== null)
|
|
1921
2259
|
? ResponseInitChain.fromPartial(object.initChain)
|
|
1922
2260
|
: undefined;
|
|
@@ -1950,6 +2288,12 @@ export const Response = {
|
|
|
1950
2288
|
message.applySnapshotChunk = (object.applySnapshotChunk !== undefined && object.applySnapshotChunk !== null)
|
|
1951
2289
|
? ResponseApplySnapshotChunk.fromPartial(object.applySnapshotChunk)
|
|
1952
2290
|
: undefined;
|
|
2291
|
+
message.prepareProposal = (object.prepareProposal !== undefined && object.prepareProposal !== null)
|
|
2292
|
+
? ResponsePrepareProposal.fromPartial(object.prepareProposal)
|
|
2293
|
+
: undefined;
|
|
2294
|
+
message.processProposal = (object.processProposal !== undefined && object.processProposal !== null)
|
|
2295
|
+
? ResponseProcessProposal.fromPartial(object.processProposal)
|
|
2296
|
+
: undefined;
|
|
1953
2297
|
return message;
|
|
1954
2298
|
},
|
|
1955
2299
|
};
|
|
@@ -2175,73 +2519,6 @@ export const ResponseInfo = {
|
|
|
2175
2519
|
},
|
|
2176
2520
|
};
|
|
2177
2521
|
|
|
2178
|
-
function createBaseResponseSetOption(): ResponseSetOption {
|
|
2179
|
-
return { code: 0, log: "", info: "" };
|
|
2180
|
-
}
|
|
2181
|
-
|
|
2182
|
-
export const ResponseSetOption = {
|
|
2183
|
-
encode(message: ResponseSetOption, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
2184
|
-
if (message.code !== 0) {
|
|
2185
|
-
writer.uint32(8).uint32(message.code);
|
|
2186
|
-
}
|
|
2187
|
-
if (message.log !== "") {
|
|
2188
|
-
writer.uint32(26).string(message.log);
|
|
2189
|
-
}
|
|
2190
|
-
if (message.info !== "") {
|
|
2191
|
-
writer.uint32(34).string(message.info);
|
|
2192
|
-
}
|
|
2193
|
-
return writer;
|
|
2194
|
-
},
|
|
2195
|
-
|
|
2196
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): ResponseSetOption {
|
|
2197
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
2198
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2199
|
-
const message = createBaseResponseSetOption();
|
|
2200
|
-
while (reader.pos < end) {
|
|
2201
|
-
const tag = reader.uint32();
|
|
2202
|
-
switch (tag >>> 3) {
|
|
2203
|
-
case 1:
|
|
2204
|
-
message.code = reader.uint32();
|
|
2205
|
-
break;
|
|
2206
|
-
case 3:
|
|
2207
|
-
message.log = reader.string();
|
|
2208
|
-
break;
|
|
2209
|
-
case 4:
|
|
2210
|
-
message.info = reader.string();
|
|
2211
|
-
break;
|
|
2212
|
-
default:
|
|
2213
|
-
reader.skipType(tag & 7);
|
|
2214
|
-
break;
|
|
2215
|
-
}
|
|
2216
|
-
}
|
|
2217
|
-
return message;
|
|
2218
|
-
},
|
|
2219
|
-
|
|
2220
|
-
fromJSON(object: any): ResponseSetOption {
|
|
2221
|
-
return {
|
|
2222
|
-
code: isSet(object.code) ? Number(object.code) : 0,
|
|
2223
|
-
log: isSet(object.log) ? String(object.log) : "",
|
|
2224
|
-
info: isSet(object.info) ? String(object.info) : "",
|
|
2225
|
-
};
|
|
2226
|
-
},
|
|
2227
|
-
|
|
2228
|
-
toJSON(message: ResponseSetOption): unknown {
|
|
2229
|
-
const obj: any = {};
|
|
2230
|
-
message.code !== undefined && (obj.code = Math.round(message.code));
|
|
2231
|
-
message.log !== undefined && (obj.log = message.log);
|
|
2232
|
-
message.info !== undefined && (obj.info = message.info);
|
|
2233
|
-
return obj;
|
|
2234
|
-
},
|
|
2235
|
-
|
|
2236
|
-
fromPartial<I extends Exact<DeepPartial<ResponseSetOption>, I>>(object: I): ResponseSetOption {
|
|
2237
|
-
const message = createBaseResponseSetOption();
|
|
2238
|
-
message.code = object.code ?? 0;
|
|
2239
|
-
message.log = object.log ?? "";
|
|
2240
|
-
message.info = object.info ?? "";
|
|
2241
|
-
return message;
|
|
2242
|
-
},
|
|
2243
|
-
};
|
|
2244
|
-
|
|
2245
2522
|
function createBaseResponseInitChain(): ResponseInitChain {
|
|
2246
2523
|
return { consensusParams: undefined, validators: [], appHash: new Uint8Array() };
|
|
2247
2524
|
}
|
|
@@ -3153,45 +3430,78 @@ export const ResponseApplySnapshotChunk = {
|
|
|
3153
3430
|
},
|
|
3154
3431
|
};
|
|
3155
3432
|
|
|
3156
|
-
function
|
|
3157
|
-
return {
|
|
3433
|
+
function createBaseResponsePrepareProposal(): ResponsePrepareProposal {
|
|
3434
|
+
return { txs: [] };
|
|
3158
3435
|
}
|
|
3159
3436
|
|
|
3160
|
-
export const
|
|
3161
|
-
encode(message:
|
|
3162
|
-
|
|
3163
|
-
|
|
3437
|
+
export const ResponsePrepareProposal = {
|
|
3438
|
+
encode(message: ResponsePrepareProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
3439
|
+
for (const v of message.txs) {
|
|
3440
|
+
writer.uint32(10).bytes(v!);
|
|
3164
3441
|
}
|
|
3165
|
-
|
|
3166
|
-
|
|
3442
|
+
return writer;
|
|
3443
|
+
},
|
|
3444
|
+
|
|
3445
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ResponsePrepareProposal {
|
|
3446
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
3447
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
3448
|
+
const message = createBaseResponsePrepareProposal();
|
|
3449
|
+
while (reader.pos < end) {
|
|
3450
|
+
const tag = reader.uint32();
|
|
3451
|
+
switch (tag >>> 3) {
|
|
3452
|
+
case 1:
|
|
3453
|
+
message.txs.push(reader.bytes());
|
|
3454
|
+
break;
|
|
3455
|
+
default:
|
|
3456
|
+
reader.skipType(tag & 7);
|
|
3457
|
+
break;
|
|
3458
|
+
}
|
|
3167
3459
|
}
|
|
3168
|
-
|
|
3169
|
-
|
|
3460
|
+
return message;
|
|
3461
|
+
},
|
|
3462
|
+
|
|
3463
|
+
fromJSON(object: any): ResponsePrepareProposal {
|
|
3464
|
+
return { txs: Array.isArray(object?.txs) ? object.txs.map((e: any) => bytesFromBase64(e)) : [] };
|
|
3465
|
+
},
|
|
3466
|
+
|
|
3467
|
+
toJSON(message: ResponsePrepareProposal): unknown {
|
|
3468
|
+
const obj: any = {};
|
|
3469
|
+
if (message.txs) {
|
|
3470
|
+
obj.txs = message.txs.map((e) => base64FromBytes(e !== undefined ? e : new Uint8Array()));
|
|
3471
|
+
} else {
|
|
3472
|
+
obj.txs = [];
|
|
3170
3473
|
}
|
|
3171
|
-
|
|
3172
|
-
|
|
3474
|
+
return obj;
|
|
3475
|
+
},
|
|
3476
|
+
|
|
3477
|
+
fromPartial<I extends Exact<DeepPartial<ResponsePrepareProposal>, I>>(object: I): ResponsePrepareProposal {
|
|
3478
|
+
const message = createBaseResponsePrepareProposal();
|
|
3479
|
+
message.txs = object.txs?.map((e) => e) || [];
|
|
3480
|
+
return message;
|
|
3481
|
+
},
|
|
3482
|
+
};
|
|
3483
|
+
|
|
3484
|
+
function createBaseResponseProcessProposal(): ResponseProcessProposal {
|
|
3485
|
+
return { status: 0 };
|
|
3486
|
+
}
|
|
3487
|
+
|
|
3488
|
+
export const ResponseProcessProposal = {
|
|
3489
|
+
encode(message: ResponseProcessProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
3490
|
+
if (message.status !== 0) {
|
|
3491
|
+
writer.uint32(8).int32(message.status);
|
|
3173
3492
|
}
|
|
3174
3493
|
return writer;
|
|
3175
3494
|
},
|
|
3176
3495
|
|
|
3177
|
-
decode(input: _m0.Reader | Uint8Array, length?: number):
|
|
3496
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ResponseProcessProposal {
|
|
3178
3497
|
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
3179
3498
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
3180
|
-
const message =
|
|
3499
|
+
const message = createBaseResponseProcessProposal();
|
|
3181
3500
|
while (reader.pos < end) {
|
|
3182
3501
|
const tag = reader.uint32();
|
|
3183
3502
|
switch (tag >>> 3) {
|
|
3184
3503
|
case 1:
|
|
3185
|
-
message.
|
|
3186
|
-
break;
|
|
3187
|
-
case 2:
|
|
3188
|
-
message.evidence = EvidenceParams.decode(reader, reader.uint32());
|
|
3189
|
-
break;
|
|
3190
|
-
case 3:
|
|
3191
|
-
message.validator = ValidatorParams.decode(reader, reader.uint32());
|
|
3192
|
-
break;
|
|
3193
|
-
case 4:
|
|
3194
|
-
message.version = VersionParams.decode(reader, reader.uint32());
|
|
3504
|
+
message.status = reader.int32() as any;
|
|
3195
3505
|
break;
|
|
3196
3506
|
default:
|
|
3197
3507
|
reader.skipType(tag & 7);
|
|
@@ -3201,72 +3511,50 @@ export const ConsensusParams = {
|
|
|
3201
3511
|
return message;
|
|
3202
3512
|
},
|
|
3203
3513
|
|
|
3204
|
-
fromJSON(object: any):
|
|
3205
|
-
return {
|
|
3206
|
-
block: isSet(object.block) ? BlockParams.fromJSON(object.block) : undefined,
|
|
3207
|
-
evidence: isSet(object.evidence) ? EvidenceParams.fromJSON(object.evidence) : undefined,
|
|
3208
|
-
validator: isSet(object.validator) ? ValidatorParams.fromJSON(object.validator) : undefined,
|
|
3209
|
-
version: isSet(object.version) ? VersionParams.fromJSON(object.version) : undefined,
|
|
3210
|
-
};
|
|
3514
|
+
fromJSON(object: any): ResponseProcessProposal {
|
|
3515
|
+
return { status: isSet(object.status) ? responseProcessProposal_ProposalStatusFromJSON(object.status) : 0 };
|
|
3211
3516
|
},
|
|
3212
3517
|
|
|
3213
|
-
toJSON(message:
|
|
3518
|
+
toJSON(message: ResponseProcessProposal): unknown {
|
|
3214
3519
|
const obj: any = {};
|
|
3215
|
-
message.
|
|
3216
|
-
message.evidence !== undefined
|
|
3217
|
-
&& (obj.evidence = message.evidence ? EvidenceParams.toJSON(message.evidence) : undefined);
|
|
3218
|
-
message.validator !== undefined
|
|
3219
|
-
&& (obj.validator = message.validator ? ValidatorParams.toJSON(message.validator) : undefined);
|
|
3220
|
-
message.version !== undefined
|
|
3221
|
-
&& (obj.version = message.version ? VersionParams.toJSON(message.version) : undefined);
|
|
3520
|
+
message.status !== undefined && (obj.status = responseProcessProposal_ProposalStatusToJSON(message.status));
|
|
3222
3521
|
return obj;
|
|
3223
3522
|
},
|
|
3224
3523
|
|
|
3225
|
-
fromPartial<I extends Exact<DeepPartial<
|
|
3226
|
-
const message =
|
|
3227
|
-
message.
|
|
3228
|
-
? BlockParams.fromPartial(object.block)
|
|
3229
|
-
: undefined;
|
|
3230
|
-
message.evidence = (object.evidence !== undefined && object.evidence !== null)
|
|
3231
|
-
? EvidenceParams.fromPartial(object.evidence)
|
|
3232
|
-
: undefined;
|
|
3233
|
-
message.validator = (object.validator !== undefined && object.validator !== null)
|
|
3234
|
-
? ValidatorParams.fromPartial(object.validator)
|
|
3235
|
-
: undefined;
|
|
3236
|
-
message.version = (object.version !== undefined && object.version !== null)
|
|
3237
|
-
? VersionParams.fromPartial(object.version)
|
|
3238
|
-
: undefined;
|
|
3524
|
+
fromPartial<I extends Exact<DeepPartial<ResponseProcessProposal>, I>>(object: I): ResponseProcessProposal {
|
|
3525
|
+
const message = createBaseResponseProcessProposal();
|
|
3526
|
+
message.status = object.status ?? 0;
|
|
3239
3527
|
return message;
|
|
3240
3528
|
},
|
|
3241
3529
|
};
|
|
3242
3530
|
|
|
3243
|
-
function
|
|
3244
|
-
return {
|
|
3531
|
+
function createBaseCommitInfo(): CommitInfo {
|
|
3532
|
+
return { round: 0, votes: [] };
|
|
3245
3533
|
}
|
|
3246
3534
|
|
|
3247
|
-
export const
|
|
3248
|
-
encode(message:
|
|
3249
|
-
if (message.
|
|
3250
|
-
writer.uint32(8).
|
|
3535
|
+
export const CommitInfo = {
|
|
3536
|
+
encode(message: CommitInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
3537
|
+
if (message.round !== 0) {
|
|
3538
|
+
writer.uint32(8).int32(message.round);
|
|
3251
3539
|
}
|
|
3252
|
-
|
|
3253
|
-
writer.uint32(
|
|
3540
|
+
for (const v of message.votes) {
|
|
3541
|
+
VoteInfo.encode(v!, writer.uint32(18).fork()).ldelim();
|
|
3254
3542
|
}
|
|
3255
3543
|
return writer;
|
|
3256
3544
|
},
|
|
3257
3545
|
|
|
3258
|
-
decode(input: _m0.Reader | Uint8Array, length?: number):
|
|
3546
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): CommitInfo {
|
|
3259
3547
|
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
3260
3548
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
3261
|
-
const message =
|
|
3549
|
+
const message = createBaseCommitInfo();
|
|
3262
3550
|
while (reader.pos < end) {
|
|
3263
3551
|
const tag = reader.uint32();
|
|
3264
3552
|
switch (tag >>> 3) {
|
|
3265
3553
|
case 1:
|
|
3266
|
-
message.
|
|
3554
|
+
message.round = reader.int32();
|
|
3267
3555
|
break;
|
|
3268
3556
|
case 2:
|
|
3269
|
-
message.
|
|
3557
|
+
message.votes.push(VoteInfo.decode(reader, reader.uint32()));
|
|
3270
3558
|
break;
|
|
3271
3559
|
default:
|
|
3272
3560
|
reader.skipType(tag & 7);
|
|
@@ -3276,47 +3564,51 @@ export const BlockParams = {
|
|
|
3276
3564
|
return message;
|
|
3277
3565
|
},
|
|
3278
3566
|
|
|
3279
|
-
fromJSON(object: any):
|
|
3567
|
+
fromJSON(object: any): CommitInfo {
|
|
3280
3568
|
return {
|
|
3281
|
-
|
|
3282
|
-
|
|
3569
|
+
round: isSet(object.round) ? Number(object.round) : 0,
|
|
3570
|
+
votes: Array.isArray(object?.votes) ? object.votes.map((e: any) => VoteInfo.fromJSON(e)) : [],
|
|
3283
3571
|
};
|
|
3284
3572
|
},
|
|
3285
3573
|
|
|
3286
|
-
toJSON(message:
|
|
3574
|
+
toJSON(message: CommitInfo): unknown {
|
|
3287
3575
|
const obj: any = {};
|
|
3288
|
-
message.
|
|
3289
|
-
|
|
3576
|
+
message.round !== undefined && (obj.round = Math.round(message.round));
|
|
3577
|
+
if (message.votes) {
|
|
3578
|
+
obj.votes = message.votes.map((e) => e ? VoteInfo.toJSON(e) : undefined);
|
|
3579
|
+
} else {
|
|
3580
|
+
obj.votes = [];
|
|
3581
|
+
}
|
|
3290
3582
|
return obj;
|
|
3291
3583
|
},
|
|
3292
3584
|
|
|
3293
|
-
fromPartial<I extends Exact<DeepPartial<
|
|
3294
|
-
const message =
|
|
3295
|
-
message.
|
|
3296
|
-
message.
|
|
3585
|
+
fromPartial<I extends Exact<DeepPartial<CommitInfo>, I>>(object: I): CommitInfo {
|
|
3586
|
+
const message = createBaseCommitInfo();
|
|
3587
|
+
message.round = object.round ?? 0;
|
|
3588
|
+
message.votes = object.votes?.map((e) => VoteInfo.fromPartial(e)) || [];
|
|
3297
3589
|
return message;
|
|
3298
3590
|
},
|
|
3299
3591
|
};
|
|
3300
3592
|
|
|
3301
|
-
function
|
|
3593
|
+
function createBaseExtendedCommitInfo(): ExtendedCommitInfo {
|
|
3302
3594
|
return { round: 0, votes: [] };
|
|
3303
3595
|
}
|
|
3304
3596
|
|
|
3305
|
-
export const
|
|
3306
|
-
encode(message:
|
|
3597
|
+
export const ExtendedCommitInfo = {
|
|
3598
|
+
encode(message: ExtendedCommitInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
3307
3599
|
if (message.round !== 0) {
|
|
3308
3600
|
writer.uint32(8).int32(message.round);
|
|
3309
3601
|
}
|
|
3310
3602
|
for (const v of message.votes) {
|
|
3311
|
-
|
|
3603
|
+
ExtendedVoteInfo.encode(v!, writer.uint32(18).fork()).ldelim();
|
|
3312
3604
|
}
|
|
3313
3605
|
return writer;
|
|
3314
3606
|
},
|
|
3315
3607
|
|
|
3316
|
-
decode(input: _m0.Reader | Uint8Array, length?: number):
|
|
3608
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ExtendedCommitInfo {
|
|
3317
3609
|
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
3318
3610
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
3319
|
-
const message =
|
|
3611
|
+
const message = createBaseExtendedCommitInfo();
|
|
3320
3612
|
while (reader.pos < end) {
|
|
3321
3613
|
const tag = reader.uint32();
|
|
3322
3614
|
switch (tag >>> 3) {
|
|
@@ -3324,7 +3616,7 @@ export const LastCommitInfo = {
|
|
|
3324
3616
|
message.round = reader.int32();
|
|
3325
3617
|
break;
|
|
3326
3618
|
case 2:
|
|
3327
|
-
message.votes.push(
|
|
3619
|
+
message.votes.push(ExtendedVoteInfo.decode(reader, reader.uint32()));
|
|
3328
3620
|
break;
|
|
3329
3621
|
default:
|
|
3330
3622
|
reader.skipType(tag & 7);
|
|
@@ -3334,28 +3626,28 @@ export const LastCommitInfo = {
|
|
|
3334
3626
|
return message;
|
|
3335
3627
|
},
|
|
3336
3628
|
|
|
3337
|
-
fromJSON(object: any):
|
|
3629
|
+
fromJSON(object: any): ExtendedCommitInfo {
|
|
3338
3630
|
return {
|
|
3339
3631
|
round: isSet(object.round) ? Number(object.round) : 0,
|
|
3340
|
-
votes: Array.isArray(object?.votes) ? object.votes.map((e: any) =>
|
|
3632
|
+
votes: Array.isArray(object?.votes) ? object.votes.map((e: any) => ExtendedVoteInfo.fromJSON(e)) : [],
|
|
3341
3633
|
};
|
|
3342
3634
|
},
|
|
3343
3635
|
|
|
3344
|
-
toJSON(message:
|
|
3636
|
+
toJSON(message: ExtendedCommitInfo): unknown {
|
|
3345
3637
|
const obj: any = {};
|
|
3346
3638
|
message.round !== undefined && (obj.round = Math.round(message.round));
|
|
3347
3639
|
if (message.votes) {
|
|
3348
|
-
obj.votes = message.votes.map((e) => e ?
|
|
3640
|
+
obj.votes = message.votes.map((e) => e ? ExtendedVoteInfo.toJSON(e) : undefined);
|
|
3349
3641
|
} else {
|
|
3350
3642
|
obj.votes = [];
|
|
3351
3643
|
}
|
|
3352
3644
|
return obj;
|
|
3353
3645
|
},
|
|
3354
3646
|
|
|
3355
|
-
fromPartial<I extends Exact<DeepPartial<
|
|
3356
|
-
const message =
|
|
3647
|
+
fromPartial<I extends Exact<DeepPartial<ExtendedCommitInfo>, I>>(object: I): ExtendedCommitInfo {
|
|
3648
|
+
const message = createBaseExtendedCommitInfo();
|
|
3357
3649
|
message.round = object.round ?? 0;
|
|
3358
|
-
message.votes = object.votes?.map((e) =>
|
|
3650
|
+
message.votes = object.votes?.map((e) => ExtendedVoteInfo.fromPartial(e)) || [];
|
|
3359
3651
|
return message;
|
|
3360
3652
|
},
|
|
3361
3653
|
};
|
|
@@ -3425,16 +3717,16 @@ export const Event = {
|
|
|
3425
3717
|
};
|
|
3426
3718
|
|
|
3427
3719
|
function createBaseEventAttribute(): EventAttribute {
|
|
3428
|
-
return { key:
|
|
3720
|
+
return { key: "", value: "", index: false };
|
|
3429
3721
|
}
|
|
3430
3722
|
|
|
3431
3723
|
export const EventAttribute = {
|
|
3432
3724
|
encode(message: EventAttribute, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
3433
|
-
if (message.key
|
|
3434
|
-
writer.uint32(10).
|
|
3725
|
+
if (message.key !== "") {
|
|
3726
|
+
writer.uint32(10).string(message.key);
|
|
3435
3727
|
}
|
|
3436
|
-
if (message.value
|
|
3437
|
-
writer.uint32(18).
|
|
3728
|
+
if (message.value !== "") {
|
|
3729
|
+
writer.uint32(18).string(message.value);
|
|
3438
3730
|
}
|
|
3439
3731
|
if (message.index === true) {
|
|
3440
3732
|
writer.uint32(24).bool(message.index);
|
|
@@ -3450,10 +3742,10 @@ export const EventAttribute = {
|
|
|
3450
3742
|
const tag = reader.uint32();
|
|
3451
3743
|
switch (tag >>> 3) {
|
|
3452
3744
|
case 1:
|
|
3453
|
-
message.key = reader.
|
|
3745
|
+
message.key = reader.string();
|
|
3454
3746
|
break;
|
|
3455
3747
|
case 2:
|
|
3456
|
-
message.value = reader.
|
|
3748
|
+
message.value = reader.string();
|
|
3457
3749
|
break;
|
|
3458
3750
|
case 3:
|
|
3459
3751
|
message.index = reader.bool();
|
|
@@ -3468,26 +3760,24 @@ export const EventAttribute = {
|
|
|
3468
3760
|
|
|
3469
3761
|
fromJSON(object: any): EventAttribute {
|
|
3470
3762
|
return {
|
|
3471
|
-
key: isSet(object.key) ?
|
|
3472
|
-
value: isSet(object.value) ?
|
|
3763
|
+
key: isSet(object.key) ? String(object.key) : "",
|
|
3764
|
+
value: isSet(object.value) ? String(object.value) : "",
|
|
3473
3765
|
index: isSet(object.index) ? Boolean(object.index) : false,
|
|
3474
3766
|
};
|
|
3475
3767
|
},
|
|
3476
3768
|
|
|
3477
3769
|
toJSON(message: EventAttribute): unknown {
|
|
3478
3770
|
const obj: any = {};
|
|
3479
|
-
message.key !== undefined
|
|
3480
|
-
|
|
3481
|
-
message.value !== undefined
|
|
3482
|
-
&& (obj.value = base64FromBytes(message.value !== undefined ? message.value : new Uint8Array()));
|
|
3771
|
+
message.key !== undefined && (obj.key = message.key);
|
|
3772
|
+
message.value !== undefined && (obj.value = message.value);
|
|
3483
3773
|
message.index !== undefined && (obj.index = message.index);
|
|
3484
3774
|
return obj;
|
|
3485
3775
|
},
|
|
3486
3776
|
|
|
3487
3777
|
fromPartial<I extends Exact<DeepPartial<EventAttribute>, I>>(object: I): EventAttribute {
|
|
3488
3778
|
const message = createBaseEventAttribute();
|
|
3489
|
-
message.key = object.key ??
|
|
3490
|
-
message.value = object.value ??
|
|
3779
|
+
message.key = object.key ?? "";
|
|
3780
|
+
message.value = object.value ?? "";
|
|
3491
3781
|
message.index = object.index ?? false;
|
|
3492
3782
|
return message;
|
|
3493
3783
|
},
|
|
@@ -3752,12 +4042,85 @@ export const VoteInfo = {
|
|
|
3752
4042
|
},
|
|
3753
4043
|
};
|
|
3754
4044
|
|
|
3755
|
-
function
|
|
4045
|
+
function createBaseExtendedVoteInfo(): ExtendedVoteInfo {
|
|
4046
|
+
return { validator: undefined, signedLastBlock: false, voteExtension: new Uint8Array() };
|
|
4047
|
+
}
|
|
4048
|
+
|
|
4049
|
+
export const ExtendedVoteInfo = {
|
|
4050
|
+
encode(message: ExtendedVoteInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
4051
|
+
if (message.validator !== undefined) {
|
|
4052
|
+
Validator.encode(message.validator, writer.uint32(10).fork()).ldelim();
|
|
4053
|
+
}
|
|
4054
|
+
if (message.signedLastBlock === true) {
|
|
4055
|
+
writer.uint32(16).bool(message.signedLastBlock);
|
|
4056
|
+
}
|
|
4057
|
+
if (message.voteExtension.length !== 0) {
|
|
4058
|
+
writer.uint32(26).bytes(message.voteExtension);
|
|
4059
|
+
}
|
|
4060
|
+
return writer;
|
|
4061
|
+
},
|
|
4062
|
+
|
|
4063
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ExtendedVoteInfo {
|
|
4064
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
4065
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
4066
|
+
const message = createBaseExtendedVoteInfo();
|
|
4067
|
+
while (reader.pos < end) {
|
|
4068
|
+
const tag = reader.uint32();
|
|
4069
|
+
switch (tag >>> 3) {
|
|
4070
|
+
case 1:
|
|
4071
|
+
message.validator = Validator.decode(reader, reader.uint32());
|
|
4072
|
+
break;
|
|
4073
|
+
case 2:
|
|
4074
|
+
message.signedLastBlock = reader.bool();
|
|
4075
|
+
break;
|
|
4076
|
+
case 3:
|
|
4077
|
+
message.voteExtension = reader.bytes();
|
|
4078
|
+
break;
|
|
4079
|
+
default:
|
|
4080
|
+
reader.skipType(tag & 7);
|
|
4081
|
+
break;
|
|
4082
|
+
}
|
|
4083
|
+
}
|
|
4084
|
+
return message;
|
|
4085
|
+
},
|
|
4086
|
+
|
|
4087
|
+
fromJSON(object: any): ExtendedVoteInfo {
|
|
4088
|
+
return {
|
|
4089
|
+
validator: isSet(object.validator) ? Validator.fromJSON(object.validator) : undefined,
|
|
4090
|
+
signedLastBlock: isSet(object.signedLastBlock) ? Boolean(object.signedLastBlock) : false,
|
|
4091
|
+
voteExtension: isSet(object.voteExtension) ? bytesFromBase64(object.voteExtension) : new Uint8Array(),
|
|
4092
|
+
};
|
|
4093
|
+
},
|
|
4094
|
+
|
|
4095
|
+
toJSON(message: ExtendedVoteInfo): unknown {
|
|
4096
|
+
const obj: any = {};
|
|
4097
|
+
message.validator !== undefined
|
|
4098
|
+
&& (obj.validator = message.validator ? Validator.toJSON(message.validator) : undefined);
|
|
4099
|
+
message.signedLastBlock !== undefined && (obj.signedLastBlock = message.signedLastBlock);
|
|
4100
|
+
message.voteExtension !== undefined
|
|
4101
|
+
&& (obj.voteExtension = base64FromBytes(
|
|
4102
|
+
message.voteExtension !== undefined ? message.voteExtension : new Uint8Array(),
|
|
4103
|
+
));
|
|
4104
|
+
return obj;
|
|
4105
|
+
},
|
|
4106
|
+
|
|
4107
|
+
fromPartial<I extends Exact<DeepPartial<ExtendedVoteInfo>, I>>(object: I): ExtendedVoteInfo {
|
|
4108
|
+
const message = createBaseExtendedVoteInfo();
|
|
4109
|
+
message.validator = (object.validator !== undefined && object.validator !== null)
|
|
4110
|
+
? Validator.fromPartial(object.validator)
|
|
4111
|
+
: undefined;
|
|
4112
|
+
message.signedLastBlock = object.signedLastBlock ?? false;
|
|
4113
|
+
message.voteExtension = object.voteExtension ?? new Uint8Array();
|
|
4114
|
+
return message;
|
|
4115
|
+
},
|
|
4116
|
+
};
|
|
4117
|
+
|
|
4118
|
+
function createBaseMisbehavior(): Misbehavior {
|
|
3756
4119
|
return { type: 0, validator: undefined, height: 0, time: undefined, totalVotingPower: 0 };
|
|
3757
4120
|
}
|
|
3758
4121
|
|
|
3759
|
-
export const
|
|
3760
|
-
encode(message:
|
|
4122
|
+
export const Misbehavior = {
|
|
4123
|
+
encode(message: Misbehavior, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
3761
4124
|
if (message.type !== 0) {
|
|
3762
4125
|
writer.uint32(8).int32(message.type);
|
|
3763
4126
|
}
|
|
@@ -3776,10 +4139,10 @@ export const Evidence = {
|
|
|
3776
4139
|
return writer;
|
|
3777
4140
|
},
|
|
3778
4141
|
|
|
3779
|
-
decode(input: _m0.Reader | Uint8Array, length?: number):
|
|
4142
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Misbehavior {
|
|
3780
4143
|
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
3781
4144
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
3782
|
-
const message =
|
|
4145
|
+
const message = createBaseMisbehavior();
|
|
3783
4146
|
while (reader.pos < end) {
|
|
3784
4147
|
const tag = reader.uint32();
|
|
3785
4148
|
switch (tag >>> 3) {
|
|
@@ -3806,9 +4169,9 @@ export const Evidence = {
|
|
|
3806
4169
|
return message;
|
|
3807
4170
|
},
|
|
3808
4171
|
|
|
3809
|
-
fromJSON(object: any):
|
|
4172
|
+
fromJSON(object: any): Misbehavior {
|
|
3810
4173
|
return {
|
|
3811
|
-
type: isSet(object.type) ?
|
|
4174
|
+
type: isSet(object.type) ? misbehaviorTypeFromJSON(object.type) : 0,
|
|
3812
4175
|
validator: isSet(object.validator) ? Validator.fromJSON(object.validator) : undefined,
|
|
3813
4176
|
height: isSet(object.height) ? Number(object.height) : 0,
|
|
3814
4177
|
time: isSet(object.time) ? fromJsonTimestamp(object.time) : undefined,
|
|
@@ -3816,9 +4179,9 @@ export const Evidence = {
|
|
|
3816
4179
|
};
|
|
3817
4180
|
},
|
|
3818
4181
|
|
|
3819
|
-
toJSON(message:
|
|
4182
|
+
toJSON(message: Misbehavior): unknown {
|
|
3820
4183
|
const obj: any = {};
|
|
3821
|
-
message.type !== undefined && (obj.type =
|
|
4184
|
+
message.type !== undefined && (obj.type = misbehaviorTypeToJSON(message.type));
|
|
3822
4185
|
message.validator !== undefined
|
|
3823
4186
|
&& (obj.validator = message.validator ? Validator.toJSON(message.validator) : undefined);
|
|
3824
4187
|
message.height !== undefined && (obj.height = Math.round(message.height));
|
|
@@ -3827,8 +4190,8 @@ export const Evidence = {
|
|
|
3827
4190
|
return obj;
|
|
3828
4191
|
},
|
|
3829
4192
|
|
|
3830
|
-
fromPartial<I extends Exact<DeepPartial<
|
|
3831
|
-
const message =
|
|
4193
|
+
fromPartial<I extends Exact<DeepPartial<Misbehavior>, I>>(object: I): Misbehavior {
|
|
4194
|
+
const message = createBaseMisbehavior();
|
|
3832
4195
|
message.type = object.type ?? 0;
|
|
3833
4196
|
message.validator = (object.validator !== undefined && object.validator !== null)
|
|
3834
4197
|
? Validator.fromPartial(object.validator)
|
|
@@ -3931,7 +4294,6 @@ export interface ABCIApplication {
|
|
|
3931
4294
|
Echo(request: RequestEcho): Promise<ResponseEcho>;
|
|
3932
4295
|
Flush(request: RequestFlush): Promise<ResponseFlush>;
|
|
3933
4296
|
Info(request: RequestInfo): Promise<ResponseInfo>;
|
|
3934
|
-
SetOption(request: RequestSetOption): Promise<ResponseSetOption>;
|
|
3935
4297
|
DeliverTx(request: RequestDeliverTx): Promise<ResponseDeliverTx>;
|
|
3936
4298
|
CheckTx(request: RequestCheckTx): Promise<ResponseCheckTx>;
|
|
3937
4299
|
Query(request: RequestQuery): Promise<ResponseQuery>;
|
|
@@ -3943,6 +4305,8 @@ export interface ABCIApplication {
|
|
|
3943
4305
|
OfferSnapshot(request: RequestOfferSnapshot): Promise<ResponseOfferSnapshot>;
|
|
3944
4306
|
LoadSnapshotChunk(request: RequestLoadSnapshotChunk): Promise<ResponseLoadSnapshotChunk>;
|
|
3945
4307
|
ApplySnapshotChunk(request: RequestApplySnapshotChunk): Promise<ResponseApplySnapshotChunk>;
|
|
4308
|
+
PrepareProposal(request: RequestPrepareProposal): Promise<ResponsePrepareProposal>;
|
|
4309
|
+
ProcessProposal(request: RequestProcessProposal): Promise<ResponseProcessProposal>;
|
|
3946
4310
|
}
|
|
3947
4311
|
|
|
3948
4312
|
export class ABCIApplicationClientImpl implements ABCIApplication {
|
|
@@ -3952,7 +4316,6 @@ export class ABCIApplicationClientImpl implements ABCIApplication {
|
|
|
3952
4316
|
this.Echo = this.Echo.bind(this);
|
|
3953
4317
|
this.Flush = this.Flush.bind(this);
|
|
3954
4318
|
this.Info = this.Info.bind(this);
|
|
3955
|
-
this.SetOption = this.SetOption.bind(this);
|
|
3956
4319
|
this.DeliverTx = this.DeliverTx.bind(this);
|
|
3957
4320
|
this.CheckTx = this.CheckTx.bind(this);
|
|
3958
4321
|
this.Query = this.Query.bind(this);
|
|
@@ -3964,6 +4327,8 @@ export class ABCIApplicationClientImpl implements ABCIApplication {
|
|
|
3964
4327
|
this.OfferSnapshot = this.OfferSnapshot.bind(this);
|
|
3965
4328
|
this.LoadSnapshotChunk = this.LoadSnapshotChunk.bind(this);
|
|
3966
4329
|
this.ApplySnapshotChunk = this.ApplySnapshotChunk.bind(this);
|
|
4330
|
+
this.PrepareProposal = this.PrepareProposal.bind(this);
|
|
4331
|
+
this.ProcessProposal = this.ProcessProposal.bind(this);
|
|
3967
4332
|
}
|
|
3968
4333
|
Echo(request: RequestEcho): Promise<ResponseEcho> {
|
|
3969
4334
|
const data = RequestEcho.encode(request).finish();
|
|
@@ -3983,12 +4348,6 @@ export class ABCIApplicationClientImpl implements ABCIApplication {
|
|
|
3983
4348
|
return promise.then((data) => ResponseInfo.decode(new _m0.Reader(data)));
|
|
3984
4349
|
}
|
|
3985
4350
|
|
|
3986
|
-
SetOption(request: RequestSetOption): Promise<ResponseSetOption> {
|
|
3987
|
-
const data = RequestSetOption.encode(request).finish();
|
|
3988
|
-
const promise = this.rpc.request("tendermint.abci.ABCIApplication", "SetOption", data);
|
|
3989
|
-
return promise.then((data) => ResponseSetOption.decode(new _m0.Reader(data)));
|
|
3990
|
-
}
|
|
3991
|
-
|
|
3992
4351
|
DeliverTx(request: RequestDeliverTx): Promise<ResponseDeliverTx> {
|
|
3993
4352
|
const data = RequestDeliverTx.encode(request).finish();
|
|
3994
4353
|
const promise = this.rpc.request("tendermint.abci.ABCIApplication", "DeliverTx", data);
|
|
@@ -4054,6 +4413,18 @@ export class ABCIApplicationClientImpl implements ABCIApplication {
|
|
|
4054
4413
|
const promise = this.rpc.request("tendermint.abci.ABCIApplication", "ApplySnapshotChunk", data);
|
|
4055
4414
|
return promise.then((data) => ResponseApplySnapshotChunk.decode(new _m0.Reader(data)));
|
|
4056
4415
|
}
|
|
4416
|
+
|
|
4417
|
+
PrepareProposal(request: RequestPrepareProposal): Promise<ResponsePrepareProposal> {
|
|
4418
|
+
const data = RequestPrepareProposal.encode(request).finish();
|
|
4419
|
+
const promise = this.rpc.request("tendermint.abci.ABCIApplication", "PrepareProposal", data);
|
|
4420
|
+
return promise.then((data) => ResponsePrepareProposal.decode(new _m0.Reader(data)));
|
|
4421
|
+
}
|
|
4422
|
+
|
|
4423
|
+
ProcessProposal(request: RequestProcessProposal): Promise<ResponseProcessProposal> {
|
|
4424
|
+
const data = RequestProcessProposal.encode(request).finish();
|
|
4425
|
+
const promise = this.rpc.request("tendermint.abci.ABCIApplication", "ProcessProposal", data);
|
|
4426
|
+
return promise.then((data) => ResponseProcessProposal.decode(new _m0.Reader(data)));
|
|
4427
|
+
}
|
|
4057
4428
|
}
|
|
4058
4429
|
|
|
4059
4430
|
interface Rpc {
|