@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,803 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import Long from "long";
|
|
3
|
+
import _m0 from "protobufjs/minimal";
|
|
4
|
+
import { Any } from "../../../../google/protobuf/any";
|
|
5
|
+
import { Event } from "../../../../tendermint/abci/types";
|
|
6
|
+
export const protobufPackage = "cosmos.base.abci.v1beta1";
|
|
7
|
+
function createBaseTxResponse() {
|
|
8
|
+
return {
|
|
9
|
+
height: 0,
|
|
10
|
+
txhash: "",
|
|
11
|
+
codespace: "",
|
|
12
|
+
code: 0,
|
|
13
|
+
data: "",
|
|
14
|
+
rawLog: "",
|
|
15
|
+
logs: [],
|
|
16
|
+
info: "",
|
|
17
|
+
gasWanted: 0,
|
|
18
|
+
gasUsed: 0,
|
|
19
|
+
tx: undefined,
|
|
20
|
+
timestamp: "",
|
|
21
|
+
events: [],
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
export const TxResponse = {
|
|
25
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
26
|
+
if (message.height !== 0) {
|
|
27
|
+
writer.uint32(8).int64(message.height);
|
|
28
|
+
}
|
|
29
|
+
if (message.txhash !== "") {
|
|
30
|
+
writer.uint32(18).string(message.txhash);
|
|
31
|
+
}
|
|
32
|
+
if (message.codespace !== "") {
|
|
33
|
+
writer.uint32(26).string(message.codespace);
|
|
34
|
+
}
|
|
35
|
+
if (message.code !== 0) {
|
|
36
|
+
writer.uint32(32).uint32(message.code);
|
|
37
|
+
}
|
|
38
|
+
if (message.data !== "") {
|
|
39
|
+
writer.uint32(42).string(message.data);
|
|
40
|
+
}
|
|
41
|
+
if (message.rawLog !== "") {
|
|
42
|
+
writer.uint32(50).string(message.rawLog);
|
|
43
|
+
}
|
|
44
|
+
for (const v of message.logs) {
|
|
45
|
+
ABCIMessageLog.encode(v, writer.uint32(58).fork()).ldelim();
|
|
46
|
+
}
|
|
47
|
+
if (message.info !== "") {
|
|
48
|
+
writer.uint32(66).string(message.info);
|
|
49
|
+
}
|
|
50
|
+
if (message.gasWanted !== 0) {
|
|
51
|
+
writer.uint32(72).int64(message.gasWanted);
|
|
52
|
+
}
|
|
53
|
+
if (message.gasUsed !== 0) {
|
|
54
|
+
writer.uint32(80).int64(message.gasUsed);
|
|
55
|
+
}
|
|
56
|
+
if (message.tx !== undefined) {
|
|
57
|
+
Any.encode(message.tx, writer.uint32(90).fork()).ldelim();
|
|
58
|
+
}
|
|
59
|
+
if (message.timestamp !== "") {
|
|
60
|
+
writer.uint32(98).string(message.timestamp);
|
|
61
|
+
}
|
|
62
|
+
for (const v of message.events) {
|
|
63
|
+
Event.encode(v, writer.uint32(106).fork()).ldelim();
|
|
64
|
+
}
|
|
65
|
+
return writer;
|
|
66
|
+
},
|
|
67
|
+
decode(input, length) {
|
|
68
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
69
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
70
|
+
const message = createBaseTxResponse();
|
|
71
|
+
while (reader.pos < end) {
|
|
72
|
+
const tag = reader.uint32();
|
|
73
|
+
switch (tag >>> 3) {
|
|
74
|
+
case 1:
|
|
75
|
+
message.height = longToNumber(reader.int64());
|
|
76
|
+
break;
|
|
77
|
+
case 2:
|
|
78
|
+
message.txhash = reader.string();
|
|
79
|
+
break;
|
|
80
|
+
case 3:
|
|
81
|
+
message.codespace = reader.string();
|
|
82
|
+
break;
|
|
83
|
+
case 4:
|
|
84
|
+
message.code = reader.uint32();
|
|
85
|
+
break;
|
|
86
|
+
case 5:
|
|
87
|
+
message.data = reader.string();
|
|
88
|
+
break;
|
|
89
|
+
case 6:
|
|
90
|
+
message.rawLog = reader.string();
|
|
91
|
+
break;
|
|
92
|
+
case 7:
|
|
93
|
+
message.logs.push(ABCIMessageLog.decode(reader, reader.uint32()));
|
|
94
|
+
break;
|
|
95
|
+
case 8:
|
|
96
|
+
message.info = reader.string();
|
|
97
|
+
break;
|
|
98
|
+
case 9:
|
|
99
|
+
message.gasWanted = longToNumber(reader.int64());
|
|
100
|
+
break;
|
|
101
|
+
case 10:
|
|
102
|
+
message.gasUsed = longToNumber(reader.int64());
|
|
103
|
+
break;
|
|
104
|
+
case 11:
|
|
105
|
+
message.tx = Any.decode(reader, reader.uint32());
|
|
106
|
+
break;
|
|
107
|
+
case 12:
|
|
108
|
+
message.timestamp = reader.string();
|
|
109
|
+
break;
|
|
110
|
+
case 13:
|
|
111
|
+
message.events.push(Event.decode(reader, reader.uint32()));
|
|
112
|
+
break;
|
|
113
|
+
default:
|
|
114
|
+
reader.skipType(tag & 7);
|
|
115
|
+
break;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
return message;
|
|
119
|
+
},
|
|
120
|
+
fromJSON(object) {
|
|
121
|
+
return {
|
|
122
|
+
height: isSet(object.height) ? Number(object.height) : 0,
|
|
123
|
+
txhash: isSet(object.txhash) ? String(object.txhash) : "",
|
|
124
|
+
codespace: isSet(object.codespace) ? String(object.codespace) : "",
|
|
125
|
+
code: isSet(object.code) ? Number(object.code) : 0,
|
|
126
|
+
data: isSet(object.data) ? String(object.data) : "",
|
|
127
|
+
rawLog: isSet(object.rawLog) ? String(object.rawLog) : "",
|
|
128
|
+
logs: Array.isArray(object?.logs) ? object.logs.map((e) => ABCIMessageLog.fromJSON(e)) : [],
|
|
129
|
+
info: isSet(object.info) ? String(object.info) : "",
|
|
130
|
+
gasWanted: isSet(object.gasWanted) ? Number(object.gasWanted) : 0,
|
|
131
|
+
gasUsed: isSet(object.gasUsed) ? Number(object.gasUsed) : 0,
|
|
132
|
+
tx: isSet(object.tx) ? Any.fromJSON(object.tx) : undefined,
|
|
133
|
+
timestamp: isSet(object.timestamp) ? String(object.timestamp) : "",
|
|
134
|
+
events: Array.isArray(object?.events) ? object.events.map((e) => Event.fromJSON(e)) : [],
|
|
135
|
+
};
|
|
136
|
+
},
|
|
137
|
+
toJSON(message) {
|
|
138
|
+
const obj = {};
|
|
139
|
+
message.height !== undefined && (obj.height = Math.round(message.height));
|
|
140
|
+
message.txhash !== undefined && (obj.txhash = message.txhash);
|
|
141
|
+
message.codespace !== undefined && (obj.codespace = message.codespace);
|
|
142
|
+
message.code !== undefined && (obj.code = Math.round(message.code));
|
|
143
|
+
message.data !== undefined && (obj.data = message.data);
|
|
144
|
+
message.rawLog !== undefined && (obj.rawLog = message.rawLog);
|
|
145
|
+
if (message.logs) {
|
|
146
|
+
obj.logs = message.logs.map((e) => e ? ABCIMessageLog.toJSON(e) : undefined);
|
|
147
|
+
}
|
|
148
|
+
else {
|
|
149
|
+
obj.logs = [];
|
|
150
|
+
}
|
|
151
|
+
message.info !== undefined && (obj.info = message.info);
|
|
152
|
+
message.gasWanted !== undefined && (obj.gasWanted = Math.round(message.gasWanted));
|
|
153
|
+
message.gasUsed !== undefined && (obj.gasUsed = Math.round(message.gasUsed));
|
|
154
|
+
message.tx !== undefined && (obj.tx = message.tx ? Any.toJSON(message.tx) : undefined);
|
|
155
|
+
message.timestamp !== undefined && (obj.timestamp = message.timestamp);
|
|
156
|
+
if (message.events) {
|
|
157
|
+
obj.events = message.events.map((e) => e ? Event.toJSON(e) : undefined);
|
|
158
|
+
}
|
|
159
|
+
else {
|
|
160
|
+
obj.events = [];
|
|
161
|
+
}
|
|
162
|
+
return obj;
|
|
163
|
+
},
|
|
164
|
+
fromPartial(object) {
|
|
165
|
+
const message = createBaseTxResponse();
|
|
166
|
+
message.height = object.height ?? 0;
|
|
167
|
+
message.txhash = object.txhash ?? "";
|
|
168
|
+
message.codespace = object.codespace ?? "";
|
|
169
|
+
message.code = object.code ?? 0;
|
|
170
|
+
message.data = object.data ?? "";
|
|
171
|
+
message.rawLog = object.rawLog ?? "";
|
|
172
|
+
message.logs = object.logs?.map((e) => ABCIMessageLog.fromPartial(e)) || [];
|
|
173
|
+
message.info = object.info ?? "";
|
|
174
|
+
message.gasWanted = object.gasWanted ?? 0;
|
|
175
|
+
message.gasUsed = object.gasUsed ?? 0;
|
|
176
|
+
message.tx = (object.tx !== undefined && object.tx !== null) ? Any.fromPartial(object.tx) : undefined;
|
|
177
|
+
message.timestamp = object.timestamp ?? "";
|
|
178
|
+
message.events = object.events?.map((e) => Event.fromPartial(e)) || [];
|
|
179
|
+
return message;
|
|
180
|
+
},
|
|
181
|
+
};
|
|
182
|
+
function createBaseABCIMessageLog() {
|
|
183
|
+
return { msgIndex: 0, log: "", events: [] };
|
|
184
|
+
}
|
|
185
|
+
export const ABCIMessageLog = {
|
|
186
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
187
|
+
if (message.msgIndex !== 0) {
|
|
188
|
+
writer.uint32(8).uint32(message.msgIndex);
|
|
189
|
+
}
|
|
190
|
+
if (message.log !== "") {
|
|
191
|
+
writer.uint32(18).string(message.log);
|
|
192
|
+
}
|
|
193
|
+
for (const v of message.events) {
|
|
194
|
+
StringEvent.encode(v, writer.uint32(26).fork()).ldelim();
|
|
195
|
+
}
|
|
196
|
+
return writer;
|
|
197
|
+
},
|
|
198
|
+
decode(input, length) {
|
|
199
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
200
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
201
|
+
const message = createBaseABCIMessageLog();
|
|
202
|
+
while (reader.pos < end) {
|
|
203
|
+
const tag = reader.uint32();
|
|
204
|
+
switch (tag >>> 3) {
|
|
205
|
+
case 1:
|
|
206
|
+
message.msgIndex = reader.uint32();
|
|
207
|
+
break;
|
|
208
|
+
case 2:
|
|
209
|
+
message.log = reader.string();
|
|
210
|
+
break;
|
|
211
|
+
case 3:
|
|
212
|
+
message.events.push(StringEvent.decode(reader, reader.uint32()));
|
|
213
|
+
break;
|
|
214
|
+
default:
|
|
215
|
+
reader.skipType(tag & 7);
|
|
216
|
+
break;
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
return message;
|
|
220
|
+
},
|
|
221
|
+
fromJSON(object) {
|
|
222
|
+
return {
|
|
223
|
+
msgIndex: isSet(object.msgIndex) ? Number(object.msgIndex) : 0,
|
|
224
|
+
log: isSet(object.log) ? String(object.log) : "",
|
|
225
|
+
events: Array.isArray(object?.events) ? object.events.map((e) => StringEvent.fromJSON(e)) : [],
|
|
226
|
+
};
|
|
227
|
+
},
|
|
228
|
+
toJSON(message) {
|
|
229
|
+
const obj = {};
|
|
230
|
+
message.msgIndex !== undefined && (obj.msgIndex = Math.round(message.msgIndex));
|
|
231
|
+
message.log !== undefined && (obj.log = message.log);
|
|
232
|
+
if (message.events) {
|
|
233
|
+
obj.events = message.events.map((e) => e ? StringEvent.toJSON(e) : undefined);
|
|
234
|
+
}
|
|
235
|
+
else {
|
|
236
|
+
obj.events = [];
|
|
237
|
+
}
|
|
238
|
+
return obj;
|
|
239
|
+
},
|
|
240
|
+
fromPartial(object) {
|
|
241
|
+
const message = createBaseABCIMessageLog();
|
|
242
|
+
message.msgIndex = object.msgIndex ?? 0;
|
|
243
|
+
message.log = object.log ?? "";
|
|
244
|
+
message.events = object.events?.map((e) => StringEvent.fromPartial(e)) || [];
|
|
245
|
+
return message;
|
|
246
|
+
},
|
|
247
|
+
};
|
|
248
|
+
function createBaseStringEvent() {
|
|
249
|
+
return { type: "", attributes: [] };
|
|
250
|
+
}
|
|
251
|
+
export const StringEvent = {
|
|
252
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
253
|
+
if (message.type !== "") {
|
|
254
|
+
writer.uint32(10).string(message.type);
|
|
255
|
+
}
|
|
256
|
+
for (const v of message.attributes) {
|
|
257
|
+
Attribute.encode(v, writer.uint32(18).fork()).ldelim();
|
|
258
|
+
}
|
|
259
|
+
return writer;
|
|
260
|
+
},
|
|
261
|
+
decode(input, length) {
|
|
262
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
263
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
264
|
+
const message = createBaseStringEvent();
|
|
265
|
+
while (reader.pos < end) {
|
|
266
|
+
const tag = reader.uint32();
|
|
267
|
+
switch (tag >>> 3) {
|
|
268
|
+
case 1:
|
|
269
|
+
message.type = reader.string();
|
|
270
|
+
break;
|
|
271
|
+
case 2:
|
|
272
|
+
message.attributes.push(Attribute.decode(reader, reader.uint32()));
|
|
273
|
+
break;
|
|
274
|
+
default:
|
|
275
|
+
reader.skipType(tag & 7);
|
|
276
|
+
break;
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
return message;
|
|
280
|
+
},
|
|
281
|
+
fromJSON(object) {
|
|
282
|
+
return {
|
|
283
|
+
type: isSet(object.type) ? String(object.type) : "",
|
|
284
|
+
attributes: Array.isArray(object?.attributes) ? object.attributes.map((e) => Attribute.fromJSON(e)) : [],
|
|
285
|
+
};
|
|
286
|
+
},
|
|
287
|
+
toJSON(message) {
|
|
288
|
+
const obj = {};
|
|
289
|
+
message.type !== undefined && (obj.type = message.type);
|
|
290
|
+
if (message.attributes) {
|
|
291
|
+
obj.attributes = message.attributes.map((e) => e ? Attribute.toJSON(e) : undefined);
|
|
292
|
+
}
|
|
293
|
+
else {
|
|
294
|
+
obj.attributes = [];
|
|
295
|
+
}
|
|
296
|
+
return obj;
|
|
297
|
+
},
|
|
298
|
+
fromPartial(object) {
|
|
299
|
+
const message = createBaseStringEvent();
|
|
300
|
+
message.type = object.type ?? "";
|
|
301
|
+
message.attributes = object.attributes?.map((e) => Attribute.fromPartial(e)) || [];
|
|
302
|
+
return message;
|
|
303
|
+
},
|
|
304
|
+
};
|
|
305
|
+
function createBaseAttribute() {
|
|
306
|
+
return { key: "", value: "" };
|
|
307
|
+
}
|
|
308
|
+
export const Attribute = {
|
|
309
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
310
|
+
if (message.key !== "") {
|
|
311
|
+
writer.uint32(10).string(message.key);
|
|
312
|
+
}
|
|
313
|
+
if (message.value !== "") {
|
|
314
|
+
writer.uint32(18).string(message.value);
|
|
315
|
+
}
|
|
316
|
+
return writer;
|
|
317
|
+
},
|
|
318
|
+
decode(input, length) {
|
|
319
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
320
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
321
|
+
const message = createBaseAttribute();
|
|
322
|
+
while (reader.pos < end) {
|
|
323
|
+
const tag = reader.uint32();
|
|
324
|
+
switch (tag >>> 3) {
|
|
325
|
+
case 1:
|
|
326
|
+
message.key = reader.string();
|
|
327
|
+
break;
|
|
328
|
+
case 2:
|
|
329
|
+
message.value = reader.string();
|
|
330
|
+
break;
|
|
331
|
+
default:
|
|
332
|
+
reader.skipType(tag & 7);
|
|
333
|
+
break;
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
return message;
|
|
337
|
+
},
|
|
338
|
+
fromJSON(object) {
|
|
339
|
+
return { key: isSet(object.key) ? String(object.key) : "", value: isSet(object.value) ? String(object.value) : "" };
|
|
340
|
+
},
|
|
341
|
+
toJSON(message) {
|
|
342
|
+
const obj = {};
|
|
343
|
+
message.key !== undefined && (obj.key = message.key);
|
|
344
|
+
message.value !== undefined && (obj.value = message.value);
|
|
345
|
+
return obj;
|
|
346
|
+
},
|
|
347
|
+
fromPartial(object) {
|
|
348
|
+
const message = createBaseAttribute();
|
|
349
|
+
message.key = object.key ?? "";
|
|
350
|
+
message.value = object.value ?? "";
|
|
351
|
+
return message;
|
|
352
|
+
},
|
|
353
|
+
};
|
|
354
|
+
function createBaseGasInfo() {
|
|
355
|
+
return { gasWanted: 0, gasUsed: 0 };
|
|
356
|
+
}
|
|
357
|
+
export const GasInfo = {
|
|
358
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
359
|
+
if (message.gasWanted !== 0) {
|
|
360
|
+
writer.uint32(8).uint64(message.gasWanted);
|
|
361
|
+
}
|
|
362
|
+
if (message.gasUsed !== 0) {
|
|
363
|
+
writer.uint32(16).uint64(message.gasUsed);
|
|
364
|
+
}
|
|
365
|
+
return writer;
|
|
366
|
+
},
|
|
367
|
+
decode(input, length) {
|
|
368
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
369
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
370
|
+
const message = createBaseGasInfo();
|
|
371
|
+
while (reader.pos < end) {
|
|
372
|
+
const tag = reader.uint32();
|
|
373
|
+
switch (tag >>> 3) {
|
|
374
|
+
case 1:
|
|
375
|
+
message.gasWanted = longToNumber(reader.uint64());
|
|
376
|
+
break;
|
|
377
|
+
case 2:
|
|
378
|
+
message.gasUsed = longToNumber(reader.uint64());
|
|
379
|
+
break;
|
|
380
|
+
default:
|
|
381
|
+
reader.skipType(tag & 7);
|
|
382
|
+
break;
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
return message;
|
|
386
|
+
},
|
|
387
|
+
fromJSON(object) {
|
|
388
|
+
return {
|
|
389
|
+
gasWanted: isSet(object.gasWanted) ? Number(object.gasWanted) : 0,
|
|
390
|
+
gasUsed: isSet(object.gasUsed) ? Number(object.gasUsed) : 0,
|
|
391
|
+
};
|
|
392
|
+
},
|
|
393
|
+
toJSON(message) {
|
|
394
|
+
const obj = {};
|
|
395
|
+
message.gasWanted !== undefined && (obj.gasWanted = Math.round(message.gasWanted));
|
|
396
|
+
message.gasUsed !== undefined && (obj.gasUsed = Math.round(message.gasUsed));
|
|
397
|
+
return obj;
|
|
398
|
+
},
|
|
399
|
+
fromPartial(object) {
|
|
400
|
+
const message = createBaseGasInfo();
|
|
401
|
+
message.gasWanted = object.gasWanted ?? 0;
|
|
402
|
+
message.gasUsed = object.gasUsed ?? 0;
|
|
403
|
+
return message;
|
|
404
|
+
},
|
|
405
|
+
};
|
|
406
|
+
function createBaseResult() {
|
|
407
|
+
return { data: new Uint8Array(), log: "", events: [], msgResponses: [] };
|
|
408
|
+
}
|
|
409
|
+
export const Result = {
|
|
410
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
411
|
+
if (message.data.length !== 0) {
|
|
412
|
+
writer.uint32(10).bytes(message.data);
|
|
413
|
+
}
|
|
414
|
+
if (message.log !== "") {
|
|
415
|
+
writer.uint32(18).string(message.log);
|
|
416
|
+
}
|
|
417
|
+
for (const v of message.events) {
|
|
418
|
+
Event.encode(v, writer.uint32(26).fork()).ldelim();
|
|
419
|
+
}
|
|
420
|
+
for (const v of message.msgResponses) {
|
|
421
|
+
Any.encode(v, writer.uint32(34).fork()).ldelim();
|
|
422
|
+
}
|
|
423
|
+
return writer;
|
|
424
|
+
},
|
|
425
|
+
decode(input, length) {
|
|
426
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
427
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
428
|
+
const message = createBaseResult();
|
|
429
|
+
while (reader.pos < end) {
|
|
430
|
+
const tag = reader.uint32();
|
|
431
|
+
switch (tag >>> 3) {
|
|
432
|
+
case 1:
|
|
433
|
+
message.data = reader.bytes();
|
|
434
|
+
break;
|
|
435
|
+
case 2:
|
|
436
|
+
message.log = reader.string();
|
|
437
|
+
break;
|
|
438
|
+
case 3:
|
|
439
|
+
message.events.push(Event.decode(reader, reader.uint32()));
|
|
440
|
+
break;
|
|
441
|
+
case 4:
|
|
442
|
+
message.msgResponses.push(Any.decode(reader, reader.uint32()));
|
|
443
|
+
break;
|
|
444
|
+
default:
|
|
445
|
+
reader.skipType(tag & 7);
|
|
446
|
+
break;
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
return message;
|
|
450
|
+
},
|
|
451
|
+
fromJSON(object) {
|
|
452
|
+
return {
|
|
453
|
+
data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array(),
|
|
454
|
+
log: isSet(object.log) ? String(object.log) : "",
|
|
455
|
+
events: Array.isArray(object?.events) ? object.events.map((e) => Event.fromJSON(e)) : [],
|
|
456
|
+
msgResponses: Array.isArray(object?.msgResponses) ? object.msgResponses.map((e) => Any.fromJSON(e)) : [],
|
|
457
|
+
};
|
|
458
|
+
},
|
|
459
|
+
toJSON(message) {
|
|
460
|
+
const obj = {};
|
|
461
|
+
message.data !== undefined
|
|
462
|
+
&& (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array()));
|
|
463
|
+
message.log !== undefined && (obj.log = message.log);
|
|
464
|
+
if (message.events) {
|
|
465
|
+
obj.events = message.events.map((e) => e ? Event.toJSON(e) : undefined);
|
|
466
|
+
}
|
|
467
|
+
else {
|
|
468
|
+
obj.events = [];
|
|
469
|
+
}
|
|
470
|
+
if (message.msgResponses) {
|
|
471
|
+
obj.msgResponses = message.msgResponses.map((e) => e ? Any.toJSON(e) : undefined);
|
|
472
|
+
}
|
|
473
|
+
else {
|
|
474
|
+
obj.msgResponses = [];
|
|
475
|
+
}
|
|
476
|
+
return obj;
|
|
477
|
+
},
|
|
478
|
+
fromPartial(object) {
|
|
479
|
+
const message = createBaseResult();
|
|
480
|
+
message.data = object.data ?? new Uint8Array();
|
|
481
|
+
message.log = object.log ?? "";
|
|
482
|
+
message.events = object.events?.map((e) => Event.fromPartial(e)) || [];
|
|
483
|
+
message.msgResponses = object.msgResponses?.map((e) => Any.fromPartial(e)) || [];
|
|
484
|
+
return message;
|
|
485
|
+
},
|
|
486
|
+
};
|
|
487
|
+
function createBaseSimulationResponse() {
|
|
488
|
+
return { gasInfo: undefined, result: undefined };
|
|
489
|
+
}
|
|
490
|
+
export const SimulationResponse = {
|
|
491
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
492
|
+
if (message.gasInfo !== undefined) {
|
|
493
|
+
GasInfo.encode(message.gasInfo, writer.uint32(10).fork()).ldelim();
|
|
494
|
+
}
|
|
495
|
+
if (message.result !== undefined) {
|
|
496
|
+
Result.encode(message.result, writer.uint32(18).fork()).ldelim();
|
|
497
|
+
}
|
|
498
|
+
return writer;
|
|
499
|
+
},
|
|
500
|
+
decode(input, length) {
|
|
501
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
502
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
503
|
+
const message = createBaseSimulationResponse();
|
|
504
|
+
while (reader.pos < end) {
|
|
505
|
+
const tag = reader.uint32();
|
|
506
|
+
switch (tag >>> 3) {
|
|
507
|
+
case 1:
|
|
508
|
+
message.gasInfo = GasInfo.decode(reader, reader.uint32());
|
|
509
|
+
break;
|
|
510
|
+
case 2:
|
|
511
|
+
message.result = Result.decode(reader, reader.uint32());
|
|
512
|
+
break;
|
|
513
|
+
default:
|
|
514
|
+
reader.skipType(tag & 7);
|
|
515
|
+
break;
|
|
516
|
+
}
|
|
517
|
+
}
|
|
518
|
+
return message;
|
|
519
|
+
},
|
|
520
|
+
fromJSON(object) {
|
|
521
|
+
return {
|
|
522
|
+
gasInfo: isSet(object.gasInfo) ? GasInfo.fromJSON(object.gasInfo) : undefined,
|
|
523
|
+
result: isSet(object.result) ? Result.fromJSON(object.result) : undefined,
|
|
524
|
+
};
|
|
525
|
+
},
|
|
526
|
+
toJSON(message) {
|
|
527
|
+
const obj = {};
|
|
528
|
+
message.gasInfo !== undefined && (obj.gasInfo = message.gasInfo ? GasInfo.toJSON(message.gasInfo) : undefined);
|
|
529
|
+
message.result !== undefined && (obj.result = message.result ? Result.toJSON(message.result) : undefined);
|
|
530
|
+
return obj;
|
|
531
|
+
},
|
|
532
|
+
fromPartial(object) {
|
|
533
|
+
const message = createBaseSimulationResponse();
|
|
534
|
+
message.gasInfo = (object.gasInfo !== undefined && object.gasInfo !== null)
|
|
535
|
+
? GasInfo.fromPartial(object.gasInfo)
|
|
536
|
+
: undefined;
|
|
537
|
+
message.result = (object.result !== undefined && object.result !== null)
|
|
538
|
+
? Result.fromPartial(object.result)
|
|
539
|
+
: undefined;
|
|
540
|
+
return message;
|
|
541
|
+
},
|
|
542
|
+
};
|
|
543
|
+
function createBaseMsgData() {
|
|
544
|
+
return { msgType: "", data: new Uint8Array() };
|
|
545
|
+
}
|
|
546
|
+
export const MsgData = {
|
|
547
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
548
|
+
if (message.msgType !== "") {
|
|
549
|
+
writer.uint32(10).string(message.msgType);
|
|
550
|
+
}
|
|
551
|
+
if (message.data.length !== 0) {
|
|
552
|
+
writer.uint32(18).bytes(message.data);
|
|
553
|
+
}
|
|
554
|
+
return writer;
|
|
555
|
+
},
|
|
556
|
+
decode(input, length) {
|
|
557
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
558
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
559
|
+
const message = createBaseMsgData();
|
|
560
|
+
while (reader.pos < end) {
|
|
561
|
+
const tag = reader.uint32();
|
|
562
|
+
switch (tag >>> 3) {
|
|
563
|
+
case 1:
|
|
564
|
+
message.msgType = reader.string();
|
|
565
|
+
break;
|
|
566
|
+
case 2:
|
|
567
|
+
message.data = reader.bytes();
|
|
568
|
+
break;
|
|
569
|
+
default:
|
|
570
|
+
reader.skipType(tag & 7);
|
|
571
|
+
break;
|
|
572
|
+
}
|
|
573
|
+
}
|
|
574
|
+
return message;
|
|
575
|
+
},
|
|
576
|
+
fromJSON(object) {
|
|
577
|
+
return {
|
|
578
|
+
msgType: isSet(object.msgType) ? String(object.msgType) : "",
|
|
579
|
+
data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array(),
|
|
580
|
+
};
|
|
581
|
+
},
|
|
582
|
+
toJSON(message) {
|
|
583
|
+
const obj = {};
|
|
584
|
+
message.msgType !== undefined && (obj.msgType = message.msgType);
|
|
585
|
+
message.data !== undefined
|
|
586
|
+
&& (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array()));
|
|
587
|
+
return obj;
|
|
588
|
+
},
|
|
589
|
+
fromPartial(object) {
|
|
590
|
+
const message = createBaseMsgData();
|
|
591
|
+
message.msgType = object.msgType ?? "";
|
|
592
|
+
message.data = object.data ?? new Uint8Array();
|
|
593
|
+
return message;
|
|
594
|
+
},
|
|
595
|
+
};
|
|
596
|
+
function createBaseTxMsgData() {
|
|
597
|
+
return { data: [], msgResponses: [] };
|
|
598
|
+
}
|
|
599
|
+
export const TxMsgData = {
|
|
600
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
601
|
+
for (const v of message.data) {
|
|
602
|
+
MsgData.encode(v, writer.uint32(10).fork()).ldelim();
|
|
603
|
+
}
|
|
604
|
+
for (const v of message.msgResponses) {
|
|
605
|
+
Any.encode(v, writer.uint32(18).fork()).ldelim();
|
|
606
|
+
}
|
|
607
|
+
return writer;
|
|
608
|
+
},
|
|
609
|
+
decode(input, length) {
|
|
610
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
611
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
612
|
+
const message = createBaseTxMsgData();
|
|
613
|
+
while (reader.pos < end) {
|
|
614
|
+
const tag = reader.uint32();
|
|
615
|
+
switch (tag >>> 3) {
|
|
616
|
+
case 1:
|
|
617
|
+
message.data.push(MsgData.decode(reader, reader.uint32()));
|
|
618
|
+
break;
|
|
619
|
+
case 2:
|
|
620
|
+
message.msgResponses.push(Any.decode(reader, reader.uint32()));
|
|
621
|
+
break;
|
|
622
|
+
default:
|
|
623
|
+
reader.skipType(tag & 7);
|
|
624
|
+
break;
|
|
625
|
+
}
|
|
626
|
+
}
|
|
627
|
+
return message;
|
|
628
|
+
},
|
|
629
|
+
fromJSON(object) {
|
|
630
|
+
return {
|
|
631
|
+
data: Array.isArray(object?.data) ? object.data.map((e) => MsgData.fromJSON(e)) : [],
|
|
632
|
+
msgResponses: Array.isArray(object?.msgResponses) ? object.msgResponses.map((e) => Any.fromJSON(e)) : [],
|
|
633
|
+
};
|
|
634
|
+
},
|
|
635
|
+
toJSON(message) {
|
|
636
|
+
const obj = {};
|
|
637
|
+
if (message.data) {
|
|
638
|
+
obj.data = message.data.map((e) => e ? MsgData.toJSON(e) : undefined);
|
|
639
|
+
}
|
|
640
|
+
else {
|
|
641
|
+
obj.data = [];
|
|
642
|
+
}
|
|
643
|
+
if (message.msgResponses) {
|
|
644
|
+
obj.msgResponses = message.msgResponses.map((e) => e ? Any.toJSON(e) : undefined);
|
|
645
|
+
}
|
|
646
|
+
else {
|
|
647
|
+
obj.msgResponses = [];
|
|
648
|
+
}
|
|
649
|
+
return obj;
|
|
650
|
+
},
|
|
651
|
+
fromPartial(object) {
|
|
652
|
+
const message = createBaseTxMsgData();
|
|
653
|
+
message.data = object.data?.map((e) => MsgData.fromPartial(e)) || [];
|
|
654
|
+
message.msgResponses = object.msgResponses?.map((e) => Any.fromPartial(e)) || [];
|
|
655
|
+
return message;
|
|
656
|
+
},
|
|
657
|
+
};
|
|
658
|
+
function createBaseSearchTxsResult() {
|
|
659
|
+
return { totalCount: 0, count: 0, pageNumber: 0, pageTotal: 0, limit: 0, txs: [] };
|
|
660
|
+
}
|
|
661
|
+
export const SearchTxsResult = {
|
|
662
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
663
|
+
if (message.totalCount !== 0) {
|
|
664
|
+
writer.uint32(8).uint64(message.totalCount);
|
|
665
|
+
}
|
|
666
|
+
if (message.count !== 0) {
|
|
667
|
+
writer.uint32(16).uint64(message.count);
|
|
668
|
+
}
|
|
669
|
+
if (message.pageNumber !== 0) {
|
|
670
|
+
writer.uint32(24).uint64(message.pageNumber);
|
|
671
|
+
}
|
|
672
|
+
if (message.pageTotal !== 0) {
|
|
673
|
+
writer.uint32(32).uint64(message.pageTotal);
|
|
674
|
+
}
|
|
675
|
+
if (message.limit !== 0) {
|
|
676
|
+
writer.uint32(40).uint64(message.limit);
|
|
677
|
+
}
|
|
678
|
+
for (const v of message.txs) {
|
|
679
|
+
TxResponse.encode(v, writer.uint32(50).fork()).ldelim();
|
|
680
|
+
}
|
|
681
|
+
return writer;
|
|
682
|
+
},
|
|
683
|
+
decode(input, length) {
|
|
684
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
685
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
686
|
+
const message = createBaseSearchTxsResult();
|
|
687
|
+
while (reader.pos < end) {
|
|
688
|
+
const tag = reader.uint32();
|
|
689
|
+
switch (tag >>> 3) {
|
|
690
|
+
case 1:
|
|
691
|
+
message.totalCount = longToNumber(reader.uint64());
|
|
692
|
+
break;
|
|
693
|
+
case 2:
|
|
694
|
+
message.count = longToNumber(reader.uint64());
|
|
695
|
+
break;
|
|
696
|
+
case 3:
|
|
697
|
+
message.pageNumber = longToNumber(reader.uint64());
|
|
698
|
+
break;
|
|
699
|
+
case 4:
|
|
700
|
+
message.pageTotal = longToNumber(reader.uint64());
|
|
701
|
+
break;
|
|
702
|
+
case 5:
|
|
703
|
+
message.limit = longToNumber(reader.uint64());
|
|
704
|
+
break;
|
|
705
|
+
case 6:
|
|
706
|
+
message.txs.push(TxResponse.decode(reader, reader.uint32()));
|
|
707
|
+
break;
|
|
708
|
+
default:
|
|
709
|
+
reader.skipType(tag & 7);
|
|
710
|
+
break;
|
|
711
|
+
}
|
|
712
|
+
}
|
|
713
|
+
return message;
|
|
714
|
+
},
|
|
715
|
+
fromJSON(object) {
|
|
716
|
+
return {
|
|
717
|
+
totalCount: isSet(object.totalCount) ? Number(object.totalCount) : 0,
|
|
718
|
+
count: isSet(object.count) ? Number(object.count) : 0,
|
|
719
|
+
pageNumber: isSet(object.pageNumber) ? Number(object.pageNumber) : 0,
|
|
720
|
+
pageTotal: isSet(object.pageTotal) ? Number(object.pageTotal) : 0,
|
|
721
|
+
limit: isSet(object.limit) ? Number(object.limit) : 0,
|
|
722
|
+
txs: Array.isArray(object?.txs) ? object.txs.map((e) => TxResponse.fromJSON(e)) : [],
|
|
723
|
+
};
|
|
724
|
+
},
|
|
725
|
+
toJSON(message) {
|
|
726
|
+
const obj = {};
|
|
727
|
+
message.totalCount !== undefined && (obj.totalCount = Math.round(message.totalCount));
|
|
728
|
+
message.count !== undefined && (obj.count = Math.round(message.count));
|
|
729
|
+
message.pageNumber !== undefined && (obj.pageNumber = Math.round(message.pageNumber));
|
|
730
|
+
message.pageTotal !== undefined && (obj.pageTotal = Math.round(message.pageTotal));
|
|
731
|
+
message.limit !== undefined && (obj.limit = Math.round(message.limit));
|
|
732
|
+
if (message.txs) {
|
|
733
|
+
obj.txs = message.txs.map((e) => e ? TxResponse.toJSON(e) : undefined);
|
|
734
|
+
}
|
|
735
|
+
else {
|
|
736
|
+
obj.txs = [];
|
|
737
|
+
}
|
|
738
|
+
return obj;
|
|
739
|
+
},
|
|
740
|
+
fromPartial(object) {
|
|
741
|
+
const message = createBaseSearchTxsResult();
|
|
742
|
+
message.totalCount = object.totalCount ?? 0;
|
|
743
|
+
message.count = object.count ?? 0;
|
|
744
|
+
message.pageNumber = object.pageNumber ?? 0;
|
|
745
|
+
message.pageTotal = object.pageTotal ?? 0;
|
|
746
|
+
message.limit = object.limit ?? 0;
|
|
747
|
+
message.txs = object.txs?.map((e) => TxResponse.fromPartial(e)) || [];
|
|
748
|
+
return message;
|
|
749
|
+
},
|
|
750
|
+
};
|
|
751
|
+
var globalThis = (() => {
|
|
752
|
+
if (typeof globalThis !== "undefined") {
|
|
753
|
+
return globalThis;
|
|
754
|
+
}
|
|
755
|
+
if (typeof self !== "undefined") {
|
|
756
|
+
return self;
|
|
757
|
+
}
|
|
758
|
+
if (typeof window !== "undefined") {
|
|
759
|
+
return window;
|
|
760
|
+
}
|
|
761
|
+
if (typeof global !== "undefined") {
|
|
762
|
+
return global;
|
|
763
|
+
}
|
|
764
|
+
throw "Unable to locate global object";
|
|
765
|
+
})();
|
|
766
|
+
function bytesFromBase64(b64) {
|
|
767
|
+
if (globalThis.Buffer) {
|
|
768
|
+
return Uint8Array.from(globalThis.Buffer.from(b64, "base64"));
|
|
769
|
+
}
|
|
770
|
+
else {
|
|
771
|
+
const bin = globalThis.atob(b64);
|
|
772
|
+
const arr = new Uint8Array(bin.length);
|
|
773
|
+
for (let i = 0; i < bin.length; ++i) {
|
|
774
|
+
arr[i] = bin.charCodeAt(i);
|
|
775
|
+
}
|
|
776
|
+
return arr;
|
|
777
|
+
}
|
|
778
|
+
}
|
|
779
|
+
function base64FromBytes(arr) {
|
|
780
|
+
if (globalThis.Buffer) {
|
|
781
|
+
return globalThis.Buffer.from(arr).toString("base64");
|
|
782
|
+
}
|
|
783
|
+
else {
|
|
784
|
+
const bin = [];
|
|
785
|
+
arr.forEach((byte) => {
|
|
786
|
+
bin.push(String.fromCharCode(byte));
|
|
787
|
+
});
|
|
788
|
+
return globalThis.btoa(bin.join(""));
|
|
789
|
+
}
|
|
790
|
+
}
|
|
791
|
+
function longToNumber(long) {
|
|
792
|
+
if (long.gt(Number.MAX_SAFE_INTEGER)) {
|
|
793
|
+
throw new globalThis.Error("Value is larger than Number.MAX_SAFE_INTEGER");
|
|
794
|
+
}
|
|
795
|
+
return long.toNumber();
|
|
796
|
+
}
|
|
797
|
+
if (_m0.util.Long !== Long) {
|
|
798
|
+
_m0.util.Long = Long;
|
|
799
|
+
_m0.configure();
|
|
800
|
+
}
|
|
801
|
+
function isSet(value) {
|
|
802
|
+
return value !== null && value !== undefined;
|
|
803
|
+
}
|