@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,959 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import Long from "long";
|
|
3
|
+
import _m0 from "protobufjs/minimal";
|
|
4
|
+
import { Any } from "../../../google/protobuf/any";
|
|
5
|
+
import { Coin } from "../../base/v1beta1/coin";
|
|
6
|
+
import { CompactBitArray } from "../../crypto/multisig/v1beta1/multisig";
|
|
7
|
+
import { signModeFromJSON, signModeToJSON } from "../signing/v1beta1/signing";
|
|
8
|
+
export const protobufPackage = "cosmos.tx.v1beta1";
|
|
9
|
+
function createBaseTx() {
|
|
10
|
+
return { body: undefined, authInfo: undefined, signatures: [] };
|
|
11
|
+
}
|
|
12
|
+
export const Tx = {
|
|
13
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
14
|
+
if (message.body !== undefined) {
|
|
15
|
+
TxBody.encode(message.body, writer.uint32(10).fork()).ldelim();
|
|
16
|
+
}
|
|
17
|
+
if (message.authInfo !== undefined) {
|
|
18
|
+
AuthInfo.encode(message.authInfo, writer.uint32(18).fork()).ldelim();
|
|
19
|
+
}
|
|
20
|
+
for (const v of message.signatures) {
|
|
21
|
+
writer.uint32(26).bytes(v);
|
|
22
|
+
}
|
|
23
|
+
return writer;
|
|
24
|
+
},
|
|
25
|
+
decode(input, length) {
|
|
26
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
27
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
28
|
+
const message = createBaseTx();
|
|
29
|
+
while (reader.pos < end) {
|
|
30
|
+
const tag = reader.uint32();
|
|
31
|
+
switch (tag >>> 3) {
|
|
32
|
+
case 1:
|
|
33
|
+
message.body = TxBody.decode(reader, reader.uint32());
|
|
34
|
+
break;
|
|
35
|
+
case 2:
|
|
36
|
+
message.authInfo = AuthInfo.decode(reader, reader.uint32());
|
|
37
|
+
break;
|
|
38
|
+
case 3:
|
|
39
|
+
message.signatures.push(reader.bytes());
|
|
40
|
+
break;
|
|
41
|
+
default:
|
|
42
|
+
reader.skipType(tag & 7);
|
|
43
|
+
break;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
return message;
|
|
47
|
+
},
|
|
48
|
+
fromJSON(object) {
|
|
49
|
+
return {
|
|
50
|
+
body: isSet(object.body) ? TxBody.fromJSON(object.body) : undefined,
|
|
51
|
+
authInfo: isSet(object.authInfo) ? AuthInfo.fromJSON(object.authInfo) : undefined,
|
|
52
|
+
signatures: Array.isArray(object?.signatures) ? object.signatures.map((e) => bytesFromBase64(e)) : [],
|
|
53
|
+
};
|
|
54
|
+
},
|
|
55
|
+
toJSON(message) {
|
|
56
|
+
const obj = {};
|
|
57
|
+
message.body !== undefined && (obj.body = message.body ? TxBody.toJSON(message.body) : undefined);
|
|
58
|
+
message.authInfo !== undefined && (obj.authInfo = message.authInfo ? AuthInfo.toJSON(message.authInfo) : undefined);
|
|
59
|
+
if (message.signatures) {
|
|
60
|
+
obj.signatures = message.signatures.map((e) => base64FromBytes(e !== undefined ? e : new Uint8Array()));
|
|
61
|
+
}
|
|
62
|
+
else {
|
|
63
|
+
obj.signatures = [];
|
|
64
|
+
}
|
|
65
|
+
return obj;
|
|
66
|
+
},
|
|
67
|
+
fromPartial(object) {
|
|
68
|
+
const message = createBaseTx();
|
|
69
|
+
message.body = (object.body !== undefined && object.body !== null) ? TxBody.fromPartial(object.body) : undefined;
|
|
70
|
+
message.authInfo = (object.authInfo !== undefined && object.authInfo !== null)
|
|
71
|
+
? AuthInfo.fromPartial(object.authInfo)
|
|
72
|
+
: undefined;
|
|
73
|
+
message.signatures = object.signatures?.map((e) => e) || [];
|
|
74
|
+
return message;
|
|
75
|
+
},
|
|
76
|
+
};
|
|
77
|
+
function createBaseTxRaw() {
|
|
78
|
+
return { bodyBytes: new Uint8Array(), authInfoBytes: new Uint8Array(), signatures: [] };
|
|
79
|
+
}
|
|
80
|
+
export const TxRaw = {
|
|
81
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
82
|
+
if (message.bodyBytes.length !== 0) {
|
|
83
|
+
writer.uint32(10).bytes(message.bodyBytes);
|
|
84
|
+
}
|
|
85
|
+
if (message.authInfoBytes.length !== 0) {
|
|
86
|
+
writer.uint32(18).bytes(message.authInfoBytes);
|
|
87
|
+
}
|
|
88
|
+
for (const v of message.signatures) {
|
|
89
|
+
writer.uint32(26).bytes(v);
|
|
90
|
+
}
|
|
91
|
+
return writer;
|
|
92
|
+
},
|
|
93
|
+
decode(input, length) {
|
|
94
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
95
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
96
|
+
const message = createBaseTxRaw();
|
|
97
|
+
while (reader.pos < end) {
|
|
98
|
+
const tag = reader.uint32();
|
|
99
|
+
switch (tag >>> 3) {
|
|
100
|
+
case 1:
|
|
101
|
+
message.bodyBytes = reader.bytes();
|
|
102
|
+
break;
|
|
103
|
+
case 2:
|
|
104
|
+
message.authInfoBytes = reader.bytes();
|
|
105
|
+
break;
|
|
106
|
+
case 3:
|
|
107
|
+
message.signatures.push(reader.bytes());
|
|
108
|
+
break;
|
|
109
|
+
default:
|
|
110
|
+
reader.skipType(tag & 7);
|
|
111
|
+
break;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
return message;
|
|
115
|
+
},
|
|
116
|
+
fromJSON(object) {
|
|
117
|
+
return {
|
|
118
|
+
bodyBytes: isSet(object.bodyBytes) ? bytesFromBase64(object.bodyBytes) : new Uint8Array(),
|
|
119
|
+
authInfoBytes: isSet(object.authInfoBytes) ? bytesFromBase64(object.authInfoBytes) : new Uint8Array(),
|
|
120
|
+
signatures: Array.isArray(object?.signatures) ? object.signatures.map((e) => bytesFromBase64(e)) : [],
|
|
121
|
+
};
|
|
122
|
+
},
|
|
123
|
+
toJSON(message) {
|
|
124
|
+
const obj = {};
|
|
125
|
+
message.bodyBytes !== undefined
|
|
126
|
+
&& (obj.bodyBytes = base64FromBytes(message.bodyBytes !== undefined ? message.bodyBytes : new Uint8Array()));
|
|
127
|
+
message.authInfoBytes !== undefined
|
|
128
|
+
&& (obj.authInfoBytes = base64FromBytes(message.authInfoBytes !== undefined ? message.authInfoBytes : new Uint8Array()));
|
|
129
|
+
if (message.signatures) {
|
|
130
|
+
obj.signatures = message.signatures.map((e) => base64FromBytes(e !== undefined ? e : new Uint8Array()));
|
|
131
|
+
}
|
|
132
|
+
else {
|
|
133
|
+
obj.signatures = [];
|
|
134
|
+
}
|
|
135
|
+
return obj;
|
|
136
|
+
},
|
|
137
|
+
fromPartial(object) {
|
|
138
|
+
const message = createBaseTxRaw();
|
|
139
|
+
message.bodyBytes = object.bodyBytes ?? new Uint8Array();
|
|
140
|
+
message.authInfoBytes = object.authInfoBytes ?? new Uint8Array();
|
|
141
|
+
message.signatures = object.signatures?.map((e) => e) || [];
|
|
142
|
+
return message;
|
|
143
|
+
},
|
|
144
|
+
};
|
|
145
|
+
function createBaseSignDoc() {
|
|
146
|
+
return { bodyBytes: new Uint8Array(), authInfoBytes: new Uint8Array(), chainId: "", accountNumber: 0 };
|
|
147
|
+
}
|
|
148
|
+
export const SignDoc = {
|
|
149
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
150
|
+
if (message.bodyBytes.length !== 0) {
|
|
151
|
+
writer.uint32(10).bytes(message.bodyBytes);
|
|
152
|
+
}
|
|
153
|
+
if (message.authInfoBytes.length !== 0) {
|
|
154
|
+
writer.uint32(18).bytes(message.authInfoBytes);
|
|
155
|
+
}
|
|
156
|
+
if (message.chainId !== "") {
|
|
157
|
+
writer.uint32(26).string(message.chainId);
|
|
158
|
+
}
|
|
159
|
+
if (message.accountNumber !== 0) {
|
|
160
|
+
writer.uint32(32).uint64(message.accountNumber);
|
|
161
|
+
}
|
|
162
|
+
return writer;
|
|
163
|
+
},
|
|
164
|
+
decode(input, length) {
|
|
165
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
166
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
167
|
+
const message = createBaseSignDoc();
|
|
168
|
+
while (reader.pos < end) {
|
|
169
|
+
const tag = reader.uint32();
|
|
170
|
+
switch (tag >>> 3) {
|
|
171
|
+
case 1:
|
|
172
|
+
message.bodyBytes = reader.bytes();
|
|
173
|
+
break;
|
|
174
|
+
case 2:
|
|
175
|
+
message.authInfoBytes = reader.bytes();
|
|
176
|
+
break;
|
|
177
|
+
case 3:
|
|
178
|
+
message.chainId = reader.string();
|
|
179
|
+
break;
|
|
180
|
+
case 4:
|
|
181
|
+
message.accountNumber = longToNumber(reader.uint64());
|
|
182
|
+
break;
|
|
183
|
+
default:
|
|
184
|
+
reader.skipType(tag & 7);
|
|
185
|
+
break;
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
return message;
|
|
189
|
+
},
|
|
190
|
+
fromJSON(object) {
|
|
191
|
+
return {
|
|
192
|
+
bodyBytes: isSet(object.bodyBytes) ? bytesFromBase64(object.bodyBytes) : new Uint8Array(),
|
|
193
|
+
authInfoBytes: isSet(object.authInfoBytes) ? bytesFromBase64(object.authInfoBytes) : new Uint8Array(),
|
|
194
|
+
chainId: isSet(object.chainId) ? String(object.chainId) : "",
|
|
195
|
+
accountNumber: isSet(object.accountNumber) ? Number(object.accountNumber) : 0,
|
|
196
|
+
};
|
|
197
|
+
},
|
|
198
|
+
toJSON(message) {
|
|
199
|
+
const obj = {};
|
|
200
|
+
message.bodyBytes !== undefined
|
|
201
|
+
&& (obj.bodyBytes = base64FromBytes(message.bodyBytes !== undefined ? message.bodyBytes : new Uint8Array()));
|
|
202
|
+
message.authInfoBytes !== undefined
|
|
203
|
+
&& (obj.authInfoBytes = base64FromBytes(message.authInfoBytes !== undefined ? message.authInfoBytes : new Uint8Array()));
|
|
204
|
+
message.chainId !== undefined && (obj.chainId = message.chainId);
|
|
205
|
+
message.accountNumber !== undefined && (obj.accountNumber = Math.round(message.accountNumber));
|
|
206
|
+
return obj;
|
|
207
|
+
},
|
|
208
|
+
fromPartial(object) {
|
|
209
|
+
const message = createBaseSignDoc();
|
|
210
|
+
message.bodyBytes = object.bodyBytes ?? new Uint8Array();
|
|
211
|
+
message.authInfoBytes = object.authInfoBytes ?? new Uint8Array();
|
|
212
|
+
message.chainId = object.chainId ?? "";
|
|
213
|
+
message.accountNumber = object.accountNumber ?? 0;
|
|
214
|
+
return message;
|
|
215
|
+
},
|
|
216
|
+
};
|
|
217
|
+
function createBaseSignDocDirectAux() {
|
|
218
|
+
return {
|
|
219
|
+
bodyBytes: new Uint8Array(),
|
|
220
|
+
publicKey: undefined,
|
|
221
|
+
chainId: "",
|
|
222
|
+
accountNumber: 0,
|
|
223
|
+
sequence: 0,
|
|
224
|
+
tip: undefined,
|
|
225
|
+
};
|
|
226
|
+
}
|
|
227
|
+
export const SignDocDirectAux = {
|
|
228
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
229
|
+
if (message.bodyBytes.length !== 0) {
|
|
230
|
+
writer.uint32(10).bytes(message.bodyBytes);
|
|
231
|
+
}
|
|
232
|
+
if (message.publicKey !== undefined) {
|
|
233
|
+
Any.encode(message.publicKey, writer.uint32(18).fork()).ldelim();
|
|
234
|
+
}
|
|
235
|
+
if (message.chainId !== "") {
|
|
236
|
+
writer.uint32(26).string(message.chainId);
|
|
237
|
+
}
|
|
238
|
+
if (message.accountNumber !== 0) {
|
|
239
|
+
writer.uint32(32).uint64(message.accountNumber);
|
|
240
|
+
}
|
|
241
|
+
if (message.sequence !== 0) {
|
|
242
|
+
writer.uint32(40).uint64(message.sequence);
|
|
243
|
+
}
|
|
244
|
+
if (message.tip !== undefined) {
|
|
245
|
+
Tip.encode(message.tip, writer.uint32(50).fork()).ldelim();
|
|
246
|
+
}
|
|
247
|
+
return writer;
|
|
248
|
+
},
|
|
249
|
+
decode(input, length) {
|
|
250
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
251
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
252
|
+
const message = createBaseSignDocDirectAux();
|
|
253
|
+
while (reader.pos < end) {
|
|
254
|
+
const tag = reader.uint32();
|
|
255
|
+
switch (tag >>> 3) {
|
|
256
|
+
case 1:
|
|
257
|
+
message.bodyBytes = reader.bytes();
|
|
258
|
+
break;
|
|
259
|
+
case 2:
|
|
260
|
+
message.publicKey = Any.decode(reader, reader.uint32());
|
|
261
|
+
break;
|
|
262
|
+
case 3:
|
|
263
|
+
message.chainId = reader.string();
|
|
264
|
+
break;
|
|
265
|
+
case 4:
|
|
266
|
+
message.accountNumber = longToNumber(reader.uint64());
|
|
267
|
+
break;
|
|
268
|
+
case 5:
|
|
269
|
+
message.sequence = longToNumber(reader.uint64());
|
|
270
|
+
break;
|
|
271
|
+
case 6:
|
|
272
|
+
message.tip = Tip.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
|
+
bodyBytes: isSet(object.bodyBytes) ? bytesFromBase64(object.bodyBytes) : new Uint8Array(),
|
|
284
|
+
publicKey: isSet(object.publicKey) ? Any.fromJSON(object.publicKey) : undefined,
|
|
285
|
+
chainId: isSet(object.chainId) ? String(object.chainId) : "",
|
|
286
|
+
accountNumber: isSet(object.accountNumber) ? Number(object.accountNumber) : 0,
|
|
287
|
+
sequence: isSet(object.sequence) ? Number(object.sequence) : 0,
|
|
288
|
+
tip: isSet(object.tip) ? Tip.fromJSON(object.tip) : undefined,
|
|
289
|
+
};
|
|
290
|
+
},
|
|
291
|
+
toJSON(message) {
|
|
292
|
+
const obj = {};
|
|
293
|
+
message.bodyBytes !== undefined
|
|
294
|
+
&& (obj.bodyBytes = base64FromBytes(message.bodyBytes !== undefined ? message.bodyBytes : new Uint8Array()));
|
|
295
|
+
message.publicKey !== undefined && (obj.publicKey = message.publicKey ? Any.toJSON(message.publicKey) : undefined);
|
|
296
|
+
message.chainId !== undefined && (obj.chainId = message.chainId);
|
|
297
|
+
message.accountNumber !== undefined && (obj.accountNumber = Math.round(message.accountNumber));
|
|
298
|
+
message.sequence !== undefined && (obj.sequence = Math.round(message.sequence));
|
|
299
|
+
message.tip !== undefined && (obj.tip = message.tip ? Tip.toJSON(message.tip) : undefined);
|
|
300
|
+
return obj;
|
|
301
|
+
},
|
|
302
|
+
fromPartial(object) {
|
|
303
|
+
const message = createBaseSignDocDirectAux();
|
|
304
|
+
message.bodyBytes = object.bodyBytes ?? new Uint8Array();
|
|
305
|
+
message.publicKey = (object.publicKey !== undefined && object.publicKey !== null)
|
|
306
|
+
? Any.fromPartial(object.publicKey)
|
|
307
|
+
: undefined;
|
|
308
|
+
message.chainId = object.chainId ?? "";
|
|
309
|
+
message.accountNumber = object.accountNumber ?? 0;
|
|
310
|
+
message.sequence = object.sequence ?? 0;
|
|
311
|
+
message.tip = (object.tip !== undefined && object.tip !== null) ? Tip.fromPartial(object.tip) : undefined;
|
|
312
|
+
return message;
|
|
313
|
+
},
|
|
314
|
+
};
|
|
315
|
+
function createBaseTxBody() {
|
|
316
|
+
return { messages: [], memo: "", timeoutHeight: 0, extensionOptions: [], nonCriticalExtensionOptions: [] };
|
|
317
|
+
}
|
|
318
|
+
export const TxBody = {
|
|
319
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
320
|
+
for (const v of message.messages) {
|
|
321
|
+
Any.encode(v, writer.uint32(10).fork()).ldelim();
|
|
322
|
+
}
|
|
323
|
+
if (message.memo !== "") {
|
|
324
|
+
writer.uint32(18).string(message.memo);
|
|
325
|
+
}
|
|
326
|
+
if (message.timeoutHeight !== 0) {
|
|
327
|
+
writer.uint32(24).uint64(message.timeoutHeight);
|
|
328
|
+
}
|
|
329
|
+
for (const v of message.extensionOptions) {
|
|
330
|
+
Any.encode(v, writer.uint32(8186).fork()).ldelim();
|
|
331
|
+
}
|
|
332
|
+
for (const v of message.nonCriticalExtensionOptions) {
|
|
333
|
+
Any.encode(v, writer.uint32(16378).fork()).ldelim();
|
|
334
|
+
}
|
|
335
|
+
return writer;
|
|
336
|
+
},
|
|
337
|
+
decode(input, length) {
|
|
338
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
339
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
340
|
+
const message = createBaseTxBody();
|
|
341
|
+
while (reader.pos < end) {
|
|
342
|
+
const tag = reader.uint32();
|
|
343
|
+
switch (tag >>> 3) {
|
|
344
|
+
case 1:
|
|
345
|
+
message.messages.push(Any.decode(reader, reader.uint32()));
|
|
346
|
+
break;
|
|
347
|
+
case 2:
|
|
348
|
+
message.memo = reader.string();
|
|
349
|
+
break;
|
|
350
|
+
case 3:
|
|
351
|
+
message.timeoutHeight = longToNumber(reader.uint64());
|
|
352
|
+
break;
|
|
353
|
+
case 1023:
|
|
354
|
+
message.extensionOptions.push(Any.decode(reader, reader.uint32()));
|
|
355
|
+
break;
|
|
356
|
+
case 2047:
|
|
357
|
+
message.nonCriticalExtensionOptions.push(Any.decode(reader, reader.uint32()));
|
|
358
|
+
break;
|
|
359
|
+
default:
|
|
360
|
+
reader.skipType(tag & 7);
|
|
361
|
+
break;
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
return message;
|
|
365
|
+
},
|
|
366
|
+
fromJSON(object) {
|
|
367
|
+
return {
|
|
368
|
+
messages: Array.isArray(object?.messages) ? object.messages.map((e) => Any.fromJSON(e)) : [],
|
|
369
|
+
memo: isSet(object.memo) ? String(object.memo) : "",
|
|
370
|
+
timeoutHeight: isSet(object.timeoutHeight) ? Number(object.timeoutHeight) : 0,
|
|
371
|
+
extensionOptions: Array.isArray(object?.extensionOptions)
|
|
372
|
+
? object.extensionOptions.map((e) => Any.fromJSON(e))
|
|
373
|
+
: [],
|
|
374
|
+
nonCriticalExtensionOptions: Array.isArray(object?.nonCriticalExtensionOptions)
|
|
375
|
+
? object.nonCriticalExtensionOptions.map((e) => Any.fromJSON(e))
|
|
376
|
+
: [],
|
|
377
|
+
};
|
|
378
|
+
},
|
|
379
|
+
toJSON(message) {
|
|
380
|
+
const obj = {};
|
|
381
|
+
if (message.messages) {
|
|
382
|
+
obj.messages = message.messages.map((e) => e ? Any.toJSON(e) : undefined);
|
|
383
|
+
}
|
|
384
|
+
else {
|
|
385
|
+
obj.messages = [];
|
|
386
|
+
}
|
|
387
|
+
message.memo !== undefined && (obj.memo = message.memo);
|
|
388
|
+
message.timeoutHeight !== undefined && (obj.timeoutHeight = Math.round(message.timeoutHeight));
|
|
389
|
+
if (message.extensionOptions) {
|
|
390
|
+
obj.extensionOptions = message.extensionOptions.map((e) => e ? Any.toJSON(e) : undefined);
|
|
391
|
+
}
|
|
392
|
+
else {
|
|
393
|
+
obj.extensionOptions = [];
|
|
394
|
+
}
|
|
395
|
+
if (message.nonCriticalExtensionOptions) {
|
|
396
|
+
obj.nonCriticalExtensionOptions = message.nonCriticalExtensionOptions.map((e) => e ? Any.toJSON(e) : undefined);
|
|
397
|
+
}
|
|
398
|
+
else {
|
|
399
|
+
obj.nonCriticalExtensionOptions = [];
|
|
400
|
+
}
|
|
401
|
+
return obj;
|
|
402
|
+
},
|
|
403
|
+
fromPartial(object) {
|
|
404
|
+
const message = createBaseTxBody();
|
|
405
|
+
message.messages = object.messages?.map((e) => Any.fromPartial(e)) || [];
|
|
406
|
+
message.memo = object.memo ?? "";
|
|
407
|
+
message.timeoutHeight = object.timeoutHeight ?? 0;
|
|
408
|
+
message.extensionOptions = object.extensionOptions?.map((e) => Any.fromPartial(e)) || [];
|
|
409
|
+
message.nonCriticalExtensionOptions = object.nonCriticalExtensionOptions?.map((e) => Any.fromPartial(e)) || [];
|
|
410
|
+
return message;
|
|
411
|
+
},
|
|
412
|
+
};
|
|
413
|
+
function createBaseAuthInfo() {
|
|
414
|
+
return { signerInfos: [], fee: undefined, tip: undefined };
|
|
415
|
+
}
|
|
416
|
+
export const AuthInfo = {
|
|
417
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
418
|
+
for (const v of message.signerInfos) {
|
|
419
|
+
SignerInfo.encode(v, writer.uint32(10).fork()).ldelim();
|
|
420
|
+
}
|
|
421
|
+
if (message.fee !== undefined) {
|
|
422
|
+
Fee.encode(message.fee, writer.uint32(18).fork()).ldelim();
|
|
423
|
+
}
|
|
424
|
+
if (message.tip !== undefined) {
|
|
425
|
+
Tip.encode(message.tip, writer.uint32(26).fork()).ldelim();
|
|
426
|
+
}
|
|
427
|
+
return writer;
|
|
428
|
+
},
|
|
429
|
+
decode(input, length) {
|
|
430
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
431
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
432
|
+
const message = createBaseAuthInfo();
|
|
433
|
+
while (reader.pos < end) {
|
|
434
|
+
const tag = reader.uint32();
|
|
435
|
+
switch (tag >>> 3) {
|
|
436
|
+
case 1:
|
|
437
|
+
message.signerInfos.push(SignerInfo.decode(reader, reader.uint32()));
|
|
438
|
+
break;
|
|
439
|
+
case 2:
|
|
440
|
+
message.fee = Fee.decode(reader, reader.uint32());
|
|
441
|
+
break;
|
|
442
|
+
case 3:
|
|
443
|
+
message.tip = Tip.decode(reader, reader.uint32());
|
|
444
|
+
break;
|
|
445
|
+
default:
|
|
446
|
+
reader.skipType(tag & 7);
|
|
447
|
+
break;
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
return message;
|
|
451
|
+
},
|
|
452
|
+
fromJSON(object) {
|
|
453
|
+
return {
|
|
454
|
+
signerInfos: Array.isArray(object?.signerInfos) ? object.signerInfos.map((e) => SignerInfo.fromJSON(e)) : [],
|
|
455
|
+
fee: isSet(object.fee) ? Fee.fromJSON(object.fee) : undefined,
|
|
456
|
+
tip: isSet(object.tip) ? Tip.fromJSON(object.tip) : undefined,
|
|
457
|
+
};
|
|
458
|
+
},
|
|
459
|
+
toJSON(message) {
|
|
460
|
+
const obj = {};
|
|
461
|
+
if (message.signerInfos) {
|
|
462
|
+
obj.signerInfos = message.signerInfos.map((e) => e ? SignerInfo.toJSON(e) : undefined);
|
|
463
|
+
}
|
|
464
|
+
else {
|
|
465
|
+
obj.signerInfos = [];
|
|
466
|
+
}
|
|
467
|
+
message.fee !== undefined && (obj.fee = message.fee ? Fee.toJSON(message.fee) : undefined);
|
|
468
|
+
message.tip !== undefined && (obj.tip = message.tip ? Tip.toJSON(message.tip) : undefined);
|
|
469
|
+
return obj;
|
|
470
|
+
},
|
|
471
|
+
fromPartial(object) {
|
|
472
|
+
const message = createBaseAuthInfo();
|
|
473
|
+
message.signerInfos = object.signerInfos?.map((e) => SignerInfo.fromPartial(e)) || [];
|
|
474
|
+
message.fee = (object.fee !== undefined && object.fee !== null) ? Fee.fromPartial(object.fee) : undefined;
|
|
475
|
+
message.tip = (object.tip !== undefined && object.tip !== null) ? Tip.fromPartial(object.tip) : undefined;
|
|
476
|
+
return message;
|
|
477
|
+
},
|
|
478
|
+
};
|
|
479
|
+
function createBaseSignerInfo() {
|
|
480
|
+
return { publicKey: undefined, modeInfo: undefined, sequence: 0 };
|
|
481
|
+
}
|
|
482
|
+
export const SignerInfo = {
|
|
483
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
484
|
+
if (message.publicKey !== undefined) {
|
|
485
|
+
Any.encode(message.publicKey, writer.uint32(10).fork()).ldelim();
|
|
486
|
+
}
|
|
487
|
+
if (message.modeInfo !== undefined) {
|
|
488
|
+
ModeInfo.encode(message.modeInfo, writer.uint32(18).fork()).ldelim();
|
|
489
|
+
}
|
|
490
|
+
if (message.sequence !== 0) {
|
|
491
|
+
writer.uint32(24).uint64(message.sequence);
|
|
492
|
+
}
|
|
493
|
+
return writer;
|
|
494
|
+
},
|
|
495
|
+
decode(input, length) {
|
|
496
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
497
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
498
|
+
const message = createBaseSignerInfo();
|
|
499
|
+
while (reader.pos < end) {
|
|
500
|
+
const tag = reader.uint32();
|
|
501
|
+
switch (tag >>> 3) {
|
|
502
|
+
case 1:
|
|
503
|
+
message.publicKey = Any.decode(reader, reader.uint32());
|
|
504
|
+
break;
|
|
505
|
+
case 2:
|
|
506
|
+
message.modeInfo = ModeInfo.decode(reader, reader.uint32());
|
|
507
|
+
break;
|
|
508
|
+
case 3:
|
|
509
|
+
message.sequence = longToNumber(reader.uint64());
|
|
510
|
+
break;
|
|
511
|
+
default:
|
|
512
|
+
reader.skipType(tag & 7);
|
|
513
|
+
break;
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
return message;
|
|
517
|
+
},
|
|
518
|
+
fromJSON(object) {
|
|
519
|
+
return {
|
|
520
|
+
publicKey: isSet(object.publicKey) ? Any.fromJSON(object.publicKey) : undefined,
|
|
521
|
+
modeInfo: isSet(object.modeInfo) ? ModeInfo.fromJSON(object.modeInfo) : undefined,
|
|
522
|
+
sequence: isSet(object.sequence) ? Number(object.sequence) : 0,
|
|
523
|
+
};
|
|
524
|
+
},
|
|
525
|
+
toJSON(message) {
|
|
526
|
+
const obj = {};
|
|
527
|
+
message.publicKey !== undefined && (obj.publicKey = message.publicKey ? Any.toJSON(message.publicKey) : undefined);
|
|
528
|
+
message.modeInfo !== undefined && (obj.modeInfo = message.modeInfo ? ModeInfo.toJSON(message.modeInfo) : undefined);
|
|
529
|
+
message.sequence !== undefined && (obj.sequence = Math.round(message.sequence));
|
|
530
|
+
return obj;
|
|
531
|
+
},
|
|
532
|
+
fromPartial(object) {
|
|
533
|
+
const message = createBaseSignerInfo();
|
|
534
|
+
message.publicKey = (object.publicKey !== undefined && object.publicKey !== null)
|
|
535
|
+
? Any.fromPartial(object.publicKey)
|
|
536
|
+
: undefined;
|
|
537
|
+
message.modeInfo = (object.modeInfo !== undefined && object.modeInfo !== null)
|
|
538
|
+
? ModeInfo.fromPartial(object.modeInfo)
|
|
539
|
+
: undefined;
|
|
540
|
+
message.sequence = object.sequence ?? 0;
|
|
541
|
+
return message;
|
|
542
|
+
},
|
|
543
|
+
};
|
|
544
|
+
function createBaseModeInfo() {
|
|
545
|
+
return { single: undefined, multi: undefined };
|
|
546
|
+
}
|
|
547
|
+
export const ModeInfo = {
|
|
548
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
549
|
+
if (message.single !== undefined) {
|
|
550
|
+
ModeInfo_Single.encode(message.single, writer.uint32(10).fork()).ldelim();
|
|
551
|
+
}
|
|
552
|
+
if (message.multi !== undefined) {
|
|
553
|
+
ModeInfo_Multi.encode(message.multi, writer.uint32(18).fork()).ldelim();
|
|
554
|
+
}
|
|
555
|
+
return writer;
|
|
556
|
+
},
|
|
557
|
+
decode(input, length) {
|
|
558
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
559
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
560
|
+
const message = createBaseModeInfo();
|
|
561
|
+
while (reader.pos < end) {
|
|
562
|
+
const tag = reader.uint32();
|
|
563
|
+
switch (tag >>> 3) {
|
|
564
|
+
case 1:
|
|
565
|
+
message.single = ModeInfo_Single.decode(reader, reader.uint32());
|
|
566
|
+
break;
|
|
567
|
+
case 2:
|
|
568
|
+
message.multi = ModeInfo_Multi.decode(reader, reader.uint32());
|
|
569
|
+
break;
|
|
570
|
+
default:
|
|
571
|
+
reader.skipType(tag & 7);
|
|
572
|
+
break;
|
|
573
|
+
}
|
|
574
|
+
}
|
|
575
|
+
return message;
|
|
576
|
+
},
|
|
577
|
+
fromJSON(object) {
|
|
578
|
+
return {
|
|
579
|
+
single: isSet(object.single) ? ModeInfo_Single.fromJSON(object.single) : undefined,
|
|
580
|
+
multi: isSet(object.multi) ? ModeInfo_Multi.fromJSON(object.multi) : undefined,
|
|
581
|
+
};
|
|
582
|
+
},
|
|
583
|
+
toJSON(message) {
|
|
584
|
+
const obj = {};
|
|
585
|
+
message.single !== undefined && (obj.single = message.single ? ModeInfo_Single.toJSON(message.single) : undefined);
|
|
586
|
+
message.multi !== undefined && (obj.multi = message.multi ? ModeInfo_Multi.toJSON(message.multi) : undefined);
|
|
587
|
+
return obj;
|
|
588
|
+
},
|
|
589
|
+
fromPartial(object) {
|
|
590
|
+
const message = createBaseModeInfo();
|
|
591
|
+
message.single = (object.single !== undefined && object.single !== null)
|
|
592
|
+
? ModeInfo_Single.fromPartial(object.single)
|
|
593
|
+
: undefined;
|
|
594
|
+
message.multi = (object.multi !== undefined && object.multi !== null)
|
|
595
|
+
? ModeInfo_Multi.fromPartial(object.multi)
|
|
596
|
+
: undefined;
|
|
597
|
+
return message;
|
|
598
|
+
},
|
|
599
|
+
};
|
|
600
|
+
function createBaseModeInfo_Single() {
|
|
601
|
+
return { mode: 0 };
|
|
602
|
+
}
|
|
603
|
+
export const ModeInfo_Single = {
|
|
604
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
605
|
+
if (message.mode !== 0) {
|
|
606
|
+
writer.uint32(8).int32(message.mode);
|
|
607
|
+
}
|
|
608
|
+
return writer;
|
|
609
|
+
},
|
|
610
|
+
decode(input, length) {
|
|
611
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
612
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
613
|
+
const message = createBaseModeInfo_Single();
|
|
614
|
+
while (reader.pos < end) {
|
|
615
|
+
const tag = reader.uint32();
|
|
616
|
+
switch (tag >>> 3) {
|
|
617
|
+
case 1:
|
|
618
|
+
message.mode = reader.int32();
|
|
619
|
+
break;
|
|
620
|
+
default:
|
|
621
|
+
reader.skipType(tag & 7);
|
|
622
|
+
break;
|
|
623
|
+
}
|
|
624
|
+
}
|
|
625
|
+
return message;
|
|
626
|
+
},
|
|
627
|
+
fromJSON(object) {
|
|
628
|
+
return { mode: isSet(object.mode) ? signModeFromJSON(object.mode) : 0 };
|
|
629
|
+
},
|
|
630
|
+
toJSON(message) {
|
|
631
|
+
const obj = {};
|
|
632
|
+
message.mode !== undefined && (obj.mode = signModeToJSON(message.mode));
|
|
633
|
+
return obj;
|
|
634
|
+
},
|
|
635
|
+
fromPartial(object) {
|
|
636
|
+
const message = createBaseModeInfo_Single();
|
|
637
|
+
message.mode = object.mode ?? 0;
|
|
638
|
+
return message;
|
|
639
|
+
},
|
|
640
|
+
};
|
|
641
|
+
function createBaseModeInfo_Multi() {
|
|
642
|
+
return { bitarray: undefined, modeInfos: [] };
|
|
643
|
+
}
|
|
644
|
+
export const ModeInfo_Multi = {
|
|
645
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
646
|
+
if (message.bitarray !== undefined) {
|
|
647
|
+
CompactBitArray.encode(message.bitarray, writer.uint32(10).fork()).ldelim();
|
|
648
|
+
}
|
|
649
|
+
for (const v of message.modeInfos) {
|
|
650
|
+
ModeInfo.encode(v, writer.uint32(18).fork()).ldelim();
|
|
651
|
+
}
|
|
652
|
+
return writer;
|
|
653
|
+
},
|
|
654
|
+
decode(input, length) {
|
|
655
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
656
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
657
|
+
const message = createBaseModeInfo_Multi();
|
|
658
|
+
while (reader.pos < end) {
|
|
659
|
+
const tag = reader.uint32();
|
|
660
|
+
switch (tag >>> 3) {
|
|
661
|
+
case 1:
|
|
662
|
+
message.bitarray = CompactBitArray.decode(reader, reader.uint32());
|
|
663
|
+
break;
|
|
664
|
+
case 2:
|
|
665
|
+
message.modeInfos.push(ModeInfo.decode(reader, reader.uint32()));
|
|
666
|
+
break;
|
|
667
|
+
default:
|
|
668
|
+
reader.skipType(tag & 7);
|
|
669
|
+
break;
|
|
670
|
+
}
|
|
671
|
+
}
|
|
672
|
+
return message;
|
|
673
|
+
},
|
|
674
|
+
fromJSON(object) {
|
|
675
|
+
return {
|
|
676
|
+
bitarray: isSet(object.bitarray) ? CompactBitArray.fromJSON(object.bitarray) : undefined,
|
|
677
|
+
modeInfos: Array.isArray(object?.modeInfos) ? object.modeInfos.map((e) => ModeInfo.fromJSON(e)) : [],
|
|
678
|
+
};
|
|
679
|
+
},
|
|
680
|
+
toJSON(message) {
|
|
681
|
+
const obj = {};
|
|
682
|
+
message.bitarray !== undefined
|
|
683
|
+
&& (obj.bitarray = message.bitarray ? CompactBitArray.toJSON(message.bitarray) : undefined);
|
|
684
|
+
if (message.modeInfos) {
|
|
685
|
+
obj.modeInfos = message.modeInfos.map((e) => e ? ModeInfo.toJSON(e) : undefined);
|
|
686
|
+
}
|
|
687
|
+
else {
|
|
688
|
+
obj.modeInfos = [];
|
|
689
|
+
}
|
|
690
|
+
return obj;
|
|
691
|
+
},
|
|
692
|
+
fromPartial(object) {
|
|
693
|
+
const message = createBaseModeInfo_Multi();
|
|
694
|
+
message.bitarray = (object.bitarray !== undefined && object.bitarray !== null)
|
|
695
|
+
? CompactBitArray.fromPartial(object.bitarray)
|
|
696
|
+
: undefined;
|
|
697
|
+
message.modeInfos = object.modeInfos?.map((e) => ModeInfo.fromPartial(e)) || [];
|
|
698
|
+
return message;
|
|
699
|
+
},
|
|
700
|
+
};
|
|
701
|
+
function createBaseFee() {
|
|
702
|
+
return { amount: [], gasLimit: 0, payer: "", granter: "" };
|
|
703
|
+
}
|
|
704
|
+
export const Fee = {
|
|
705
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
706
|
+
for (const v of message.amount) {
|
|
707
|
+
Coin.encode(v, writer.uint32(10).fork()).ldelim();
|
|
708
|
+
}
|
|
709
|
+
if (message.gasLimit !== 0) {
|
|
710
|
+
writer.uint32(16).uint64(message.gasLimit);
|
|
711
|
+
}
|
|
712
|
+
if (message.payer !== "") {
|
|
713
|
+
writer.uint32(26).string(message.payer);
|
|
714
|
+
}
|
|
715
|
+
if (message.granter !== "") {
|
|
716
|
+
writer.uint32(34).string(message.granter);
|
|
717
|
+
}
|
|
718
|
+
return writer;
|
|
719
|
+
},
|
|
720
|
+
decode(input, length) {
|
|
721
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
722
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
723
|
+
const message = createBaseFee();
|
|
724
|
+
while (reader.pos < end) {
|
|
725
|
+
const tag = reader.uint32();
|
|
726
|
+
switch (tag >>> 3) {
|
|
727
|
+
case 1:
|
|
728
|
+
message.amount.push(Coin.decode(reader, reader.uint32()));
|
|
729
|
+
break;
|
|
730
|
+
case 2:
|
|
731
|
+
message.gasLimit = longToNumber(reader.uint64());
|
|
732
|
+
break;
|
|
733
|
+
case 3:
|
|
734
|
+
message.payer = reader.string();
|
|
735
|
+
break;
|
|
736
|
+
case 4:
|
|
737
|
+
message.granter = reader.string();
|
|
738
|
+
break;
|
|
739
|
+
default:
|
|
740
|
+
reader.skipType(tag & 7);
|
|
741
|
+
break;
|
|
742
|
+
}
|
|
743
|
+
}
|
|
744
|
+
return message;
|
|
745
|
+
},
|
|
746
|
+
fromJSON(object) {
|
|
747
|
+
return {
|
|
748
|
+
amount: Array.isArray(object?.amount) ? object.amount.map((e) => Coin.fromJSON(e)) : [],
|
|
749
|
+
gasLimit: isSet(object.gasLimit) ? Number(object.gasLimit) : 0,
|
|
750
|
+
payer: isSet(object.payer) ? String(object.payer) : "",
|
|
751
|
+
granter: isSet(object.granter) ? String(object.granter) : "",
|
|
752
|
+
};
|
|
753
|
+
},
|
|
754
|
+
toJSON(message) {
|
|
755
|
+
const obj = {};
|
|
756
|
+
if (message.amount) {
|
|
757
|
+
obj.amount = message.amount.map((e) => e ? Coin.toJSON(e) : undefined);
|
|
758
|
+
}
|
|
759
|
+
else {
|
|
760
|
+
obj.amount = [];
|
|
761
|
+
}
|
|
762
|
+
message.gasLimit !== undefined && (obj.gasLimit = Math.round(message.gasLimit));
|
|
763
|
+
message.payer !== undefined && (obj.payer = message.payer);
|
|
764
|
+
message.granter !== undefined && (obj.granter = message.granter);
|
|
765
|
+
return obj;
|
|
766
|
+
},
|
|
767
|
+
fromPartial(object) {
|
|
768
|
+
const message = createBaseFee();
|
|
769
|
+
message.amount = object.amount?.map((e) => Coin.fromPartial(e)) || [];
|
|
770
|
+
message.gasLimit = object.gasLimit ?? 0;
|
|
771
|
+
message.payer = object.payer ?? "";
|
|
772
|
+
message.granter = object.granter ?? "";
|
|
773
|
+
return message;
|
|
774
|
+
},
|
|
775
|
+
};
|
|
776
|
+
function createBaseTip() {
|
|
777
|
+
return { amount: [], tipper: "" };
|
|
778
|
+
}
|
|
779
|
+
export const Tip = {
|
|
780
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
781
|
+
for (const v of message.amount) {
|
|
782
|
+
Coin.encode(v, writer.uint32(10).fork()).ldelim();
|
|
783
|
+
}
|
|
784
|
+
if (message.tipper !== "") {
|
|
785
|
+
writer.uint32(18).string(message.tipper);
|
|
786
|
+
}
|
|
787
|
+
return writer;
|
|
788
|
+
},
|
|
789
|
+
decode(input, length) {
|
|
790
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
791
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
792
|
+
const message = createBaseTip();
|
|
793
|
+
while (reader.pos < end) {
|
|
794
|
+
const tag = reader.uint32();
|
|
795
|
+
switch (tag >>> 3) {
|
|
796
|
+
case 1:
|
|
797
|
+
message.amount.push(Coin.decode(reader, reader.uint32()));
|
|
798
|
+
break;
|
|
799
|
+
case 2:
|
|
800
|
+
message.tipper = reader.string();
|
|
801
|
+
break;
|
|
802
|
+
default:
|
|
803
|
+
reader.skipType(tag & 7);
|
|
804
|
+
break;
|
|
805
|
+
}
|
|
806
|
+
}
|
|
807
|
+
return message;
|
|
808
|
+
},
|
|
809
|
+
fromJSON(object) {
|
|
810
|
+
return {
|
|
811
|
+
amount: Array.isArray(object?.amount) ? object.amount.map((e) => Coin.fromJSON(e)) : [],
|
|
812
|
+
tipper: isSet(object.tipper) ? String(object.tipper) : "",
|
|
813
|
+
};
|
|
814
|
+
},
|
|
815
|
+
toJSON(message) {
|
|
816
|
+
const obj = {};
|
|
817
|
+
if (message.amount) {
|
|
818
|
+
obj.amount = message.amount.map((e) => e ? Coin.toJSON(e) : undefined);
|
|
819
|
+
}
|
|
820
|
+
else {
|
|
821
|
+
obj.amount = [];
|
|
822
|
+
}
|
|
823
|
+
message.tipper !== undefined && (obj.tipper = message.tipper);
|
|
824
|
+
return obj;
|
|
825
|
+
},
|
|
826
|
+
fromPartial(object) {
|
|
827
|
+
const message = createBaseTip();
|
|
828
|
+
message.amount = object.amount?.map((e) => Coin.fromPartial(e)) || [];
|
|
829
|
+
message.tipper = object.tipper ?? "";
|
|
830
|
+
return message;
|
|
831
|
+
},
|
|
832
|
+
};
|
|
833
|
+
function createBaseAuxSignerData() {
|
|
834
|
+
return { address: "", signDoc: undefined, mode: 0, sig: new Uint8Array() };
|
|
835
|
+
}
|
|
836
|
+
export const AuxSignerData = {
|
|
837
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
838
|
+
if (message.address !== "") {
|
|
839
|
+
writer.uint32(10).string(message.address);
|
|
840
|
+
}
|
|
841
|
+
if (message.signDoc !== undefined) {
|
|
842
|
+
SignDocDirectAux.encode(message.signDoc, writer.uint32(18).fork()).ldelim();
|
|
843
|
+
}
|
|
844
|
+
if (message.mode !== 0) {
|
|
845
|
+
writer.uint32(24).int32(message.mode);
|
|
846
|
+
}
|
|
847
|
+
if (message.sig.length !== 0) {
|
|
848
|
+
writer.uint32(34).bytes(message.sig);
|
|
849
|
+
}
|
|
850
|
+
return writer;
|
|
851
|
+
},
|
|
852
|
+
decode(input, length) {
|
|
853
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
854
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
855
|
+
const message = createBaseAuxSignerData();
|
|
856
|
+
while (reader.pos < end) {
|
|
857
|
+
const tag = reader.uint32();
|
|
858
|
+
switch (tag >>> 3) {
|
|
859
|
+
case 1:
|
|
860
|
+
message.address = reader.string();
|
|
861
|
+
break;
|
|
862
|
+
case 2:
|
|
863
|
+
message.signDoc = SignDocDirectAux.decode(reader, reader.uint32());
|
|
864
|
+
break;
|
|
865
|
+
case 3:
|
|
866
|
+
message.mode = reader.int32();
|
|
867
|
+
break;
|
|
868
|
+
case 4:
|
|
869
|
+
message.sig = reader.bytes();
|
|
870
|
+
break;
|
|
871
|
+
default:
|
|
872
|
+
reader.skipType(tag & 7);
|
|
873
|
+
break;
|
|
874
|
+
}
|
|
875
|
+
}
|
|
876
|
+
return message;
|
|
877
|
+
},
|
|
878
|
+
fromJSON(object) {
|
|
879
|
+
return {
|
|
880
|
+
address: isSet(object.address) ? String(object.address) : "",
|
|
881
|
+
signDoc: isSet(object.signDoc) ? SignDocDirectAux.fromJSON(object.signDoc) : undefined,
|
|
882
|
+
mode: isSet(object.mode) ? signModeFromJSON(object.mode) : 0,
|
|
883
|
+
sig: isSet(object.sig) ? bytesFromBase64(object.sig) : new Uint8Array(),
|
|
884
|
+
};
|
|
885
|
+
},
|
|
886
|
+
toJSON(message) {
|
|
887
|
+
const obj = {};
|
|
888
|
+
message.address !== undefined && (obj.address = message.address);
|
|
889
|
+
message.signDoc !== undefined
|
|
890
|
+
&& (obj.signDoc = message.signDoc ? SignDocDirectAux.toJSON(message.signDoc) : undefined);
|
|
891
|
+
message.mode !== undefined && (obj.mode = signModeToJSON(message.mode));
|
|
892
|
+
message.sig !== undefined
|
|
893
|
+
&& (obj.sig = base64FromBytes(message.sig !== undefined ? message.sig : new Uint8Array()));
|
|
894
|
+
return obj;
|
|
895
|
+
},
|
|
896
|
+
fromPartial(object) {
|
|
897
|
+
const message = createBaseAuxSignerData();
|
|
898
|
+
message.address = object.address ?? "";
|
|
899
|
+
message.signDoc = (object.signDoc !== undefined && object.signDoc !== null)
|
|
900
|
+
? SignDocDirectAux.fromPartial(object.signDoc)
|
|
901
|
+
: undefined;
|
|
902
|
+
message.mode = object.mode ?? 0;
|
|
903
|
+
message.sig = object.sig ?? new Uint8Array();
|
|
904
|
+
return message;
|
|
905
|
+
},
|
|
906
|
+
};
|
|
907
|
+
var globalThis = (() => {
|
|
908
|
+
if (typeof globalThis !== "undefined") {
|
|
909
|
+
return globalThis;
|
|
910
|
+
}
|
|
911
|
+
if (typeof self !== "undefined") {
|
|
912
|
+
return self;
|
|
913
|
+
}
|
|
914
|
+
if (typeof window !== "undefined") {
|
|
915
|
+
return window;
|
|
916
|
+
}
|
|
917
|
+
if (typeof global !== "undefined") {
|
|
918
|
+
return global;
|
|
919
|
+
}
|
|
920
|
+
throw "Unable to locate global object";
|
|
921
|
+
})();
|
|
922
|
+
function bytesFromBase64(b64) {
|
|
923
|
+
if (globalThis.Buffer) {
|
|
924
|
+
return Uint8Array.from(globalThis.Buffer.from(b64, "base64"));
|
|
925
|
+
}
|
|
926
|
+
else {
|
|
927
|
+
const bin = globalThis.atob(b64);
|
|
928
|
+
const arr = new Uint8Array(bin.length);
|
|
929
|
+
for (let i = 0; i < bin.length; ++i) {
|
|
930
|
+
arr[i] = bin.charCodeAt(i);
|
|
931
|
+
}
|
|
932
|
+
return arr;
|
|
933
|
+
}
|
|
934
|
+
}
|
|
935
|
+
function base64FromBytes(arr) {
|
|
936
|
+
if (globalThis.Buffer) {
|
|
937
|
+
return globalThis.Buffer.from(arr).toString("base64");
|
|
938
|
+
}
|
|
939
|
+
else {
|
|
940
|
+
const bin = [];
|
|
941
|
+
arr.forEach((byte) => {
|
|
942
|
+
bin.push(String.fromCharCode(byte));
|
|
943
|
+
});
|
|
944
|
+
return globalThis.btoa(bin.join(""));
|
|
945
|
+
}
|
|
946
|
+
}
|
|
947
|
+
function longToNumber(long) {
|
|
948
|
+
if (long.gt(Number.MAX_SAFE_INTEGER)) {
|
|
949
|
+
throw new globalThis.Error("Value is larger than Number.MAX_SAFE_INTEGER");
|
|
950
|
+
}
|
|
951
|
+
return long.toNumber();
|
|
952
|
+
}
|
|
953
|
+
if (_m0.util.Long !== Long) {
|
|
954
|
+
_m0.util.Long = Long;
|
|
955
|
+
_m0.configure();
|
|
956
|
+
}
|
|
957
|
+
function isSet(value) {
|
|
958
|
+
return value !== null && value !== undefined;
|
|
959
|
+
}
|