injectivejs 1.6.4 → 1.7.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/README.md +230 -24
- 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 +4 -1
- 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
- package/cosmos/client.d.ts +0 -13
- package/cosmos/client.js +0 -59
- package/cosmwasm/client.d.ts +0 -16
- package/cosmwasm/client.js +0 -53
- package/esm/cosmos/client.js +0 -31
- package/esm/cosmwasm/client.js +0 -25
- package/esm/ibc/client.js +0 -28
- package/esm/injective/client.js +0 -33
- package/ibc/client.d.ts +0 -16
- package/ibc/client.js +0 -56
- package/injective/client.d.ts +0 -16
- package/injective/client.js +0 -61
|
@@ -4,7 +4,6 @@ exports.MsgDepositValidatorRewardsPoolResponse = exports.MsgDepositValidatorRewa
|
|
|
4
4
|
const coin_1 = require("../../base/v1beta1/coin");
|
|
5
5
|
const distribution_1 = require("./distribution");
|
|
6
6
|
const binary_1 = require("../../../binary");
|
|
7
|
-
const registry_1 = require("../../../registry");
|
|
8
7
|
function createBaseMsgSetWithdrawAddress() {
|
|
9
8
|
return {
|
|
10
9
|
delegatorAddress: "",
|
|
@@ -91,10 +90,9 @@ exports.MsgSetWithdrawAddress = {
|
|
|
91
90
|
typeUrl: "/cosmos.distribution.v1beta1.MsgSetWithdrawAddress",
|
|
92
91
|
value: exports.MsgSetWithdrawAddress.encode(message).finish()
|
|
93
92
|
};
|
|
94
|
-
}
|
|
93
|
+
},
|
|
94
|
+
registerTypeUrl() { }
|
|
95
95
|
};
|
|
96
|
-
registry_1.GlobalDecoderRegistry.register(exports.MsgSetWithdrawAddress.typeUrl, exports.MsgSetWithdrawAddress);
|
|
97
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.MsgSetWithdrawAddress.aminoType, exports.MsgSetWithdrawAddress.typeUrl);
|
|
98
96
|
function createBaseMsgSetWithdrawAddressResponse() {
|
|
99
97
|
return {};
|
|
100
98
|
}
|
|
@@ -156,10 +154,9 @@ exports.MsgSetWithdrawAddressResponse = {
|
|
|
156
154
|
typeUrl: "/cosmos.distribution.v1beta1.MsgSetWithdrawAddressResponse",
|
|
157
155
|
value: exports.MsgSetWithdrawAddressResponse.encode(message).finish()
|
|
158
156
|
};
|
|
159
|
-
}
|
|
157
|
+
},
|
|
158
|
+
registerTypeUrl() { }
|
|
160
159
|
};
|
|
161
|
-
registry_1.GlobalDecoderRegistry.register(exports.MsgSetWithdrawAddressResponse.typeUrl, exports.MsgSetWithdrawAddressResponse);
|
|
162
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.MsgSetWithdrawAddressResponse.aminoType, exports.MsgSetWithdrawAddressResponse.typeUrl);
|
|
163
160
|
function createBaseMsgWithdrawDelegatorReward() {
|
|
164
161
|
return {
|
|
165
162
|
delegatorAddress: "",
|
|
@@ -246,10 +243,9 @@ exports.MsgWithdrawDelegatorReward = {
|
|
|
246
243
|
typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward",
|
|
247
244
|
value: exports.MsgWithdrawDelegatorReward.encode(message).finish()
|
|
248
245
|
};
|
|
249
|
-
}
|
|
246
|
+
},
|
|
247
|
+
registerTypeUrl() { }
|
|
250
248
|
};
|
|
251
|
-
registry_1.GlobalDecoderRegistry.register(exports.MsgWithdrawDelegatorReward.typeUrl, exports.MsgWithdrawDelegatorReward);
|
|
252
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.MsgWithdrawDelegatorReward.aminoType, exports.MsgWithdrawDelegatorReward.typeUrl);
|
|
253
249
|
function createBaseMsgWithdrawDelegatorRewardResponse() {
|
|
254
250
|
return {
|
|
255
251
|
amount: []
|
|
@@ -327,10 +323,11 @@ exports.MsgWithdrawDelegatorRewardResponse = {
|
|
|
327
323
|
typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorRewardResponse",
|
|
328
324
|
value: exports.MsgWithdrawDelegatorRewardResponse.encode(message).finish()
|
|
329
325
|
};
|
|
326
|
+
},
|
|
327
|
+
registerTypeUrl() {
|
|
328
|
+
coin_1.Coin.registerTypeUrl();
|
|
330
329
|
}
|
|
331
330
|
};
|
|
332
|
-
registry_1.GlobalDecoderRegistry.register(exports.MsgWithdrawDelegatorRewardResponse.typeUrl, exports.MsgWithdrawDelegatorRewardResponse);
|
|
333
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.MsgWithdrawDelegatorRewardResponse.aminoType, exports.MsgWithdrawDelegatorRewardResponse.typeUrl);
|
|
334
331
|
function createBaseMsgWithdrawValidatorCommission() {
|
|
335
332
|
return {
|
|
336
333
|
validatorAddress: ""
|
|
@@ -405,10 +402,9 @@ exports.MsgWithdrawValidatorCommission = {
|
|
|
405
402
|
typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission",
|
|
406
403
|
value: exports.MsgWithdrawValidatorCommission.encode(message).finish()
|
|
407
404
|
};
|
|
408
|
-
}
|
|
405
|
+
},
|
|
406
|
+
registerTypeUrl() { }
|
|
409
407
|
};
|
|
410
|
-
registry_1.GlobalDecoderRegistry.register(exports.MsgWithdrawValidatorCommission.typeUrl, exports.MsgWithdrawValidatorCommission);
|
|
411
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.MsgWithdrawValidatorCommission.aminoType, exports.MsgWithdrawValidatorCommission.typeUrl);
|
|
412
408
|
function createBaseMsgWithdrawValidatorCommissionResponse() {
|
|
413
409
|
return {
|
|
414
410
|
amount: []
|
|
@@ -486,10 +482,11 @@ exports.MsgWithdrawValidatorCommissionResponse = {
|
|
|
486
482
|
typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommissionResponse",
|
|
487
483
|
value: exports.MsgWithdrawValidatorCommissionResponse.encode(message).finish()
|
|
488
484
|
};
|
|
485
|
+
},
|
|
486
|
+
registerTypeUrl() {
|
|
487
|
+
coin_1.Coin.registerTypeUrl();
|
|
489
488
|
}
|
|
490
489
|
};
|
|
491
|
-
registry_1.GlobalDecoderRegistry.register(exports.MsgWithdrawValidatorCommissionResponse.typeUrl, exports.MsgWithdrawValidatorCommissionResponse);
|
|
492
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.MsgWithdrawValidatorCommissionResponse.aminoType, exports.MsgWithdrawValidatorCommissionResponse.typeUrl);
|
|
493
490
|
function createBaseMsgFundCommunityPool() {
|
|
494
491
|
return {
|
|
495
492
|
amount: [],
|
|
@@ -579,10 +576,11 @@ exports.MsgFundCommunityPool = {
|
|
|
579
576
|
typeUrl: "/cosmos.distribution.v1beta1.MsgFundCommunityPool",
|
|
580
577
|
value: exports.MsgFundCommunityPool.encode(message).finish()
|
|
581
578
|
};
|
|
579
|
+
},
|
|
580
|
+
registerTypeUrl() {
|
|
581
|
+
coin_1.Coin.registerTypeUrl();
|
|
582
582
|
}
|
|
583
583
|
};
|
|
584
|
-
registry_1.GlobalDecoderRegistry.register(exports.MsgFundCommunityPool.typeUrl, exports.MsgFundCommunityPool);
|
|
585
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.MsgFundCommunityPool.aminoType, exports.MsgFundCommunityPool.typeUrl);
|
|
586
584
|
function createBaseMsgFundCommunityPoolResponse() {
|
|
587
585
|
return {};
|
|
588
586
|
}
|
|
@@ -644,10 +642,9 @@ exports.MsgFundCommunityPoolResponse = {
|
|
|
644
642
|
typeUrl: "/cosmos.distribution.v1beta1.MsgFundCommunityPoolResponse",
|
|
645
643
|
value: exports.MsgFundCommunityPoolResponse.encode(message).finish()
|
|
646
644
|
};
|
|
647
|
-
}
|
|
645
|
+
},
|
|
646
|
+
registerTypeUrl() { }
|
|
648
647
|
};
|
|
649
|
-
registry_1.GlobalDecoderRegistry.register(exports.MsgFundCommunityPoolResponse.typeUrl, exports.MsgFundCommunityPoolResponse);
|
|
650
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.MsgFundCommunityPoolResponse.aminoType, exports.MsgFundCommunityPoolResponse.typeUrl);
|
|
651
648
|
function createBaseMsgUpdateParams() {
|
|
652
649
|
return {
|
|
653
650
|
authority: "",
|
|
@@ -734,10 +731,11 @@ exports.MsgUpdateParams = {
|
|
|
734
731
|
typeUrl: "/cosmos.distribution.v1beta1.MsgUpdateParams",
|
|
735
732
|
value: exports.MsgUpdateParams.encode(message).finish()
|
|
736
733
|
};
|
|
734
|
+
},
|
|
735
|
+
registerTypeUrl() {
|
|
736
|
+
distribution_1.Params.registerTypeUrl();
|
|
737
737
|
}
|
|
738
738
|
};
|
|
739
|
-
registry_1.GlobalDecoderRegistry.register(exports.MsgUpdateParams.typeUrl, exports.MsgUpdateParams);
|
|
740
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.MsgUpdateParams.aminoType, exports.MsgUpdateParams.typeUrl);
|
|
741
739
|
function createBaseMsgUpdateParamsResponse() {
|
|
742
740
|
return {};
|
|
743
741
|
}
|
|
@@ -799,10 +797,9 @@ exports.MsgUpdateParamsResponse = {
|
|
|
799
797
|
typeUrl: "/cosmos.distribution.v1beta1.MsgUpdateParamsResponse",
|
|
800
798
|
value: exports.MsgUpdateParamsResponse.encode(message).finish()
|
|
801
799
|
};
|
|
802
|
-
}
|
|
800
|
+
},
|
|
801
|
+
registerTypeUrl() { }
|
|
803
802
|
};
|
|
804
|
-
registry_1.GlobalDecoderRegistry.register(exports.MsgUpdateParamsResponse.typeUrl, exports.MsgUpdateParamsResponse);
|
|
805
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.MsgUpdateParamsResponse.aminoType, exports.MsgUpdateParamsResponse.typeUrl);
|
|
806
803
|
function createBaseMsgCommunityPoolSpend() {
|
|
807
804
|
return {
|
|
808
805
|
authority: "",
|
|
@@ -904,10 +901,11 @@ exports.MsgCommunityPoolSpend = {
|
|
|
904
901
|
typeUrl: "/cosmos.distribution.v1beta1.MsgCommunityPoolSpend",
|
|
905
902
|
value: exports.MsgCommunityPoolSpend.encode(message).finish()
|
|
906
903
|
};
|
|
904
|
+
},
|
|
905
|
+
registerTypeUrl() {
|
|
906
|
+
coin_1.Coin.registerTypeUrl();
|
|
907
907
|
}
|
|
908
908
|
};
|
|
909
|
-
registry_1.GlobalDecoderRegistry.register(exports.MsgCommunityPoolSpend.typeUrl, exports.MsgCommunityPoolSpend);
|
|
910
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.MsgCommunityPoolSpend.aminoType, exports.MsgCommunityPoolSpend.typeUrl);
|
|
911
909
|
function createBaseMsgCommunityPoolSpendResponse() {
|
|
912
910
|
return {};
|
|
913
911
|
}
|
|
@@ -969,10 +967,9 @@ exports.MsgCommunityPoolSpendResponse = {
|
|
|
969
967
|
typeUrl: "/cosmos.distribution.v1beta1.MsgCommunityPoolSpendResponse",
|
|
970
968
|
value: exports.MsgCommunityPoolSpendResponse.encode(message).finish()
|
|
971
969
|
};
|
|
972
|
-
}
|
|
970
|
+
},
|
|
971
|
+
registerTypeUrl() { }
|
|
973
972
|
};
|
|
974
|
-
registry_1.GlobalDecoderRegistry.register(exports.MsgCommunityPoolSpendResponse.typeUrl, exports.MsgCommunityPoolSpendResponse);
|
|
975
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.MsgCommunityPoolSpendResponse.aminoType, exports.MsgCommunityPoolSpendResponse.typeUrl);
|
|
976
973
|
function createBaseMsgDepositValidatorRewardsPool() {
|
|
977
974
|
return {
|
|
978
975
|
depositor: "",
|
|
@@ -1074,10 +1071,11 @@ exports.MsgDepositValidatorRewardsPool = {
|
|
|
1074
1071
|
typeUrl: "/cosmos.distribution.v1beta1.MsgDepositValidatorRewardsPool",
|
|
1075
1072
|
value: exports.MsgDepositValidatorRewardsPool.encode(message).finish()
|
|
1076
1073
|
};
|
|
1074
|
+
},
|
|
1075
|
+
registerTypeUrl() {
|
|
1076
|
+
coin_1.Coin.registerTypeUrl();
|
|
1077
1077
|
}
|
|
1078
1078
|
};
|
|
1079
|
-
registry_1.GlobalDecoderRegistry.register(exports.MsgDepositValidatorRewardsPool.typeUrl, exports.MsgDepositValidatorRewardsPool);
|
|
1080
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.MsgDepositValidatorRewardsPool.aminoType, exports.MsgDepositValidatorRewardsPool.typeUrl);
|
|
1081
1079
|
function createBaseMsgDepositValidatorRewardsPoolResponse() {
|
|
1082
1080
|
return {};
|
|
1083
1081
|
}
|
|
@@ -1139,7 +1137,6 @@ exports.MsgDepositValidatorRewardsPoolResponse = {
|
|
|
1139
1137
|
typeUrl: "/cosmos.distribution.v1beta1.MsgDepositValidatorRewardsPoolResponse",
|
|
1140
1138
|
value: exports.MsgDepositValidatorRewardsPoolResponse.encode(message).finish()
|
|
1141
1139
|
};
|
|
1142
|
-
}
|
|
1140
|
+
},
|
|
1141
|
+
registerTypeUrl() { }
|
|
1143
1142
|
};
|
|
1144
|
-
registry_1.GlobalDecoderRegistry.register(exports.MsgDepositValidatorRewardsPoolResponse.typeUrl, exports.MsgDepositValidatorRewardsPoolResponse);
|
|
1145
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.MsgDepositValidatorRewardsPoolResponse.aminoType, exports.MsgDepositValidatorRewardsPoolResponse.typeUrl);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { SigningClientResolver } from "../../../helper-func-types";
|
|
2
2
|
import { MsgSetWithdrawAddress, MsgWithdrawDelegatorReward, MsgWithdrawValidatorCommission, MsgFundCommunityPool, MsgUpdateParams, MsgCommunityPoolSpend, MsgDepositValidatorRewardsPool } from "./tx";
|
|
3
|
-
export declare const createSetWithdrawAddress: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgSetWithdrawAddress, fee: import("../../../helper-func-types").StdFee
|
|
4
|
-
export declare const createWithdrawDelegatorReward: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgWithdrawDelegatorReward, fee: import("../../../helper-func-types").StdFee
|
|
5
|
-
export declare const createWithdrawValidatorCommission: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgWithdrawValidatorCommission, fee: import("../../../helper-func-types").StdFee
|
|
6
|
-
export declare const createFundCommunityPool: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgFundCommunityPool, fee: import("../../../helper-func-types").StdFee
|
|
7
|
-
export declare const createUpdateParams: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgUpdateParams, fee: import("../../../helper-func-types").StdFee
|
|
8
|
-
export declare const createCommunityPoolSpend: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgCommunityPoolSpend, fee: import("../../../helper-func-types").StdFee
|
|
9
|
-
export declare const createDepositValidatorRewardsPool: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgDepositValidatorRewardsPool, fee: import("../../../helper-func-types").StdFee
|
|
3
|
+
export declare const createSetWithdrawAddress: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgSetWithdrawAddress, fee: "auto" | import("../../../helper-func-types").StdFee, memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
4
|
+
export declare const createWithdrawDelegatorReward: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgWithdrawDelegatorReward, fee: "auto" | import("../../../helper-func-types").StdFee, memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
5
|
+
export declare const createWithdrawValidatorCommission: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgWithdrawValidatorCommission, fee: "auto" | import("../../../helper-func-types").StdFee, memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
6
|
+
export declare const createFundCommunityPool: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgFundCommunityPool, fee: "auto" | import("../../../helper-func-types").StdFee, memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
7
|
+
export declare const createUpdateParams: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgUpdateParams, fee: "auto" | import("../../../helper-func-types").StdFee, memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
8
|
+
export declare const createCommunityPoolSpend: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgCommunityPoolSpend, fee: "auto" | import("../../../helper-func-types").StdFee, memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
9
|
+
export declare const createDepositValidatorRewardsPool: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgDepositValidatorRewardsPool, fee: "auto" | import("../../../helper-func-types").StdFee, memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
@@ -8,48 +8,55 @@ const createSetWithdrawAddress = (clientResolver) => (0, helper_func_types_1.bui
|
|
|
8
8
|
clientResolver,
|
|
9
9
|
typeUrl: tx_1.MsgSetWithdrawAddress.typeUrl,
|
|
10
10
|
encoders: (0, utils_1.toEncoders)(tx_1.MsgSetWithdrawAddress),
|
|
11
|
-
converters: (0, utils_1.toConverters)(tx_1.MsgSetWithdrawAddress)
|
|
11
|
+
converters: (0, utils_1.toConverters)(tx_1.MsgSetWithdrawAddress),
|
|
12
|
+
deps: [tx_1.MsgSetWithdrawAddress]
|
|
12
13
|
});
|
|
13
14
|
exports.createSetWithdrawAddress = createSetWithdrawAddress;
|
|
14
15
|
const createWithdrawDelegatorReward = (clientResolver) => (0, helper_func_types_1.buildTx)({
|
|
15
16
|
clientResolver,
|
|
16
17
|
typeUrl: tx_1.MsgWithdrawDelegatorReward.typeUrl,
|
|
17
18
|
encoders: (0, utils_1.toEncoders)(tx_1.MsgWithdrawDelegatorReward),
|
|
18
|
-
converters: (0, utils_1.toConverters)(tx_1.MsgWithdrawDelegatorReward)
|
|
19
|
+
converters: (0, utils_1.toConverters)(tx_1.MsgWithdrawDelegatorReward),
|
|
20
|
+
deps: [tx_1.MsgWithdrawDelegatorReward]
|
|
19
21
|
});
|
|
20
22
|
exports.createWithdrawDelegatorReward = createWithdrawDelegatorReward;
|
|
21
23
|
const createWithdrawValidatorCommission = (clientResolver) => (0, helper_func_types_1.buildTx)({
|
|
22
24
|
clientResolver,
|
|
23
25
|
typeUrl: tx_1.MsgWithdrawValidatorCommission.typeUrl,
|
|
24
26
|
encoders: (0, utils_1.toEncoders)(tx_1.MsgWithdrawValidatorCommission),
|
|
25
|
-
converters: (0, utils_1.toConverters)(tx_1.MsgWithdrawValidatorCommission)
|
|
27
|
+
converters: (0, utils_1.toConverters)(tx_1.MsgWithdrawValidatorCommission),
|
|
28
|
+
deps: [tx_1.MsgWithdrawValidatorCommission]
|
|
26
29
|
});
|
|
27
30
|
exports.createWithdrawValidatorCommission = createWithdrawValidatorCommission;
|
|
28
31
|
const createFundCommunityPool = (clientResolver) => (0, helper_func_types_1.buildTx)({
|
|
29
32
|
clientResolver,
|
|
30
33
|
typeUrl: tx_1.MsgFundCommunityPool.typeUrl,
|
|
31
34
|
encoders: (0, utils_1.toEncoders)(tx_1.MsgFundCommunityPool),
|
|
32
|
-
converters: (0, utils_1.toConverters)(tx_1.MsgFundCommunityPool)
|
|
35
|
+
converters: (0, utils_1.toConverters)(tx_1.MsgFundCommunityPool),
|
|
36
|
+
deps: [tx_1.MsgFundCommunityPool]
|
|
33
37
|
});
|
|
34
38
|
exports.createFundCommunityPool = createFundCommunityPool;
|
|
35
39
|
const createUpdateParams = (clientResolver) => (0, helper_func_types_1.buildTx)({
|
|
36
40
|
clientResolver,
|
|
37
41
|
typeUrl: tx_1.MsgUpdateParams.typeUrl,
|
|
38
42
|
encoders: (0, utils_1.toEncoders)(tx_1.MsgUpdateParams),
|
|
39
|
-
converters: (0, utils_1.toConverters)(tx_1.MsgUpdateParams)
|
|
43
|
+
converters: (0, utils_1.toConverters)(tx_1.MsgUpdateParams),
|
|
44
|
+
deps: [tx_1.MsgUpdateParams]
|
|
40
45
|
});
|
|
41
46
|
exports.createUpdateParams = createUpdateParams;
|
|
42
47
|
const createCommunityPoolSpend = (clientResolver) => (0, helper_func_types_1.buildTx)({
|
|
43
48
|
clientResolver,
|
|
44
49
|
typeUrl: tx_1.MsgCommunityPoolSpend.typeUrl,
|
|
45
50
|
encoders: (0, utils_1.toEncoders)(tx_1.MsgCommunityPoolSpend),
|
|
46
|
-
converters: (0, utils_1.toConverters)(tx_1.MsgCommunityPoolSpend)
|
|
51
|
+
converters: (0, utils_1.toConverters)(tx_1.MsgCommunityPoolSpend),
|
|
52
|
+
deps: [tx_1.MsgCommunityPoolSpend]
|
|
47
53
|
});
|
|
48
54
|
exports.createCommunityPoolSpend = createCommunityPoolSpend;
|
|
49
55
|
const createDepositValidatorRewardsPool = (clientResolver) => (0, helper_func_types_1.buildTx)({
|
|
50
56
|
clientResolver,
|
|
51
57
|
typeUrl: tx_1.MsgDepositValidatorRewardsPool.typeUrl,
|
|
52
58
|
encoders: (0, utils_1.toEncoders)(tx_1.MsgDepositValidatorRewardsPool),
|
|
53
|
-
converters: (0, utils_1.toConverters)(tx_1.MsgDepositValidatorRewardsPool)
|
|
59
|
+
converters: (0, utils_1.toConverters)(tx_1.MsgDepositValidatorRewardsPool),
|
|
60
|
+
deps: [tx_1.MsgDepositValidatorRewardsPool]
|
|
54
61
|
});
|
|
55
62
|
exports.createDepositValidatorRewardsPool = createDepositValidatorRewardsPool;
|
|
@@ -149,6 +149,7 @@ export declare const MsgGrantAllowance: {
|
|
|
149
149
|
fromProtoMsg(message: MsgGrantAllowanceProtoMsg): MsgGrantAllowance;
|
|
150
150
|
toProto(message: MsgGrantAllowance): Uint8Array;
|
|
151
151
|
toProtoMsg(message: MsgGrantAllowance): MsgGrantAllowanceProtoMsg;
|
|
152
|
+
registerTypeUrl(): void;
|
|
152
153
|
};
|
|
153
154
|
export declare const MsgGrantAllowanceResponse: {
|
|
154
155
|
typeUrl: string;
|
|
@@ -165,6 +166,7 @@ export declare const MsgGrantAllowanceResponse: {
|
|
|
165
166
|
fromProtoMsg(message: MsgGrantAllowanceResponseProtoMsg): MsgGrantAllowanceResponse;
|
|
166
167
|
toProto(message: MsgGrantAllowanceResponse): Uint8Array;
|
|
167
168
|
toProtoMsg(message: MsgGrantAllowanceResponse): MsgGrantAllowanceResponseProtoMsg;
|
|
169
|
+
registerTypeUrl(): void;
|
|
168
170
|
};
|
|
169
171
|
export declare const MsgRevokeAllowance: {
|
|
170
172
|
typeUrl: string;
|
|
@@ -181,6 +183,7 @@ export declare const MsgRevokeAllowance: {
|
|
|
181
183
|
fromProtoMsg(message: MsgRevokeAllowanceProtoMsg): MsgRevokeAllowance;
|
|
182
184
|
toProto(message: MsgRevokeAllowance): Uint8Array;
|
|
183
185
|
toProtoMsg(message: MsgRevokeAllowance): MsgRevokeAllowanceProtoMsg;
|
|
186
|
+
registerTypeUrl(): void;
|
|
184
187
|
};
|
|
185
188
|
export declare const MsgRevokeAllowanceResponse: {
|
|
186
189
|
typeUrl: string;
|
|
@@ -197,6 +200,7 @@ export declare const MsgRevokeAllowanceResponse: {
|
|
|
197
200
|
fromProtoMsg(message: MsgRevokeAllowanceResponseProtoMsg): MsgRevokeAllowanceResponse;
|
|
198
201
|
toProto(message: MsgRevokeAllowanceResponse): Uint8Array;
|
|
199
202
|
toProtoMsg(message: MsgRevokeAllowanceResponse): MsgRevokeAllowanceResponseProtoMsg;
|
|
203
|
+
registerTypeUrl(): void;
|
|
200
204
|
};
|
|
201
205
|
export declare const MsgPruneAllowances: {
|
|
202
206
|
typeUrl: string;
|
|
@@ -213,6 +217,7 @@ export declare const MsgPruneAllowances: {
|
|
|
213
217
|
fromProtoMsg(message: MsgPruneAllowancesProtoMsg): MsgPruneAllowances;
|
|
214
218
|
toProto(message: MsgPruneAllowances): Uint8Array;
|
|
215
219
|
toProtoMsg(message: MsgPruneAllowances): MsgPruneAllowancesProtoMsg;
|
|
220
|
+
registerTypeUrl(): void;
|
|
216
221
|
};
|
|
217
222
|
export declare const MsgPruneAllowancesResponse: {
|
|
218
223
|
typeUrl: string;
|
|
@@ -229,4 +234,5 @@ export declare const MsgPruneAllowancesResponse: {
|
|
|
229
234
|
fromProtoMsg(message: MsgPruneAllowancesResponseProtoMsg): MsgPruneAllowancesResponse;
|
|
230
235
|
toProto(message: MsgPruneAllowancesResponse): Uint8Array;
|
|
231
236
|
toProtoMsg(message: MsgPruneAllowancesResponse): MsgPruneAllowancesResponseProtoMsg;
|
|
237
|
+
registerTypeUrl(): void;
|
|
232
238
|
};
|
|
@@ -102,10 +102,9 @@ exports.MsgGrantAllowance = {
|
|
|
102
102
|
typeUrl: "/cosmos.feegrant.v1beta1.MsgGrantAllowance",
|
|
103
103
|
value: exports.MsgGrantAllowance.encode(message).finish()
|
|
104
104
|
};
|
|
105
|
-
}
|
|
105
|
+
},
|
|
106
|
+
registerTypeUrl() { }
|
|
106
107
|
};
|
|
107
|
-
registry_1.GlobalDecoderRegistry.register(exports.MsgGrantAllowance.typeUrl, exports.MsgGrantAllowance);
|
|
108
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.MsgGrantAllowance.aminoType, exports.MsgGrantAllowance.typeUrl);
|
|
109
108
|
function createBaseMsgGrantAllowanceResponse() {
|
|
110
109
|
return {};
|
|
111
110
|
}
|
|
@@ -167,10 +166,9 @@ exports.MsgGrantAllowanceResponse = {
|
|
|
167
166
|
typeUrl: "/cosmos.feegrant.v1beta1.MsgGrantAllowanceResponse",
|
|
168
167
|
value: exports.MsgGrantAllowanceResponse.encode(message).finish()
|
|
169
168
|
};
|
|
170
|
-
}
|
|
169
|
+
},
|
|
170
|
+
registerTypeUrl() { }
|
|
171
171
|
};
|
|
172
|
-
registry_1.GlobalDecoderRegistry.register(exports.MsgGrantAllowanceResponse.typeUrl, exports.MsgGrantAllowanceResponse);
|
|
173
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.MsgGrantAllowanceResponse.aminoType, exports.MsgGrantAllowanceResponse.typeUrl);
|
|
174
172
|
function createBaseMsgRevokeAllowance() {
|
|
175
173
|
return {
|
|
176
174
|
granter: "",
|
|
@@ -257,10 +255,9 @@ exports.MsgRevokeAllowance = {
|
|
|
257
255
|
typeUrl: "/cosmos.feegrant.v1beta1.MsgRevokeAllowance",
|
|
258
256
|
value: exports.MsgRevokeAllowance.encode(message).finish()
|
|
259
257
|
};
|
|
260
|
-
}
|
|
258
|
+
},
|
|
259
|
+
registerTypeUrl() { }
|
|
261
260
|
};
|
|
262
|
-
registry_1.GlobalDecoderRegistry.register(exports.MsgRevokeAllowance.typeUrl, exports.MsgRevokeAllowance);
|
|
263
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.MsgRevokeAllowance.aminoType, exports.MsgRevokeAllowance.typeUrl);
|
|
264
261
|
function createBaseMsgRevokeAllowanceResponse() {
|
|
265
262
|
return {};
|
|
266
263
|
}
|
|
@@ -322,10 +319,9 @@ exports.MsgRevokeAllowanceResponse = {
|
|
|
322
319
|
typeUrl: "/cosmos.feegrant.v1beta1.MsgRevokeAllowanceResponse",
|
|
323
320
|
value: exports.MsgRevokeAllowanceResponse.encode(message).finish()
|
|
324
321
|
};
|
|
325
|
-
}
|
|
322
|
+
},
|
|
323
|
+
registerTypeUrl() { }
|
|
326
324
|
};
|
|
327
|
-
registry_1.GlobalDecoderRegistry.register(exports.MsgRevokeAllowanceResponse.typeUrl, exports.MsgRevokeAllowanceResponse);
|
|
328
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.MsgRevokeAllowanceResponse.aminoType, exports.MsgRevokeAllowanceResponse.typeUrl);
|
|
329
325
|
function createBaseMsgPruneAllowances() {
|
|
330
326
|
return {
|
|
331
327
|
pruner: ""
|
|
@@ -400,10 +396,9 @@ exports.MsgPruneAllowances = {
|
|
|
400
396
|
typeUrl: "/cosmos.feegrant.v1beta1.MsgPruneAllowances",
|
|
401
397
|
value: exports.MsgPruneAllowances.encode(message).finish()
|
|
402
398
|
};
|
|
403
|
-
}
|
|
399
|
+
},
|
|
400
|
+
registerTypeUrl() { }
|
|
404
401
|
};
|
|
405
|
-
registry_1.GlobalDecoderRegistry.register(exports.MsgPruneAllowances.typeUrl, exports.MsgPruneAllowances);
|
|
406
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.MsgPruneAllowances.aminoType, exports.MsgPruneAllowances.typeUrl);
|
|
407
402
|
function createBaseMsgPruneAllowancesResponse() {
|
|
408
403
|
return {};
|
|
409
404
|
}
|
|
@@ -465,7 +460,6 @@ exports.MsgPruneAllowancesResponse = {
|
|
|
465
460
|
typeUrl: "/cosmos.feegrant.v1beta1.MsgPruneAllowancesResponse",
|
|
466
461
|
value: exports.MsgPruneAllowancesResponse.encode(message).finish()
|
|
467
462
|
};
|
|
468
|
-
}
|
|
463
|
+
},
|
|
464
|
+
registerTypeUrl() { }
|
|
469
465
|
};
|
|
470
|
-
registry_1.GlobalDecoderRegistry.register(exports.MsgPruneAllowancesResponse.typeUrl, exports.MsgPruneAllowancesResponse);
|
|
471
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.MsgPruneAllowancesResponse.aminoType, exports.MsgPruneAllowancesResponse.typeUrl);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SigningClientResolver } from "../../../helper-func-types";
|
|
2
2
|
import { MsgGrantAllowance, MsgRevokeAllowance, MsgPruneAllowances } from "./tx";
|
|
3
|
-
export declare const createGrantAllowance: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgGrantAllowance, fee: import("../../../helper-func-types").StdFee
|
|
4
|
-
export declare const createRevokeAllowance: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgRevokeAllowance, fee: import("../../../helper-func-types").StdFee
|
|
5
|
-
export declare const createPruneAllowances: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgPruneAllowances, fee: import("../../../helper-func-types").StdFee
|
|
3
|
+
export declare const createGrantAllowance: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgGrantAllowance, fee: "auto" | import("../../../helper-func-types").StdFee, memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
4
|
+
export declare const createRevokeAllowance: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgRevokeAllowance, fee: "auto" | import("../../../helper-func-types").StdFee, memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
5
|
+
export declare const createPruneAllowances: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgPruneAllowances, fee: "auto" | import("../../../helper-func-types").StdFee, memo: string) => Promise<import("../../../helper-func-types").DeliverTxResponse>;
|
|
@@ -8,20 +8,23 @@ const createGrantAllowance = (clientResolver) => (0, helper_func_types_1.buildTx
|
|
|
8
8
|
clientResolver,
|
|
9
9
|
typeUrl: tx_1.MsgGrantAllowance.typeUrl,
|
|
10
10
|
encoders: (0, utils_1.toEncoders)(tx_1.MsgGrantAllowance),
|
|
11
|
-
converters: (0, utils_1.toConverters)(tx_1.MsgGrantAllowance)
|
|
11
|
+
converters: (0, utils_1.toConverters)(tx_1.MsgGrantAllowance),
|
|
12
|
+
deps: [tx_1.MsgGrantAllowance]
|
|
12
13
|
});
|
|
13
14
|
exports.createGrantAllowance = createGrantAllowance;
|
|
14
15
|
const createRevokeAllowance = (clientResolver) => (0, helper_func_types_1.buildTx)({
|
|
15
16
|
clientResolver,
|
|
16
17
|
typeUrl: tx_1.MsgRevokeAllowance.typeUrl,
|
|
17
18
|
encoders: (0, utils_1.toEncoders)(tx_1.MsgRevokeAllowance),
|
|
18
|
-
converters: (0, utils_1.toConverters)(tx_1.MsgRevokeAllowance)
|
|
19
|
+
converters: (0, utils_1.toConverters)(tx_1.MsgRevokeAllowance),
|
|
20
|
+
deps: [tx_1.MsgRevokeAllowance]
|
|
19
21
|
});
|
|
20
22
|
exports.createRevokeAllowance = createRevokeAllowance;
|
|
21
23
|
const createPruneAllowances = (clientResolver) => (0, helper_func_types_1.buildTx)({
|
|
22
24
|
clientResolver,
|
|
23
25
|
typeUrl: tx_1.MsgPruneAllowances.typeUrl,
|
|
24
26
|
encoders: (0, utils_1.toEncoders)(tx_1.MsgPruneAllowances),
|
|
25
|
-
converters: (0, utils_1.toConverters)(tx_1.MsgPruneAllowances)
|
|
27
|
+
converters: (0, utils_1.toConverters)(tx_1.MsgPruneAllowances),
|
|
28
|
+
deps: [tx_1.MsgPruneAllowances]
|
|
26
29
|
});
|
|
27
30
|
exports.createPruneAllowances = createPruneAllowances;
|
package/cosmos/gov/v1/gov.d.ts
CHANGED
|
@@ -565,6 +565,7 @@ export declare const WeightedVoteOption: {
|
|
|
565
565
|
fromProtoMsg(message: WeightedVoteOptionProtoMsg): WeightedVoteOption;
|
|
566
566
|
toProto(message: WeightedVoteOption): Uint8Array;
|
|
567
567
|
toProtoMsg(message: WeightedVoteOption): WeightedVoteOptionProtoMsg;
|
|
568
|
+
registerTypeUrl(): void;
|
|
568
569
|
};
|
|
569
570
|
export declare const Deposit: {
|
|
570
571
|
typeUrl: string;
|
|
@@ -581,6 +582,7 @@ export declare const Deposit: {
|
|
|
581
582
|
fromProtoMsg(message: DepositProtoMsg): Deposit;
|
|
582
583
|
toProto(message: Deposit): Uint8Array;
|
|
583
584
|
toProtoMsg(message: Deposit): DepositProtoMsg;
|
|
585
|
+
registerTypeUrl(): void;
|
|
584
586
|
};
|
|
585
587
|
export declare const Proposal: {
|
|
586
588
|
typeUrl: string;
|
|
@@ -597,6 +599,7 @@ export declare const Proposal: {
|
|
|
597
599
|
fromProtoMsg(message: ProposalProtoMsg): Proposal;
|
|
598
600
|
toProto(message: Proposal): Uint8Array;
|
|
599
601
|
toProtoMsg(message: Proposal): ProposalProtoMsg;
|
|
602
|
+
registerTypeUrl(): void;
|
|
600
603
|
};
|
|
601
604
|
export declare const TallyResult: {
|
|
602
605
|
typeUrl: string;
|
|
@@ -613,6 +616,7 @@ export declare const TallyResult: {
|
|
|
613
616
|
fromProtoMsg(message: TallyResultProtoMsg): TallyResult;
|
|
614
617
|
toProto(message: TallyResult): Uint8Array;
|
|
615
618
|
toProtoMsg(message: TallyResult): TallyResultProtoMsg;
|
|
619
|
+
registerTypeUrl(): void;
|
|
616
620
|
};
|
|
617
621
|
export declare const Vote: {
|
|
618
622
|
typeUrl: string;
|
|
@@ -629,6 +633,7 @@ export declare const Vote: {
|
|
|
629
633
|
fromProtoMsg(message: VoteProtoMsg): Vote;
|
|
630
634
|
toProto(message: Vote): Uint8Array;
|
|
631
635
|
toProtoMsg(message: Vote): VoteProtoMsg;
|
|
636
|
+
registerTypeUrl(): void;
|
|
632
637
|
};
|
|
633
638
|
export declare const DepositParams: {
|
|
634
639
|
typeUrl: string;
|
|
@@ -645,6 +650,7 @@ export declare const DepositParams: {
|
|
|
645
650
|
fromProtoMsg(message: DepositParamsProtoMsg): DepositParams;
|
|
646
651
|
toProto(message: DepositParams): Uint8Array;
|
|
647
652
|
toProtoMsg(message: DepositParams): DepositParamsProtoMsg;
|
|
653
|
+
registerTypeUrl(): void;
|
|
648
654
|
};
|
|
649
655
|
export declare const VotingParams: {
|
|
650
656
|
typeUrl: string;
|
|
@@ -661,6 +667,7 @@ export declare const VotingParams: {
|
|
|
661
667
|
fromProtoMsg(message: VotingParamsProtoMsg): VotingParams;
|
|
662
668
|
toProto(message: VotingParams): Uint8Array;
|
|
663
669
|
toProtoMsg(message: VotingParams): VotingParamsProtoMsg;
|
|
670
|
+
registerTypeUrl(): void;
|
|
664
671
|
};
|
|
665
672
|
export declare const TallyParams: {
|
|
666
673
|
typeUrl: string;
|
|
@@ -677,6 +684,7 @@ export declare const TallyParams: {
|
|
|
677
684
|
fromProtoMsg(message: TallyParamsProtoMsg): TallyParams;
|
|
678
685
|
toProto(message: TallyParams): Uint8Array;
|
|
679
686
|
toProtoMsg(message: TallyParams): TallyParamsProtoMsg;
|
|
687
|
+
registerTypeUrl(): void;
|
|
680
688
|
};
|
|
681
689
|
export declare const Params: {
|
|
682
690
|
typeUrl: string;
|
|
@@ -693,4 +701,5 @@ export declare const Params: {
|
|
|
693
701
|
fromProtoMsg(message: ParamsProtoMsg): Params;
|
|
694
702
|
toProto(message: Params): Uint8Array;
|
|
695
703
|
toProtoMsg(message: Params): ParamsProtoMsg;
|
|
704
|
+
registerTypeUrl(): void;
|
|
696
705
|
};
|
package/cosmos/gov/v1/gov.js
CHANGED
|
@@ -7,7 +7,6 @@ const timestamp_1 = require("../../../google/protobuf/timestamp");
|
|
|
7
7
|
const duration_1 = require("../../../google/protobuf/duration");
|
|
8
8
|
const helpers_1 = require("../../../helpers");
|
|
9
9
|
const binary_1 = require("../../../binary");
|
|
10
|
-
const registry_1 = require("../../../registry");
|
|
11
10
|
/** VoteOption enumerates the valid vote options for a given governance proposal. */
|
|
12
11
|
var VoteOption;
|
|
13
12
|
(function (VoteOption) {
|
|
@@ -232,10 +231,9 @@ exports.WeightedVoteOption = {
|
|
|
232
231
|
typeUrl: "/cosmos.gov.v1.WeightedVoteOption",
|
|
233
232
|
value: exports.WeightedVoteOption.encode(message).finish()
|
|
234
233
|
};
|
|
235
|
-
}
|
|
234
|
+
},
|
|
235
|
+
registerTypeUrl() { }
|
|
236
236
|
};
|
|
237
|
-
registry_1.GlobalDecoderRegistry.register(exports.WeightedVoteOption.typeUrl, exports.WeightedVoteOption);
|
|
238
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.WeightedVoteOption.aminoType, exports.WeightedVoteOption.typeUrl);
|
|
239
237
|
function createBaseDeposit() {
|
|
240
238
|
return {
|
|
241
239
|
proposalId: BigInt(0),
|
|
@@ -337,10 +335,11 @@ exports.Deposit = {
|
|
|
337
335
|
typeUrl: "/cosmos.gov.v1.Deposit",
|
|
338
336
|
value: exports.Deposit.encode(message).finish()
|
|
339
337
|
};
|
|
338
|
+
},
|
|
339
|
+
registerTypeUrl() {
|
|
340
|
+
coin_1.Coin.registerTypeUrl();
|
|
340
341
|
}
|
|
341
342
|
};
|
|
342
|
-
registry_1.GlobalDecoderRegistry.register(exports.Deposit.typeUrl, exports.Deposit);
|
|
343
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.Deposit.aminoType, exports.Deposit.typeUrl);
|
|
344
343
|
function createBaseProposal() {
|
|
345
344
|
return {
|
|
346
345
|
id: BigInt(0),
|
|
@@ -589,10 +588,12 @@ exports.Proposal = {
|
|
|
589
588
|
typeUrl: "/cosmos.gov.v1.Proposal",
|
|
590
589
|
value: exports.Proposal.encode(message).finish()
|
|
591
590
|
};
|
|
591
|
+
},
|
|
592
|
+
registerTypeUrl() {
|
|
593
|
+
exports.TallyResult.registerTypeUrl();
|
|
594
|
+
coin_1.Coin.registerTypeUrl();
|
|
592
595
|
}
|
|
593
596
|
};
|
|
594
|
-
registry_1.GlobalDecoderRegistry.register(exports.Proposal.typeUrl, exports.Proposal);
|
|
595
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.Proposal.aminoType, exports.Proposal.typeUrl);
|
|
596
597
|
function createBaseTallyResult() {
|
|
597
598
|
return {
|
|
598
599
|
yesCount: "",
|
|
@@ -703,10 +704,9 @@ exports.TallyResult = {
|
|
|
703
704
|
typeUrl: "/cosmos.gov.v1.TallyResult",
|
|
704
705
|
value: exports.TallyResult.encode(message).finish()
|
|
705
706
|
};
|
|
706
|
-
}
|
|
707
|
+
},
|
|
708
|
+
registerTypeUrl() { }
|
|
707
709
|
};
|
|
708
|
-
registry_1.GlobalDecoderRegistry.register(exports.TallyResult.typeUrl, exports.TallyResult);
|
|
709
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.TallyResult.aminoType, exports.TallyResult.typeUrl);
|
|
710
710
|
function createBaseVote() {
|
|
711
711
|
return {
|
|
712
712
|
proposalId: BigInt(0),
|
|
@@ -820,10 +820,11 @@ exports.Vote = {
|
|
|
820
820
|
typeUrl: "/cosmos.gov.v1.Vote",
|
|
821
821
|
value: exports.Vote.encode(message).finish()
|
|
822
822
|
};
|
|
823
|
+
},
|
|
824
|
+
registerTypeUrl() {
|
|
825
|
+
exports.WeightedVoteOption.registerTypeUrl();
|
|
823
826
|
}
|
|
824
827
|
};
|
|
825
|
-
registry_1.GlobalDecoderRegistry.register(exports.Vote.typeUrl, exports.Vote);
|
|
826
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.Vote.aminoType, exports.Vote.typeUrl);
|
|
827
828
|
function createBaseDepositParams() {
|
|
828
829
|
return {
|
|
829
830
|
minDeposit: [],
|
|
@@ -913,10 +914,11 @@ exports.DepositParams = {
|
|
|
913
914
|
typeUrl: "/cosmos.gov.v1.DepositParams",
|
|
914
915
|
value: exports.DepositParams.encode(message).finish()
|
|
915
916
|
};
|
|
917
|
+
},
|
|
918
|
+
registerTypeUrl() {
|
|
919
|
+
coin_1.Coin.registerTypeUrl();
|
|
916
920
|
}
|
|
917
921
|
};
|
|
918
|
-
registry_1.GlobalDecoderRegistry.register(exports.DepositParams.typeUrl, exports.DepositParams);
|
|
919
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.DepositParams.aminoType, exports.DepositParams.typeUrl);
|
|
920
922
|
function createBaseVotingParams() {
|
|
921
923
|
return {
|
|
922
924
|
votingPeriod: undefined
|
|
@@ -991,10 +993,9 @@ exports.VotingParams = {
|
|
|
991
993
|
typeUrl: "/cosmos.gov.v1.VotingParams",
|
|
992
994
|
value: exports.VotingParams.encode(message).finish()
|
|
993
995
|
};
|
|
994
|
-
}
|
|
996
|
+
},
|
|
997
|
+
registerTypeUrl() { }
|
|
995
998
|
};
|
|
996
|
-
registry_1.GlobalDecoderRegistry.register(exports.VotingParams.typeUrl, exports.VotingParams);
|
|
997
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.VotingParams.aminoType, exports.VotingParams.typeUrl);
|
|
998
999
|
function createBaseTallyParams() {
|
|
999
1000
|
return {
|
|
1000
1001
|
quorum: "",
|
|
@@ -1093,10 +1094,9 @@ exports.TallyParams = {
|
|
|
1093
1094
|
typeUrl: "/cosmos.gov.v1.TallyParams",
|
|
1094
1095
|
value: exports.TallyParams.encode(message).finish()
|
|
1095
1096
|
};
|
|
1096
|
-
}
|
|
1097
|
+
},
|
|
1098
|
+
registerTypeUrl() { }
|
|
1097
1099
|
};
|
|
1098
|
-
registry_1.GlobalDecoderRegistry.register(exports.TallyParams.typeUrl, exports.TallyParams);
|
|
1099
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.TallyParams.aminoType, exports.TallyParams.typeUrl);
|
|
1100
1100
|
function createBaseParams() {
|
|
1101
1101
|
return {
|
|
1102
1102
|
minDeposit: [],
|
|
@@ -1357,7 +1357,8 @@ exports.Params = {
|
|
|
1357
1357
|
typeUrl: "/cosmos.gov.v1.Params",
|
|
1358
1358
|
value: exports.Params.encode(message).finish()
|
|
1359
1359
|
};
|
|
1360
|
+
},
|
|
1361
|
+
registerTypeUrl() {
|
|
1362
|
+
coin_1.Coin.registerTypeUrl();
|
|
1360
1363
|
}
|
|
1361
1364
|
};
|
|
1362
|
-
registry_1.GlobalDecoderRegistry.register(exports.Params.typeUrl, exports.Params);
|
|
1363
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.Params.aminoType, exports.Params.typeUrl);
|