injectivejs 1.6.5 → 1.7.1
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/binary.d.ts +1 -1
- package/binary.js +1 -1
- package/cosmos/auth/v1beta1/auth.d.ts +4 -0
- package/cosmos/auth/v1beta1/auth.js +14 -11
- package/cosmos/auth/v1beta1/query.d.ts +20 -0
- package/cosmos/auth/v1beta1/query.js +51 -54
- package/cosmos/auth/v1beta1/query.rpc.func.js +20 -10
- package/cosmos/authz/v1beta1/authz.d.ts +4 -0
- package/cosmos/authz/v1beta1/authz.js +12 -9
- package/cosmos/authz/v1beta1/tx.d.ts +6 -0
- package/cosmos/authz/v1beta1/tx.js +14 -18
- package/cosmos/authz/v1beta1/tx.rpc.func.d.ts +3 -3
- package/cosmos/authz/v1beta1/tx.rpc.func.js +6 -3
- package/cosmos/bank/v1beta1/bank.d.ts +7 -0
- package/cosmos/bank/v1beta1/bank.js +21 -16
- package/cosmos/bank/v1beta1/query.d.ts +27 -0
- package/cosmos/bank/v1beta1/query.js +82 -61
- package/cosmos/bank/v1beta1/query.rpc.func.js +26 -13
- package/cosmos/bank/v1beta1/tx.d.ts +8 -0
- package/cosmos/bank/v1beta1/tx.js +21 -21
- package/cosmos/bank/v1beta1/tx.rpc.func.d.ts +4 -4
- package/cosmos/bank/v1beta1/tx.rpc.func.js +8 -4
- package/cosmos/base/abci/v1beta1/abci.d.ts +11 -0
- package/cosmos/base/abci/v1beta1/abci.js +29 -28
- package/cosmos/base/query/v1beta1/pagination.d.ts +2 -0
- package/cosmos/base/query/v1beta1/pagination.js +4 -7
- package/cosmos/base/v1beta1/coin.d.ts +4 -0
- package/cosmos/base/v1beta1/coin.js +8 -13
- package/cosmos/crypto/ed25519/keys.d.ts +2 -0
- package/cosmos/crypto/ed25519/keys.js +4 -7
- package/cosmos/crypto/multisig/v1beta1/multisig.d.ts +2 -0
- package/cosmos/crypto/multisig/v1beta1/multisig.js +4 -7
- package/cosmos/crypto/secp256k1/keys.d.ts +2 -0
- package/cosmos/crypto/secp256k1/keys.js +4 -7
- package/cosmos/crypto/secp256r1/keys.d.ts +2 -0
- package/cosmos/crypto/secp256r1/keys.js +4 -7
- package/cosmos/distribution/v1beta1/distribution.d.ts +12 -0
- package/cosmos/distribution/v1beta1/distribution.js +36 -27
- package/cosmos/distribution/v1beta1/tx.d.ts +14 -0
- package/cosmos/distribution/v1beta1/tx.js +34 -37
- package/cosmos/distribution/v1beta1/tx.rpc.func.d.ts +7 -7
- package/cosmos/distribution/v1beta1/tx.rpc.func.js +14 -7
- package/cosmos/feegrant/v1beta1/tx.d.ts +6 -0
- package/cosmos/feegrant/v1beta1/tx.js +12 -18
- package/cosmos/feegrant/v1beta1/tx.rpc.func.d.ts +3 -3
- package/cosmos/feegrant/v1beta1/tx.rpc.func.js +6 -3
- package/cosmos/gov/v1/gov.d.ts +9 -0
- package/cosmos/gov/v1/gov.js +24 -23
- package/cosmos/gov/v1/tx.d.ts +14 -0
- package/cosmos/gov/v1/tx.js +94 -37
- package/cosmos/gov/v1/tx.rpc.func.d.ts +7 -7
- package/cosmos/gov/v1/tx.rpc.func.js +14 -7
- package/cosmos/gov/v1beta1/gov.d.ts +9 -0
- package/cosmos/gov/v1beta1/gov.js +86 -22
- package/cosmos/gov/v1beta1/query.d.ts +16 -0
- package/cosmos/gov/v1beta1/query.js +48 -38
- package/cosmos/gov/v1beta1/query.rpc.func.js +16 -8
- package/cosmos/gov/v1beta1/tx.d.ts +8 -0
- package/cosmos/gov/v1beta1/tx.js +81 -22
- package/cosmos/gov/v1beta1/tx.rpc.func.d.ts +4 -4
- package/cosmos/gov/v1beta1/tx.rpc.func.js +8 -4
- package/cosmos/group/v1/tx.d.ts +28 -0
- package/cosmos/group/v1/tx.js +64 -79
- package/cosmos/group/v1/tx.rpc.func.d.ts +14 -14
- package/cosmos/group/v1/tx.rpc.func.js +28 -14
- package/cosmos/group/v1/types.d.ts +11 -0
- package/cosmos/group/v1/types.js +31 -29
- package/cosmos/ics23/v1/proofs.d.ts +13 -0
- package/cosmos/ics23/v1/proofs.js +44 -30
- package/cosmos/staking/v1beta1/query.d.ts +28 -0
- package/cosmos/staking/v1beta1/query.js +84 -64
- package/cosmos/staking/v1beta1/query.rpc.func.js +28 -14
- package/cosmos/staking/v1beta1/staking.d.ts +21 -0
- package/cosmos/staking/v1beta1/staking.js +58 -53
- package/cosmos/staking/v1beta1/tx.d.ts +14 -0
- package/cosmos/staking/v1beta1/tx.js +37 -35
- package/cosmos/staking/v1beta1/tx.rpc.func.d.ts +7 -7
- package/cosmos/staking/v1beta1/tx.rpc.func.js +14 -7
- package/cosmos/tx/signing/v1beta1/signing.d.ts +5 -0
- package/cosmos/tx/signing/v1beta1/signing.js +16 -12
- package/cosmos/tx/v1beta1/service.d.ts +18 -0
- package/cosmos/tx/v1beta1/service.js +53 -45
- package/cosmos/tx/v1beta1/service.rpc.func.js +18 -9
- package/cosmos/tx/v1beta1/tx.d.ts +13 -0
- package/cosmos/tx/v1beta1/tx.js +40 -31
- package/cosmos/upgrade/v1beta1/upgrade.d.ts +4 -0
- package/cosmos/upgrade/v1beta1/upgrade.js +13 -10
- package/cosmos/vesting/v1beta1/tx.d.ts +6 -0
- package/cosmos/vesting/v1beta1/tx.js +15 -16
- package/cosmos/vesting/v1beta1/tx.rpc.func.d.ts +3 -3
- package/cosmos/vesting/v1beta1/tx.rpc.func.js +6 -3
- package/cosmos/vesting/v1beta1/vesting.d.ts +6 -0
- package/cosmos/vesting/v1beta1/vesting.js +20 -13
- package/cosmos_proto/cosmos.d.ts +2 -0
- package/cosmos_proto/cosmos.js +4 -5
- package/cosmwasm/wasm/v1/proposal_legacy.d.ts +13 -0
- package/cosmwasm/wasm/v1/proposal_legacy.js +59 -27
- package/cosmwasm/wasm/v1/query.d.ts +29 -0
- package/cosmwasm/wasm/v1/query.js +78 -71
- package/cosmwasm/wasm/v1/query.rpc.func.js +28 -14
- package/cosmwasm/wasm/v1/tx.d.ts +34 -0
- package/cosmwasm/wasm/v1/tx.js +77 -95
- package/cosmwasm/wasm/v1/tx.rpc.func.d.ts +17 -17
- package/cosmwasm/wasm/v1/tx.rpc.func.js +34 -17
- package/cosmwasm/wasm/v1/types.d.ts +8 -0
- package/cosmwasm/wasm/v1/types.js +19 -21
- package/esm/binary.js +1 -1
- package/esm/cosmos/auth/v1beta1/auth.js +14 -11
- package/esm/cosmos/auth/v1beta1/query.js +51 -54
- package/esm/cosmos/auth/v1beta1/query.rpc.func.js +20 -10
- package/esm/cosmos/authz/v1beta1/authz.js +12 -9
- package/esm/cosmos/authz/v1beta1/tx.js +14 -18
- package/esm/cosmos/authz/v1beta1/tx.rpc.func.js +6 -3
- package/esm/cosmos/bank/v1beta1/bank.js +21 -16
- package/esm/cosmos/bank/v1beta1/query.js +82 -61
- package/esm/cosmos/bank/v1beta1/query.rpc.func.js +26 -13
- package/esm/cosmos/bank/v1beta1/tx.js +21 -21
- package/esm/cosmos/bank/v1beta1/tx.rpc.func.js +8 -4
- package/esm/cosmos/base/abci/v1beta1/abci.js +29 -28
- package/esm/cosmos/base/query/v1beta1/pagination.js +4 -7
- package/esm/cosmos/base/v1beta1/coin.js +8 -13
- package/esm/cosmos/crypto/ed25519/keys.js +4 -7
- package/esm/cosmos/crypto/multisig/v1beta1/multisig.js +4 -7
- package/esm/cosmos/crypto/secp256k1/keys.js +4 -7
- package/esm/cosmos/crypto/secp256r1/keys.js +4 -7
- package/esm/cosmos/distribution/v1beta1/distribution.js +36 -27
- package/esm/cosmos/distribution/v1beta1/tx.js +34 -37
- package/esm/cosmos/distribution/v1beta1/tx.rpc.func.js +14 -7
- package/esm/cosmos/feegrant/v1beta1/tx.js +12 -18
- package/esm/cosmos/feegrant/v1beta1/tx.rpc.func.js +6 -3
- package/esm/cosmos/gov/v1/gov.js +24 -23
- package/esm/cosmos/gov/v1/tx.js +94 -37
- package/esm/cosmos/gov/v1/tx.rpc.func.js +14 -7
- package/esm/cosmos/gov/v1beta1/gov.js +86 -22
- package/esm/cosmos/gov/v1beta1/query.js +48 -38
- package/esm/cosmos/gov/v1beta1/query.rpc.func.js +16 -8
- package/esm/cosmos/gov/v1beta1/tx.js +82 -23
- package/esm/cosmos/gov/v1beta1/tx.rpc.func.js +8 -4
- package/esm/cosmos/group/v1/tx.js +65 -80
- package/esm/cosmos/group/v1/tx.rpc.func.js +28 -14
- package/esm/cosmos/group/v1/types.js +31 -29
- package/esm/cosmos/ics23/v1/proofs.js +44 -30
- package/esm/cosmos/staking/v1beta1/query.js +84 -64
- package/esm/cosmos/staking/v1beta1/query.rpc.func.js +28 -14
- package/esm/cosmos/staking/v1beta1/staking.js +58 -53
- package/esm/cosmos/staking/v1beta1/tx.js +37 -35
- package/esm/cosmos/staking/v1beta1/tx.rpc.func.js +14 -7
- package/esm/cosmos/tx/signing/v1beta1/signing.js +16 -12
- package/esm/cosmos/tx/v1beta1/service.js +53 -45
- package/esm/cosmos/tx/v1beta1/service.rpc.func.js +18 -9
- package/esm/cosmos/tx/v1beta1/tx.js +40 -31
- package/esm/cosmos/upgrade/v1beta1/upgrade.js +13 -10
- package/esm/cosmos/vesting/v1beta1/tx.js +15 -16
- package/esm/cosmos/vesting/v1beta1/tx.rpc.func.js +6 -3
- package/esm/cosmos/vesting/v1beta1/vesting.js +20 -13
- package/esm/cosmos_proto/cosmos.js +4 -5
- package/esm/cosmwasm/wasm/v1/proposal_legacy.js +59 -27
- package/esm/cosmwasm/wasm/v1/query.js +78 -71
- package/esm/cosmwasm/wasm/v1/query.rpc.func.js +28 -14
- package/esm/cosmwasm/wasm/v1/tx.js +77 -95
- package/esm/cosmwasm/wasm/v1/tx.rpc.func.js +34 -17
- package/esm/cosmwasm/wasm/v1/types.js +19 -21
- package/esm/extern.js +1 -1
- package/esm/google/api/http.js +9 -5
- package/esm/google/protobuf/any.js +2 -1
- package/esm/google/protobuf/descriptor.js +117 -43
- package/esm/google/protobuf/duration.js +2 -3
- package/esm/google/protobuf/timestamp.js +2 -3
- package/esm/helper-func-types.js +8 -1
- package/esm/helpers.js +1 -1
- package/esm/ibc/applications/transfer/v1/transfer.js +7 -9
- package/esm/ibc/applications/transfer/v1/tx.js +12 -11
- package/esm/ibc/applications/transfer/v1/tx.rpc.func.js +4 -2
- package/esm/ibc/core/channel/v1/channel.js +23 -23
- package/esm/ibc/core/channel/v1/tx.js +105 -96
- package/esm/ibc/core/channel/v1/tx.rpc.func.js +38 -19
- package/esm/ibc/core/channel/v1/upgrade.js +8 -9
- package/esm/ibc/core/client/v1/client.js +11 -15
- package/esm/ibc/core/client/v1/tx.js +29 -42
- package/esm/ibc/core/client/v1/tx.rpc.func.js +14 -7
- package/esm/ibc/core/commitment/v1/commitment.js +7 -9
- package/esm/ibc/core/connection/v1/connection.js +19 -19
- package/esm/ibc/core/connection/v1/tx.js +28 -26
- package/esm/ibc/core/connection/v1/tx.rpc.func.js +10 -5
- package/esm/injective/auction/v1beta1/auction.js +13 -13
- package/esm/injective/auction/v1beta1/genesis.js +5 -2
- package/esm/injective/auction/v1beta1/query.js +20 -13
- package/esm/injective/auction/v1beta1/query.rpc.func.js +8 -4
- package/esm/injective/auction/v1beta1/tx.js +10 -9
- package/esm/injective/auction/v1beta1/tx.rpc.func.js +4 -2
- package/esm/injective/crypto/v1beta1/ethsecp256k1/keys.js +4 -7
- package/esm/injective/exchange/v1beta1/authz.js +44 -22
- package/esm/injective/exchange/v1beta1/events.js +105 -46
- package/esm/injective/exchange/v1beta1/exchange.js +123 -83
- package/esm/injective/exchange/v1beta1/genesis.js +77 -21
- package/esm/injective/exchange/v1beta1/proposal.js +101 -43
- package/esm/injective/exchange/v1beta1/query.js +324 -210
- package/esm/injective/exchange/v1beta1/query.rpc.func.js +120 -60
- package/esm/injective/exchange/v1beta1/tx.js +181 -166
- package/esm/injective/exchange/v1beta1/tx.rpc.func.js +70 -35
- package/esm/injective/insurance/v1beta1/events.js +16 -6
- package/esm/injective/insurance/v1beta1/genesis.js +5 -2
- package/esm/injective/insurance/v1beta1/insurance.js +7 -7
- package/esm/injective/insurance/v1beta1/query.js +30 -19
- package/esm/injective/insurance/v1beta1/query.rpc.func.js +12 -6
- package/esm/injective/insurance/v1beta1/tx.js +20 -17
- package/esm/injective/insurance/v1beta1/tx.rpc.func.js +8 -4
- package/esm/injective/ocr/v1beta1/genesis.js +28 -12
- package/esm/injective/ocr/v1beta1/ocr.js +54 -38
- package/esm/injective/ocr/v1beta1/query.js +38 -22
- package/esm/injective/ocr/v1beta1/query.rpc.func.js +14 -7
- package/esm/injective/ocr/v1beta1/tx.js +41 -41
- package/esm/injective/ocr/v1beta1/tx.rpc.func.js +18 -9
- package/esm/injective/oracle/v1beta1/events.js +24 -21
- package/esm/injective/oracle/v1beta1/genesis.js +16 -4
- package/esm/injective/oracle/v1beta1/oracle.js +61 -38
- package/esm/injective/oracle/v1beta1/proposal.js +47 -22
- package/esm/injective/oracle/v1beta1/query.js +93 -58
- package/esm/injective/oracle/v1beta1/query.rpc.func.js +34 -17
- package/esm/injective/oracle/v1beta1/tx.js +35 -37
- package/esm/injective/oracle/v1beta1/tx.rpc.func.js +16 -8
- package/esm/injective/peggy/v1/attestation.js +4 -5
- package/esm/injective/peggy/v1/batch.js +6 -3
- package/esm/injective/peggy/v1/events.js +36 -33
- package/esm/injective/peggy/v1/genesis.js +11 -2
- package/esm/injective/peggy/v1/msgs.js +59 -68
- package/esm/injective/peggy/v1/msgs.rpc.func.js +28 -14
- package/esm/injective/peggy/v1/params.js +3 -3
- package/esm/injective/peggy/v1/pool.js +4 -5
- package/esm/injective/peggy/v1/proposal.js +6 -2
- package/esm/injective/peggy/v1/query.js +99 -70
- package/esm/injective/peggy/v1/query.rpc.func.js +42 -21
- package/esm/injective/peggy/v1/types.js +11 -10
- package/esm/injective/permissions/v1beta1/events.js +3 -2
- package/esm/injective/permissions/v1beta1/genesis.js +4 -2
- package/esm/injective/permissions/v1beta1/params.js +2 -4
- package/esm/injective/permissions/v1beta1/permissions.js +16 -10
- package/esm/injective/permissions/v1beta1/query.js +28 -21
- package/esm/injective/permissions/v1beta1/query.rpc.func.js +12 -6
- package/esm/injective/permissions/v1beta1/tx.js +45 -39
- package/esm/injective/permissions/v1beta1/tx.rpc.func.js +14 -7
- package/esm/injective/stream/v1beta1/query.js +70 -33
- package/esm/injective/tokenfactory/v1beta1/authorityMetadata.js +2 -3
- package/esm/injective/tokenfactory/v1beta1/events.js +13 -8
- package/esm/injective/tokenfactory/v1beta1/genesis.js +7 -3
- package/esm/injective/tokenfactory/v1beta1/params.js +3 -3
- package/esm/injective/tokenfactory/v1beta1/query.js +19 -14
- package/esm/injective/tokenfactory/v1beta1/query.rpc.func.js +8 -4
- package/esm/injective/tokenfactory/v1beta1/tx.js +28 -27
- package/esm/injective/tokenfactory/v1beta1/tx.rpc.func.js +12 -6
- package/esm/injective/types/v1beta1/account.js +5 -2
- package/esm/injective/types/v1beta1/tx_ext.js +2 -3
- package/esm/injective/types/v1beta1/tx_response.js +5 -4
- package/esm/injective/wasmx/v1/events.js +6 -7
- package/esm/injective/wasmx/v1/genesis.js +7 -3
- package/esm/injective/wasmx/v1/proposal.js +23 -10
- package/esm/injective/wasmx/v1/query.js +15 -10
- package/esm/injective/wasmx/v1/query.rpc.func.js +6 -3
- package/esm/injective/wasmx/v1/tx.js +26 -29
- package/esm/injective/wasmx/v1/tx.rpc.func.js +12 -6
- package/esm/injective/wasmx/v1/wasmx.js +5 -5
- package/esm/registry.js +1 -1
- package/esm/tendermint/abci/types.js +156 -73
- package/esm/tendermint/crypto/keys.js +2 -3
- package/esm/tendermint/crypto/proof.js +12 -9
- package/esm/tendermint/types/block.js +6 -2
- package/esm/tendermint/types/evidence.js +14 -5
- package/esm/tendermint/types/params.js +19 -14
- package/esm/tendermint/types/types.js +47 -20
- package/esm/tendermint/types/validator.js +9 -4
- package/esm/tendermint/version/types.js +4 -5
- package/esm/types.js +1 -1
- package/esm/utf8.js +1 -1
- package/esm/varint.js +1 -1
- package/extern.d.ts +1 -1
- package/extern.js +1 -1
- package/google/api/http.d.ts +3 -0
- package/google/api/http.js +9 -5
- package/google/protobuf/any.d.ts +1 -0
- package/google/protobuf/any.js +2 -1
- package/google/protobuf/descriptor.d.ts +33 -0
- package/google/protobuf/descriptor.js +117 -43
- package/google/protobuf/duration.d.ts +1 -0
- package/google/protobuf/duration.js +2 -3
- package/google/protobuf/timestamp.d.ts +1 -0
- package/google/protobuf/timestamp.js +2 -3
- package/helper-func-types.d.ts +6 -3
- package/helper-func-types.js +8 -1
- package/helpers.d.ts +1 -1
- package/helpers.js +1 -1
- package/ibc/applications/transfer/v1/transfer.d.ts +3 -0
- package/ibc/applications/transfer/v1/transfer.js +7 -9
- package/ibc/applications/transfer/v1/tx.d.ts +4 -0
- package/ibc/applications/transfer/v1/tx.js +12 -11
- package/ibc/applications/transfer/v1/tx.rpc.func.d.ts +2 -2
- package/ibc/applications/transfer/v1/tx.rpc.func.js +4 -2
- package/ibc/core/channel/v1/channel.d.ts +9 -0
- package/ibc/core/channel/v1/channel.js +23 -23
- package/ibc/core/channel/v1/tx.d.ts +38 -0
- package/ibc/core/channel/v1/tx.js +105 -96
- package/ibc/core/channel/v1/tx.rpc.func.d.ts +19 -19
- package/ibc/core/channel/v1/tx.rpc.func.js +38 -19
- package/ibc/core/channel/v1/upgrade.d.ts +3 -0
- package/ibc/core/channel/v1/upgrade.js +8 -9
- package/ibc/core/client/v1/client.d.ts +5 -0
- package/ibc/core/client/v1/client.js +11 -15
- package/ibc/core/client/v1/tx.d.ts +14 -0
- package/ibc/core/client/v1/tx.js +29 -42
- package/ibc/core/client/v1/tx.rpc.func.d.ts +7 -7
- package/ibc/core/client/v1/tx.rpc.func.js +14 -7
- package/ibc/core/commitment/v1/commitment.d.ts +3 -0
- package/ibc/core/commitment/v1/commitment.js +7 -9
- package/ibc/core/connection/v1/connection.d.ts +7 -0
- package/ibc/core/connection/v1/connection.js +19 -19
- package/ibc/core/connection/v1/tx.d.ts +10 -0
- package/ibc/core/connection/v1/tx.js +28 -26
- package/ibc/core/connection/v1/tx.rpc.func.d.ts +5 -5
- package/ibc/core/connection/v1/tx.rpc.func.js +10 -5
- package/injective/auction/v1beta1/auction.d.ts +6 -0
- package/injective/auction/v1beta1/auction.js +13 -13
- package/injective/auction/v1beta1/genesis.d.ts +1 -0
- package/injective/auction/v1beta1/genesis.js +5 -2
- package/injective/auction/v1beta1/query.d.ts +8 -0
- package/injective/auction/v1beta1/query.js +20 -13
- package/injective/auction/v1beta1/query.rpc.func.js +8 -4
- package/injective/auction/v1beta1/tx.d.ts +4 -0
- package/injective/auction/v1beta1/tx.js +10 -9
- package/injective/auction/v1beta1/tx.rpc.func.d.ts +2 -2
- package/injective/auction/v1beta1/tx.rpc.func.js +4 -2
- package/injective/crypto/v1beta1/ethsecp256k1/keys.d.ts +2 -0
- package/injective/crypto/v1beta1/ethsecp256k1/keys.js +4 -7
- package/injective/exchange/v1beta1/authz.d.ts +11 -0
- package/injective/exchange/v1beta1/authz.js +44 -22
- package/injective/exchange/v1beta1/events.d.ts +36 -0
- package/injective/exchange/v1beta1/events.js +105 -46
- package/injective/exchange/v1beta1/exchange.d.ts +51 -0
- package/injective/exchange/v1beta1/exchange.js +123 -83
- package/injective/exchange/v1beta1/genesis.d.ts +17 -0
- package/injective/exchange/v1beta1/genesis.js +77 -21
- package/injective/exchange/v1beta1/proposal.d.ts +21 -0
- package/injective/exchange/v1beta1/proposal.js +101 -43
- package/injective/exchange/v1beta1/query.d.ts +131 -0
- package/injective/exchange/v1beta1/query.js +324 -210
- package/injective/exchange/v1beta1/query.rpc.func.js +120 -60
- package/injective/exchange/v1beta1/tx.d.ts +77 -0
- package/injective/exchange/v1beta1/tx.js +181 -166
- package/injective/exchange/v1beta1/tx.rpc.func.d.ts +35 -35
- package/injective/exchange/v1beta1/tx.rpc.func.js +70 -35
- package/injective/insurance/v1beta1/events.d.ts +5 -0
- package/injective/insurance/v1beta1/events.js +16 -6
- package/injective/insurance/v1beta1/genesis.d.ts +1 -0
- package/injective/insurance/v1beta1/genesis.js +5 -2
- package/injective/insurance/v1beta1/insurance.d.ts +3 -0
- package/injective/insurance/v1beta1/insurance.js +7 -7
- package/injective/insurance/v1beta1/query.d.ts +12 -0
- package/injective/insurance/v1beta1/query.js +30 -19
- package/injective/insurance/v1beta1/query.rpc.func.js +12 -6
- package/injective/insurance/v1beta1/tx.d.ts +8 -0
- package/injective/insurance/v1beta1/tx.js +20 -17
- package/injective/insurance/v1beta1/tx.rpc.func.d.ts +4 -4
- package/injective/insurance/v1beta1/tx.rpc.func.js +8 -4
- package/injective/ocr/v1beta1/genesis.d.ts +8 -0
- package/injective/ocr/v1beta1/genesis.js +28 -12
- package/injective/ocr/v1beta1/ocr.d.ts +21 -0
- package/injective/ocr/v1beta1/ocr.js +54 -38
- package/injective/ocr/v1beta1/query.d.ts +14 -0
- package/injective/ocr/v1beta1/query.js +38 -22
- package/injective/ocr/v1beta1/query.rpc.func.js +14 -7
- package/injective/ocr/v1beta1/tx.d.ts +18 -0
- package/injective/ocr/v1beta1/tx.js +41 -41
- package/injective/ocr/v1beta1/tx.rpc.func.d.ts +9 -9
- package/injective/ocr/v1beta1/tx.rpc.func.js +18 -9
- package/injective/oracle/v1beta1/events.d.ts +11 -0
- package/injective/oracle/v1beta1/events.js +24 -21
- package/injective/oracle/v1beta1/genesis.d.ts +2 -0
- package/injective/oracle/v1beta1/genesis.js +16 -4
- package/injective/oracle/v1beta1/oracle.d.ts +24 -0
- package/injective/oracle/v1beta1/oracle.js +61 -38
- package/injective/oracle/v1beta1/proposal.d.ts +11 -0
- package/injective/oracle/v1beta1/proposal.js +47 -22
- package/injective/oracle/v1beta1/query.d.ts +37 -0
- package/injective/oracle/v1beta1/query.js +93 -58
- package/injective/oracle/v1beta1/query.rpc.func.js +34 -17
- package/injective/oracle/v1beta1/tx.d.ts +16 -0
- package/injective/oracle/v1beta1/tx.js +35 -37
- package/injective/oracle/v1beta1/tx.rpc.func.d.ts +8 -8
- package/injective/oracle/v1beta1/tx.rpc.func.js +16 -8
- package/injective/peggy/v1/attestation.d.ts +2 -0
- package/injective/peggy/v1/attestation.js +4 -5
- package/injective/peggy/v1/batch.d.ts +2 -0
- package/injective/peggy/v1/batch.js +6 -3
- package/injective/peggy/v1/events.d.ts +17 -0
- package/injective/peggy/v1/events.js +36 -33
- package/injective/peggy/v1/genesis.d.ts +1 -0
- package/injective/peggy/v1/genesis.js +11 -2
- package/injective/peggy/v1/msgs.d.ts +28 -0
- package/injective/peggy/v1/msgs.js +59 -68
- package/injective/peggy/v1/msgs.rpc.func.d.ts +14 -14
- package/injective/peggy/v1/msgs.rpc.func.js +28 -14
- package/injective/peggy/v1/params.d.ts +1 -0
- package/injective/peggy/v1/params.js +3 -3
- package/injective/peggy/v1/pool.d.ts +2 -0
- package/injective/peggy/v1/pool.js +4 -5
- package/injective/peggy/v1/proposal.d.ts +2 -0
- package/injective/peggy/v1/proposal.js +6 -2
- package/injective/peggy/v1/query.d.ts +42 -0
- package/injective/peggy/v1/query.js +99 -70
- package/injective/peggy/v1/query.rpc.func.js +42 -21
- package/injective/peggy/v1/types.d.ts +5 -0
- package/injective/peggy/v1/types.js +11 -10
- package/injective/permissions/v1beta1/events.d.ts +1 -0
- package/injective/permissions/v1beta1/events.js +3 -2
- package/injective/permissions/v1beta1/genesis.d.ts +1 -0
- package/injective/permissions/v1beta1/genesis.js +4 -2
- package/injective/permissions/v1beta1/params.d.ts +1 -0
- package/injective/permissions/v1beta1/params.js +2 -4
- package/injective/permissions/v1beta1/permissions.d.ts +6 -0
- package/injective/permissions/v1beta1/permissions.js +16 -10
- package/injective/permissions/v1beta1/query.d.ts +12 -0
- package/injective/permissions/v1beta1/query.js +28 -21
- package/injective/permissions/v1beta1/query.rpc.func.js +12 -6
- package/injective/permissions/v1beta1/tx.d.ts +18 -0
- package/injective/permissions/v1beta1/tx.js +45 -39
- package/injective/permissions/v1beta1/tx.rpc.func.d.ts +7 -7
- package/injective/permissions/v1beta1/tx.rpc.func.js +14 -7
- package/injective/stream/v1beta1/query.d.ts +22 -0
- package/injective/stream/v1beta1/query.js +70 -33
- package/injective/tokenfactory/v1beta1/authorityMetadata.d.ts +1 -0
- package/injective/tokenfactory/v1beta1/authorityMetadata.js +2 -3
- package/injective/tokenfactory/v1beta1/events.d.ts +5 -0
- package/injective/tokenfactory/v1beta1/events.js +13 -8
- package/injective/tokenfactory/v1beta1/genesis.d.ts +2 -0
- package/injective/tokenfactory/v1beta1/genesis.js +7 -3
- package/injective/tokenfactory/v1beta1/params.d.ts +1 -0
- package/injective/tokenfactory/v1beta1/params.js +3 -3
- package/injective/tokenfactory/v1beta1/query.d.ts +8 -0
- package/injective/tokenfactory/v1beta1/query.js +19 -14
- package/injective/tokenfactory/v1beta1/query.rpc.func.js +8 -4
- package/injective/tokenfactory/v1beta1/tx.d.ts +12 -0
- package/injective/tokenfactory/v1beta1/tx.js +28 -27
- package/injective/tokenfactory/v1beta1/tx.rpc.func.d.ts +6 -6
- package/injective/tokenfactory/v1beta1/tx.rpc.func.js +12 -6
- package/injective/types/v1beta1/account.d.ts +1 -0
- package/injective/types/v1beta1/account.js +5 -2
- package/injective/types/v1beta1/tx_ext.d.ts +1 -0
- package/injective/types/v1beta1/tx_ext.js +2 -3
- package/injective/types/v1beta1/tx_response.d.ts +2 -0
- package/injective/types/v1beta1/tx_response.js +5 -4
- package/injective/wasmx/v1/events.d.ts +3 -0
- package/injective/wasmx/v1/events.js +6 -7
- package/injective/wasmx/v1/genesis.d.ts +2 -0
- package/injective/wasmx/v1/genesis.js +7 -3
- package/injective/wasmx/v1/proposal.d.ts +5 -0
- package/injective/wasmx/v1/proposal.js +23 -10
- package/injective/wasmx/v1/query.d.ts +6 -0
- package/injective/wasmx/v1/query.js +15 -10
- package/injective/wasmx/v1/query.rpc.func.js +6 -3
- package/injective/wasmx/v1/tx.d.ts +12 -0
- package/injective/wasmx/v1/tx.js +26 -29
- package/injective/wasmx/v1/tx.rpc.func.d.ts +6 -6
- package/injective/wasmx/v1/tx.rpc.func.js +12 -6
- package/injective/wasmx/v1/wasmx.d.ts +2 -0
- package/injective/wasmx/v1/wasmx.js +5 -5
- package/package.json +2 -2
- package/registry.d.ts +1 -1
- package/registry.js +1 -1
- package/tendermint/abci/types.d.ts +47 -0
- package/tendermint/abci/types.js +156 -73
- package/tendermint/crypto/keys.d.ts +1 -0
- package/tendermint/crypto/keys.js +2 -3
- package/tendermint/crypto/proof.d.ts +5 -0
- package/tendermint/crypto/proof.js +12 -9
- package/tendermint/types/block.d.ts +1 -0
- package/tendermint/types/block.js +6 -2
- package/tendermint/types/evidence.d.ts +4 -0
- package/tendermint/types/evidence.js +14 -5
- package/tendermint/types/params.d.ts +7 -0
- package/tendermint/types/params.js +19 -14
- package/tendermint/types/types.d.ts +15 -0
- package/tendermint/types/types.js +47 -20
- package/tendermint/types/validator.d.ts +3 -0
- package/tendermint/types/validator.js +9 -4
- package/tendermint/version/types.d.ts +2 -0
- package/tendermint/version/types.js +4 -5
- package/types.d.ts +2 -1
- package/types.js +1 -1
- package/utf8.d.ts +1 -1
- package/utf8.js +1 -1
- package/varint.d.ts +1 -1
- package/varint.js +1 -1
|
@@ -111,10 +111,9 @@ export const Params = {
|
|
|
111
111
|
typeUrl: "/cosmos.distribution.v1beta1.Params",
|
|
112
112
|
value: Params.encode(message).finish()
|
|
113
113
|
};
|
|
114
|
-
}
|
|
114
|
+
},
|
|
115
|
+
registerTypeUrl() { }
|
|
115
116
|
};
|
|
116
|
-
GlobalDecoderRegistry.register(Params.typeUrl, Params);
|
|
117
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(Params.aminoType, Params.typeUrl);
|
|
118
117
|
function createBaseValidatorHistoricalRewards() {
|
|
119
118
|
return {
|
|
120
119
|
cumulativeRewardRatio: [],
|
|
@@ -204,10 +203,11 @@ export const ValidatorHistoricalRewards = {
|
|
|
204
203
|
typeUrl: "/cosmos.distribution.v1beta1.ValidatorHistoricalRewards",
|
|
205
204
|
value: ValidatorHistoricalRewards.encode(message).finish()
|
|
206
205
|
};
|
|
206
|
+
},
|
|
207
|
+
registerTypeUrl() {
|
|
208
|
+
DecCoin.registerTypeUrl();
|
|
207
209
|
}
|
|
208
210
|
};
|
|
209
|
-
GlobalDecoderRegistry.register(ValidatorHistoricalRewards.typeUrl, ValidatorHistoricalRewards);
|
|
210
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(ValidatorHistoricalRewards.aminoType, ValidatorHistoricalRewards.typeUrl);
|
|
211
211
|
function createBaseValidatorCurrentRewards() {
|
|
212
212
|
return {
|
|
213
213
|
rewards: [],
|
|
@@ -297,10 +297,11 @@ export const ValidatorCurrentRewards = {
|
|
|
297
297
|
typeUrl: "/cosmos.distribution.v1beta1.ValidatorCurrentRewards",
|
|
298
298
|
value: ValidatorCurrentRewards.encode(message).finish()
|
|
299
299
|
};
|
|
300
|
+
},
|
|
301
|
+
registerTypeUrl() {
|
|
302
|
+
DecCoin.registerTypeUrl();
|
|
300
303
|
}
|
|
301
304
|
};
|
|
302
|
-
GlobalDecoderRegistry.register(ValidatorCurrentRewards.typeUrl, ValidatorCurrentRewards);
|
|
303
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(ValidatorCurrentRewards.aminoType, ValidatorCurrentRewards.typeUrl);
|
|
304
305
|
function createBaseValidatorAccumulatedCommission() {
|
|
305
306
|
return {
|
|
306
307
|
commission: []
|
|
@@ -378,10 +379,11 @@ export const ValidatorAccumulatedCommission = {
|
|
|
378
379
|
typeUrl: "/cosmos.distribution.v1beta1.ValidatorAccumulatedCommission",
|
|
379
380
|
value: ValidatorAccumulatedCommission.encode(message).finish()
|
|
380
381
|
};
|
|
382
|
+
},
|
|
383
|
+
registerTypeUrl() {
|
|
384
|
+
DecCoin.registerTypeUrl();
|
|
381
385
|
}
|
|
382
386
|
};
|
|
383
|
-
GlobalDecoderRegistry.register(ValidatorAccumulatedCommission.typeUrl, ValidatorAccumulatedCommission);
|
|
384
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(ValidatorAccumulatedCommission.aminoType, ValidatorAccumulatedCommission.typeUrl);
|
|
385
387
|
function createBaseValidatorOutstandingRewards() {
|
|
386
388
|
return {
|
|
387
389
|
rewards: []
|
|
@@ -459,10 +461,11 @@ export const ValidatorOutstandingRewards = {
|
|
|
459
461
|
typeUrl: "/cosmos.distribution.v1beta1.ValidatorOutstandingRewards",
|
|
460
462
|
value: ValidatorOutstandingRewards.encode(message).finish()
|
|
461
463
|
};
|
|
464
|
+
},
|
|
465
|
+
registerTypeUrl() {
|
|
466
|
+
DecCoin.registerTypeUrl();
|
|
462
467
|
}
|
|
463
468
|
};
|
|
464
|
-
GlobalDecoderRegistry.register(ValidatorOutstandingRewards.typeUrl, ValidatorOutstandingRewards);
|
|
465
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(ValidatorOutstandingRewards.aminoType, ValidatorOutstandingRewards.typeUrl);
|
|
466
469
|
function createBaseValidatorSlashEvent() {
|
|
467
470
|
return {
|
|
468
471
|
validatorPeriod: BigInt(0),
|
|
@@ -549,10 +552,9 @@ export const ValidatorSlashEvent = {
|
|
|
549
552
|
typeUrl: "/cosmos.distribution.v1beta1.ValidatorSlashEvent",
|
|
550
553
|
value: ValidatorSlashEvent.encode(message).finish()
|
|
551
554
|
};
|
|
552
|
-
}
|
|
555
|
+
},
|
|
556
|
+
registerTypeUrl() { }
|
|
553
557
|
};
|
|
554
|
-
GlobalDecoderRegistry.register(ValidatorSlashEvent.typeUrl, ValidatorSlashEvent);
|
|
555
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(ValidatorSlashEvent.aminoType, ValidatorSlashEvent.typeUrl);
|
|
556
558
|
function createBaseValidatorSlashEvents() {
|
|
557
559
|
return {
|
|
558
560
|
validatorSlashEvents: []
|
|
@@ -630,10 +632,11 @@ export const ValidatorSlashEvents = {
|
|
|
630
632
|
typeUrl: "/cosmos.distribution.v1beta1.ValidatorSlashEvents",
|
|
631
633
|
value: ValidatorSlashEvents.encode(message).finish()
|
|
632
634
|
};
|
|
635
|
+
},
|
|
636
|
+
registerTypeUrl() {
|
|
637
|
+
ValidatorSlashEvent.registerTypeUrl();
|
|
633
638
|
}
|
|
634
639
|
};
|
|
635
|
-
GlobalDecoderRegistry.register(ValidatorSlashEvents.typeUrl, ValidatorSlashEvents);
|
|
636
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(ValidatorSlashEvents.aminoType, ValidatorSlashEvents.typeUrl);
|
|
637
640
|
function createBaseFeePool() {
|
|
638
641
|
return {
|
|
639
642
|
communityPool: []
|
|
@@ -711,10 +714,11 @@ export const FeePool = {
|
|
|
711
714
|
typeUrl: "/cosmos.distribution.v1beta1.FeePool",
|
|
712
715
|
value: FeePool.encode(message).finish()
|
|
713
716
|
};
|
|
717
|
+
},
|
|
718
|
+
registerTypeUrl() {
|
|
719
|
+
DecCoin.registerTypeUrl();
|
|
714
720
|
}
|
|
715
721
|
};
|
|
716
|
-
GlobalDecoderRegistry.register(FeePool.typeUrl, FeePool);
|
|
717
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(FeePool.aminoType, FeePool.typeUrl);
|
|
718
722
|
function createBaseCommunityPoolSpendProposal() {
|
|
719
723
|
return {
|
|
720
724
|
title: "",
|
|
@@ -828,10 +832,13 @@ export const CommunityPoolSpendProposal = {
|
|
|
828
832
|
typeUrl: "/cosmos.distribution.v1beta1.CommunityPoolSpendProposal",
|
|
829
833
|
value: CommunityPoolSpendProposal.encode(message).finish()
|
|
830
834
|
};
|
|
835
|
+
},
|
|
836
|
+
registerTypeUrl() {
|
|
837
|
+
GlobalDecoderRegistry.register(CommunityPoolSpendProposal.typeUrl, CommunityPoolSpendProposal);
|
|
838
|
+
GlobalDecoderRegistry.registerAminoProtoMapping(CommunityPoolSpendProposal.aminoType, CommunityPoolSpendProposal.typeUrl);
|
|
839
|
+
Coin.registerTypeUrl();
|
|
831
840
|
}
|
|
832
841
|
};
|
|
833
|
-
GlobalDecoderRegistry.register(CommunityPoolSpendProposal.typeUrl, CommunityPoolSpendProposal);
|
|
834
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(CommunityPoolSpendProposal.aminoType, CommunityPoolSpendProposal.typeUrl);
|
|
835
842
|
function createBaseDelegatorStartingInfo() {
|
|
836
843
|
return {
|
|
837
844
|
previousPeriod: BigInt(0),
|
|
@@ -930,10 +937,9 @@ export const DelegatorStartingInfo = {
|
|
|
930
937
|
typeUrl: "/cosmos.distribution.v1beta1.DelegatorStartingInfo",
|
|
931
938
|
value: DelegatorStartingInfo.encode(message).finish()
|
|
932
939
|
};
|
|
933
|
-
}
|
|
940
|
+
},
|
|
941
|
+
registerTypeUrl() { }
|
|
934
942
|
};
|
|
935
|
-
GlobalDecoderRegistry.register(DelegatorStartingInfo.typeUrl, DelegatorStartingInfo);
|
|
936
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(DelegatorStartingInfo.aminoType, DelegatorStartingInfo.typeUrl);
|
|
937
943
|
function createBaseDelegationDelegatorReward() {
|
|
938
944
|
return {
|
|
939
945
|
validatorAddress: "",
|
|
@@ -1023,10 +1029,11 @@ export const DelegationDelegatorReward = {
|
|
|
1023
1029
|
typeUrl: "/cosmos.distribution.v1beta1.DelegationDelegatorReward",
|
|
1024
1030
|
value: DelegationDelegatorReward.encode(message).finish()
|
|
1025
1031
|
};
|
|
1032
|
+
},
|
|
1033
|
+
registerTypeUrl() {
|
|
1034
|
+
DecCoin.registerTypeUrl();
|
|
1026
1035
|
}
|
|
1027
1036
|
};
|
|
1028
|
-
GlobalDecoderRegistry.register(DelegationDelegatorReward.typeUrl, DelegationDelegatorReward);
|
|
1029
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(DelegationDelegatorReward.aminoType, DelegationDelegatorReward.typeUrl);
|
|
1030
1037
|
function createBaseCommunityPoolSpendProposalWithDeposit() {
|
|
1031
1038
|
return {
|
|
1032
1039
|
title: "",
|
|
@@ -1149,7 +1156,9 @@ export const CommunityPoolSpendProposalWithDeposit = {
|
|
|
1149
1156
|
typeUrl: "/cosmos.distribution.v1beta1.CommunityPoolSpendProposalWithDeposit",
|
|
1150
1157
|
value: CommunityPoolSpendProposalWithDeposit.encode(message).finish()
|
|
1151
1158
|
};
|
|
1159
|
+
},
|
|
1160
|
+
registerTypeUrl() {
|
|
1161
|
+
GlobalDecoderRegistry.register(CommunityPoolSpendProposalWithDeposit.typeUrl, CommunityPoolSpendProposalWithDeposit);
|
|
1162
|
+
GlobalDecoderRegistry.registerAminoProtoMapping(CommunityPoolSpendProposalWithDeposit.aminoType, CommunityPoolSpendProposalWithDeposit.typeUrl);
|
|
1152
1163
|
}
|
|
1153
1164
|
};
|
|
1154
|
-
GlobalDecoderRegistry.register(CommunityPoolSpendProposalWithDeposit.typeUrl, CommunityPoolSpendProposalWithDeposit);
|
|
1155
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(CommunityPoolSpendProposalWithDeposit.aminoType, CommunityPoolSpendProposalWithDeposit.typeUrl);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Coin } from "../../base/v1beta1/coin";
|
|
2
2
|
import { Params } from "./distribution";
|
|
3
3
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
4
|
-
import { GlobalDecoderRegistry } from "../../../registry";
|
|
5
4
|
function createBaseMsgSetWithdrawAddress() {
|
|
6
5
|
return {
|
|
7
6
|
delegatorAddress: "",
|
|
@@ -88,10 +87,9 @@ export const MsgSetWithdrawAddress = {
|
|
|
88
87
|
typeUrl: "/cosmos.distribution.v1beta1.MsgSetWithdrawAddress",
|
|
89
88
|
value: MsgSetWithdrawAddress.encode(message).finish()
|
|
90
89
|
};
|
|
91
|
-
}
|
|
90
|
+
},
|
|
91
|
+
registerTypeUrl() { }
|
|
92
92
|
};
|
|
93
|
-
GlobalDecoderRegistry.register(MsgSetWithdrawAddress.typeUrl, MsgSetWithdrawAddress);
|
|
94
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(MsgSetWithdrawAddress.aminoType, MsgSetWithdrawAddress.typeUrl);
|
|
95
93
|
function createBaseMsgSetWithdrawAddressResponse() {
|
|
96
94
|
return {};
|
|
97
95
|
}
|
|
@@ -153,10 +151,9 @@ export const MsgSetWithdrawAddressResponse = {
|
|
|
153
151
|
typeUrl: "/cosmos.distribution.v1beta1.MsgSetWithdrawAddressResponse",
|
|
154
152
|
value: MsgSetWithdrawAddressResponse.encode(message).finish()
|
|
155
153
|
};
|
|
156
|
-
}
|
|
154
|
+
},
|
|
155
|
+
registerTypeUrl() { }
|
|
157
156
|
};
|
|
158
|
-
GlobalDecoderRegistry.register(MsgSetWithdrawAddressResponse.typeUrl, MsgSetWithdrawAddressResponse);
|
|
159
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(MsgSetWithdrawAddressResponse.aminoType, MsgSetWithdrawAddressResponse.typeUrl);
|
|
160
157
|
function createBaseMsgWithdrawDelegatorReward() {
|
|
161
158
|
return {
|
|
162
159
|
delegatorAddress: "",
|
|
@@ -243,10 +240,9 @@ export const MsgWithdrawDelegatorReward = {
|
|
|
243
240
|
typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward",
|
|
244
241
|
value: MsgWithdrawDelegatorReward.encode(message).finish()
|
|
245
242
|
};
|
|
246
|
-
}
|
|
243
|
+
},
|
|
244
|
+
registerTypeUrl() { }
|
|
247
245
|
};
|
|
248
|
-
GlobalDecoderRegistry.register(MsgWithdrawDelegatorReward.typeUrl, MsgWithdrawDelegatorReward);
|
|
249
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(MsgWithdrawDelegatorReward.aminoType, MsgWithdrawDelegatorReward.typeUrl);
|
|
250
246
|
function createBaseMsgWithdrawDelegatorRewardResponse() {
|
|
251
247
|
return {
|
|
252
248
|
amount: []
|
|
@@ -324,10 +320,11 @@ export const MsgWithdrawDelegatorRewardResponse = {
|
|
|
324
320
|
typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorRewardResponse",
|
|
325
321
|
value: MsgWithdrawDelegatorRewardResponse.encode(message).finish()
|
|
326
322
|
};
|
|
323
|
+
},
|
|
324
|
+
registerTypeUrl() {
|
|
325
|
+
Coin.registerTypeUrl();
|
|
327
326
|
}
|
|
328
327
|
};
|
|
329
|
-
GlobalDecoderRegistry.register(MsgWithdrawDelegatorRewardResponse.typeUrl, MsgWithdrawDelegatorRewardResponse);
|
|
330
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(MsgWithdrawDelegatorRewardResponse.aminoType, MsgWithdrawDelegatorRewardResponse.typeUrl);
|
|
331
328
|
function createBaseMsgWithdrawValidatorCommission() {
|
|
332
329
|
return {
|
|
333
330
|
validatorAddress: ""
|
|
@@ -402,10 +399,9 @@ export const MsgWithdrawValidatorCommission = {
|
|
|
402
399
|
typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission",
|
|
403
400
|
value: MsgWithdrawValidatorCommission.encode(message).finish()
|
|
404
401
|
};
|
|
405
|
-
}
|
|
402
|
+
},
|
|
403
|
+
registerTypeUrl() { }
|
|
406
404
|
};
|
|
407
|
-
GlobalDecoderRegistry.register(MsgWithdrawValidatorCommission.typeUrl, MsgWithdrawValidatorCommission);
|
|
408
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(MsgWithdrawValidatorCommission.aminoType, MsgWithdrawValidatorCommission.typeUrl);
|
|
409
405
|
function createBaseMsgWithdrawValidatorCommissionResponse() {
|
|
410
406
|
return {
|
|
411
407
|
amount: []
|
|
@@ -483,10 +479,11 @@ export const MsgWithdrawValidatorCommissionResponse = {
|
|
|
483
479
|
typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommissionResponse",
|
|
484
480
|
value: MsgWithdrawValidatorCommissionResponse.encode(message).finish()
|
|
485
481
|
};
|
|
482
|
+
},
|
|
483
|
+
registerTypeUrl() {
|
|
484
|
+
Coin.registerTypeUrl();
|
|
486
485
|
}
|
|
487
486
|
};
|
|
488
|
-
GlobalDecoderRegistry.register(MsgWithdrawValidatorCommissionResponse.typeUrl, MsgWithdrawValidatorCommissionResponse);
|
|
489
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(MsgWithdrawValidatorCommissionResponse.aminoType, MsgWithdrawValidatorCommissionResponse.typeUrl);
|
|
490
487
|
function createBaseMsgFundCommunityPool() {
|
|
491
488
|
return {
|
|
492
489
|
amount: [],
|
|
@@ -576,10 +573,11 @@ export const MsgFundCommunityPool = {
|
|
|
576
573
|
typeUrl: "/cosmos.distribution.v1beta1.MsgFundCommunityPool",
|
|
577
574
|
value: MsgFundCommunityPool.encode(message).finish()
|
|
578
575
|
};
|
|
576
|
+
},
|
|
577
|
+
registerTypeUrl() {
|
|
578
|
+
Coin.registerTypeUrl();
|
|
579
579
|
}
|
|
580
580
|
};
|
|
581
|
-
GlobalDecoderRegistry.register(MsgFundCommunityPool.typeUrl, MsgFundCommunityPool);
|
|
582
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(MsgFundCommunityPool.aminoType, MsgFundCommunityPool.typeUrl);
|
|
583
581
|
function createBaseMsgFundCommunityPoolResponse() {
|
|
584
582
|
return {};
|
|
585
583
|
}
|
|
@@ -641,10 +639,9 @@ export const MsgFundCommunityPoolResponse = {
|
|
|
641
639
|
typeUrl: "/cosmos.distribution.v1beta1.MsgFundCommunityPoolResponse",
|
|
642
640
|
value: MsgFundCommunityPoolResponse.encode(message).finish()
|
|
643
641
|
};
|
|
644
|
-
}
|
|
642
|
+
},
|
|
643
|
+
registerTypeUrl() { }
|
|
645
644
|
};
|
|
646
|
-
GlobalDecoderRegistry.register(MsgFundCommunityPoolResponse.typeUrl, MsgFundCommunityPoolResponse);
|
|
647
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(MsgFundCommunityPoolResponse.aminoType, MsgFundCommunityPoolResponse.typeUrl);
|
|
648
645
|
function createBaseMsgUpdateParams() {
|
|
649
646
|
return {
|
|
650
647
|
authority: "",
|
|
@@ -731,10 +728,11 @@ export const MsgUpdateParams = {
|
|
|
731
728
|
typeUrl: "/cosmos.distribution.v1beta1.MsgUpdateParams",
|
|
732
729
|
value: MsgUpdateParams.encode(message).finish()
|
|
733
730
|
};
|
|
731
|
+
},
|
|
732
|
+
registerTypeUrl() {
|
|
733
|
+
Params.registerTypeUrl();
|
|
734
734
|
}
|
|
735
735
|
};
|
|
736
|
-
GlobalDecoderRegistry.register(MsgUpdateParams.typeUrl, MsgUpdateParams);
|
|
737
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(MsgUpdateParams.aminoType, MsgUpdateParams.typeUrl);
|
|
738
736
|
function createBaseMsgUpdateParamsResponse() {
|
|
739
737
|
return {};
|
|
740
738
|
}
|
|
@@ -796,10 +794,9 @@ export const MsgUpdateParamsResponse = {
|
|
|
796
794
|
typeUrl: "/cosmos.distribution.v1beta1.MsgUpdateParamsResponse",
|
|
797
795
|
value: MsgUpdateParamsResponse.encode(message).finish()
|
|
798
796
|
};
|
|
799
|
-
}
|
|
797
|
+
},
|
|
798
|
+
registerTypeUrl() { }
|
|
800
799
|
};
|
|
801
|
-
GlobalDecoderRegistry.register(MsgUpdateParamsResponse.typeUrl, MsgUpdateParamsResponse);
|
|
802
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(MsgUpdateParamsResponse.aminoType, MsgUpdateParamsResponse.typeUrl);
|
|
803
800
|
function createBaseMsgCommunityPoolSpend() {
|
|
804
801
|
return {
|
|
805
802
|
authority: "",
|
|
@@ -901,10 +898,11 @@ export const MsgCommunityPoolSpend = {
|
|
|
901
898
|
typeUrl: "/cosmos.distribution.v1beta1.MsgCommunityPoolSpend",
|
|
902
899
|
value: MsgCommunityPoolSpend.encode(message).finish()
|
|
903
900
|
};
|
|
901
|
+
},
|
|
902
|
+
registerTypeUrl() {
|
|
903
|
+
Coin.registerTypeUrl();
|
|
904
904
|
}
|
|
905
905
|
};
|
|
906
|
-
GlobalDecoderRegistry.register(MsgCommunityPoolSpend.typeUrl, MsgCommunityPoolSpend);
|
|
907
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(MsgCommunityPoolSpend.aminoType, MsgCommunityPoolSpend.typeUrl);
|
|
908
906
|
function createBaseMsgCommunityPoolSpendResponse() {
|
|
909
907
|
return {};
|
|
910
908
|
}
|
|
@@ -966,10 +964,9 @@ export const MsgCommunityPoolSpendResponse = {
|
|
|
966
964
|
typeUrl: "/cosmos.distribution.v1beta1.MsgCommunityPoolSpendResponse",
|
|
967
965
|
value: MsgCommunityPoolSpendResponse.encode(message).finish()
|
|
968
966
|
};
|
|
969
|
-
}
|
|
967
|
+
},
|
|
968
|
+
registerTypeUrl() { }
|
|
970
969
|
};
|
|
971
|
-
GlobalDecoderRegistry.register(MsgCommunityPoolSpendResponse.typeUrl, MsgCommunityPoolSpendResponse);
|
|
972
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(MsgCommunityPoolSpendResponse.aminoType, MsgCommunityPoolSpendResponse.typeUrl);
|
|
973
970
|
function createBaseMsgDepositValidatorRewardsPool() {
|
|
974
971
|
return {
|
|
975
972
|
depositor: "",
|
|
@@ -1071,10 +1068,11 @@ export const MsgDepositValidatorRewardsPool = {
|
|
|
1071
1068
|
typeUrl: "/cosmos.distribution.v1beta1.MsgDepositValidatorRewardsPool",
|
|
1072
1069
|
value: MsgDepositValidatorRewardsPool.encode(message).finish()
|
|
1073
1070
|
};
|
|
1071
|
+
},
|
|
1072
|
+
registerTypeUrl() {
|
|
1073
|
+
Coin.registerTypeUrl();
|
|
1074
1074
|
}
|
|
1075
1075
|
};
|
|
1076
|
-
GlobalDecoderRegistry.register(MsgDepositValidatorRewardsPool.typeUrl, MsgDepositValidatorRewardsPool);
|
|
1077
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(MsgDepositValidatorRewardsPool.aminoType, MsgDepositValidatorRewardsPool.typeUrl);
|
|
1078
1076
|
function createBaseMsgDepositValidatorRewardsPoolResponse() {
|
|
1079
1077
|
return {};
|
|
1080
1078
|
}
|
|
@@ -1136,7 +1134,6 @@ export const MsgDepositValidatorRewardsPoolResponse = {
|
|
|
1136
1134
|
typeUrl: "/cosmos.distribution.v1beta1.MsgDepositValidatorRewardsPoolResponse",
|
|
1137
1135
|
value: MsgDepositValidatorRewardsPoolResponse.encode(message).finish()
|
|
1138
1136
|
};
|
|
1139
|
-
}
|
|
1137
|
+
},
|
|
1138
|
+
registerTypeUrl() { }
|
|
1140
1139
|
};
|
|
1141
|
-
GlobalDecoderRegistry.register(MsgDepositValidatorRewardsPoolResponse.typeUrl, MsgDepositValidatorRewardsPoolResponse);
|
|
1142
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(MsgDepositValidatorRewardsPoolResponse.aminoType, MsgDepositValidatorRewardsPoolResponse.typeUrl);
|
|
@@ -5,41 +5,48 @@ export const createSetWithdrawAddress = (clientResolver) => buildTx({
|
|
|
5
5
|
clientResolver,
|
|
6
6
|
typeUrl: MsgSetWithdrawAddress.typeUrl,
|
|
7
7
|
encoders: toEncoders(MsgSetWithdrawAddress),
|
|
8
|
-
converters: toConverters(MsgSetWithdrawAddress)
|
|
8
|
+
converters: toConverters(MsgSetWithdrawAddress),
|
|
9
|
+
deps: [MsgSetWithdrawAddress]
|
|
9
10
|
});
|
|
10
11
|
export const createWithdrawDelegatorReward = (clientResolver) => buildTx({
|
|
11
12
|
clientResolver,
|
|
12
13
|
typeUrl: MsgWithdrawDelegatorReward.typeUrl,
|
|
13
14
|
encoders: toEncoders(MsgWithdrawDelegatorReward),
|
|
14
|
-
converters: toConverters(MsgWithdrawDelegatorReward)
|
|
15
|
+
converters: toConverters(MsgWithdrawDelegatorReward),
|
|
16
|
+
deps: [MsgWithdrawDelegatorReward]
|
|
15
17
|
});
|
|
16
18
|
export const createWithdrawValidatorCommission = (clientResolver) => buildTx({
|
|
17
19
|
clientResolver,
|
|
18
20
|
typeUrl: MsgWithdrawValidatorCommission.typeUrl,
|
|
19
21
|
encoders: toEncoders(MsgWithdrawValidatorCommission),
|
|
20
|
-
converters: toConverters(MsgWithdrawValidatorCommission)
|
|
22
|
+
converters: toConverters(MsgWithdrawValidatorCommission),
|
|
23
|
+
deps: [MsgWithdrawValidatorCommission]
|
|
21
24
|
});
|
|
22
25
|
export const createFundCommunityPool = (clientResolver) => buildTx({
|
|
23
26
|
clientResolver,
|
|
24
27
|
typeUrl: MsgFundCommunityPool.typeUrl,
|
|
25
28
|
encoders: toEncoders(MsgFundCommunityPool),
|
|
26
|
-
converters: toConverters(MsgFundCommunityPool)
|
|
29
|
+
converters: toConverters(MsgFundCommunityPool),
|
|
30
|
+
deps: [MsgFundCommunityPool]
|
|
27
31
|
});
|
|
28
32
|
export const createUpdateParams = (clientResolver) => buildTx({
|
|
29
33
|
clientResolver,
|
|
30
34
|
typeUrl: MsgUpdateParams.typeUrl,
|
|
31
35
|
encoders: toEncoders(MsgUpdateParams),
|
|
32
|
-
converters: toConverters(MsgUpdateParams)
|
|
36
|
+
converters: toConverters(MsgUpdateParams),
|
|
37
|
+
deps: [MsgUpdateParams]
|
|
33
38
|
});
|
|
34
39
|
export const createCommunityPoolSpend = (clientResolver) => buildTx({
|
|
35
40
|
clientResolver,
|
|
36
41
|
typeUrl: MsgCommunityPoolSpend.typeUrl,
|
|
37
42
|
encoders: toEncoders(MsgCommunityPoolSpend),
|
|
38
|
-
converters: toConverters(MsgCommunityPoolSpend)
|
|
43
|
+
converters: toConverters(MsgCommunityPoolSpend),
|
|
44
|
+
deps: [MsgCommunityPoolSpend]
|
|
39
45
|
});
|
|
40
46
|
export const createDepositValidatorRewardsPool = (clientResolver) => buildTx({
|
|
41
47
|
clientResolver,
|
|
42
48
|
typeUrl: MsgDepositValidatorRewardsPool.typeUrl,
|
|
43
49
|
encoders: toEncoders(MsgDepositValidatorRewardsPool),
|
|
44
|
-
converters: toConverters(MsgDepositValidatorRewardsPool)
|
|
50
|
+
converters: toConverters(MsgDepositValidatorRewardsPool),
|
|
51
|
+
deps: [MsgDepositValidatorRewardsPool]
|
|
45
52
|
});
|
|
@@ -99,10 +99,9 @@ export const MsgGrantAllowance = {
|
|
|
99
99
|
typeUrl: "/cosmos.feegrant.v1beta1.MsgGrantAllowance",
|
|
100
100
|
value: MsgGrantAllowance.encode(message).finish()
|
|
101
101
|
};
|
|
102
|
-
}
|
|
102
|
+
},
|
|
103
|
+
registerTypeUrl() { }
|
|
103
104
|
};
|
|
104
|
-
GlobalDecoderRegistry.register(MsgGrantAllowance.typeUrl, MsgGrantAllowance);
|
|
105
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(MsgGrantAllowance.aminoType, MsgGrantAllowance.typeUrl);
|
|
106
105
|
function createBaseMsgGrantAllowanceResponse() {
|
|
107
106
|
return {};
|
|
108
107
|
}
|
|
@@ -164,10 +163,9 @@ export const MsgGrantAllowanceResponse = {
|
|
|
164
163
|
typeUrl: "/cosmos.feegrant.v1beta1.MsgGrantAllowanceResponse",
|
|
165
164
|
value: MsgGrantAllowanceResponse.encode(message).finish()
|
|
166
165
|
};
|
|
167
|
-
}
|
|
166
|
+
},
|
|
167
|
+
registerTypeUrl() { }
|
|
168
168
|
};
|
|
169
|
-
GlobalDecoderRegistry.register(MsgGrantAllowanceResponse.typeUrl, MsgGrantAllowanceResponse);
|
|
170
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(MsgGrantAllowanceResponse.aminoType, MsgGrantAllowanceResponse.typeUrl);
|
|
171
169
|
function createBaseMsgRevokeAllowance() {
|
|
172
170
|
return {
|
|
173
171
|
granter: "",
|
|
@@ -254,10 +252,9 @@ export const MsgRevokeAllowance = {
|
|
|
254
252
|
typeUrl: "/cosmos.feegrant.v1beta1.MsgRevokeAllowance",
|
|
255
253
|
value: MsgRevokeAllowance.encode(message).finish()
|
|
256
254
|
};
|
|
257
|
-
}
|
|
255
|
+
},
|
|
256
|
+
registerTypeUrl() { }
|
|
258
257
|
};
|
|
259
|
-
GlobalDecoderRegistry.register(MsgRevokeAllowance.typeUrl, MsgRevokeAllowance);
|
|
260
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(MsgRevokeAllowance.aminoType, MsgRevokeAllowance.typeUrl);
|
|
261
258
|
function createBaseMsgRevokeAllowanceResponse() {
|
|
262
259
|
return {};
|
|
263
260
|
}
|
|
@@ -319,10 +316,9 @@ export const MsgRevokeAllowanceResponse = {
|
|
|
319
316
|
typeUrl: "/cosmos.feegrant.v1beta1.MsgRevokeAllowanceResponse",
|
|
320
317
|
value: MsgRevokeAllowanceResponse.encode(message).finish()
|
|
321
318
|
};
|
|
322
|
-
}
|
|
319
|
+
},
|
|
320
|
+
registerTypeUrl() { }
|
|
323
321
|
};
|
|
324
|
-
GlobalDecoderRegistry.register(MsgRevokeAllowanceResponse.typeUrl, MsgRevokeAllowanceResponse);
|
|
325
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(MsgRevokeAllowanceResponse.aminoType, MsgRevokeAllowanceResponse.typeUrl);
|
|
326
322
|
function createBaseMsgPruneAllowances() {
|
|
327
323
|
return {
|
|
328
324
|
pruner: ""
|
|
@@ -397,10 +393,9 @@ export const MsgPruneAllowances = {
|
|
|
397
393
|
typeUrl: "/cosmos.feegrant.v1beta1.MsgPruneAllowances",
|
|
398
394
|
value: MsgPruneAllowances.encode(message).finish()
|
|
399
395
|
};
|
|
400
|
-
}
|
|
396
|
+
},
|
|
397
|
+
registerTypeUrl() { }
|
|
401
398
|
};
|
|
402
|
-
GlobalDecoderRegistry.register(MsgPruneAllowances.typeUrl, MsgPruneAllowances);
|
|
403
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(MsgPruneAllowances.aminoType, MsgPruneAllowances.typeUrl);
|
|
404
399
|
function createBaseMsgPruneAllowancesResponse() {
|
|
405
400
|
return {};
|
|
406
401
|
}
|
|
@@ -462,7 +457,6 @@ export const MsgPruneAllowancesResponse = {
|
|
|
462
457
|
typeUrl: "/cosmos.feegrant.v1beta1.MsgPruneAllowancesResponse",
|
|
463
458
|
value: MsgPruneAllowancesResponse.encode(message).finish()
|
|
464
459
|
};
|
|
465
|
-
}
|
|
460
|
+
},
|
|
461
|
+
registerTypeUrl() { }
|
|
466
462
|
};
|
|
467
|
-
GlobalDecoderRegistry.register(MsgPruneAllowancesResponse.typeUrl, MsgPruneAllowancesResponse);
|
|
468
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(MsgPruneAllowancesResponse.aminoType, MsgPruneAllowancesResponse.typeUrl);
|
|
@@ -5,17 +5,20 @@ export const createGrantAllowance = (clientResolver) => buildTx({
|
|
|
5
5
|
clientResolver,
|
|
6
6
|
typeUrl: MsgGrantAllowance.typeUrl,
|
|
7
7
|
encoders: toEncoders(MsgGrantAllowance),
|
|
8
|
-
converters: toConverters(MsgGrantAllowance)
|
|
8
|
+
converters: toConverters(MsgGrantAllowance),
|
|
9
|
+
deps: [MsgGrantAllowance]
|
|
9
10
|
});
|
|
10
11
|
export const createRevokeAllowance = (clientResolver) => buildTx({
|
|
11
12
|
clientResolver,
|
|
12
13
|
typeUrl: MsgRevokeAllowance.typeUrl,
|
|
13
14
|
encoders: toEncoders(MsgRevokeAllowance),
|
|
14
|
-
converters: toConverters(MsgRevokeAllowance)
|
|
15
|
+
converters: toConverters(MsgRevokeAllowance),
|
|
16
|
+
deps: [MsgRevokeAllowance]
|
|
15
17
|
});
|
|
16
18
|
export const createPruneAllowances = (clientResolver) => buildTx({
|
|
17
19
|
clientResolver,
|
|
18
20
|
typeUrl: MsgPruneAllowances.typeUrl,
|
|
19
21
|
encoders: toEncoders(MsgPruneAllowances),
|
|
20
|
-
converters: toConverters(MsgPruneAllowances)
|
|
22
|
+
converters: toConverters(MsgPruneAllowances),
|
|
23
|
+
deps: [MsgPruneAllowances]
|
|
21
24
|
});
|
package/esm/cosmos/gov/v1/gov.js
CHANGED
|
@@ -4,7 +4,6 @@ import { Timestamp } from "../../../google/protobuf/timestamp";
|
|
|
4
4
|
import { Duration } from "../../../google/protobuf/duration";
|
|
5
5
|
import { isSet, toTimestamp, fromTimestamp } from "../../../helpers";
|
|
6
6
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
7
|
-
import { GlobalDecoderRegistry } from "../../../registry";
|
|
8
7
|
/** VoteOption enumerates the valid vote options for a given governance proposal. */
|
|
9
8
|
export var VoteOption;
|
|
10
9
|
(function (VoteOption) {
|
|
@@ -225,10 +224,9 @@ export const WeightedVoteOption = {
|
|
|
225
224
|
typeUrl: "/cosmos.gov.v1.WeightedVoteOption",
|
|
226
225
|
value: WeightedVoteOption.encode(message).finish()
|
|
227
226
|
};
|
|
228
|
-
}
|
|
227
|
+
},
|
|
228
|
+
registerTypeUrl() { }
|
|
229
229
|
};
|
|
230
|
-
GlobalDecoderRegistry.register(WeightedVoteOption.typeUrl, WeightedVoteOption);
|
|
231
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(WeightedVoteOption.aminoType, WeightedVoteOption.typeUrl);
|
|
232
230
|
function createBaseDeposit() {
|
|
233
231
|
return {
|
|
234
232
|
proposalId: BigInt(0),
|
|
@@ -330,10 +328,11 @@ export const Deposit = {
|
|
|
330
328
|
typeUrl: "/cosmos.gov.v1.Deposit",
|
|
331
329
|
value: Deposit.encode(message).finish()
|
|
332
330
|
};
|
|
331
|
+
},
|
|
332
|
+
registerTypeUrl() {
|
|
333
|
+
Coin.registerTypeUrl();
|
|
333
334
|
}
|
|
334
335
|
};
|
|
335
|
-
GlobalDecoderRegistry.register(Deposit.typeUrl, Deposit);
|
|
336
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(Deposit.aminoType, Deposit.typeUrl);
|
|
337
336
|
function createBaseProposal() {
|
|
338
337
|
return {
|
|
339
338
|
id: BigInt(0),
|
|
@@ -582,10 +581,12 @@ export const Proposal = {
|
|
|
582
581
|
typeUrl: "/cosmos.gov.v1.Proposal",
|
|
583
582
|
value: Proposal.encode(message).finish()
|
|
584
583
|
};
|
|
584
|
+
},
|
|
585
|
+
registerTypeUrl() {
|
|
586
|
+
TallyResult.registerTypeUrl();
|
|
587
|
+
Coin.registerTypeUrl();
|
|
585
588
|
}
|
|
586
589
|
};
|
|
587
|
-
GlobalDecoderRegistry.register(Proposal.typeUrl, Proposal);
|
|
588
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(Proposal.aminoType, Proposal.typeUrl);
|
|
589
590
|
function createBaseTallyResult() {
|
|
590
591
|
return {
|
|
591
592
|
yesCount: "",
|
|
@@ -696,10 +697,9 @@ export const TallyResult = {
|
|
|
696
697
|
typeUrl: "/cosmos.gov.v1.TallyResult",
|
|
697
698
|
value: TallyResult.encode(message).finish()
|
|
698
699
|
};
|
|
699
|
-
}
|
|
700
|
+
},
|
|
701
|
+
registerTypeUrl() { }
|
|
700
702
|
};
|
|
701
|
-
GlobalDecoderRegistry.register(TallyResult.typeUrl, TallyResult);
|
|
702
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(TallyResult.aminoType, TallyResult.typeUrl);
|
|
703
703
|
function createBaseVote() {
|
|
704
704
|
return {
|
|
705
705
|
proposalId: BigInt(0),
|
|
@@ -813,10 +813,11 @@ export const Vote = {
|
|
|
813
813
|
typeUrl: "/cosmos.gov.v1.Vote",
|
|
814
814
|
value: Vote.encode(message).finish()
|
|
815
815
|
};
|
|
816
|
+
},
|
|
817
|
+
registerTypeUrl() {
|
|
818
|
+
WeightedVoteOption.registerTypeUrl();
|
|
816
819
|
}
|
|
817
820
|
};
|
|
818
|
-
GlobalDecoderRegistry.register(Vote.typeUrl, Vote);
|
|
819
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(Vote.aminoType, Vote.typeUrl);
|
|
820
821
|
function createBaseDepositParams() {
|
|
821
822
|
return {
|
|
822
823
|
minDeposit: [],
|
|
@@ -906,10 +907,11 @@ export const DepositParams = {
|
|
|
906
907
|
typeUrl: "/cosmos.gov.v1.DepositParams",
|
|
907
908
|
value: DepositParams.encode(message).finish()
|
|
908
909
|
};
|
|
910
|
+
},
|
|
911
|
+
registerTypeUrl() {
|
|
912
|
+
Coin.registerTypeUrl();
|
|
909
913
|
}
|
|
910
914
|
};
|
|
911
|
-
GlobalDecoderRegistry.register(DepositParams.typeUrl, DepositParams);
|
|
912
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(DepositParams.aminoType, DepositParams.typeUrl);
|
|
913
915
|
function createBaseVotingParams() {
|
|
914
916
|
return {
|
|
915
917
|
votingPeriod: undefined
|
|
@@ -984,10 +986,9 @@ export const VotingParams = {
|
|
|
984
986
|
typeUrl: "/cosmos.gov.v1.VotingParams",
|
|
985
987
|
value: VotingParams.encode(message).finish()
|
|
986
988
|
};
|
|
987
|
-
}
|
|
989
|
+
},
|
|
990
|
+
registerTypeUrl() { }
|
|
988
991
|
};
|
|
989
|
-
GlobalDecoderRegistry.register(VotingParams.typeUrl, VotingParams);
|
|
990
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(VotingParams.aminoType, VotingParams.typeUrl);
|
|
991
992
|
function createBaseTallyParams() {
|
|
992
993
|
return {
|
|
993
994
|
quorum: "",
|
|
@@ -1086,10 +1087,9 @@ export const TallyParams = {
|
|
|
1086
1087
|
typeUrl: "/cosmos.gov.v1.TallyParams",
|
|
1087
1088
|
value: TallyParams.encode(message).finish()
|
|
1088
1089
|
};
|
|
1089
|
-
}
|
|
1090
|
+
},
|
|
1091
|
+
registerTypeUrl() { }
|
|
1090
1092
|
};
|
|
1091
|
-
GlobalDecoderRegistry.register(TallyParams.typeUrl, TallyParams);
|
|
1092
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(TallyParams.aminoType, TallyParams.typeUrl);
|
|
1093
1093
|
function createBaseParams() {
|
|
1094
1094
|
return {
|
|
1095
1095
|
minDeposit: [],
|
|
@@ -1350,7 +1350,8 @@ export const Params = {
|
|
|
1350
1350
|
typeUrl: "/cosmos.gov.v1.Params",
|
|
1351
1351
|
value: Params.encode(message).finish()
|
|
1352
1352
|
};
|
|
1353
|
+
},
|
|
1354
|
+
registerTypeUrl() {
|
|
1355
|
+
Coin.registerTypeUrl();
|
|
1353
1356
|
}
|
|
1354
1357
|
};
|
|
1355
|
-
GlobalDecoderRegistry.register(Params.typeUrl, Params);
|
|
1356
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(Params.aminoType, Params.typeUrl);
|