@iconlake/client 0.0.2 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client.ts +13 -12
- package/cosmos.auth.v1beta1/index.ts +0 -0
- package/cosmos.auth.v1beta1/module.ts +2 -0
- package/cosmos.auth.v1beta1/registry.ts +0 -0
- package/cosmos.auth.v1beta1/rest.ts +113 -3
- package/cosmos.auth.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/auth.ts +104 -0
- package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/genesis.ts +1 -1
- package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/query.ts +157 -4
- package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/tx.ts +172 -0
- package/cosmos.auth.v1beta1/types/cosmos/msg/v1/msg.ts +2 -0
- package/cosmos.auth.v1beta1/types/cosmos/query/v1/query.ts +2 -0
- package/cosmos.auth.v1beta1/types.ts +2 -0
- package/cosmos.authz.v1beta1/index.ts +0 -0
- package/cosmos.authz.v1beta1/module.ts +24 -24
- package/cosmos.authz.v1beta1/registry.ts +2 -2
- package/cosmos.authz.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/tx.ts +1 -1
- package/cosmos.authz.v1beta1/types.ts +0 -0
- package/cosmos.bank.v1beta1/index.ts +0 -0
- package/cosmos.bank.v1beta1/module.ts +0 -0
- package/cosmos.bank.v1beta1/registry.ts +0 -0
- package/cosmos.bank.v1beta1/rest.ts +99 -6
- package/cosmos.bank.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/authz.ts +24 -2
- package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/bank.ts +9 -0
- package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/genesis.ts +25 -4
- package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/query.ts +356 -5
- package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/tx.ts +305 -1
- package/cosmos.bank.v1beta1/types/cosmos/query/v1/query.ts +2 -0
- package/cosmos.bank.v1beta1/types.ts +0 -0
- package/cosmos.base.node.v1beta1/index.ts +0 -0
- package/cosmos.base.node.v1beta1/module.ts +0 -0
- package/cosmos.base.node.v1beta1/registry.ts +0 -0
- package/cosmos.base.node.v1beta1/types.ts +0 -0
- package/cosmos.base.tendermint.v1beta1/index.ts +0 -0
- package/cosmos.base.tendermint.v1beta1/module.ts +0 -0
- package/cosmos.base.tendermint.v1beta1/registry.ts +0 -0
- package/cosmos.base.tendermint.v1beta1/rest.ts +21 -30
- package/cosmos.base.tendermint.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.base.tendermint.v1beta1/types/cosmos/base/tendermint/v1beta1/query.ts +16 -46
- package/cosmos.base.tendermint.v1beta1/types/tendermint/crypto/keys.ts +1 -1
- package/cosmos.base.tendermint.v1beta1/types/tendermint/types/types.ts +1 -1
- package/cosmos.base.tendermint.v1beta1/types.ts +0 -0
- package/cosmos.consensus.v1/index.ts +6 -0
- package/cosmos.consensus.v1/module.ts +129 -0
- package/cosmos.consensus.v1/registry.ts +9 -0
- package/cosmos.consensus.v1/rest.ts +268 -0
- package/cosmos.consensus.v1/types/cosmos/consensus/v1/query.ts +147 -0
- package/cosmos.consensus.v1/types/cosmos/consensus/v1/tx.ts +196 -0
- package/cosmos.consensus.v1/types/cosmos/msg/v1/msg.ts +2 -0
- package/cosmos.consensus.v1/types/cosmos_proto/cosmos.ts +247 -0
- package/cosmos.consensus.v1/types/gogoproto/gogo.ts +2 -0
- package/cosmos.consensus.v1/types/google/api/annotations.ts +2 -0
- package/cosmos.consensus.v1/types/google/api/http.ts +589 -0
- package/cosmos.consensus.v1/types/google/protobuf/descriptor.ts +3753 -0
- package/cosmos.consensus.v1/types/google/protobuf/duration.ts +187 -0
- package/cosmos.consensus.v1/types/tendermint/types/params.ts +498 -0
- package/cosmos.consensus.v1/types.ts +5 -0
- package/cosmos.crisis.v1beta1/index.ts +0 -0
- package/cosmos.crisis.v1beta1/module.ts +34 -1
- package/cosmos.crisis.v1beta1/registry.ts +2 -0
- package/cosmos.crisis.v1beta1/rest.ts +19 -0
- package/cosmos.crisis.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.crisis.v1beta1/types/cosmos/crisis/v1beta1/tx.ts +140 -1
- package/cosmos.crisis.v1beta1/types.ts +0 -0
- package/cosmos.distribution.v1beta1/index.ts +0 -0
- package/cosmos.distribution.v1beta1/module.ts +79 -13
- package/cosmos.distribution.v1beta1/registry.ts +6 -2
- package/cosmos.distribution.v1beta1/rest.ts +66 -7
- package/cosmos.distribution.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/distribution.ts +19 -0
- package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/genesis.ts +4 -4
- package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/query.ts +158 -1
- package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/tx.ts +300 -3
- package/cosmos.distribution.v1beta1/types.ts +0 -0
- package/cosmos.evidence.v1beta1/index.ts +0 -0
- package/cosmos.evidence.v1beta1/module.ts +0 -0
- package/cosmos.evidence.v1beta1/registry.ts +0 -0
- package/cosmos.evidence.v1beta1/rest.ts +4 -3
- package/cosmos.evidence.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/evidence.ts +7 -1
- package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/query.ts +25 -3
- package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/tx.ts +2 -0
- package/cosmos.evidence.v1beta1/types.ts +0 -0
- package/cosmos.feegrant.v1beta1/index.ts +0 -0
- package/cosmos.feegrant.v1beta1/module.ts +24 -24
- package/cosmos.feegrant.v1beta1/registry.ts +2 -2
- package/cosmos.feegrant.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.feegrant.v1beta1/types.ts +0 -0
- package/cosmos.gov.v1/index.ts +0 -0
- package/cosmos.gov.v1/module.ts +67 -32
- package/cosmos.gov.v1/registry.ts +4 -2
- package/cosmos.gov.v1/rest.ts +155 -41
- package/cosmos.gov.v1/types/amino/amino.ts +2 -0
- package/cosmos.gov.v1/types/cosmos/gov/v1/genesis.ts +40 -5
- package/cosmos.gov.v1/types/cosmos/gov/v1/gov.ts +277 -6
- package/cosmos.gov.v1/types/cosmos/gov/v1/query.ts +45 -7
- package/cosmos.gov.v1/types/cosmos/gov/v1/tx.ts +186 -3
- package/cosmos.gov.v1/types.ts +2 -0
- package/cosmos.gov.v1beta1/index.ts +0 -0
- package/cosmos.gov.v1beta1/module.ts +29 -29
- package/cosmos.gov.v1beta1/registry.ts +2 -2
- package/cosmos.gov.v1beta1/rest.ts +65 -96
- package/cosmos.gov.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/genesis.ts +3 -3
- package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/gov.ts +45 -10
- package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/query.ts +4 -2
- package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/tx.ts +16 -1
- package/cosmos.gov.v1beta1/types.ts +0 -0
- package/cosmos.group.v1/index.ts +0 -0
- package/cosmos.group.v1/module.ts +160 -158
- package/cosmos.group.v1/registry.ts +14 -14
- package/cosmos.group.v1/rest.ts +68 -9
- package/cosmos.group.v1/types/amino/amino.ts +2 -0
- package/cosmos.group.v1/types/cosmos/group/v1/events.ts +89 -1
- package/cosmos.group.v1/types/cosmos/group/v1/query.ts +155 -5
- package/cosmos.group.v1/types/cosmos/group/v1/tx.ts +79 -49
- package/cosmos.group.v1/types/cosmos/group/v1/types.ts +46 -6
- package/cosmos.group.v1/types.ts +2 -0
- package/cosmos.mint.v1beta1/index.ts +0 -0
- package/cosmos.mint.v1beta1/module.ts +0 -0
- package/cosmos.mint.v1beta1/registry.ts +0 -0
- package/cosmos.mint.v1beta1/rest.ts +9 -1
- package/cosmos.mint.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/genesis.ts +1 -1
- package/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/mint.ts +1 -1
- package/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/tx.ts +172 -0
- package/cosmos.mint.v1beta1/types/cosmos/msg/v1/msg.ts +2 -0
- package/cosmos.mint.v1beta1/types.ts +0 -0
- package/cosmos.nft.v1beta1/index.ts +0 -0
- package/cosmos.nft.v1beta1/module.ts +0 -0
- package/cosmos.nft.v1beta1/registry.ts +0 -0
- package/cosmos.nft.v1beta1/rest.ts +18 -22
- package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/event.ts +10 -0
- package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/genesis.ts +1 -0
- package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/query.ts +20 -0
- package/cosmos.nft.v1beta1/types/cosmos_proto/cosmos.ts +247 -0
- package/cosmos.nft.v1beta1/types.ts +0 -0
- package/cosmos.params.v1beta1/index.ts +0 -0
- package/cosmos.params.v1beta1/module.ts +0 -0
- package/cosmos.params.v1beta1/registry.ts +0 -0
- package/cosmos.params.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.params.v1beta1/types.ts +0 -0
- package/cosmos.slashing.v1beta1/index.ts +0 -0
- package/cosmos.slashing.v1beta1/module.ts +0 -0
- package/cosmos.slashing.v1beta1/registry.ts +0 -0
- package/cosmos.slashing.v1beta1/rest.ts +8 -0
- package/cosmos.slashing.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/genesis.ts +1 -1
- package/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/tx.ts +139 -0
- package/cosmos.slashing.v1beta1/types.ts +0 -0
- package/cosmos.staking.v1beta1/index.ts +0 -0
- package/cosmos.staking.v1beta1/module.ts +66 -64
- package/cosmos.staking.v1beta1/registry.ts +6 -6
- package/cosmos.staking.v1beta1/rest.ts +51 -10
- package/cosmos.staking.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.staking.v1beta1/types/cosmos/query/v1/query.ts +2 -0
- package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/genesis.ts +1 -1
- package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/query.ts +36 -5
- package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/staking.ts +206 -3
- package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/tx.ts +138 -1
- package/cosmos.staking.v1beta1/types/tendermint/abci/types.ts +4525 -0
- package/cosmos.staking.v1beta1/types/tendermint/crypto/keys.ts +1 -1
- package/cosmos.staking.v1beta1/types/tendermint/types/params.ts +498 -0
- package/cosmos.staking.v1beta1/types/tendermint/types/types.ts +1 -1
- package/cosmos.staking.v1beta1/types.ts +2 -0
- package/cosmos.tx.v1beta1/index.ts +0 -0
- package/cosmos.tx.v1beta1/module.ts +0 -0
- package/cosmos.tx.v1beta1/registry.ts +0 -0
- package/cosmos.tx.v1beta1/rest.ts +180 -19
- package/cosmos.tx.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.tx.v1beta1/types/cosmos/tx/v1beta1/service.ts +524 -2
- package/cosmos.tx.v1beta1/types/tendermint/abci/types.ts +704 -333
- package/cosmos.tx.v1beta1/types/tendermint/crypto/keys.ts +1 -1
- package/cosmos.tx.v1beta1/types/tendermint/types/params.ts +9 -25
- package/cosmos.tx.v1beta1/types/tendermint/types/types.ts +1 -1
- package/cosmos.tx.v1beta1/types.ts +0 -0
- package/cosmos.upgrade.v1beta1/index.ts +0 -0
- package/cosmos.upgrade.v1beta1/module.ts +0 -0
- package/cosmos.upgrade.v1beta1/registry.ts +0 -0
- package/cosmos.upgrade.v1beta1/rest.ts +0 -1
- package/cosmos.upgrade.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/tx.ts +3 -3
- package/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/upgrade.ts +6 -4
- package/cosmos.upgrade.v1beta1/types.ts +0 -0
- package/cosmos.vesting.v1beta1/index.ts +0 -0
- package/cosmos.vesting.v1beta1/module.ts +24 -24
- package/cosmos.vesting.v1beta1/registry.ts +2 -2
- package/cosmos.vesting.v1beta1/rest.ts +4 -1
- package/cosmos.vesting.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.vesting.v1beta1/types/cosmos/auth/v1beta1/auth.ts +104 -0
- package/cosmos.vesting.v1beta1/types/cosmos/vesting/v1beta1/tx.ts +2 -0
- package/cosmos.vesting.v1beta1/types/cosmos/vesting/v1beta1/vesting.ts +6 -1
- package/cosmos.vesting.v1beta1/types.ts +0 -0
- package/dist/client.js +135 -0
- package/dist/cosmos.auth.v1beta1/index.js +5 -0
- package/dist/cosmos.auth.v1beta1/module.js +64 -0
- package/dist/cosmos.auth.v1beta1/registry.js +2 -0
- package/dist/cosmos.auth.v1beta1/rest.js +228 -0
- package/dist/cosmos.auth.v1beta1/types/amino/amino.js +2 -0
- package/dist/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/auth.js +344 -0
- package/dist/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/genesis.js +67 -0
- package/dist/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/query.js +969 -0
- package/dist/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/tx.js +105 -0
- package/dist/cosmos.auth.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/dist/cosmos.auth.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
- package/dist/cosmos.auth.v1beta1/types/cosmos/query/v1/query.js +2 -0
- package/dist/cosmos.auth.v1beta1/types/cosmos_proto/cosmos.js +171 -0
- package/dist/cosmos.auth.v1beta1/types/gogoproto/gogo.js +2 -0
- package/dist/cosmos.auth.v1beta1/types/google/api/annotations.js +2 -0
- package/dist/cosmos.auth.v1beta1/types/google/api/http.js +260 -0
- package/dist/cosmos.auth.v1beta1/types/google/protobuf/any.js +99 -0
- package/dist/cosmos.auth.v1beta1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/cosmos.auth.v1beta1/types.js +5 -0
- package/dist/cosmos.authz.v1beta1/index.js +5 -0
- package/dist/cosmos.authz.v1beta1/module.js +140 -0
- package/dist/cosmos.authz.v1beta1/registry.js +9 -0
- package/dist/cosmos.authz.v1beta1/rest.js +131 -0
- package/dist/cosmos.authz.v1beta1/types/amino/amino.js +2 -0
- package/dist/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/authz.js +244 -0
- package/dist/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/event.js +128 -0
- package/dist/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/genesis.js +54 -0
- package/dist/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/query.js +394 -0
- package/dist/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/tx.js +362 -0
- package/dist/cosmos.authz.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/dist/cosmos.authz.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
- package/dist/cosmos.authz.v1beta1/types/cosmos_proto/cosmos.js +171 -0
- package/dist/cosmos.authz.v1beta1/types/gogoproto/gogo.js +2 -0
- package/dist/cosmos.authz.v1beta1/types/google/api/annotations.js +2 -0
- package/dist/cosmos.authz.v1beta1/types/google/api/http.js +260 -0
- package/dist/cosmos.authz.v1beta1/types/google/protobuf/any.js +99 -0
- package/dist/cosmos.authz.v1beta1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/cosmos.authz.v1beta1/types/google/protobuf/timestamp.js +84 -0
- package/dist/cosmos.authz.v1beta1/types.js +7 -0
- package/dist/cosmos.bank.v1beta1/index.js +5 -0
- package/dist/cosmos.bank.v1beta1/module.js +125 -0
- package/dist/cosmos.bank.v1beta1/registry.js +7 -0
- package/dist/cosmos.bank.v1beta1/rest.js +253 -0
- package/dist/cosmos.bank.v1beta1/types/amino/amino.js +2 -0
- package/dist/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/authz.js +66 -0
- package/dist/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/bank.js +455 -0
- package/dist/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/genesis.js +170 -0
- package/dist/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/query.js +1243 -0
- package/dist/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/tx.js +424 -0
- package/dist/cosmos.bank.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/dist/cosmos.bank.v1beta1/types/cosmos/base/v1beta1/coin.js +192 -0
- package/dist/cosmos.bank.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
- package/dist/cosmos.bank.v1beta1/types/cosmos/query/v1/query.js +2 -0
- package/dist/cosmos.bank.v1beta1/types/cosmos_proto/cosmos.js +171 -0
- package/dist/cosmos.bank.v1beta1/types/gogoproto/gogo.js +2 -0
- package/dist/cosmos.bank.v1beta1/types/google/api/annotations.js +2 -0
- package/dist/cosmos.bank.v1beta1/types/google/api/http.js +260 -0
- package/dist/cosmos.bank.v1beta1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/cosmos.bank.v1beta1/types.js +11 -0
- package/dist/cosmos.base.node.v1beta1/index.js +5 -0
- package/dist/cosmos.base.node.v1beta1/module.js +55 -0
- package/dist/cosmos.base.node.v1beta1/registry.js +2 -0
- package/dist/cosmos.base.node.v1beta1/rest.js +100 -0
- package/dist/cosmos.base.node.v1beta1/types/cosmos/base/node/v1beta1/query.js +91 -0
- package/dist/cosmos.base.node.v1beta1/types/google/api/annotations.js +2 -0
- package/dist/cosmos.base.node.v1beta1/types/google/api/http.js +260 -0
- package/dist/cosmos.base.node.v1beta1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/cosmos.base.node.v1beta1/types.js +1 -0
- package/dist/cosmos.base.tendermint.v1beta1/index.js +5 -0
- package/dist/cosmos.base.tendermint.v1beta1/module.js +70 -0
- package/dist/cosmos.base.tendermint.v1beta1/registry.js +2 -0
- package/dist/cosmos.base.tendermint.v1beta1/rest.js +209 -0
- package/dist/cosmos.base.tendermint.v1beta1/types/amino/amino.js +2 -0
- package/dist/cosmos.base.tendermint.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/dist/cosmos.base.tendermint.v1beta1/types/cosmos/base/tendermint/v1beta1/query.js +1281 -0
- package/dist/cosmos.base.tendermint.v1beta1/types/cosmos/base/tendermint/v1beta1/types.js +350 -0
- package/dist/cosmos.base.tendermint.v1beta1/types/cosmos_proto/cosmos.js +171 -0
- package/dist/cosmos.base.tendermint.v1beta1/types/gogoproto/gogo.js +2 -0
- package/dist/cosmos.base.tendermint.v1beta1/types/google/api/annotations.js +2 -0
- package/dist/cosmos.base.tendermint.v1beta1/types/google/api/http.js +260 -0
- package/dist/cosmos.base.tendermint.v1beta1/types/google/protobuf/any.js +99 -0
- package/dist/cosmos.base.tendermint.v1beta1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/cosmos.base.tendermint.v1beta1/types/google/protobuf/timestamp.js +84 -0
- package/dist/cosmos.base.tendermint.v1beta1/types/tendermint/crypto/keys.js +100 -0
- package/dist/cosmos.base.tendermint.v1beta1/types/tendermint/crypto/proof.js +356 -0
- package/dist/cosmos.base.tendermint.v1beta1/types/tendermint/p2p/types.js +352 -0
- package/dist/cosmos.base.tendermint.v1beta1/types/tendermint/types/block.js +86 -0
- package/dist/cosmos.base.tendermint.v1beta1/types/tendermint/types/evidence.js +343 -0
- package/dist/cosmos.base.tendermint.v1beta1/types/tendermint/types/types.js +1207 -0
- package/dist/cosmos.base.tendermint.v1beta1/types/tendermint/types/validator.js +254 -0
- package/dist/cosmos.base.tendermint.v1beta1/types/tendermint/version/types.js +133 -0
- package/dist/cosmos.base.tendermint.v1beta1/types.js +8 -0
- package/dist/cosmos.consensus.v1/index.js +5 -0
- package/dist/cosmos.consensus.v1/module.js +81 -0
- package/dist/cosmos.consensus.v1/registry.js +5 -0
- package/dist/cosmos.consensus.v1/rest.js +100 -0
- package/dist/cosmos.consensus.v1/types/cosmos/consensus/v1/query.js +94 -0
- package/dist/cosmos.consensus.v1/types/cosmos/consensus/v1/tx.js +129 -0
- package/dist/cosmos.consensus.v1/types/cosmos/msg/v1/msg.js +2 -0
- package/dist/cosmos.consensus.v1/types/cosmos_proto/cosmos.js +171 -0
- package/dist/cosmos.consensus.v1/types/gogoproto/gogo.js +2 -0
- package/dist/cosmos.consensus.v1/types/google/api/annotations.js +2 -0
- package/dist/cosmos.consensus.v1/types/google/api/http.js +260 -0
- package/dist/cosmos.consensus.v1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/cosmos.consensus.v1/types/google/protobuf/duration.js +84 -0
- package/dist/cosmos.consensus.v1/types/tendermint/types/params.js +369 -0
- package/dist/cosmos.consensus.v1/types.js +1 -0
- package/dist/cosmos.crisis.v1beta1/index.js +5 -0
- package/dist/cosmos.crisis.v1beta1/module.js +104 -0
- package/dist/cosmos.crisis.v1beta1/registry.js +7 -0
- package/dist/cosmos.crisis.v1beta1/rest.js +83 -0
- package/dist/cosmos.crisis.v1beta1/types/amino/amino.js +2 -0
- package/dist/cosmos.crisis.v1beta1/types/cosmos/base/v1beta1/coin.js +192 -0
- package/dist/cosmos.crisis.v1beta1/types/cosmos/crisis/v1beta1/genesis.js +51 -0
- package/dist/cosmos.crisis.v1beta1/types/cosmos/crisis/v1beta1/tx.js +206 -0
- package/dist/cosmos.crisis.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
- package/dist/cosmos.crisis.v1beta1/types/cosmos_proto/cosmos.js +171 -0
- package/dist/cosmos.crisis.v1beta1/types/gogoproto/gogo.js +2 -0
- package/dist/cosmos.crisis.v1beta1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/cosmos.crisis.v1beta1/types.js +1 -0
- package/dist/cosmos.distribution.v1beta1/index.js +5 -0
- package/dist/cosmos.distribution.v1beta1/module.js +235 -0
- package/dist/cosmos.distribution.v1beta1/registry.js +15 -0
- package/dist/cosmos.distribution.v1beta1/rest.js +228 -0
- package/dist/cosmos.distribution.v1beta1/types/amino/amino.js +2 -0
- package/dist/cosmos.distribution.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/dist/cosmos.distribution.v1beta1/types/cosmos/base/v1beta1/coin.js +192 -0
- package/dist/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/distribution.js +737 -0
- package/dist/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/genesis.js +656 -0
- package/dist/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/query.js +1046 -0
- package/dist/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/tx.js +595 -0
- package/dist/cosmos.distribution.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
- package/dist/cosmos.distribution.v1beta1/types/cosmos_proto/cosmos.js +171 -0
- package/dist/cosmos.distribution.v1beta1/types/gogoproto/gogo.js +2 -0
- package/dist/cosmos.distribution.v1beta1/types/google/api/annotations.js +2 -0
- package/dist/cosmos.distribution.v1beta1/types/google/api/http.js +260 -0
- package/dist/cosmos.distribution.v1beta1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/cosmos.distribution.v1beta1/types.js +20 -0
- package/dist/cosmos.evidence.v1beta1/index.js +5 -0
- package/dist/cosmos.evidence.v1beta1/module.js +84 -0
- package/dist/cosmos.evidence.v1beta1/registry.js +5 -0
- package/dist/cosmos.evidence.v1beta1/rest.js +116 -0
- package/dist/cosmos.evidence.v1beta1/types/amino/amino.js +2 -0
- package/dist/cosmos.evidence.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/dist/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/evidence.js +124 -0
- package/dist/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/genesis.js +50 -0
- package/dist/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/query.js +265 -0
- package/dist/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/tx.js +154 -0
- package/dist/cosmos.evidence.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
- package/dist/cosmos.evidence.v1beta1/types/cosmos_proto/cosmos.js +171 -0
- package/dist/cosmos.evidence.v1beta1/types/gogoproto/gogo.js +2 -0
- package/dist/cosmos.evidence.v1beta1/types/google/api/annotations.js +2 -0
- package/dist/cosmos.evidence.v1beta1/types/google/api/http.js +260 -0
- package/dist/cosmos.evidence.v1beta1/types/google/protobuf/any.js +99 -0
- package/dist/cosmos.evidence.v1beta1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/cosmos.evidence.v1beta1/types/google/protobuf/timestamp.js +84 -0
- package/dist/cosmos.evidence.v1beta1/types.js +2 -0
- package/dist/cosmos.feegrant.v1beta1/index.js +5 -0
- package/dist/cosmos.feegrant.v1beta1/module.js +113 -0
- package/dist/cosmos.feegrant.v1beta1/registry.js +7 -0
- package/dist/cosmos.feegrant.v1beta1/rest.js +130 -0
- package/dist/cosmos.feegrant.v1beta1/types/amino/amino.js +2 -0
- package/dist/cosmos.feegrant.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/dist/cosmos.feegrant.v1beta1/types/cosmos/base/v1beta1/coin.js +192 -0
- package/dist/cosmos.feegrant.v1beta1/types/cosmos/feegrant/v1beta1/feegrant.js +307 -0
- package/dist/cosmos.feegrant.v1beta1/types/cosmos/feegrant/v1beta1/genesis.js +52 -0
- package/dist/cosmos.feegrant.v1beta1/types/cosmos/feegrant/v1beta1/query.js +357 -0
- package/dist/cosmos.feegrant.v1beta1/types/cosmos/feegrant/v1beta1/tx.js +205 -0
- package/dist/cosmos.feegrant.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
- package/dist/cosmos.feegrant.v1beta1/types/cosmos_proto/cosmos.js +171 -0
- package/dist/cosmos.feegrant.v1beta1/types/gogoproto/gogo.js +2 -0
- package/dist/cosmos.feegrant.v1beta1/types/google/api/annotations.js +2 -0
- package/dist/cosmos.feegrant.v1beta1/types/google/api/http.js +260 -0
- package/dist/cosmos.feegrant.v1beta1/types/google/protobuf/any.js +99 -0
- package/dist/cosmos.feegrant.v1beta1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/cosmos.feegrant.v1beta1/types/google/protobuf/duration.js +84 -0
- package/dist/cosmos.feegrant.v1beta1/types/google/protobuf/timestamp.js +84 -0
- package/dist/cosmos.feegrant.v1beta1/types.js +5 -0
- package/dist/cosmos.gov.v1/index.js +5 -0
- package/dist/cosmos.gov.v1/module.js +192 -0
- package/dist/cosmos.gov.v1/registry.js +13 -0
- package/dist/cosmos.gov.v1/rest.js +242 -0
- package/dist/cosmos.gov.v1/types/amino/amino.js +2 -0
- package/dist/cosmos.gov.v1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/dist/cosmos.gov.v1/types/cosmos/base/v1beta1/coin.js +192 -0
- package/dist/cosmos.gov.v1/types/cosmos/gov/v1/genesis.js +174 -0
- package/dist/cosmos.gov.v1/types/cosmos/gov/v1/gov.js +945 -0
- package/dist/cosmos.gov.v1/types/cosmos/gov/v1/query.js +928 -0
- package/dist/cosmos.gov.v1/types/cosmos/gov/v1/tx.js +701 -0
- package/dist/cosmos.gov.v1/types/cosmos/msg/v1/msg.js +2 -0
- package/dist/cosmos.gov.v1/types/cosmos_proto/cosmos.js +171 -0
- package/dist/cosmos.gov.v1/types/gogoproto/gogo.js +2 -0
- package/dist/cosmos.gov.v1/types/google/api/annotations.js +2 -0
- package/dist/cosmos.gov.v1/types/google/api/http.js +260 -0
- package/dist/cosmos.gov.v1/types/google/protobuf/any.js +99 -0
- package/dist/cosmos.gov.v1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/cosmos.gov.v1/types/google/protobuf/duration.js +84 -0
- package/dist/cosmos.gov.v1/types/google/protobuf/timestamp.js +84 -0
- package/dist/cosmos.gov.v1/types.js +10 -0
- package/dist/cosmos.gov.v1beta1/index.js +5 -0
- package/dist/cosmos.gov.v1beta1/module.js +169 -0
- package/dist/cosmos.gov.v1beta1/registry.js +11 -0
- package/dist/cosmos.gov.v1beta1/rest.js +242 -0
- package/dist/cosmos.gov.v1beta1/types/amino/amino.js +2 -0
- package/dist/cosmos.gov.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/dist/cosmos.gov.v1beta1/types/cosmos/base/v1beta1/coin.js +192 -0
- package/dist/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/genesis.js +162 -0
- package/dist/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/gov.js +832 -0
- package/dist/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/query.js +917 -0
- package/dist/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/tx.js +467 -0
- package/dist/cosmos.gov.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
- package/dist/cosmos.gov.v1beta1/types/cosmos_proto/cosmos.js +171 -0
- package/dist/cosmos.gov.v1beta1/types/gogoproto/gogo.js +2 -0
- package/dist/cosmos.gov.v1beta1/types/google/api/annotations.js +2 -0
- package/dist/cosmos.gov.v1beta1/types/google/api/http.js +260 -0
- package/dist/cosmos.gov.v1beta1/types/google/protobuf/any.js +99 -0
- package/dist/cosmos.gov.v1beta1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/cosmos.gov.v1beta1/types/google/protobuf/duration.js +84 -0
- package/dist/cosmos.gov.v1beta1/types/google/protobuf/timestamp.js +84 -0
- package/dist/cosmos.gov.v1beta1/types.js +10 -0
- package/dist/cosmos.group.v1/index.js +5 -0
- package/dist/cosmos.group.v1/module.js +423 -0
- package/dist/cosmos.group.v1/registry.js +31 -0
- package/dist/cosmos.group.v1/rest.js +366 -0
- package/dist/cosmos.group.v1/types/amino/amino.js +2 -0
- package/dist/cosmos.group.v1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/dist/cosmos.group.v1/types/cosmos/group/v1/events.js +497 -0
- package/dist/cosmos.group.v1/types/cosmos/group/v1/genesis.js +177 -0
- package/dist/cosmos.group.v1/types/cosmos/group/v1/query.js +1578 -0
- package/dist/cosmos.group.v1/types/cosmos/group/v1/tx.js +1639 -0
- package/dist/cosmos.group.v1/types/cosmos/group/v1/types.js +1125 -0
- package/dist/cosmos.group.v1/types/cosmos/msg/v1/msg.js +2 -0
- package/dist/cosmos.group.v1/types/cosmos_proto/cosmos.js +171 -0
- package/dist/cosmos.group.v1/types/gogoproto/gogo.js +2 -0
- package/dist/cosmos.group.v1/types/google/api/annotations.js +2 -0
- package/dist/cosmos.group.v1/types/google/api/http.js +260 -0
- package/dist/cosmos.group.v1/types/google/protobuf/any.js +99 -0
- package/dist/cosmos.group.v1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/cosmos.group.v1/types/google/protobuf/duration.js +84 -0
- package/dist/cosmos.group.v1/types/google/protobuf/timestamp.js +84 -0
- package/dist/cosmos.group.v1/types.js +22 -0
- package/dist/cosmos.mint.v1beta1/index.js +5 -0
- package/dist/cosmos.mint.v1beta1/module.js +60 -0
- package/dist/cosmos.mint.v1beta1/registry.js +2 -0
- package/dist/cosmos.mint.v1beta1/rest.js +128 -0
- package/dist/cosmos.mint.v1beta1/types/amino/amino.js +2 -0
- package/dist/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/genesis.js +63 -0
- package/dist/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/mint.js +179 -0
- package/dist/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/query.js +298 -0
- package/dist/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/tx.js +105 -0
- package/dist/cosmos.mint.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
- package/dist/cosmos.mint.v1beta1/types/cosmos_proto/cosmos.js +171 -0
- package/dist/cosmos.mint.v1beta1/types/gogoproto/gogo.js +2 -0
- package/dist/cosmos.mint.v1beta1/types/google/api/annotations.js +2 -0
- package/dist/cosmos.mint.v1beta1/types/google/api/http.js +260 -0
- package/dist/cosmos.mint.v1beta1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/cosmos.mint.v1beta1/types.js +3 -0
- package/dist/cosmos.nft.v1beta1/index.js +5 -0
- package/dist/cosmos.nft.v1beta1/module.js +68 -0
- package/dist/cosmos.nft.v1beta1/registry.js +2 -0
- package/dist/cosmos.nft.v1beta1/rest.js +187 -0
- package/dist/cosmos.nft.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/dist/cosmos.nft.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
- package/dist/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/event.js +198 -0
- package/dist/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/genesis.js +126 -0
- package/dist/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/nft.js +183 -0
- package/dist/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/query.js +752 -0
- package/dist/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/tx.js +120 -0
- package/dist/cosmos.nft.v1beta1/types/cosmos_proto/cosmos.js +171 -0
- package/dist/cosmos.nft.v1beta1/types/google/api/annotations.js +2 -0
- package/dist/cosmos.nft.v1beta1/types/google/api/http.js +260 -0
- package/dist/cosmos.nft.v1beta1/types/google/protobuf/any.js +99 -0
- package/dist/cosmos.nft.v1beta1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/cosmos.nft.v1beta1/types.js +7 -0
- package/dist/cosmos.params.v1beta1/index.js +5 -0
- package/dist/cosmos.params.v1beta1/module.js +62 -0
- package/dist/cosmos.params.v1beta1/registry.js +2 -0
- package/dist/cosmos.params.v1beta1/rest.js +116 -0
- package/dist/cosmos.params.v1beta1/types/amino/amino.js +2 -0
- package/dist/cosmos.params.v1beta1/types/cosmos/params/v1beta1/params.js +133 -0
- package/dist/cosmos.params.v1beta1/types/cosmos/params/v1beta1/query.js +257 -0
- package/dist/cosmos.params.v1beta1/types/cosmos_proto/cosmos.js +171 -0
- package/dist/cosmos.params.v1beta1/types/gogoproto/gogo.js +2 -0
- package/dist/cosmos.params.v1beta1/types/google/api/annotations.js +2 -0
- package/dist/cosmos.params.v1beta1/types/google/api/http.js +260 -0
- package/dist/cosmos.params.v1beta1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/cosmos.params.v1beta1/types.js +4 -0
- package/dist/cosmos.slashing.v1beta1/index.js +5 -0
- package/dist/cosmos.slashing.v1beta1/module.js +92 -0
- package/dist/cosmos.slashing.v1beta1/registry.js +5 -0
- package/dist/cosmos.slashing.v1beta1/rest.js +129 -0
- package/dist/cosmos.slashing.v1beta1/types/amino/amino.js +2 -0
- package/dist/cosmos.slashing.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/dist/cosmos.slashing.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
- package/dist/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/genesis.js +279 -0
- package/dist/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/query.js +300 -0
- package/dist/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/slashing.js +275 -0
- package/dist/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/tx.js +185 -0
- package/dist/cosmos.slashing.v1beta1/types/cosmos_proto/cosmos.js +171 -0
- package/dist/cosmos.slashing.v1beta1/types/gogoproto/gogo.js +2 -0
- package/dist/cosmos.slashing.v1beta1/types/google/api/annotations.js +2 -0
- package/dist/cosmos.slashing.v1beta1/types/google/api/http.js +260 -0
- package/dist/cosmos.slashing.v1beta1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/cosmos.slashing.v1beta1/types/google/protobuf/duration.js +84 -0
- package/dist/cosmos.slashing.v1beta1/types/google/protobuf/timestamp.js +84 -0
- package/dist/cosmos.slashing.v1beta1/types.js +6 -0
- package/dist/cosmos.staking.v1beta1/index.js +5 -0
- package/dist/cosmos.staking.v1beta1/module.js +245 -0
- package/dist/cosmos.staking.v1beta1/registry.js +15 -0
- package/dist/cosmos.staking.v1beta1/rest.js +308 -0
- package/dist/cosmos.staking.v1beta1/types/amino/amino.js +2 -0
- package/dist/cosmos.staking.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/dist/cosmos.staking.v1beta1/types/cosmos/base/v1beta1/coin.js +192 -0
- package/dist/cosmos.staking.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
- package/dist/cosmos.staking.v1beta1/types/cosmos/query/v1/query.js +2 -0
- package/dist/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/authz.js +184 -0
- package/dist/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/genesis.js +259 -0
- package/dist/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/query.js +1568 -0
- package/dist/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/staking.js +1614 -0
- package/dist/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/tx.js +861 -0
- package/dist/cosmos.staking.v1beta1/types/cosmos_proto/cosmos.js +171 -0
- package/dist/cosmos.staking.v1beta1/types/gogoproto/gogo.js +2 -0
- package/dist/cosmos.staking.v1beta1/types/google/api/annotations.js +2 -0
- package/dist/cosmos.staking.v1beta1/types/google/api/http.js +260 -0
- package/dist/cosmos.staking.v1beta1/types/google/protobuf/any.js +99 -0
- package/dist/cosmos.staking.v1beta1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/cosmos.staking.v1beta1/types/google/protobuf/duration.js +84 -0
- package/dist/cosmos.staking.v1beta1/types/google/protobuf/timestamp.js +84 -0
- package/dist/cosmos.staking.v1beta1/types/tendermint/abci/types.js +3812 -0
- package/dist/cosmos.staking.v1beta1/types/tendermint/crypto/keys.js +100 -0
- package/dist/cosmos.staking.v1beta1/types/tendermint/crypto/proof.js +356 -0
- package/dist/cosmos.staking.v1beta1/types/tendermint/types/params.js +369 -0
- package/dist/cosmos.staking.v1beta1/types/tendermint/types/types.js +1207 -0
- package/dist/cosmos.staking.v1beta1/types/tendermint/types/validator.js +254 -0
- package/dist/cosmos.staking.v1beta1/types/tendermint/version/types.js +133 -0
- package/dist/cosmos.staking.v1beta1/types.js +25 -0
- package/dist/cosmos.tx.v1beta1/index.js +5 -0
- package/dist/cosmos.tx.v1beta1/module.js +82 -0
- package/dist/cosmos.tx.v1beta1/registry.js +2 -0
- package/dist/cosmos.tx.v1beta1/rest.js +320 -0
- package/dist/cosmos.tx.v1beta1/types/amino/amino.js +2 -0
- package/dist/cosmos.tx.v1beta1/types/cosmos/base/abci/v1beta1/abci.js +803 -0
- package/dist/cosmos.tx.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/dist/cosmos.tx.v1beta1/types/cosmos/base/v1beta1/coin.js +192 -0
- package/dist/cosmos.tx.v1beta1/types/cosmos/crypto/multisig/v1beta1/multisig.js +147 -0
- package/dist/cosmos.tx.v1beta1/types/cosmos/tx/signing/v1beta1/signing.js +449 -0
- package/dist/cosmos.tx.v1beta1/types/cosmos/tx/v1beta1/service.js +1160 -0
- package/dist/cosmos.tx.v1beta1/types/cosmos/tx/v1beta1/tx.js +959 -0
- package/dist/cosmos.tx.v1beta1/types/cosmos_proto/cosmos.js +171 -0
- package/dist/cosmos.tx.v1beta1/types/gogoproto/gogo.js +2 -0
- package/dist/cosmos.tx.v1beta1/types/google/api/annotations.js +2 -0
- package/dist/cosmos.tx.v1beta1/types/google/api/http.js +260 -0
- package/dist/cosmos.tx.v1beta1/types/google/protobuf/any.js +99 -0
- package/dist/cosmos.tx.v1beta1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/cosmos.tx.v1beta1/types/google/protobuf/duration.js +84 -0
- package/dist/cosmos.tx.v1beta1/types/google/protobuf/timestamp.js +84 -0
- package/dist/cosmos.tx.v1beta1/types/tendermint/abci/types.js +3812 -0
- package/dist/cosmos.tx.v1beta1/types/tendermint/crypto/keys.js +100 -0
- package/dist/cosmos.tx.v1beta1/types/tendermint/crypto/proof.js +356 -0
- package/dist/cosmos.tx.v1beta1/types/tendermint/types/block.js +86 -0
- package/dist/cosmos.tx.v1beta1/types/tendermint/types/evidence.js +343 -0
- package/dist/cosmos.tx.v1beta1/types/tendermint/types/params.js +369 -0
- package/dist/cosmos.tx.v1beta1/types/tendermint/types/types.js +1207 -0
- package/dist/cosmos.tx.v1beta1/types/tendermint/types/validator.js +254 -0
- package/dist/cosmos.tx.v1beta1/types/tendermint/version/types.js +133 -0
- package/dist/cosmos.tx.v1beta1/types.js +14 -0
- package/dist/cosmos.upgrade.v1beta1/index.js +5 -0
- package/dist/cosmos.upgrade.v1beta1/module.js +113 -0
- package/dist/cosmos.upgrade.v1beta1/registry.js +7 -0
- package/dist/cosmos.upgrade.v1beta1/rest.js +162 -0
- package/dist/cosmos.upgrade.v1beta1/types/amino/amino.js +2 -0
- package/dist/cosmos.upgrade.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
- package/dist/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/query.js +501 -0
- package/dist/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/tx.js +183 -0
- package/dist/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/upgrade.js +302 -0
- package/dist/cosmos.upgrade.v1beta1/types/cosmos_proto/cosmos.js +171 -0
- package/dist/cosmos.upgrade.v1beta1/types/gogoproto/gogo.js +2 -0
- package/dist/cosmos.upgrade.v1beta1/types/google/api/annotations.js +2 -0
- package/dist/cosmos.upgrade.v1beta1/types/google/api/http.js +260 -0
- package/dist/cosmos.upgrade.v1beta1/types/google/protobuf/any.js +99 -0
- package/dist/cosmos.upgrade.v1beta1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/cosmos.upgrade.v1beta1/types/google/protobuf/timestamp.js +84 -0
- package/dist/cosmos.upgrade.v1beta1/types.js +5 -0
- package/dist/cosmos.vesting.v1beta1/index.js +5 -0
- package/dist/cosmos.vesting.v1beta1/module.js +140 -0
- package/dist/cosmos.vesting.v1beta1/registry.js +9 -0
- package/dist/cosmos.vesting.v1beta1/rest.js +83 -0
- package/dist/cosmos.vesting.v1beta1/types/amino/amino.js +2 -0
- package/dist/cosmos.vesting.v1beta1/types/cosmos/auth/v1beta1/auth.js +344 -0
- package/dist/cosmos.vesting.v1beta1/types/cosmos/base/v1beta1/coin.js +192 -0
- package/dist/cosmos.vesting.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
- package/dist/cosmos.vesting.v1beta1/types/cosmos/vesting/v1beta1/tx.js +383 -0
- package/dist/cosmos.vesting.v1beta1/types/cosmos/vesting/v1beta1/vesting.js +422 -0
- package/dist/cosmos.vesting.v1beta1/types/cosmos_proto/cosmos.js +171 -0
- package/dist/cosmos.vesting.v1beta1/types/gogoproto/gogo.js +2 -0
- package/dist/cosmos.vesting.v1beta1/types/google/protobuf/any.js +99 -0
- package/dist/cosmos.vesting.v1beta1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/cosmos.vesting.v1beta1/types.js +7 -0
- package/dist/env.js +1 -0
- package/dist/helpers.js +11 -0
- package/dist/ibc.applications.interchain_accounts.controller.v1/index.js +5 -0
- package/dist/ibc.applications.interchain_accounts.controller.v1/module.js +58 -0
- package/dist/ibc.applications.interchain_accounts.controller.v1/registry.js +2 -0
- package/dist/ibc.applications.interchain_accounts.controller.v1/rest.js +123 -0
- package/dist/ibc.applications.interchain_accounts.controller.v1/types/gogoproto/gogo.js +2 -0
- package/dist/ibc.applications.interchain_accounts.controller.v1/types/google/api/annotations.js +2 -0
- package/dist/ibc.applications.interchain_accounts.controller.v1/types/google/api/http.js +260 -0
- package/dist/ibc.applications.interchain_accounts.controller.v1/types/google/protobuf/any.js +99 -0
- package/dist/ibc.applications.interchain_accounts.controller.v1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/controller.js +47 -0
- package/dist/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/query.js +193 -0
- package/dist/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/tx.js +277 -0
- package/dist/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/v1/packet.js +192 -0
- package/dist/ibc.applications.interchain_accounts.controller.v1/types.js +2 -0
- package/dist/ibc.applications.interchain_accounts.host.v1/index.js +5 -0
- package/dist/ibc.applications.interchain_accounts.host.v1/module.js +58 -0
- package/dist/ibc.applications.interchain_accounts.host.v1/registry.js +2 -0
- package/dist/ibc.applications.interchain_accounts.host.v1/rest.js +100 -0
- package/dist/ibc.applications.interchain_accounts.host.v1/types/gogoproto/gogo.js +2 -0
- package/dist/ibc.applications.interchain_accounts.host.v1/types/google/api/annotations.js +2 -0
- package/dist/ibc.applications.interchain_accounts.host.v1/types/google/api/http.js +260 -0
- package/dist/ibc.applications.interchain_accounts.host.v1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/ibc.applications.interchain_accounts.host.v1/types/ibc/applications/interchain_accounts/host/v1/host.js +63 -0
- package/dist/ibc.applications.interchain_accounts.host.v1/types/ibc/applications/interchain_accounts/host/v1/query.js +94 -0
- package/dist/ibc.applications.interchain_accounts.host.v1/types.js +2 -0
- package/dist/ibc.applications.transfer.v1/index.js +5 -0
- package/dist/ibc.applications.transfer.v1/module.js +64 -0
- package/dist/ibc.applications.transfer.v1/registry.js +2 -0
- package/dist/ibc.applications.transfer.v1/rest.js +171 -0
- package/dist/ibc.applications.transfer.v1/types/amino/amino.js +2 -0
- package/dist/ibc.applications.transfer.v1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/dist/ibc.applications.transfer.v1/types/cosmos/base/v1beta1/coin.js +192 -0
- package/dist/ibc.applications.transfer.v1/types/cosmos/upgrade/v1beta1/upgrade.js +302 -0
- package/dist/ibc.applications.transfer.v1/types/cosmos_proto/cosmos.js +171 -0
- package/dist/ibc.applications.transfer.v1/types/gogoproto/gogo.js +2 -0
- package/dist/ibc.applications.transfer.v1/types/google/api/annotations.js +2 -0
- package/dist/ibc.applications.transfer.v1/types/google/api/http.js +260 -0
- package/dist/ibc.applications.transfer.v1/types/google/protobuf/any.js +99 -0
- package/dist/ibc.applications.transfer.v1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/ibc.applications.transfer.v1/types/google/protobuf/timestamp.js +84 -0
- package/dist/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/authz.js +135 -0
- package/dist/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/genesis.js +90 -0
- package/dist/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/query.js +574 -0
- package/dist/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/transfer.js +110 -0
- package/dist/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/tx.js +204 -0
- package/dist/ibc.applications.transfer.v1/types/ibc/core/client/v1/client.js +448 -0
- package/dist/ibc.applications.transfer.v1/types.js +5 -0
- package/dist/ibc.core.channel.v1/index.js +5 -0
- package/dist/ibc.core.channel.v1/module.js +72 -0
- package/dist/ibc.core.channel.v1/registry.js +2 -0
- package/dist/ibc.core.channel.v1/rest.js +323 -0
- package/dist/ibc.core.channel.v1/types/amino/amino.js +2 -0
- package/dist/ibc.core.channel.v1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/dist/ibc.core.channel.v1/types/cosmos/upgrade/v1beta1/upgrade.js +302 -0
- package/dist/ibc.core.channel.v1/types/cosmos_proto/cosmos.js +171 -0
- package/dist/ibc.core.channel.v1/types/gogoproto/gogo.js +2 -0
- package/dist/ibc.core.channel.v1/types/google/api/annotations.js +2 -0
- package/dist/ibc.core.channel.v1/types/google/api/http.js +260 -0
- package/dist/ibc.core.channel.v1/types/google/protobuf/any.js +99 -0
- package/dist/ibc.core.channel.v1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/ibc.core.channel.v1/types/google/protobuf/timestamp.js +84 -0
- package/dist/ibc.core.channel.v1/types/ibc/core/channel/v1/channel.js +714 -0
- package/dist/ibc.core.channel.v1/types/ibc/core/channel/v1/genesis.js +254 -0
- package/dist/ibc.core.channel.v1/types/ibc/core/channel/v1/query.js +1866 -0
- package/dist/ibc.core.channel.v1/types/ibc/core/channel/v1/tx.js +1436 -0
- package/dist/ibc.core.channel.v1/types/ibc/core/client/v1/client.js +448 -0
- package/dist/ibc.core.channel.v1/types.js +9 -0
- package/dist/ibc.core.client.v1/index.js +5 -0
- package/dist/ibc.core.client.v1/module.js +74 -0
- package/dist/ibc.core.client.v1/registry.js +2 -0
- package/dist/ibc.core.client.v1/rest.js +218 -0
- package/dist/ibc.core.client.v1/types/amino/amino.js +2 -0
- package/dist/ibc.core.client.v1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/dist/ibc.core.client.v1/types/cosmos/upgrade/v1beta1/upgrade.js +302 -0
- package/dist/ibc.core.client.v1/types/cosmos_proto/cosmos.js +171 -0
- package/dist/ibc.core.client.v1/types/gogoproto/gogo.js +2 -0
- package/dist/ibc.core.client.v1/types/google/api/annotations.js +2 -0
- package/dist/ibc.core.client.v1/types/google/api/http.js +260 -0
- package/dist/ibc.core.client.v1/types/google/protobuf/any.js +99 -0
- package/dist/ibc.core.client.v1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/ibc.core.client.v1/types/google/protobuf/timestamp.js +84 -0
- package/dist/ibc.core.client.v1/types/ibc/core/client/v1/client.js +448 -0
- package/dist/ibc.core.client.v1/types/ibc/core/client/v1/genesis.js +287 -0
- package/dist/ibc.core.client.v1/types/ibc/core/client/v1/query.js +1026 -0
- package/dist/ibc.core.client.v1/types/ibc/core/client/v1/tx.js +510 -0
- package/dist/ibc.core.client.v1/types.js +10 -0
- package/dist/ibc.core.connection.v1/index.js +5 -0
- package/dist/ibc.core.connection.v1/module.js +70 -0
- package/dist/ibc.core.connection.v1/registry.js +2 -0
- package/dist/ibc.core.connection.v1/rest.js +191 -0
- package/dist/ibc.core.connection.v1/types/amino/amino.js +2 -0
- package/dist/ibc.core.connection.v1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/dist/ibc.core.connection.v1/types/cosmos/ics23/v1/proofs.js +1126 -0
- package/dist/ibc.core.connection.v1/types/cosmos/upgrade/v1beta1/upgrade.js +302 -0
- package/dist/ibc.core.connection.v1/types/cosmos_proto/cosmos.js +171 -0
- package/dist/ibc.core.connection.v1/types/gogoproto/gogo.js +2 -0
- package/dist/ibc.core.connection.v1/types/google/api/annotations.js +2 -0
- package/dist/ibc.core.connection.v1/types/google/api/http.js +260 -0
- package/dist/ibc.core.connection.v1/types/google/protobuf/any.js +99 -0
- package/dist/ibc.core.connection.v1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/ibc.core.connection.v1/types/google/protobuf/timestamp.js +84 -0
- package/dist/ibc.core.connection.v1/types/ibc/core/client/v1/client.js +448 -0
- package/dist/ibc.core.connection.v1/types/ibc/core/commitment/v1/commitment.js +223 -0
- package/dist/ibc.core.connection.v1/types/ibc/core/connection/v1/connection.js +537 -0
- package/dist/ibc.core.connection.v1/types/ibc/core/connection/v1/genesis.js +120 -0
- package/dist/ibc.core.connection.v1/types/ibc/core/connection/v1/query.js +766 -0
- package/dist/ibc.core.connection.v1/types/ibc/core/connection/v1/tx.js +731 -0
- package/dist/ibc.core.connection.v1/types.js +8 -0
- package/dist/iconlake.drop/index.js +5 -0
- package/dist/iconlake.drop/module.js +86 -0
- package/dist/iconlake.drop/registry.js +5 -0
- package/dist/iconlake.drop/rest.js +128 -0
- package/dist/iconlake.drop/types/amino/amino.js +2 -0
- package/dist/iconlake.drop/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/dist/iconlake.drop/types/cosmos/base/v1beta1/coin.js +192 -0
- package/dist/iconlake.drop/types/cosmos_proto/cosmos.js +171 -0
- package/dist/iconlake.drop/types/gogoproto/gogo.js +2 -0
- package/dist/iconlake.drop/types/google/api/annotations.js +2 -0
- package/dist/iconlake.drop/types/google/api/http.js +260 -0
- package/dist/iconlake.drop/types/google/protobuf/descriptor.js +2830 -0
- package/dist/iconlake.drop/types/iconlake/drop/genesis.js +67 -0
- package/dist/iconlake.drop/types/iconlake/drop/info.js +84 -0
- package/dist/iconlake.drop/types/iconlake/drop/params.js +36 -0
- package/dist/iconlake.drop/types/iconlake/drop/query.js +294 -0
- package/dist/iconlake.drop/types/iconlake/drop/tx.js +152 -0
- package/dist/iconlake.drop/types.js +3 -0
- package/dist/iconlake.icon/index.js +5 -0
- package/dist/iconlake.icon/module.js +88 -0
- package/dist/iconlake.icon/registry.js +5 -0
- package/dist/iconlake.icon/rest.js +115 -0
- package/dist/iconlake.icon/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/dist/iconlake.icon/types/gogoproto/gogo.js +2 -0
- package/dist/iconlake.icon/types/google/api/annotations.js +2 -0
- package/dist/iconlake.icon/types/google/api/http.js +260 -0
- package/dist/iconlake.icon/types/google/protobuf/descriptor.js +2830 -0
- package/dist/iconlake.icon/types/iconlake/icon/class_data.js +58 -0
- package/dist/iconlake.icon/types/iconlake/icon/genesis.js +50 -0
- package/dist/iconlake.icon/types/iconlake/icon/icon_data.js +76 -0
- package/dist/iconlake.icon/types/iconlake/icon/params.js +36 -0
- package/dist/iconlake.icon/types/iconlake/icon/query.js +204 -0
- package/dist/iconlake.icon/types/iconlake/icon/tx.js +174 -0
- package/dist/iconlake.icon/types.js +4 -0
- package/dist/iconlake.iconlake/index.js +5 -0
- package/dist/iconlake.iconlake/module.js +86 -0
- package/dist/iconlake.iconlake/registry.js +5 -0
- package/dist/iconlake.iconlake/rest.js +128 -0
- package/dist/iconlake.iconlake/types/amino/amino.js +2 -0
- package/dist/iconlake.iconlake/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/dist/iconlake.iconlake/types/cosmos/base/v1beta1/coin.js +192 -0
- package/dist/iconlake.iconlake/types/cosmos_proto/cosmos.js +171 -0
- package/dist/iconlake.iconlake/types/gogoproto/gogo.js +2 -0
- package/dist/iconlake.iconlake/types/google/api/annotations.js +2 -0
- package/dist/iconlake.iconlake/types/google/api/http.js +260 -0
- package/dist/iconlake.iconlake/types/google/protobuf/descriptor.js +2830 -0
- package/dist/iconlake.iconlake/types/iconlake/iconlake/account.js +84 -0
- package/dist/iconlake.iconlake/types/iconlake/iconlake/genesis.js +67 -0
- package/dist/iconlake.iconlake/types/iconlake/iconlake/params.js +36 -0
- package/dist/iconlake.iconlake/types/iconlake/iconlake/query.js +296 -0
- package/dist/iconlake.iconlake/types/iconlake/iconlake/tx.js +113 -0
- package/dist/iconlake.iconlake/types.js +3 -0
- package/dist/index.js +68 -0
- package/dist/modules.js +1 -0
- package/env.ts +0 -0
- package/helpers.ts +0 -0
- package/ibc.applications.interchain_accounts.controller.v1/index.ts +0 -0
- package/ibc.applications.interchain_accounts.controller.v1/module.ts +0 -0
- package/ibc.applications.interchain_accounts.controller.v1/registry.ts +0 -0
- package/ibc.applications.interchain_accounts.controller.v1/rest.ts +1 -0
- package/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/tx.ts +16 -4
- package/ibc.applications.interchain_accounts.controller.v1/types.ts +0 -0
- package/ibc.applications.interchain_accounts.host.v1/index.ts +0 -0
- package/ibc.applications.interchain_accounts.host.v1/module.ts +0 -0
- package/ibc.applications.interchain_accounts.host.v1/registry.ts +0 -0
- package/ibc.applications.interchain_accounts.host.v1/types.ts +0 -0
- package/ibc.applications.transfer.v1/index.ts +0 -0
- package/ibc.applications.transfer.v1/module.ts +5 -34
- package/ibc.applications.transfer.v1/registry.ts +0 -2
- package/ibc.applications.transfer.v1/rest.ts +30 -1
- package/ibc.applications.transfer.v1/types/amino/amino.ts +2 -0
- package/ibc.applications.transfer.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +6 -4
- package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/authz.ts +178 -0
- package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/genesis.ts +23 -2
- package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/query.ts +120 -0
- package/ibc.applications.transfer.v1/types/ibc/core/client/v1/client.ts +5 -1
- package/ibc.applications.transfer.v1/types.ts +4 -0
- package/ibc.core.channel.v1/index.ts +0 -0
- package/ibc.core.channel.v1/module.ts +0 -0
- package/ibc.core.channel.v1/registry.ts +0 -0
- package/ibc.core.channel.v1/rest.ts +1 -0
- package/ibc.core.channel.v1/types/amino/amino.ts +2 -0
- package/ibc.core.channel.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +6 -4
- package/ibc.core.channel.v1/types/ibc/core/channel/v1/tx.ts +14 -2
- package/ibc.core.channel.v1/types/ibc/core/client/v1/client.ts +5 -1
- package/ibc.core.channel.v1/types.ts +0 -0
- package/ibc.core.client.v1/index.ts +0 -0
- package/ibc.core.client.v1/module.ts +0 -0
- package/ibc.core.client.v1/registry.ts +0 -0
- package/ibc.core.client.v1/rest.ts +5 -1
- package/ibc.core.client.v1/types/amino/amino.ts +2 -0
- package/ibc.core.client.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +6 -4
- package/ibc.core.client.v1/types/ibc/core/client/v1/client.ts +5 -1
- package/ibc.core.client.v1/types/ibc/core/client/v1/tx.ts +28 -14
- package/ibc.core.client.v1/types.ts +0 -0
- package/ibc.core.connection.v1/index.ts +0 -0
- package/ibc.core.connection.v1/module.ts +0 -0
- package/ibc.core.connection.v1/registry.ts +0 -0
- package/ibc.core.connection.v1/types/amino/amino.ts +2 -0
- package/ibc.core.connection.v1/types/{proofs.ts → cosmos/ics23/v1/proofs.ts} +1 -1
- package/ibc.core.connection.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +6 -4
- package/ibc.core.connection.v1/types/ibc/core/client/v1/client.ts +5 -1
- package/ibc.core.connection.v1/types/ibc/core/commitment/v1/commitment.ts +1 -1
- package/ibc.core.connection.v1/types/ibc/core/connection/v1/tx.ts +34 -0
- package/ibc.core.connection.v1/types.ts +0 -0
- package/iconlake.drop/index.ts +6 -0
- package/iconlake.drop/module.ts +133 -0
- package/iconlake.drop/registry.ts +9 -0
- package/iconlake.drop/rest.ts +339 -0
- package/iconlake.drop/types/amino/amino.ts +2 -0
- package/iconlake.drop/types/cosmos/base/query/v1beta1/pagination.ts +286 -0
- package/iconlake.drop/types/cosmos/base/v1beta1/coin.ts +261 -0
- package/iconlake.drop/types/cosmos_proto/cosmos.ts +247 -0
- package/iconlake.drop/types/gogoproto/gogo.ts +2 -0
- package/iconlake.drop/types/google/api/annotations.ts +2 -0
- package/iconlake.drop/types/google/api/http.ts +589 -0
- package/iconlake.drop/types/google/protobuf/descriptor.ts +3753 -0
- package/iconlake.drop/types/iconlake/drop/genesis.ts +91 -0
- package/iconlake.drop/types/iconlake/drop/info.ts +114 -0
- package/iconlake.drop/types/iconlake/drop/params.ts +58 -0
- package/iconlake.drop/types/iconlake/drop/query.ts +386 -0
- package/iconlake.drop/types/iconlake/drop/tx.ts +204 -0
- package/iconlake.drop/types.ts +9 -0
- package/iconlake.icon/index.ts +0 -0
- package/iconlake.icon/module.ts +2 -2
- package/iconlake.icon/registry.ts +0 -0
- package/iconlake.icon/rest.ts +6 -5
- package/iconlake.icon/types/iconlake/icon/class_data.ts +82 -0
- package/iconlake.icon/types/iconlake/icon/icon_data.ts +102 -0
- package/iconlake.icon/types/iconlake/icon/tx.ts +1 -146
- package/iconlake.icon/types.ts +3 -3
- package/iconlake.iconlake/index.ts +0 -0
- package/iconlake.iconlake/module.ts +0 -0
- package/iconlake.iconlake/registry.ts +0 -0
- package/iconlake.iconlake/rest.ts +2 -14
- package/iconlake.iconlake/types/amino/amino.ts +2 -0
- package/iconlake.iconlake/types/iconlake/iconlake/account.ts +10 -36
- package/iconlake.iconlake/types/iconlake/iconlake/tx.ts +8 -64
- package/iconlake.iconlake/types.ts +0 -0
- package/index.ts +5 -3
- package/modules.ts +0 -0
- package/package.json +15 -8
- package/tsconfig.json +11 -11
- package/types.d.ts +0 -0
|
@@ -0,0 +1,1160 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import Long from "long";
|
|
3
|
+
import _m0 from "protobufjs/minimal";
|
|
4
|
+
import { Block } from "../../../tendermint/types/block";
|
|
5
|
+
import { BlockID } from "../../../tendermint/types/types";
|
|
6
|
+
import { GasInfo, Result, TxResponse } from "../../base/abci/v1beta1/abci";
|
|
7
|
+
import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination";
|
|
8
|
+
import { Tx } from "./tx";
|
|
9
|
+
export const protobufPackage = "cosmos.tx.v1beta1";
|
|
10
|
+
/** OrderBy defines the sorting order */
|
|
11
|
+
export var OrderBy;
|
|
12
|
+
(function (OrderBy) {
|
|
13
|
+
/** ORDER_BY_UNSPECIFIED - ORDER_BY_UNSPECIFIED specifies an unknown sorting order. OrderBy defaults to ASC in this case. */
|
|
14
|
+
OrderBy[OrderBy["ORDER_BY_UNSPECIFIED"] = 0] = "ORDER_BY_UNSPECIFIED";
|
|
15
|
+
/** ORDER_BY_ASC - ORDER_BY_ASC defines ascending order */
|
|
16
|
+
OrderBy[OrderBy["ORDER_BY_ASC"] = 1] = "ORDER_BY_ASC";
|
|
17
|
+
/** ORDER_BY_DESC - ORDER_BY_DESC defines descending order */
|
|
18
|
+
OrderBy[OrderBy["ORDER_BY_DESC"] = 2] = "ORDER_BY_DESC";
|
|
19
|
+
OrderBy[OrderBy["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
20
|
+
})(OrderBy || (OrderBy = {}));
|
|
21
|
+
export function orderByFromJSON(object) {
|
|
22
|
+
switch (object) {
|
|
23
|
+
case 0:
|
|
24
|
+
case "ORDER_BY_UNSPECIFIED":
|
|
25
|
+
return OrderBy.ORDER_BY_UNSPECIFIED;
|
|
26
|
+
case 1:
|
|
27
|
+
case "ORDER_BY_ASC":
|
|
28
|
+
return OrderBy.ORDER_BY_ASC;
|
|
29
|
+
case 2:
|
|
30
|
+
case "ORDER_BY_DESC":
|
|
31
|
+
return OrderBy.ORDER_BY_DESC;
|
|
32
|
+
case -1:
|
|
33
|
+
case "UNRECOGNIZED":
|
|
34
|
+
default:
|
|
35
|
+
return OrderBy.UNRECOGNIZED;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
export function orderByToJSON(object) {
|
|
39
|
+
switch (object) {
|
|
40
|
+
case OrderBy.ORDER_BY_UNSPECIFIED:
|
|
41
|
+
return "ORDER_BY_UNSPECIFIED";
|
|
42
|
+
case OrderBy.ORDER_BY_ASC:
|
|
43
|
+
return "ORDER_BY_ASC";
|
|
44
|
+
case OrderBy.ORDER_BY_DESC:
|
|
45
|
+
return "ORDER_BY_DESC";
|
|
46
|
+
case OrderBy.UNRECOGNIZED:
|
|
47
|
+
default:
|
|
48
|
+
return "UNRECOGNIZED";
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
/** BroadcastMode specifies the broadcast mode for the TxService.Broadcast RPC method. */
|
|
52
|
+
export var BroadcastMode;
|
|
53
|
+
(function (BroadcastMode) {
|
|
54
|
+
/** BROADCAST_MODE_UNSPECIFIED - zero-value for mode ordering */
|
|
55
|
+
BroadcastMode[BroadcastMode["BROADCAST_MODE_UNSPECIFIED"] = 0] = "BROADCAST_MODE_UNSPECIFIED";
|
|
56
|
+
/**
|
|
57
|
+
* BROADCAST_MODE_BLOCK - DEPRECATED: use BROADCAST_MODE_SYNC instead,
|
|
58
|
+
* BROADCAST_MODE_BLOCK is not supported by the SDK from v0.47.x onwards.
|
|
59
|
+
*
|
|
60
|
+
* @deprecated
|
|
61
|
+
*/
|
|
62
|
+
BroadcastMode[BroadcastMode["BROADCAST_MODE_BLOCK"] = 1] = "BROADCAST_MODE_BLOCK";
|
|
63
|
+
/**
|
|
64
|
+
* BROADCAST_MODE_SYNC - BROADCAST_MODE_SYNC defines a tx broadcasting mode where the client waits for
|
|
65
|
+
* a CheckTx execution response only.
|
|
66
|
+
*/
|
|
67
|
+
BroadcastMode[BroadcastMode["BROADCAST_MODE_SYNC"] = 2] = "BROADCAST_MODE_SYNC";
|
|
68
|
+
/**
|
|
69
|
+
* BROADCAST_MODE_ASYNC - BROADCAST_MODE_ASYNC defines a tx broadcasting mode where the client returns
|
|
70
|
+
* immediately.
|
|
71
|
+
*/
|
|
72
|
+
BroadcastMode[BroadcastMode["BROADCAST_MODE_ASYNC"] = 3] = "BROADCAST_MODE_ASYNC";
|
|
73
|
+
BroadcastMode[BroadcastMode["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
74
|
+
})(BroadcastMode || (BroadcastMode = {}));
|
|
75
|
+
export function broadcastModeFromJSON(object) {
|
|
76
|
+
switch (object) {
|
|
77
|
+
case 0:
|
|
78
|
+
case "BROADCAST_MODE_UNSPECIFIED":
|
|
79
|
+
return BroadcastMode.BROADCAST_MODE_UNSPECIFIED;
|
|
80
|
+
case 1:
|
|
81
|
+
case "BROADCAST_MODE_BLOCK":
|
|
82
|
+
return BroadcastMode.BROADCAST_MODE_BLOCK;
|
|
83
|
+
case 2:
|
|
84
|
+
case "BROADCAST_MODE_SYNC":
|
|
85
|
+
return BroadcastMode.BROADCAST_MODE_SYNC;
|
|
86
|
+
case 3:
|
|
87
|
+
case "BROADCAST_MODE_ASYNC":
|
|
88
|
+
return BroadcastMode.BROADCAST_MODE_ASYNC;
|
|
89
|
+
case -1:
|
|
90
|
+
case "UNRECOGNIZED":
|
|
91
|
+
default:
|
|
92
|
+
return BroadcastMode.UNRECOGNIZED;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
export function broadcastModeToJSON(object) {
|
|
96
|
+
switch (object) {
|
|
97
|
+
case BroadcastMode.BROADCAST_MODE_UNSPECIFIED:
|
|
98
|
+
return "BROADCAST_MODE_UNSPECIFIED";
|
|
99
|
+
case BroadcastMode.BROADCAST_MODE_BLOCK:
|
|
100
|
+
return "BROADCAST_MODE_BLOCK";
|
|
101
|
+
case BroadcastMode.BROADCAST_MODE_SYNC:
|
|
102
|
+
return "BROADCAST_MODE_SYNC";
|
|
103
|
+
case BroadcastMode.BROADCAST_MODE_ASYNC:
|
|
104
|
+
return "BROADCAST_MODE_ASYNC";
|
|
105
|
+
case BroadcastMode.UNRECOGNIZED:
|
|
106
|
+
default:
|
|
107
|
+
return "UNRECOGNIZED";
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
function createBaseGetTxsEventRequest() {
|
|
111
|
+
return { events: [], pagination: undefined, orderBy: 0, page: 0, limit: 0 };
|
|
112
|
+
}
|
|
113
|
+
export const GetTxsEventRequest = {
|
|
114
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
115
|
+
for (const v of message.events) {
|
|
116
|
+
writer.uint32(10).string(v);
|
|
117
|
+
}
|
|
118
|
+
if (message.pagination !== undefined) {
|
|
119
|
+
PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
|
120
|
+
}
|
|
121
|
+
if (message.orderBy !== 0) {
|
|
122
|
+
writer.uint32(24).int32(message.orderBy);
|
|
123
|
+
}
|
|
124
|
+
if (message.page !== 0) {
|
|
125
|
+
writer.uint32(32).uint64(message.page);
|
|
126
|
+
}
|
|
127
|
+
if (message.limit !== 0) {
|
|
128
|
+
writer.uint32(40).uint64(message.limit);
|
|
129
|
+
}
|
|
130
|
+
return writer;
|
|
131
|
+
},
|
|
132
|
+
decode(input, length) {
|
|
133
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
134
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
135
|
+
const message = createBaseGetTxsEventRequest();
|
|
136
|
+
while (reader.pos < end) {
|
|
137
|
+
const tag = reader.uint32();
|
|
138
|
+
switch (tag >>> 3) {
|
|
139
|
+
case 1:
|
|
140
|
+
message.events.push(reader.string());
|
|
141
|
+
break;
|
|
142
|
+
case 2:
|
|
143
|
+
message.pagination = PageRequest.decode(reader, reader.uint32());
|
|
144
|
+
break;
|
|
145
|
+
case 3:
|
|
146
|
+
message.orderBy = reader.int32();
|
|
147
|
+
break;
|
|
148
|
+
case 4:
|
|
149
|
+
message.page = longToNumber(reader.uint64());
|
|
150
|
+
break;
|
|
151
|
+
case 5:
|
|
152
|
+
message.limit = longToNumber(reader.uint64());
|
|
153
|
+
break;
|
|
154
|
+
default:
|
|
155
|
+
reader.skipType(tag & 7);
|
|
156
|
+
break;
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
return message;
|
|
160
|
+
},
|
|
161
|
+
fromJSON(object) {
|
|
162
|
+
return {
|
|
163
|
+
events: Array.isArray(object?.events) ? object.events.map((e) => String(e)) : [],
|
|
164
|
+
pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined,
|
|
165
|
+
orderBy: isSet(object.orderBy) ? orderByFromJSON(object.orderBy) : 0,
|
|
166
|
+
page: isSet(object.page) ? Number(object.page) : 0,
|
|
167
|
+
limit: isSet(object.limit) ? Number(object.limit) : 0,
|
|
168
|
+
};
|
|
169
|
+
},
|
|
170
|
+
toJSON(message) {
|
|
171
|
+
const obj = {};
|
|
172
|
+
if (message.events) {
|
|
173
|
+
obj.events = message.events.map((e) => e);
|
|
174
|
+
}
|
|
175
|
+
else {
|
|
176
|
+
obj.events = [];
|
|
177
|
+
}
|
|
178
|
+
message.pagination !== undefined
|
|
179
|
+
&& (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined);
|
|
180
|
+
message.orderBy !== undefined && (obj.orderBy = orderByToJSON(message.orderBy));
|
|
181
|
+
message.page !== undefined && (obj.page = Math.round(message.page));
|
|
182
|
+
message.limit !== undefined && (obj.limit = Math.round(message.limit));
|
|
183
|
+
return obj;
|
|
184
|
+
},
|
|
185
|
+
fromPartial(object) {
|
|
186
|
+
const message = createBaseGetTxsEventRequest();
|
|
187
|
+
message.events = object.events?.map((e) => e) || [];
|
|
188
|
+
message.pagination = (object.pagination !== undefined && object.pagination !== null)
|
|
189
|
+
? PageRequest.fromPartial(object.pagination)
|
|
190
|
+
: undefined;
|
|
191
|
+
message.orderBy = object.orderBy ?? 0;
|
|
192
|
+
message.page = object.page ?? 0;
|
|
193
|
+
message.limit = object.limit ?? 0;
|
|
194
|
+
return message;
|
|
195
|
+
},
|
|
196
|
+
};
|
|
197
|
+
function createBaseGetTxsEventResponse() {
|
|
198
|
+
return { txs: [], txResponses: [], pagination: undefined, total: 0 };
|
|
199
|
+
}
|
|
200
|
+
export const GetTxsEventResponse = {
|
|
201
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
202
|
+
for (const v of message.txs) {
|
|
203
|
+
Tx.encode(v, writer.uint32(10).fork()).ldelim();
|
|
204
|
+
}
|
|
205
|
+
for (const v of message.txResponses) {
|
|
206
|
+
TxResponse.encode(v, writer.uint32(18).fork()).ldelim();
|
|
207
|
+
}
|
|
208
|
+
if (message.pagination !== undefined) {
|
|
209
|
+
PageResponse.encode(message.pagination, writer.uint32(26).fork()).ldelim();
|
|
210
|
+
}
|
|
211
|
+
if (message.total !== 0) {
|
|
212
|
+
writer.uint32(32).uint64(message.total);
|
|
213
|
+
}
|
|
214
|
+
return writer;
|
|
215
|
+
},
|
|
216
|
+
decode(input, length) {
|
|
217
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
218
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
219
|
+
const message = createBaseGetTxsEventResponse();
|
|
220
|
+
while (reader.pos < end) {
|
|
221
|
+
const tag = reader.uint32();
|
|
222
|
+
switch (tag >>> 3) {
|
|
223
|
+
case 1:
|
|
224
|
+
message.txs.push(Tx.decode(reader, reader.uint32()));
|
|
225
|
+
break;
|
|
226
|
+
case 2:
|
|
227
|
+
message.txResponses.push(TxResponse.decode(reader, reader.uint32()));
|
|
228
|
+
break;
|
|
229
|
+
case 3:
|
|
230
|
+
message.pagination = PageResponse.decode(reader, reader.uint32());
|
|
231
|
+
break;
|
|
232
|
+
case 4:
|
|
233
|
+
message.total = longToNumber(reader.uint64());
|
|
234
|
+
break;
|
|
235
|
+
default:
|
|
236
|
+
reader.skipType(tag & 7);
|
|
237
|
+
break;
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
return message;
|
|
241
|
+
},
|
|
242
|
+
fromJSON(object) {
|
|
243
|
+
return {
|
|
244
|
+
txs: Array.isArray(object?.txs) ? object.txs.map((e) => Tx.fromJSON(e)) : [],
|
|
245
|
+
txResponses: Array.isArray(object?.txResponses) ? object.txResponses.map((e) => TxResponse.fromJSON(e)) : [],
|
|
246
|
+
pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined,
|
|
247
|
+
total: isSet(object.total) ? Number(object.total) : 0,
|
|
248
|
+
};
|
|
249
|
+
},
|
|
250
|
+
toJSON(message) {
|
|
251
|
+
const obj = {};
|
|
252
|
+
if (message.txs) {
|
|
253
|
+
obj.txs = message.txs.map((e) => e ? Tx.toJSON(e) : undefined);
|
|
254
|
+
}
|
|
255
|
+
else {
|
|
256
|
+
obj.txs = [];
|
|
257
|
+
}
|
|
258
|
+
if (message.txResponses) {
|
|
259
|
+
obj.txResponses = message.txResponses.map((e) => e ? TxResponse.toJSON(e) : undefined);
|
|
260
|
+
}
|
|
261
|
+
else {
|
|
262
|
+
obj.txResponses = [];
|
|
263
|
+
}
|
|
264
|
+
message.pagination !== undefined
|
|
265
|
+
&& (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined);
|
|
266
|
+
message.total !== undefined && (obj.total = Math.round(message.total));
|
|
267
|
+
return obj;
|
|
268
|
+
},
|
|
269
|
+
fromPartial(object) {
|
|
270
|
+
const message = createBaseGetTxsEventResponse();
|
|
271
|
+
message.txs = object.txs?.map((e) => Tx.fromPartial(e)) || [];
|
|
272
|
+
message.txResponses = object.txResponses?.map((e) => TxResponse.fromPartial(e)) || [];
|
|
273
|
+
message.pagination = (object.pagination !== undefined && object.pagination !== null)
|
|
274
|
+
? PageResponse.fromPartial(object.pagination)
|
|
275
|
+
: undefined;
|
|
276
|
+
message.total = object.total ?? 0;
|
|
277
|
+
return message;
|
|
278
|
+
},
|
|
279
|
+
};
|
|
280
|
+
function createBaseBroadcastTxRequest() {
|
|
281
|
+
return { txBytes: new Uint8Array(), mode: 0 };
|
|
282
|
+
}
|
|
283
|
+
export const BroadcastTxRequest = {
|
|
284
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
285
|
+
if (message.txBytes.length !== 0) {
|
|
286
|
+
writer.uint32(10).bytes(message.txBytes);
|
|
287
|
+
}
|
|
288
|
+
if (message.mode !== 0) {
|
|
289
|
+
writer.uint32(16).int32(message.mode);
|
|
290
|
+
}
|
|
291
|
+
return writer;
|
|
292
|
+
},
|
|
293
|
+
decode(input, length) {
|
|
294
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
295
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
296
|
+
const message = createBaseBroadcastTxRequest();
|
|
297
|
+
while (reader.pos < end) {
|
|
298
|
+
const tag = reader.uint32();
|
|
299
|
+
switch (tag >>> 3) {
|
|
300
|
+
case 1:
|
|
301
|
+
message.txBytes = reader.bytes();
|
|
302
|
+
break;
|
|
303
|
+
case 2:
|
|
304
|
+
message.mode = reader.int32();
|
|
305
|
+
break;
|
|
306
|
+
default:
|
|
307
|
+
reader.skipType(tag & 7);
|
|
308
|
+
break;
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
return message;
|
|
312
|
+
},
|
|
313
|
+
fromJSON(object) {
|
|
314
|
+
return {
|
|
315
|
+
txBytes: isSet(object.txBytes) ? bytesFromBase64(object.txBytes) : new Uint8Array(),
|
|
316
|
+
mode: isSet(object.mode) ? broadcastModeFromJSON(object.mode) : 0,
|
|
317
|
+
};
|
|
318
|
+
},
|
|
319
|
+
toJSON(message) {
|
|
320
|
+
const obj = {};
|
|
321
|
+
message.txBytes !== undefined
|
|
322
|
+
&& (obj.txBytes = base64FromBytes(message.txBytes !== undefined ? message.txBytes : new Uint8Array()));
|
|
323
|
+
message.mode !== undefined && (obj.mode = broadcastModeToJSON(message.mode));
|
|
324
|
+
return obj;
|
|
325
|
+
},
|
|
326
|
+
fromPartial(object) {
|
|
327
|
+
const message = createBaseBroadcastTxRequest();
|
|
328
|
+
message.txBytes = object.txBytes ?? new Uint8Array();
|
|
329
|
+
message.mode = object.mode ?? 0;
|
|
330
|
+
return message;
|
|
331
|
+
},
|
|
332
|
+
};
|
|
333
|
+
function createBaseBroadcastTxResponse() {
|
|
334
|
+
return { txResponse: undefined };
|
|
335
|
+
}
|
|
336
|
+
export const BroadcastTxResponse = {
|
|
337
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
338
|
+
if (message.txResponse !== undefined) {
|
|
339
|
+
TxResponse.encode(message.txResponse, writer.uint32(10).fork()).ldelim();
|
|
340
|
+
}
|
|
341
|
+
return writer;
|
|
342
|
+
},
|
|
343
|
+
decode(input, length) {
|
|
344
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
345
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
346
|
+
const message = createBaseBroadcastTxResponse();
|
|
347
|
+
while (reader.pos < end) {
|
|
348
|
+
const tag = reader.uint32();
|
|
349
|
+
switch (tag >>> 3) {
|
|
350
|
+
case 1:
|
|
351
|
+
message.txResponse = TxResponse.decode(reader, reader.uint32());
|
|
352
|
+
break;
|
|
353
|
+
default:
|
|
354
|
+
reader.skipType(tag & 7);
|
|
355
|
+
break;
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
return message;
|
|
359
|
+
},
|
|
360
|
+
fromJSON(object) {
|
|
361
|
+
return { txResponse: isSet(object.txResponse) ? TxResponse.fromJSON(object.txResponse) : undefined };
|
|
362
|
+
},
|
|
363
|
+
toJSON(message) {
|
|
364
|
+
const obj = {};
|
|
365
|
+
message.txResponse !== undefined
|
|
366
|
+
&& (obj.txResponse = message.txResponse ? TxResponse.toJSON(message.txResponse) : undefined);
|
|
367
|
+
return obj;
|
|
368
|
+
},
|
|
369
|
+
fromPartial(object) {
|
|
370
|
+
const message = createBaseBroadcastTxResponse();
|
|
371
|
+
message.txResponse = (object.txResponse !== undefined && object.txResponse !== null)
|
|
372
|
+
? TxResponse.fromPartial(object.txResponse)
|
|
373
|
+
: undefined;
|
|
374
|
+
return message;
|
|
375
|
+
},
|
|
376
|
+
};
|
|
377
|
+
function createBaseSimulateRequest() {
|
|
378
|
+
return { tx: undefined, txBytes: new Uint8Array() };
|
|
379
|
+
}
|
|
380
|
+
export const SimulateRequest = {
|
|
381
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
382
|
+
if (message.tx !== undefined) {
|
|
383
|
+
Tx.encode(message.tx, writer.uint32(10).fork()).ldelim();
|
|
384
|
+
}
|
|
385
|
+
if (message.txBytes.length !== 0) {
|
|
386
|
+
writer.uint32(18).bytes(message.txBytes);
|
|
387
|
+
}
|
|
388
|
+
return writer;
|
|
389
|
+
},
|
|
390
|
+
decode(input, length) {
|
|
391
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
392
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
393
|
+
const message = createBaseSimulateRequest();
|
|
394
|
+
while (reader.pos < end) {
|
|
395
|
+
const tag = reader.uint32();
|
|
396
|
+
switch (tag >>> 3) {
|
|
397
|
+
case 1:
|
|
398
|
+
message.tx = Tx.decode(reader, reader.uint32());
|
|
399
|
+
break;
|
|
400
|
+
case 2:
|
|
401
|
+
message.txBytes = reader.bytes();
|
|
402
|
+
break;
|
|
403
|
+
default:
|
|
404
|
+
reader.skipType(tag & 7);
|
|
405
|
+
break;
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
return message;
|
|
409
|
+
},
|
|
410
|
+
fromJSON(object) {
|
|
411
|
+
return {
|
|
412
|
+
tx: isSet(object.tx) ? Tx.fromJSON(object.tx) : undefined,
|
|
413
|
+
txBytes: isSet(object.txBytes) ? bytesFromBase64(object.txBytes) : new Uint8Array(),
|
|
414
|
+
};
|
|
415
|
+
},
|
|
416
|
+
toJSON(message) {
|
|
417
|
+
const obj = {};
|
|
418
|
+
message.tx !== undefined && (obj.tx = message.tx ? Tx.toJSON(message.tx) : undefined);
|
|
419
|
+
message.txBytes !== undefined
|
|
420
|
+
&& (obj.txBytes = base64FromBytes(message.txBytes !== undefined ? message.txBytes : new Uint8Array()));
|
|
421
|
+
return obj;
|
|
422
|
+
},
|
|
423
|
+
fromPartial(object) {
|
|
424
|
+
const message = createBaseSimulateRequest();
|
|
425
|
+
message.tx = (object.tx !== undefined && object.tx !== null) ? Tx.fromPartial(object.tx) : undefined;
|
|
426
|
+
message.txBytes = object.txBytes ?? new Uint8Array();
|
|
427
|
+
return message;
|
|
428
|
+
},
|
|
429
|
+
};
|
|
430
|
+
function createBaseSimulateResponse() {
|
|
431
|
+
return { gasInfo: undefined, result: undefined };
|
|
432
|
+
}
|
|
433
|
+
export const SimulateResponse = {
|
|
434
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
435
|
+
if (message.gasInfo !== undefined) {
|
|
436
|
+
GasInfo.encode(message.gasInfo, writer.uint32(10).fork()).ldelim();
|
|
437
|
+
}
|
|
438
|
+
if (message.result !== undefined) {
|
|
439
|
+
Result.encode(message.result, writer.uint32(18).fork()).ldelim();
|
|
440
|
+
}
|
|
441
|
+
return writer;
|
|
442
|
+
},
|
|
443
|
+
decode(input, length) {
|
|
444
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
445
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
446
|
+
const message = createBaseSimulateResponse();
|
|
447
|
+
while (reader.pos < end) {
|
|
448
|
+
const tag = reader.uint32();
|
|
449
|
+
switch (tag >>> 3) {
|
|
450
|
+
case 1:
|
|
451
|
+
message.gasInfo = GasInfo.decode(reader, reader.uint32());
|
|
452
|
+
break;
|
|
453
|
+
case 2:
|
|
454
|
+
message.result = Result.decode(reader, reader.uint32());
|
|
455
|
+
break;
|
|
456
|
+
default:
|
|
457
|
+
reader.skipType(tag & 7);
|
|
458
|
+
break;
|
|
459
|
+
}
|
|
460
|
+
}
|
|
461
|
+
return message;
|
|
462
|
+
},
|
|
463
|
+
fromJSON(object) {
|
|
464
|
+
return {
|
|
465
|
+
gasInfo: isSet(object.gasInfo) ? GasInfo.fromJSON(object.gasInfo) : undefined,
|
|
466
|
+
result: isSet(object.result) ? Result.fromJSON(object.result) : undefined,
|
|
467
|
+
};
|
|
468
|
+
},
|
|
469
|
+
toJSON(message) {
|
|
470
|
+
const obj = {};
|
|
471
|
+
message.gasInfo !== undefined && (obj.gasInfo = message.gasInfo ? GasInfo.toJSON(message.gasInfo) : undefined);
|
|
472
|
+
message.result !== undefined && (obj.result = message.result ? Result.toJSON(message.result) : undefined);
|
|
473
|
+
return obj;
|
|
474
|
+
},
|
|
475
|
+
fromPartial(object) {
|
|
476
|
+
const message = createBaseSimulateResponse();
|
|
477
|
+
message.gasInfo = (object.gasInfo !== undefined && object.gasInfo !== null)
|
|
478
|
+
? GasInfo.fromPartial(object.gasInfo)
|
|
479
|
+
: undefined;
|
|
480
|
+
message.result = (object.result !== undefined && object.result !== null)
|
|
481
|
+
? Result.fromPartial(object.result)
|
|
482
|
+
: undefined;
|
|
483
|
+
return message;
|
|
484
|
+
},
|
|
485
|
+
};
|
|
486
|
+
function createBaseGetTxRequest() {
|
|
487
|
+
return { hash: "" };
|
|
488
|
+
}
|
|
489
|
+
export const GetTxRequest = {
|
|
490
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
491
|
+
if (message.hash !== "") {
|
|
492
|
+
writer.uint32(10).string(message.hash);
|
|
493
|
+
}
|
|
494
|
+
return writer;
|
|
495
|
+
},
|
|
496
|
+
decode(input, length) {
|
|
497
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
498
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
499
|
+
const message = createBaseGetTxRequest();
|
|
500
|
+
while (reader.pos < end) {
|
|
501
|
+
const tag = reader.uint32();
|
|
502
|
+
switch (tag >>> 3) {
|
|
503
|
+
case 1:
|
|
504
|
+
message.hash = reader.string();
|
|
505
|
+
break;
|
|
506
|
+
default:
|
|
507
|
+
reader.skipType(tag & 7);
|
|
508
|
+
break;
|
|
509
|
+
}
|
|
510
|
+
}
|
|
511
|
+
return message;
|
|
512
|
+
},
|
|
513
|
+
fromJSON(object) {
|
|
514
|
+
return { hash: isSet(object.hash) ? String(object.hash) : "" };
|
|
515
|
+
},
|
|
516
|
+
toJSON(message) {
|
|
517
|
+
const obj = {};
|
|
518
|
+
message.hash !== undefined && (obj.hash = message.hash);
|
|
519
|
+
return obj;
|
|
520
|
+
},
|
|
521
|
+
fromPartial(object) {
|
|
522
|
+
const message = createBaseGetTxRequest();
|
|
523
|
+
message.hash = object.hash ?? "";
|
|
524
|
+
return message;
|
|
525
|
+
},
|
|
526
|
+
};
|
|
527
|
+
function createBaseGetTxResponse() {
|
|
528
|
+
return { tx: undefined, txResponse: undefined };
|
|
529
|
+
}
|
|
530
|
+
export const GetTxResponse = {
|
|
531
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
532
|
+
if (message.tx !== undefined) {
|
|
533
|
+
Tx.encode(message.tx, writer.uint32(10).fork()).ldelim();
|
|
534
|
+
}
|
|
535
|
+
if (message.txResponse !== undefined) {
|
|
536
|
+
TxResponse.encode(message.txResponse, writer.uint32(18).fork()).ldelim();
|
|
537
|
+
}
|
|
538
|
+
return writer;
|
|
539
|
+
},
|
|
540
|
+
decode(input, length) {
|
|
541
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
542
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
543
|
+
const message = createBaseGetTxResponse();
|
|
544
|
+
while (reader.pos < end) {
|
|
545
|
+
const tag = reader.uint32();
|
|
546
|
+
switch (tag >>> 3) {
|
|
547
|
+
case 1:
|
|
548
|
+
message.tx = Tx.decode(reader, reader.uint32());
|
|
549
|
+
break;
|
|
550
|
+
case 2:
|
|
551
|
+
message.txResponse = TxResponse.decode(reader, reader.uint32());
|
|
552
|
+
break;
|
|
553
|
+
default:
|
|
554
|
+
reader.skipType(tag & 7);
|
|
555
|
+
break;
|
|
556
|
+
}
|
|
557
|
+
}
|
|
558
|
+
return message;
|
|
559
|
+
},
|
|
560
|
+
fromJSON(object) {
|
|
561
|
+
return {
|
|
562
|
+
tx: isSet(object.tx) ? Tx.fromJSON(object.tx) : undefined,
|
|
563
|
+
txResponse: isSet(object.txResponse) ? TxResponse.fromJSON(object.txResponse) : undefined,
|
|
564
|
+
};
|
|
565
|
+
},
|
|
566
|
+
toJSON(message) {
|
|
567
|
+
const obj = {};
|
|
568
|
+
message.tx !== undefined && (obj.tx = message.tx ? Tx.toJSON(message.tx) : undefined);
|
|
569
|
+
message.txResponse !== undefined
|
|
570
|
+
&& (obj.txResponse = message.txResponse ? TxResponse.toJSON(message.txResponse) : undefined);
|
|
571
|
+
return obj;
|
|
572
|
+
},
|
|
573
|
+
fromPartial(object) {
|
|
574
|
+
const message = createBaseGetTxResponse();
|
|
575
|
+
message.tx = (object.tx !== undefined && object.tx !== null) ? Tx.fromPartial(object.tx) : undefined;
|
|
576
|
+
message.txResponse = (object.txResponse !== undefined && object.txResponse !== null)
|
|
577
|
+
? TxResponse.fromPartial(object.txResponse)
|
|
578
|
+
: undefined;
|
|
579
|
+
return message;
|
|
580
|
+
},
|
|
581
|
+
};
|
|
582
|
+
function createBaseGetBlockWithTxsRequest() {
|
|
583
|
+
return { height: 0, pagination: undefined };
|
|
584
|
+
}
|
|
585
|
+
export const GetBlockWithTxsRequest = {
|
|
586
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
587
|
+
if (message.height !== 0) {
|
|
588
|
+
writer.uint32(8).int64(message.height);
|
|
589
|
+
}
|
|
590
|
+
if (message.pagination !== undefined) {
|
|
591
|
+
PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
|
592
|
+
}
|
|
593
|
+
return writer;
|
|
594
|
+
},
|
|
595
|
+
decode(input, length) {
|
|
596
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
597
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
598
|
+
const message = createBaseGetBlockWithTxsRequest();
|
|
599
|
+
while (reader.pos < end) {
|
|
600
|
+
const tag = reader.uint32();
|
|
601
|
+
switch (tag >>> 3) {
|
|
602
|
+
case 1:
|
|
603
|
+
message.height = longToNumber(reader.int64());
|
|
604
|
+
break;
|
|
605
|
+
case 2:
|
|
606
|
+
message.pagination = PageRequest.decode(reader, reader.uint32());
|
|
607
|
+
break;
|
|
608
|
+
default:
|
|
609
|
+
reader.skipType(tag & 7);
|
|
610
|
+
break;
|
|
611
|
+
}
|
|
612
|
+
}
|
|
613
|
+
return message;
|
|
614
|
+
},
|
|
615
|
+
fromJSON(object) {
|
|
616
|
+
return {
|
|
617
|
+
height: isSet(object.height) ? Number(object.height) : 0,
|
|
618
|
+
pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined,
|
|
619
|
+
};
|
|
620
|
+
},
|
|
621
|
+
toJSON(message) {
|
|
622
|
+
const obj = {};
|
|
623
|
+
message.height !== undefined && (obj.height = Math.round(message.height));
|
|
624
|
+
message.pagination !== undefined
|
|
625
|
+
&& (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined);
|
|
626
|
+
return obj;
|
|
627
|
+
},
|
|
628
|
+
fromPartial(object) {
|
|
629
|
+
const message = createBaseGetBlockWithTxsRequest();
|
|
630
|
+
message.height = object.height ?? 0;
|
|
631
|
+
message.pagination = (object.pagination !== undefined && object.pagination !== null)
|
|
632
|
+
? PageRequest.fromPartial(object.pagination)
|
|
633
|
+
: undefined;
|
|
634
|
+
return message;
|
|
635
|
+
},
|
|
636
|
+
};
|
|
637
|
+
function createBaseGetBlockWithTxsResponse() {
|
|
638
|
+
return { txs: [], blockId: undefined, block: undefined, pagination: undefined };
|
|
639
|
+
}
|
|
640
|
+
export const GetBlockWithTxsResponse = {
|
|
641
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
642
|
+
for (const v of message.txs) {
|
|
643
|
+
Tx.encode(v, writer.uint32(10).fork()).ldelim();
|
|
644
|
+
}
|
|
645
|
+
if (message.blockId !== undefined) {
|
|
646
|
+
BlockID.encode(message.blockId, writer.uint32(18).fork()).ldelim();
|
|
647
|
+
}
|
|
648
|
+
if (message.block !== undefined) {
|
|
649
|
+
Block.encode(message.block, writer.uint32(26).fork()).ldelim();
|
|
650
|
+
}
|
|
651
|
+
if (message.pagination !== undefined) {
|
|
652
|
+
PageResponse.encode(message.pagination, writer.uint32(34).fork()).ldelim();
|
|
653
|
+
}
|
|
654
|
+
return writer;
|
|
655
|
+
},
|
|
656
|
+
decode(input, length) {
|
|
657
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
658
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
659
|
+
const message = createBaseGetBlockWithTxsResponse();
|
|
660
|
+
while (reader.pos < end) {
|
|
661
|
+
const tag = reader.uint32();
|
|
662
|
+
switch (tag >>> 3) {
|
|
663
|
+
case 1:
|
|
664
|
+
message.txs.push(Tx.decode(reader, reader.uint32()));
|
|
665
|
+
break;
|
|
666
|
+
case 2:
|
|
667
|
+
message.blockId = BlockID.decode(reader, reader.uint32());
|
|
668
|
+
break;
|
|
669
|
+
case 3:
|
|
670
|
+
message.block = Block.decode(reader, reader.uint32());
|
|
671
|
+
break;
|
|
672
|
+
case 4:
|
|
673
|
+
message.pagination = PageResponse.decode(reader, reader.uint32());
|
|
674
|
+
break;
|
|
675
|
+
default:
|
|
676
|
+
reader.skipType(tag & 7);
|
|
677
|
+
break;
|
|
678
|
+
}
|
|
679
|
+
}
|
|
680
|
+
return message;
|
|
681
|
+
},
|
|
682
|
+
fromJSON(object) {
|
|
683
|
+
return {
|
|
684
|
+
txs: Array.isArray(object?.txs) ? object.txs.map((e) => Tx.fromJSON(e)) : [],
|
|
685
|
+
blockId: isSet(object.blockId) ? BlockID.fromJSON(object.blockId) : undefined,
|
|
686
|
+
block: isSet(object.block) ? Block.fromJSON(object.block) : undefined,
|
|
687
|
+
pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined,
|
|
688
|
+
};
|
|
689
|
+
},
|
|
690
|
+
toJSON(message) {
|
|
691
|
+
const obj = {};
|
|
692
|
+
if (message.txs) {
|
|
693
|
+
obj.txs = message.txs.map((e) => e ? Tx.toJSON(e) : undefined);
|
|
694
|
+
}
|
|
695
|
+
else {
|
|
696
|
+
obj.txs = [];
|
|
697
|
+
}
|
|
698
|
+
message.blockId !== undefined && (obj.blockId = message.blockId ? BlockID.toJSON(message.blockId) : undefined);
|
|
699
|
+
message.block !== undefined && (obj.block = message.block ? Block.toJSON(message.block) : undefined);
|
|
700
|
+
message.pagination !== undefined
|
|
701
|
+
&& (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined);
|
|
702
|
+
return obj;
|
|
703
|
+
},
|
|
704
|
+
fromPartial(object) {
|
|
705
|
+
const message = createBaseGetBlockWithTxsResponse();
|
|
706
|
+
message.txs = object.txs?.map((e) => Tx.fromPartial(e)) || [];
|
|
707
|
+
message.blockId = (object.blockId !== undefined && object.blockId !== null)
|
|
708
|
+
? BlockID.fromPartial(object.blockId)
|
|
709
|
+
: undefined;
|
|
710
|
+
message.block = (object.block !== undefined && object.block !== null) ? Block.fromPartial(object.block) : undefined;
|
|
711
|
+
message.pagination = (object.pagination !== undefined && object.pagination !== null)
|
|
712
|
+
? PageResponse.fromPartial(object.pagination)
|
|
713
|
+
: undefined;
|
|
714
|
+
return message;
|
|
715
|
+
},
|
|
716
|
+
};
|
|
717
|
+
function createBaseTxDecodeRequest() {
|
|
718
|
+
return { txBytes: new Uint8Array() };
|
|
719
|
+
}
|
|
720
|
+
export const TxDecodeRequest = {
|
|
721
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
722
|
+
if (message.txBytes.length !== 0) {
|
|
723
|
+
writer.uint32(10).bytes(message.txBytes);
|
|
724
|
+
}
|
|
725
|
+
return writer;
|
|
726
|
+
},
|
|
727
|
+
decode(input, length) {
|
|
728
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
729
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
730
|
+
const message = createBaseTxDecodeRequest();
|
|
731
|
+
while (reader.pos < end) {
|
|
732
|
+
const tag = reader.uint32();
|
|
733
|
+
switch (tag >>> 3) {
|
|
734
|
+
case 1:
|
|
735
|
+
message.txBytes = reader.bytes();
|
|
736
|
+
break;
|
|
737
|
+
default:
|
|
738
|
+
reader.skipType(tag & 7);
|
|
739
|
+
break;
|
|
740
|
+
}
|
|
741
|
+
}
|
|
742
|
+
return message;
|
|
743
|
+
},
|
|
744
|
+
fromJSON(object) {
|
|
745
|
+
return { txBytes: isSet(object.txBytes) ? bytesFromBase64(object.txBytes) : new Uint8Array() };
|
|
746
|
+
},
|
|
747
|
+
toJSON(message) {
|
|
748
|
+
const obj = {};
|
|
749
|
+
message.txBytes !== undefined
|
|
750
|
+
&& (obj.txBytes = base64FromBytes(message.txBytes !== undefined ? message.txBytes : new Uint8Array()));
|
|
751
|
+
return obj;
|
|
752
|
+
},
|
|
753
|
+
fromPartial(object) {
|
|
754
|
+
const message = createBaseTxDecodeRequest();
|
|
755
|
+
message.txBytes = object.txBytes ?? new Uint8Array();
|
|
756
|
+
return message;
|
|
757
|
+
},
|
|
758
|
+
};
|
|
759
|
+
function createBaseTxDecodeResponse() {
|
|
760
|
+
return { tx: undefined };
|
|
761
|
+
}
|
|
762
|
+
export const TxDecodeResponse = {
|
|
763
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
764
|
+
if (message.tx !== undefined) {
|
|
765
|
+
Tx.encode(message.tx, writer.uint32(10).fork()).ldelim();
|
|
766
|
+
}
|
|
767
|
+
return writer;
|
|
768
|
+
},
|
|
769
|
+
decode(input, length) {
|
|
770
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
771
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
772
|
+
const message = createBaseTxDecodeResponse();
|
|
773
|
+
while (reader.pos < end) {
|
|
774
|
+
const tag = reader.uint32();
|
|
775
|
+
switch (tag >>> 3) {
|
|
776
|
+
case 1:
|
|
777
|
+
message.tx = Tx.decode(reader, reader.uint32());
|
|
778
|
+
break;
|
|
779
|
+
default:
|
|
780
|
+
reader.skipType(tag & 7);
|
|
781
|
+
break;
|
|
782
|
+
}
|
|
783
|
+
}
|
|
784
|
+
return message;
|
|
785
|
+
},
|
|
786
|
+
fromJSON(object) {
|
|
787
|
+
return { tx: isSet(object.tx) ? Tx.fromJSON(object.tx) : undefined };
|
|
788
|
+
},
|
|
789
|
+
toJSON(message) {
|
|
790
|
+
const obj = {};
|
|
791
|
+
message.tx !== undefined && (obj.tx = message.tx ? Tx.toJSON(message.tx) : undefined);
|
|
792
|
+
return obj;
|
|
793
|
+
},
|
|
794
|
+
fromPartial(object) {
|
|
795
|
+
const message = createBaseTxDecodeResponse();
|
|
796
|
+
message.tx = (object.tx !== undefined && object.tx !== null) ? Tx.fromPartial(object.tx) : undefined;
|
|
797
|
+
return message;
|
|
798
|
+
},
|
|
799
|
+
};
|
|
800
|
+
function createBaseTxEncodeRequest() {
|
|
801
|
+
return { tx: undefined };
|
|
802
|
+
}
|
|
803
|
+
export const TxEncodeRequest = {
|
|
804
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
805
|
+
if (message.tx !== undefined) {
|
|
806
|
+
Tx.encode(message.tx, writer.uint32(10).fork()).ldelim();
|
|
807
|
+
}
|
|
808
|
+
return writer;
|
|
809
|
+
},
|
|
810
|
+
decode(input, length) {
|
|
811
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
812
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
813
|
+
const message = createBaseTxEncodeRequest();
|
|
814
|
+
while (reader.pos < end) {
|
|
815
|
+
const tag = reader.uint32();
|
|
816
|
+
switch (tag >>> 3) {
|
|
817
|
+
case 1:
|
|
818
|
+
message.tx = Tx.decode(reader, reader.uint32());
|
|
819
|
+
break;
|
|
820
|
+
default:
|
|
821
|
+
reader.skipType(tag & 7);
|
|
822
|
+
break;
|
|
823
|
+
}
|
|
824
|
+
}
|
|
825
|
+
return message;
|
|
826
|
+
},
|
|
827
|
+
fromJSON(object) {
|
|
828
|
+
return { tx: isSet(object.tx) ? Tx.fromJSON(object.tx) : undefined };
|
|
829
|
+
},
|
|
830
|
+
toJSON(message) {
|
|
831
|
+
const obj = {};
|
|
832
|
+
message.tx !== undefined && (obj.tx = message.tx ? Tx.toJSON(message.tx) : undefined);
|
|
833
|
+
return obj;
|
|
834
|
+
},
|
|
835
|
+
fromPartial(object) {
|
|
836
|
+
const message = createBaseTxEncodeRequest();
|
|
837
|
+
message.tx = (object.tx !== undefined && object.tx !== null) ? Tx.fromPartial(object.tx) : undefined;
|
|
838
|
+
return message;
|
|
839
|
+
},
|
|
840
|
+
};
|
|
841
|
+
function createBaseTxEncodeResponse() {
|
|
842
|
+
return { txBytes: new Uint8Array() };
|
|
843
|
+
}
|
|
844
|
+
export const TxEncodeResponse = {
|
|
845
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
846
|
+
if (message.txBytes.length !== 0) {
|
|
847
|
+
writer.uint32(10).bytes(message.txBytes);
|
|
848
|
+
}
|
|
849
|
+
return writer;
|
|
850
|
+
},
|
|
851
|
+
decode(input, length) {
|
|
852
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
853
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
854
|
+
const message = createBaseTxEncodeResponse();
|
|
855
|
+
while (reader.pos < end) {
|
|
856
|
+
const tag = reader.uint32();
|
|
857
|
+
switch (tag >>> 3) {
|
|
858
|
+
case 1:
|
|
859
|
+
message.txBytes = reader.bytes();
|
|
860
|
+
break;
|
|
861
|
+
default:
|
|
862
|
+
reader.skipType(tag & 7);
|
|
863
|
+
break;
|
|
864
|
+
}
|
|
865
|
+
}
|
|
866
|
+
return message;
|
|
867
|
+
},
|
|
868
|
+
fromJSON(object) {
|
|
869
|
+
return { txBytes: isSet(object.txBytes) ? bytesFromBase64(object.txBytes) : new Uint8Array() };
|
|
870
|
+
},
|
|
871
|
+
toJSON(message) {
|
|
872
|
+
const obj = {};
|
|
873
|
+
message.txBytes !== undefined
|
|
874
|
+
&& (obj.txBytes = base64FromBytes(message.txBytes !== undefined ? message.txBytes : new Uint8Array()));
|
|
875
|
+
return obj;
|
|
876
|
+
},
|
|
877
|
+
fromPartial(object) {
|
|
878
|
+
const message = createBaseTxEncodeResponse();
|
|
879
|
+
message.txBytes = object.txBytes ?? new Uint8Array();
|
|
880
|
+
return message;
|
|
881
|
+
},
|
|
882
|
+
};
|
|
883
|
+
function createBaseTxEncodeAminoRequest() {
|
|
884
|
+
return { aminoJson: "" };
|
|
885
|
+
}
|
|
886
|
+
export const TxEncodeAminoRequest = {
|
|
887
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
888
|
+
if (message.aminoJson !== "") {
|
|
889
|
+
writer.uint32(10).string(message.aminoJson);
|
|
890
|
+
}
|
|
891
|
+
return writer;
|
|
892
|
+
},
|
|
893
|
+
decode(input, length) {
|
|
894
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
895
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
896
|
+
const message = createBaseTxEncodeAminoRequest();
|
|
897
|
+
while (reader.pos < end) {
|
|
898
|
+
const tag = reader.uint32();
|
|
899
|
+
switch (tag >>> 3) {
|
|
900
|
+
case 1:
|
|
901
|
+
message.aminoJson = reader.string();
|
|
902
|
+
break;
|
|
903
|
+
default:
|
|
904
|
+
reader.skipType(tag & 7);
|
|
905
|
+
break;
|
|
906
|
+
}
|
|
907
|
+
}
|
|
908
|
+
return message;
|
|
909
|
+
},
|
|
910
|
+
fromJSON(object) {
|
|
911
|
+
return { aminoJson: isSet(object.aminoJson) ? String(object.aminoJson) : "" };
|
|
912
|
+
},
|
|
913
|
+
toJSON(message) {
|
|
914
|
+
const obj = {};
|
|
915
|
+
message.aminoJson !== undefined && (obj.aminoJson = message.aminoJson);
|
|
916
|
+
return obj;
|
|
917
|
+
},
|
|
918
|
+
fromPartial(object) {
|
|
919
|
+
const message = createBaseTxEncodeAminoRequest();
|
|
920
|
+
message.aminoJson = object.aminoJson ?? "";
|
|
921
|
+
return message;
|
|
922
|
+
},
|
|
923
|
+
};
|
|
924
|
+
function createBaseTxEncodeAminoResponse() {
|
|
925
|
+
return { aminoBinary: new Uint8Array() };
|
|
926
|
+
}
|
|
927
|
+
export const TxEncodeAminoResponse = {
|
|
928
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
929
|
+
if (message.aminoBinary.length !== 0) {
|
|
930
|
+
writer.uint32(10).bytes(message.aminoBinary);
|
|
931
|
+
}
|
|
932
|
+
return writer;
|
|
933
|
+
},
|
|
934
|
+
decode(input, length) {
|
|
935
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
936
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
937
|
+
const message = createBaseTxEncodeAminoResponse();
|
|
938
|
+
while (reader.pos < end) {
|
|
939
|
+
const tag = reader.uint32();
|
|
940
|
+
switch (tag >>> 3) {
|
|
941
|
+
case 1:
|
|
942
|
+
message.aminoBinary = reader.bytes();
|
|
943
|
+
break;
|
|
944
|
+
default:
|
|
945
|
+
reader.skipType(tag & 7);
|
|
946
|
+
break;
|
|
947
|
+
}
|
|
948
|
+
}
|
|
949
|
+
return message;
|
|
950
|
+
},
|
|
951
|
+
fromJSON(object) {
|
|
952
|
+
return { aminoBinary: isSet(object.aminoBinary) ? bytesFromBase64(object.aminoBinary) : new Uint8Array() };
|
|
953
|
+
},
|
|
954
|
+
toJSON(message) {
|
|
955
|
+
const obj = {};
|
|
956
|
+
message.aminoBinary !== undefined
|
|
957
|
+
&& (obj.aminoBinary = base64FromBytes(message.aminoBinary !== undefined ? message.aminoBinary : new Uint8Array()));
|
|
958
|
+
return obj;
|
|
959
|
+
},
|
|
960
|
+
fromPartial(object) {
|
|
961
|
+
const message = createBaseTxEncodeAminoResponse();
|
|
962
|
+
message.aminoBinary = object.aminoBinary ?? new Uint8Array();
|
|
963
|
+
return message;
|
|
964
|
+
},
|
|
965
|
+
};
|
|
966
|
+
function createBaseTxDecodeAminoRequest() {
|
|
967
|
+
return { aminoBinary: new Uint8Array() };
|
|
968
|
+
}
|
|
969
|
+
export const TxDecodeAminoRequest = {
|
|
970
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
971
|
+
if (message.aminoBinary.length !== 0) {
|
|
972
|
+
writer.uint32(10).bytes(message.aminoBinary);
|
|
973
|
+
}
|
|
974
|
+
return writer;
|
|
975
|
+
},
|
|
976
|
+
decode(input, length) {
|
|
977
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
978
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
979
|
+
const message = createBaseTxDecodeAminoRequest();
|
|
980
|
+
while (reader.pos < end) {
|
|
981
|
+
const tag = reader.uint32();
|
|
982
|
+
switch (tag >>> 3) {
|
|
983
|
+
case 1:
|
|
984
|
+
message.aminoBinary = reader.bytes();
|
|
985
|
+
break;
|
|
986
|
+
default:
|
|
987
|
+
reader.skipType(tag & 7);
|
|
988
|
+
break;
|
|
989
|
+
}
|
|
990
|
+
}
|
|
991
|
+
return message;
|
|
992
|
+
},
|
|
993
|
+
fromJSON(object) {
|
|
994
|
+
return { aminoBinary: isSet(object.aminoBinary) ? bytesFromBase64(object.aminoBinary) : new Uint8Array() };
|
|
995
|
+
},
|
|
996
|
+
toJSON(message) {
|
|
997
|
+
const obj = {};
|
|
998
|
+
message.aminoBinary !== undefined
|
|
999
|
+
&& (obj.aminoBinary = base64FromBytes(message.aminoBinary !== undefined ? message.aminoBinary : new Uint8Array()));
|
|
1000
|
+
return obj;
|
|
1001
|
+
},
|
|
1002
|
+
fromPartial(object) {
|
|
1003
|
+
const message = createBaseTxDecodeAminoRequest();
|
|
1004
|
+
message.aminoBinary = object.aminoBinary ?? new Uint8Array();
|
|
1005
|
+
return message;
|
|
1006
|
+
},
|
|
1007
|
+
};
|
|
1008
|
+
function createBaseTxDecodeAminoResponse() {
|
|
1009
|
+
return { aminoJson: "" };
|
|
1010
|
+
}
|
|
1011
|
+
export const TxDecodeAminoResponse = {
|
|
1012
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
1013
|
+
if (message.aminoJson !== "") {
|
|
1014
|
+
writer.uint32(10).string(message.aminoJson);
|
|
1015
|
+
}
|
|
1016
|
+
return writer;
|
|
1017
|
+
},
|
|
1018
|
+
decode(input, length) {
|
|
1019
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
1020
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1021
|
+
const message = createBaseTxDecodeAminoResponse();
|
|
1022
|
+
while (reader.pos < end) {
|
|
1023
|
+
const tag = reader.uint32();
|
|
1024
|
+
switch (tag >>> 3) {
|
|
1025
|
+
case 1:
|
|
1026
|
+
message.aminoJson = reader.string();
|
|
1027
|
+
break;
|
|
1028
|
+
default:
|
|
1029
|
+
reader.skipType(tag & 7);
|
|
1030
|
+
break;
|
|
1031
|
+
}
|
|
1032
|
+
}
|
|
1033
|
+
return message;
|
|
1034
|
+
},
|
|
1035
|
+
fromJSON(object) {
|
|
1036
|
+
return { aminoJson: isSet(object.aminoJson) ? String(object.aminoJson) : "" };
|
|
1037
|
+
},
|
|
1038
|
+
toJSON(message) {
|
|
1039
|
+
const obj = {};
|
|
1040
|
+
message.aminoJson !== undefined && (obj.aminoJson = message.aminoJson);
|
|
1041
|
+
return obj;
|
|
1042
|
+
},
|
|
1043
|
+
fromPartial(object) {
|
|
1044
|
+
const message = createBaseTxDecodeAminoResponse();
|
|
1045
|
+
message.aminoJson = object.aminoJson ?? "";
|
|
1046
|
+
return message;
|
|
1047
|
+
},
|
|
1048
|
+
};
|
|
1049
|
+
export class ServiceClientImpl {
|
|
1050
|
+
constructor(rpc) {
|
|
1051
|
+
this.rpc = rpc;
|
|
1052
|
+
this.Simulate = this.Simulate.bind(this);
|
|
1053
|
+
this.GetTx = this.GetTx.bind(this);
|
|
1054
|
+
this.BroadcastTx = this.BroadcastTx.bind(this);
|
|
1055
|
+
this.GetTxsEvent = this.GetTxsEvent.bind(this);
|
|
1056
|
+
this.GetBlockWithTxs = this.GetBlockWithTxs.bind(this);
|
|
1057
|
+
this.TxDecode = this.TxDecode.bind(this);
|
|
1058
|
+
this.TxEncode = this.TxEncode.bind(this);
|
|
1059
|
+
this.TxEncodeAmino = this.TxEncodeAmino.bind(this);
|
|
1060
|
+
this.TxDecodeAmino = this.TxDecodeAmino.bind(this);
|
|
1061
|
+
}
|
|
1062
|
+
Simulate(request) {
|
|
1063
|
+
const data = SimulateRequest.encode(request).finish();
|
|
1064
|
+
const promise = this.rpc.request("cosmos.tx.v1beta1.Service", "Simulate", data);
|
|
1065
|
+
return promise.then((data) => SimulateResponse.decode(new _m0.Reader(data)));
|
|
1066
|
+
}
|
|
1067
|
+
GetTx(request) {
|
|
1068
|
+
const data = GetTxRequest.encode(request).finish();
|
|
1069
|
+
const promise = this.rpc.request("cosmos.tx.v1beta1.Service", "GetTx", data);
|
|
1070
|
+
return promise.then((data) => GetTxResponse.decode(new _m0.Reader(data)));
|
|
1071
|
+
}
|
|
1072
|
+
BroadcastTx(request) {
|
|
1073
|
+
const data = BroadcastTxRequest.encode(request).finish();
|
|
1074
|
+
const promise = this.rpc.request("cosmos.tx.v1beta1.Service", "BroadcastTx", data);
|
|
1075
|
+
return promise.then((data) => BroadcastTxResponse.decode(new _m0.Reader(data)));
|
|
1076
|
+
}
|
|
1077
|
+
GetTxsEvent(request) {
|
|
1078
|
+
const data = GetTxsEventRequest.encode(request).finish();
|
|
1079
|
+
const promise = this.rpc.request("cosmos.tx.v1beta1.Service", "GetTxsEvent", data);
|
|
1080
|
+
return promise.then((data) => GetTxsEventResponse.decode(new _m0.Reader(data)));
|
|
1081
|
+
}
|
|
1082
|
+
GetBlockWithTxs(request) {
|
|
1083
|
+
const data = GetBlockWithTxsRequest.encode(request).finish();
|
|
1084
|
+
const promise = this.rpc.request("cosmos.tx.v1beta1.Service", "GetBlockWithTxs", data);
|
|
1085
|
+
return promise.then((data) => GetBlockWithTxsResponse.decode(new _m0.Reader(data)));
|
|
1086
|
+
}
|
|
1087
|
+
TxDecode(request) {
|
|
1088
|
+
const data = TxDecodeRequest.encode(request).finish();
|
|
1089
|
+
const promise = this.rpc.request("cosmos.tx.v1beta1.Service", "TxDecode", data);
|
|
1090
|
+
return promise.then((data) => TxDecodeResponse.decode(new _m0.Reader(data)));
|
|
1091
|
+
}
|
|
1092
|
+
TxEncode(request) {
|
|
1093
|
+
const data = TxEncodeRequest.encode(request).finish();
|
|
1094
|
+
const promise = this.rpc.request("cosmos.tx.v1beta1.Service", "TxEncode", data);
|
|
1095
|
+
return promise.then((data) => TxEncodeResponse.decode(new _m0.Reader(data)));
|
|
1096
|
+
}
|
|
1097
|
+
TxEncodeAmino(request) {
|
|
1098
|
+
const data = TxEncodeAminoRequest.encode(request).finish();
|
|
1099
|
+
const promise = this.rpc.request("cosmos.tx.v1beta1.Service", "TxEncodeAmino", data);
|
|
1100
|
+
return promise.then((data) => TxEncodeAminoResponse.decode(new _m0.Reader(data)));
|
|
1101
|
+
}
|
|
1102
|
+
TxDecodeAmino(request) {
|
|
1103
|
+
const data = TxDecodeAminoRequest.encode(request).finish();
|
|
1104
|
+
const promise = this.rpc.request("cosmos.tx.v1beta1.Service", "TxDecodeAmino", data);
|
|
1105
|
+
return promise.then((data) => TxDecodeAminoResponse.decode(new _m0.Reader(data)));
|
|
1106
|
+
}
|
|
1107
|
+
}
|
|
1108
|
+
var globalThis = (() => {
|
|
1109
|
+
if (typeof globalThis !== "undefined") {
|
|
1110
|
+
return globalThis;
|
|
1111
|
+
}
|
|
1112
|
+
if (typeof self !== "undefined") {
|
|
1113
|
+
return self;
|
|
1114
|
+
}
|
|
1115
|
+
if (typeof window !== "undefined") {
|
|
1116
|
+
return window;
|
|
1117
|
+
}
|
|
1118
|
+
if (typeof global !== "undefined") {
|
|
1119
|
+
return global;
|
|
1120
|
+
}
|
|
1121
|
+
throw "Unable to locate global object";
|
|
1122
|
+
})();
|
|
1123
|
+
function bytesFromBase64(b64) {
|
|
1124
|
+
if (globalThis.Buffer) {
|
|
1125
|
+
return Uint8Array.from(globalThis.Buffer.from(b64, "base64"));
|
|
1126
|
+
}
|
|
1127
|
+
else {
|
|
1128
|
+
const bin = globalThis.atob(b64);
|
|
1129
|
+
const arr = new Uint8Array(bin.length);
|
|
1130
|
+
for (let i = 0; i < bin.length; ++i) {
|
|
1131
|
+
arr[i] = bin.charCodeAt(i);
|
|
1132
|
+
}
|
|
1133
|
+
return arr;
|
|
1134
|
+
}
|
|
1135
|
+
}
|
|
1136
|
+
function base64FromBytes(arr) {
|
|
1137
|
+
if (globalThis.Buffer) {
|
|
1138
|
+
return globalThis.Buffer.from(arr).toString("base64");
|
|
1139
|
+
}
|
|
1140
|
+
else {
|
|
1141
|
+
const bin = [];
|
|
1142
|
+
arr.forEach((byte) => {
|
|
1143
|
+
bin.push(String.fromCharCode(byte));
|
|
1144
|
+
});
|
|
1145
|
+
return globalThis.btoa(bin.join(""));
|
|
1146
|
+
}
|
|
1147
|
+
}
|
|
1148
|
+
function longToNumber(long) {
|
|
1149
|
+
if (long.gt(Number.MAX_SAFE_INTEGER)) {
|
|
1150
|
+
throw new globalThis.Error("Value is larger than Number.MAX_SAFE_INTEGER");
|
|
1151
|
+
}
|
|
1152
|
+
return long.toNumber();
|
|
1153
|
+
}
|
|
1154
|
+
if (_m0.util.Long !== Long) {
|
|
1155
|
+
_m0.util.Long = Long;
|
|
1156
|
+
_m0.configure();
|
|
1157
|
+
}
|
|
1158
|
+
function isSet(value) {
|
|
1159
|
+
return value !== null && value !== undefined;
|
|
1160
|
+
}
|