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
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Duration = void 0;
|
|
4
4
|
const binary_1 = require("../../binary");
|
|
5
|
-
const registry_1 = require("../../registry");
|
|
6
5
|
function createBaseDuration() {
|
|
7
6
|
return {
|
|
8
7
|
seconds: BigInt(0),
|
|
@@ -76,6 +75,6 @@ exports.Duration = {
|
|
|
76
75
|
typeUrl: "/google.protobuf.Duration",
|
|
77
76
|
value: exports.Duration.encode(message).finish()
|
|
78
77
|
};
|
|
79
|
-
}
|
|
78
|
+
},
|
|
79
|
+
registerTypeUrl() { }
|
|
80
80
|
};
|
|
81
|
-
registry_1.GlobalDecoderRegistry.register(exports.Duration.typeUrl, exports.Duration);
|
|
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.Timestamp = void 0;
|
|
4
4
|
const binary_1 = require("../../binary");
|
|
5
5
|
const helpers_1 = require("../../helpers");
|
|
6
|
-
const registry_1 = require("../../registry");
|
|
7
6
|
function createBaseTimestamp() {
|
|
8
7
|
return {
|
|
9
8
|
seconds: BigInt(0),
|
|
@@ -73,6 +72,6 @@ exports.Timestamp = {
|
|
|
73
72
|
typeUrl: "/google.protobuf.Timestamp",
|
|
74
73
|
value: exports.Timestamp.encode(message).finish()
|
|
75
74
|
};
|
|
76
|
-
}
|
|
75
|
+
},
|
|
76
|
+
registerTypeUrl() { }
|
|
77
77
|
};
|
|
78
|
-
registry_1.GlobalDecoderRegistry.register(exports.Timestamp.typeUrl, exports.Timestamp);
|
package/helper-func-types.d.ts
CHANGED
|
@@ -1,22 +1,24 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.
|
|
2
|
+
* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.8
|
|
3
3
|
* DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain
|
|
4
4
|
* and run the transpile command or npm scripts command that is used to regenerate this bundle.
|
|
5
5
|
*/
|
|
6
6
|
import { HttpEndpoint } from "@interchainjs/types";
|
|
7
7
|
import { BinaryReader, BinaryWriter } from "./binary";
|
|
8
8
|
import { Rpc } from "./helpers";
|
|
9
|
+
import { TelescopeGeneratedCodec } from "./types";
|
|
9
10
|
export interface QueryBuilderOptions<TReq, TRes> {
|
|
10
11
|
encode: (request: TReq, writer?: BinaryWriter) => BinaryWriter;
|
|
11
12
|
decode: (input: BinaryReader | Uint8Array, length?: number) => TRes;
|
|
12
13
|
service: string;
|
|
13
14
|
method: string;
|
|
14
15
|
clientResolver?: RpcResolver;
|
|
16
|
+
deps?: TelescopeGeneratedCodec<any, any, any>[];
|
|
15
17
|
}
|
|
16
18
|
export declare function buildQuery<TReq, TRes>(opts: QueryBuilderOptions<TReq, TRes>): (request: TReq) => Promise<TRes>;
|
|
17
19
|
export interface ITxArgs<TMsg> {
|
|
18
20
|
signerAddress: string;
|
|
19
|
-
message: TMsg;
|
|
21
|
+
message: TMsg | TMsg[];
|
|
20
22
|
fee: StdFee | 'auto';
|
|
21
23
|
memo: string;
|
|
22
24
|
}
|
|
@@ -37,8 +39,9 @@ export interface TxBuilderOptions {
|
|
|
37
39
|
typeUrl: string;
|
|
38
40
|
encoders?: Encoder[];
|
|
39
41
|
converters?: AminoConverter[];
|
|
42
|
+
deps?: TelescopeGeneratedCodec<any, any, any>[];
|
|
40
43
|
}
|
|
41
|
-
export declare function buildTx<TMsg>(opts: TxBuilderOptions): (signerAddress: string, message: TMsg, fee: StdFee | 'auto', memo: string) => Promise<DeliverTxResponse>;
|
|
44
|
+
export declare function buildTx<TMsg>(opts: TxBuilderOptions): (signerAddress: string, message: TMsg | TMsg[], fee: StdFee | 'auto', memo: string) => Promise<DeliverTxResponse>;
|
|
42
45
|
export interface Coin {
|
|
43
46
|
denom: string;
|
|
44
47
|
amount: string;
|
package/helper-func-types.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.
|
|
3
|
+
* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.8
|
|
4
4
|
* DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain
|
|
5
5
|
* and run the transpile command or npm scripts command that is used to regenerate this bundle.
|
|
6
6
|
*/
|
|
@@ -9,6 +9,7 @@ exports.buildTx = exports.isISigningClient = exports.buildQuery = void 0;
|
|
|
9
9
|
const extern_1 = require("./extern");
|
|
10
10
|
const helpers_1 = require("./helpers");
|
|
11
11
|
function buildQuery(opts) {
|
|
12
|
+
registerDependencies(opts.deps ?? []);
|
|
12
13
|
return async (request) => {
|
|
13
14
|
let rpc;
|
|
14
15
|
if ((0, helpers_1.isRpc)(opts.clientResolver)) {
|
|
@@ -33,6 +34,7 @@ function isISigningClient(client) {
|
|
|
33
34
|
}
|
|
34
35
|
exports.isISigningClient = isISigningClient;
|
|
35
36
|
function buildTx(opts) {
|
|
37
|
+
registerDependencies(opts.deps ?? []);
|
|
36
38
|
return async (signerAddress, message, fee, memo) => {
|
|
37
39
|
let client;
|
|
38
40
|
// if opts.getSigningClient is a function, call it to get the SigningClient instance
|
|
@@ -54,3 +56,8 @@ function buildTx(opts) {
|
|
|
54
56
|
};
|
|
55
57
|
}
|
|
56
58
|
exports.buildTx = buildTx;
|
|
59
|
+
function registerDependencies(deps) {
|
|
60
|
+
for (const dep of deps) {
|
|
61
|
+
dep.registerTypeUrl?.();
|
|
62
|
+
}
|
|
63
|
+
}
|
package/helpers.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.
|
|
2
|
+
* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.8
|
|
3
3
|
* DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain
|
|
4
4
|
* and run the transpile command or npm scripts command that is used to regenerate this bundle.
|
|
5
5
|
*/
|
package/helpers.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.
|
|
3
|
+
* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.8
|
|
4
4
|
* DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain
|
|
5
5
|
* and run the transpile command or npm scripts command that is used to regenerate this bundle.
|
|
6
6
|
*/
|
|
@@ -113,6 +113,7 @@ export declare const Params: {
|
|
|
113
113
|
fromProtoMsg(message: ParamsProtoMsg): Params;
|
|
114
114
|
toProto(message: Params): Uint8Array;
|
|
115
115
|
toProtoMsg(message: Params): ParamsProtoMsg;
|
|
116
|
+
registerTypeUrl(): void;
|
|
116
117
|
};
|
|
117
118
|
export declare const Forwarding: {
|
|
118
119
|
typeUrl: string;
|
|
@@ -129,6 +130,7 @@ export declare const Forwarding: {
|
|
|
129
130
|
fromProtoMsg(message: ForwardingProtoMsg): Forwarding;
|
|
130
131
|
toProto(message: Forwarding): Uint8Array;
|
|
131
132
|
toProtoMsg(message: Forwarding): ForwardingProtoMsg;
|
|
133
|
+
registerTypeUrl(): void;
|
|
132
134
|
};
|
|
133
135
|
export declare const Hop: {
|
|
134
136
|
typeUrl: string;
|
|
@@ -145,4 +147,5 @@ export declare const Hop: {
|
|
|
145
147
|
fromProtoMsg(message: HopProtoMsg): Hop;
|
|
146
148
|
toProto(message: Hop): Uint8Array;
|
|
147
149
|
toProtoMsg(message: Hop): HopProtoMsg;
|
|
150
|
+
registerTypeUrl(): void;
|
|
148
151
|
};
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Hop = exports.Forwarding = exports.Params = void 0;
|
|
4
4
|
const binary_1 = require("../../../../binary");
|
|
5
|
-
const registry_1 = require("../../../../registry");
|
|
6
5
|
function createBaseParams() {
|
|
7
6
|
return {
|
|
8
7
|
sendEnabled: false,
|
|
@@ -89,10 +88,9 @@ exports.Params = {
|
|
|
89
88
|
typeUrl: "/ibc.applications.transfer.v1.Params",
|
|
90
89
|
value: exports.Params.encode(message).finish()
|
|
91
90
|
};
|
|
92
|
-
}
|
|
91
|
+
},
|
|
92
|
+
registerTypeUrl() { }
|
|
93
93
|
};
|
|
94
|
-
registry_1.GlobalDecoderRegistry.register(exports.Params.typeUrl, exports.Params);
|
|
95
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.Params.aminoType, exports.Params.typeUrl);
|
|
96
94
|
function createBaseForwarding() {
|
|
97
95
|
return {
|
|
98
96
|
unwind: false,
|
|
@@ -182,10 +180,11 @@ exports.Forwarding = {
|
|
|
182
180
|
typeUrl: "/ibc.applications.transfer.v1.Forwarding",
|
|
183
181
|
value: exports.Forwarding.encode(message).finish()
|
|
184
182
|
};
|
|
183
|
+
},
|
|
184
|
+
registerTypeUrl() {
|
|
185
|
+
exports.Hop.registerTypeUrl();
|
|
185
186
|
}
|
|
186
187
|
};
|
|
187
|
-
registry_1.GlobalDecoderRegistry.register(exports.Forwarding.typeUrl, exports.Forwarding);
|
|
188
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.Forwarding.aminoType, exports.Forwarding.typeUrl);
|
|
189
188
|
function createBaseHop() {
|
|
190
189
|
return {
|
|
191
190
|
portId: "",
|
|
@@ -272,7 +271,6 @@ exports.Hop = {
|
|
|
272
271
|
typeUrl: "/ibc.applications.transfer.v1.Hop",
|
|
273
272
|
value: exports.Hop.encode(message).finish()
|
|
274
273
|
};
|
|
275
|
-
}
|
|
274
|
+
},
|
|
275
|
+
registerTypeUrl() { }
|
|
276
276
|
};
|
|
277
|
-
registry_1.GlobalDecoderRegistry.register(exports.Hop.typeUrl, exports.Hop);
|
|
278
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.Hop.aminoType, exports.Hop.typeUrl);
|
|
@@ -162,6 +162,7 @@ export declare const MsgTransfer: {
|
|
|
162
162
|
fromProtoMsg(message: MsgTransferProtoMsg): MsgTransfer;
|
|
163
163
|
toProto(message: MsgTransfer): Uint8Array;
|
|
164
164
|
toProtoMsg(message: MsgTransfer): MsgTransferProtoMsg;
|
|
165
|
+
registerTypeUrl(): void;
|
|
165
166
|
};
|
|
166
167
|
export declare const MsgTransferResponse: {
|
|
167
168
|
typeUrl: string;
|
|
@@ -178,6 +179,7 @@ export declare const MsgTransferResponse: {
|
|
|
178
179
|
fromProtoMsg(message: MsgTransferResponseProtoMsg): MsgTransferResponse;
|
|
179
180
|
toProto(message: MsgTransferResponse): Uint8Array;
|
|
180
181
|
toProtoMsg(message: MsgTransferResponse): MsgTransferResponseProtoMsg;
|
|
182
|
+
registerTypeUrl(): void;
|
|
181
183
|
};
|
|
182
184
|
export declare const MsgUpdateParams: {
|
|
183
185
|
typeUrl: string;
|
|
@@ -194,6 +196,7 @@ export declare const MsgUpdateParams: {
|
|
|
194
196
|
fromProtoMsg(message: MsgUpdateParamsProtoMsg): MsgUpdateParams;
|
|
195
197
|
toProto(message: MsgUpdateParams): Uint8Array;
|
|
196
198
|
toProtoMsg(message: MsgUpdateParams): MsgUpdateParamsProtoMsg;
|
|
199
|
+
registerTypeUrl(): void;
|
|
197
200
|
};
|
|
198
201
|
export declare const MsgUpdateParamsResponse: {
|
|
199
202
|
typeUrl: string;
|
|
@@ -210,4 +213,5 @@ export declare const MsgUpdateParamsResponse: {
|
|
|
210
213
|
fromProtoMsg(message: MsgUpdateParamsResponseProtoMsg): MsgUpdateParamsResponse;
|
|
211
214
|
toProto(message: MsgUpdateParamsResponse): Uint8Array;
|
|
212
215
|
toProtoMsg(message: MsgUpdateParamsResponse): MsgUpdateParamsResponseProtoMsg;
|
|
216
|
+
registerTypeUrl(): void;
|
|
213
217
|
};
|
|
@@ -5,7 +5,6 @@ const coin_1 = require("../../../../cosmos/base/v1beta1/coin");
|
|
|
5
5
|
const client_1 = require("../../../core/client/v1/client");
|
|
6
6
|
const transfer_1 = require("./transfer");
|
|
7
7
|
const binary_1 = require("../../../../binary");
|
|
8
|
-
const registry_1 = require("../../../../registry");
|
|
9
8
|
function createBaseMsgTransfer() {
|
|
10
9
|
return {
|
|
11
10
|
sourcePort: "",
|
|
@@ -191,10 +190,13 @@ exports.MsgTransfer = {
|
|
|
191
190
|
typeUrl: "/ibc.applications.transfer.v1.MsgTransfer",
|
|
192
191
|
value: exports.MsgTransfer.encode(message).finish()
|
|
193
192
|
};
|
|
193
|
+
},
|
|
194
|
+
registerTypeUrl() {
|
|
195
|
+
coin_1.Coin.registerTypeUrl();
|
|
196
|
+
client_1.Height.registerTypeUrl();
|
|
197
|
+
transfer_1.Forwarding.registerTypeUrl();
|
|
194
198
|
}
|
|
195
199
|
};
|
|
196
|
-
registry_1.GlobalDecoderRegistry.register(exports.MsgTransfer.typeUrl, exports.MsgTransfer);
|
|
197
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.MsgTransfer.aminoType, exports.MsgTransfer.typeUrl);
|
|
198
200
|
function createBaseMsgTransferResponse() {
|
|
199
201
|
return {
|
|
200
202
|
sequence: BigInt(0)
|
|
@@ -269,10 +271,9 @@ exports.MsgTransferResponse = {
|
|
|
269
271
|
typeUrl: "/ibc.applications.transfer.v1.MsgTransferResponse",
|
|
270
272
|
value: exports.MsgTransferResponse.encode(message).finish()
|
|
271
273
|
};
|
|
272
|
-
}
|
|
274
|
+
},
|
|
275
|
+
registerTypeUrl() { }
|
|
273
276
|
};
|
|
274
|
-
registry_1.GlobalDecoderRegistry.register(exports.MsgTransferResponse.typeUrl, exports.MsgTransferResponse);
|
|
275
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.MsgTransferResponse.aminoType, exports.MsgTransferResponse.typeUrl);
|
|
276
277
|
function createBaseMsgUpdateParams() {
|
|
277
278
|
return {
|
|
278
279
|
signer: "",
|
|
@@ -359,10 +360,11 @@ exports.MsgUpdateParams = {
|
|
|
359
360
|
typeUrl: "/ibc.applications.transfer.v1.MsgUpdateParams",
|
|
360
361
|
value: exports.MsgUpdateParams.encode(message).finish()
|
|
361
362
|
};
|
|
363
|
+
},
|
|
364
|
+
registerTypeUrl() {
|
|
365
|
+
client_1.Params.registerTypeUrl();
|
|
362
366
|
}
|
|
363
367
|
};
|
|
364
|
-
registry_1.GlobalDecoderRegistry.register(exports.MsgUpdateParams.typeUrl, exports.MsgUpdateParams);
|
|
365
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.MsgUpdateParams.aminoType, exports.MsgUpdateParams.typeUrl);
|
|
366
368
|
function createBaseMsgUpdateParamsResponse() {
|
|
367
369
|
return {};
|
|
368
370
|
}
|
|
@@ -424,7 +426,6 @@ exports.MsgUpdateParamsResponse = {
|
|
|
424
426
|
typeUrl: "/ibc.applications.transfer.v1.MsgUpdateParamsResponse",
|
|
425
427
|
value: exports.MsgUpdateParamsResponse.encode(message).finish()
|
|
426
428
|
};
|
|
427
|
-
}
|
|
429
|
+
},
|
|
430
|
+
registerTypeUrl() { }
|
|
428
431
|
};
|
|
429
|
-
registry_1.GlobalDecoderRegistry.register(exports.MsgUpdateParamsResponse.typeUrl, exports.MsgUpdateParamsResponse);
|
|
430
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.MsgUpdateParamsResponse.aminoType, exports.MsgUpdateParamsResponse.typeUrl);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { SigningClientResolver } from "../../../../helper-func-types";
|
|
2
2
|
import { MsgTransfer, MsgUpdateParams } from "./tx";
|
|
3
|
-
export declare const createTransfer: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgTransfer, fee: import("../../../../helper-func-types").StdFee
|
|
4
|
-
export declare const createUpdateParams: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgUpdateParams, fee: import("../../../../helper-func-types").StdFee
|
|
3
|
+
export declare const createTransfer: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgTransfer | MsgTransfer[], fee: "auto" | import("../../../../helper-func-types").StdFee, memo: string) => Promise<import("../../../../helper-func-types").DeliverTxResponse>;
|
|
4
|
+
export declare const createUpdateParams: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgUpdateParams | MsgUpdateParams[], fee: "auto" | import("../../../../helper-func-types").StdFee, memo: string) => Promise<import("../../../../helper-func-types").DeliverTxResponse>;
|
|
@@ -8,13 +8,15 @@ const createTransfer = (clientResolver) => (0, helper_func_types_1.buildTx)({
|
|
|
8
8
|
clientResolver,
|
|
9
9
|
typeUrl: tx_1.MsgTransfer.typeUrl,
|
|
10
10
|
encoders: (0, utils_1.toEncoders)(tx_1.MsgTransfer),
|
|
11
|
-
converters: (0, utils_1.toConverters)(tx_1.MsgTransfer)
|
|
11
|
+
converters: (0, utils_1.toConverters)(tx_1.MsgTransfer),
|
|
12
|
+
deps: [tx_1.MsgTransfer]
|
|
12
13
|
});
|
|
13
14
|
exports.createTransfer = createTransfer;
|
|
14
15
|
const createUpdateParams = (clientResolver) => (0, helper_func_types_1.buildTx)({
|
|
15
16
|
clientResolver,
|
|
16
17
|
typeUrl: tx_1.MsgUpdateParams.typeUrl,
|
|
17
18
|
encoders: (0, utils_1.toEncoders)(tx_1.MsgUpdateParams),
|
|
18
|
-
converters: (0, utils_1.toConverters)(tx_1.MsgUpdateParams)
|
|
19
|
+
converters: (0, utils_1.toConverters)(tx_1.MsgUpdateParams),
|
|
20
|
+
deps: [tx_1.MsgUpdateParams]
|
|
19
21
|
});
|
|
20
22
|
exports.createUpdateParams = createUpdateParams;
|
|
@@ -416,6 +416,7 @@ export declare const Channel: {
|
|
|
416
416
|
fromProtoMsg(message: ChannelProtoMsg): Channel;
|
|
417
417
|
toProto(message: Channel): Uint8Array;
|
|
418
418
|
toProtoMsg(message: Channel): ChannelProtoMsg;
|
|
419
|
+
registerTypeUrl(): void;
|
|
419
420
|
};
|
|
420
421
|
export declare const IdentifiedChannel: {
|
|
421
422
|
typeUrl: string;
|
|
@@ -432,6 +433,7 @@ export declare const IdentifiedChannel: {
|
|
|
432
433
|
fromProtoMsg(message: IdentifiedChannelProtoMsg): IdentifiedChannel;
|
|
433
434
|
toProto(message: IdentifiedChannel): Uint8Array;
|
|
434
435
|
toProtoMsg(message: IdentifiedChannel): IdentifiedChannelProtoMsg;
|
|
436
|
+
registerTypeUrl(): void;
|
|
435
437
|
};
|
|
436
438
|
export declare const Counterparty: {
|
|
437
439
|
typeUrl: string;
|
|
@@ -448,6 +450,7 @@ export declare const Counterparty: {
|
|
|
448
450
|
fromProtoMsg(message: CounterpartyProtoMsg): Counterparty;
|
|
449
451
|
toProto(message: Counterparty): Uint8Array;
|
|
450
452
|
toProtoMsg(message: Counterparty): CounterpartyProtoMsg;
|
|
453
|
+
registerTypeUrl(): void;
|
|
451
454
|
};
|
|
452
455
|
export declare const Packet: {
|
|
453
456
|
typeUrl: string;
|
|
@@ -464,6 +467,7 @@ export declare const Packet: {
|
|
|
464
467
|
fromProtoMsg(message: PacketProtoMsg): Packet;
|
|
465
468
|
toProto(message: Packet): Uint8Array;
|
|
466
469
|
toProtoMsg(message: Packet): PacketProtoMsg;
|
|
470
|
+
registerTypeUrl(): void;
|
|
467
471
|
};
|
|
468
472
|
export declare const PacketState: {
|
|
469
473
|
typeUrl: string;
|
|
@@ -480,6 +484,7 @@ export declare const PacketState: {
|
|
|
480
484
|
fromProtoMsg(message: PacketStateProtoMsg): PacketState;
|
|
481
485
|
toProto(message: PacketState): Uint8Array;
|
|
482
486
|
toProtoMsg(message: PacketState): PacketStateProtoMsg;
|
|
487
|
+
registerTypeUrl(): void;
|
|
483
488
|
};
|
|
484
489
|
export declare const PacketId: {
|
|
485
490
|
typeUrl: string;
|
|
@@ -496,6 +501,7 @@ export declare const PacketId: {
|
|
|
496
501
|
fromProtoMsg(message: PacketIdProtoMsg): PacketId;
|
|
497
502
|
toProto(message: PacketId): Uint8Array;
|
|
498
503
|
toProtoMsg(message: PacketId): PacketIdProtoMsg;
|
|
504
|
+
registerTypeUrl(): void;
|
|
499
505
|
};
|
|
500
506
|
export declare const Acknowledgement: {
|
|
501
507
|
typeUrl: string;
|
|
@@ -512,6 +518,7 @@ export declare const Acknowledgement: {
|
|
|
512
518
|
fromProtoMsg(message: AcknowledgementProtoMsg): Acknowledgement;
|
|
513
519
|
toProto(message: Acknowledgement): Uint8Array;
|
|
514
520
|
toProtoMsg(message: Acknowledgement): AcknowledgementProtoMsg;
|
|
521
|
+
registerTypeUrl(): void;
|
|
515
522
|
};
|
|
516
523
|
export declare const Timeout: {
|
|
517
524
|
typeUrl: string;
|
|
@@ -528,6 +535,7 @@ export declare const Timeout: {
|
|
|
528
535
|
fromProtoMsg(message: TimeoutProtoMsg): Timeout;
|
|
529
536
|
toProto(message: Timeout): Uint8Array;
|
|
530
537
|
toProtoMsg(message: Timeout): TimeoutProtoMsg;
|
|
538
|
+
registerTypeUrl(): void;
|
|
531
539
|
};
|
|
532
540
|
export declare const Params: {
|
|
533
541
|
typeUrl: string;
|
|
@@ -544,4 +552,5 @@ export declare const Params: {
|
|
|
544
552
|
fromProtoMsg(message: ParamsProtoMsg): Params;
|
|
545
553
|
toProto(message: Params): Uint8Array;
|
|
546
554
|
toProtoMsg(message: Params): ParamsProtoMsg;
|
|
555
|
+
registerTypeUrl(): void;
|
|
547
556
|
};
|
|
@@ -4,7 +4,6 @@ exports.Params = exports.Timeout = exports.Acknowledgement = exports.PacketId =
|
|
|
4
4
|
const client_1 = require("../../client/v1/client");
|
|
5
5
|
const helpers_1 = require("../../../../helpers");
|
|
6
6
|
const binary_1 = require("../../../../binary");
|
|
7
|
-
const registry_1 = require("../../../../registry");
|
|
8
7
|
/**
|
|
9
8
|
* State defines if a channel is in one of the following states:
|
|
10
9
|
* CLOSED, INIT, TRYOPEN, OPEN, FLUSHING, FLUSHCOMPLETE or UNINITIALIZED.
|
|
@@ -270,10 +269,11 @@ exports.Channel = {
|
|
|
270
269
|
typeUrl: "/ibc.core.channel.v1.Channel",
|
|
271
270
|
value: exports.Channel.encode(message).finish()
|
|
272
271
|
};
|
|
272
|
+
},
|
|
273
|
+
registerTypeUrl() {
|
|
274
|
+
exports.Counterparty.registerTypeUrl();
|
|
273
275
|
}
|
|
274
276
|
};
|
|
275
|
-
registry_1.GlobalDecoderRegistry.register(exports.Channel.typeUrl, exports.Channel);
|
|
276
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.Channel.aminoType, exports.Channel.typeUrl);
|
|
277
277
|
function createBaseIdentifiedChannel() {
|
|
278
278
|
return {
|
|
279
279
|
state: 0,
|
|
@@ -435,10 +435,11 @@ exports.IdentifiedChannel = {
|
|
|
435
435
|
typeUrl: "/ibc.core.channel.v1.IdentifiedChannel",
|
|
436
436
|
value: exports.IdentifiedChannel.encode(message).finish()
|
|
437
437
|
};
|
|
438
|
+
},
|
|
439
|
+
registerTypeUrl() {
|
|
440
|
+
exports.Counterparty.registerTypeUrl();
|
|
438
441
|
}
|
|
439
442
|
};
|
|
440
|
-
registry_1.GlobalDecoderRegistry.register(exports.IdentifiedChannel.typeUrl, exports.IdentifiedChannel);
|
|
441
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.IdentifiedChannel.aminoType, exports.IdentifiedChannel.typeUrl);
|
|
442
443
|
function createBaseCounterparty() {
|
|
443
444
|
return {
|
|
444
445
|
portId: "",
|
|
@@ -525,10 +526,9 @@ exports.Counterparty = {
|
|
|
525
526
|
typeUrl: "/ibc.core.channel.v1.Counterparty",
|
|
526
527
|
value: exports.Counterparty.encode(message).finish()
|
|
527
528
|
};
|
|
528
|
-
}
|
|
529
|
+
},
|
|
530
|
+
registerTypeUrl() { }
|
|
529
531
|
};
|
|
530
|
-
registry_1.GlobalDecoderRegistry.register(exports.Counterparty.typeUrl, exports.Counterparty);
|
|
531
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.Counterparty.aminoType, exports.Counterparty.typeUrl);
|
|
532
532
|
function createBasePacket() {
|
|
533
533
|
return {
|
|
534
534
|
sequence: BigInt(0),
|
|
@@ -687,10 +687,11 @@ exports.Packet = {
|
|
|
687
687
|
typeUrl: "/ibc.core.channel.v1.Packet",
|
|
688
688
|
value: exports.Packet.encode(message).finish()
|
|
689
689
|
};
|
|
690
|
+
},
|
|
691
|
+
registerTypeUrl() {
|
|
692
|
+
client_1.Height.registerTypeUrl();
|
|
690
693
|
}
|
|
691
694
|
};
|
|
692
|
-
registry_1.GlobalDecoderRegistry.register(exports.Packet.typeUrl, exports.Packet);
|
|
693
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.Packet.aminoType, exports.Packet.typeUrl);
|
|
694
695
|
function createBasePacketState() {
|
|
695
696
|
return {
|
|
696
697
|
portId: "",
|
|
@@ -801,10 +802,9 @@ exports.PacketState = {
|
|
|
801
802
|
typeUrl: "/ibc.core.channel.v1.PacketState",
|
|
802
803
|
value: exports.PacketState.encode(message).finish()
|
|
803
804
|
};
|
|
804
|
-
}
|
|
805
|
+
},
|
|
806
|
+
registerTypeUrl() { }
|
|
805
807
|
};
|
|
806
|
-
registry_1.GlobalDecoderRegistry.register(exports.PacketState.typeUrl, exports.PacketState);
|
|
807
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.PacketState.aminoType, exports.PacketState.typeUrl);
|
|
808
808
|
function createBasePacketId() {
|
|
809
809
|
return {
|
|
810
810
|
portId: "",
|
|
@@ -903,10 +903,9 @@ exports.PacketId = {
|
|
|
903
903
|
typeUrl: "/ibc.core.channel.v1.PacketId",
|
|
904
904
|
value: exports.PacketId.encode(message).finish()
|
|
905
905
|
};
|
|
906
|
-
}
|
|
906
|
+
},
|
|
907
|
+
registerTypeUrl() { }
|
|
907
908
|
};
|
|
908
|
-
registry_1.GlobalDecoderRegistry.register(exports.PacketId.typeUrl, exports.PacketId);
|
|
909
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.PacketId.aminoType, exports.PacketId.typeUrl);
|
|
910
909
|
function createBaseAcknowledgement() {
|
|
911
910
|
return {
|
|
912
911
|
result: undefined,
|
|
@@ -993,10 +992,9 @@ exports.Acknowledgement = {
|
|
|
993
992
|
typeUrl: "/ibc.core.channel.v1.Acknowledgement",
|
|
994
993
|
value: exports.Acknowledgement.encode(message).finish()
|
|
995
994
|
};
|
|
996
|
-
}
|
|
995
|
+
},
|
|
996
|
+
registerTypeUrl() { }
|
|
997
997
|
};
|
|
998
|
-
registry_1.GlobalDecoderRegistry.register(exports.Acknowledgement.typeUrl, exports.Acknowledgement);
|
|
999
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.Acknowledgement.aminoType, exports.Acknowledgement.typeUrl);
|
|
1000
998
|
function createBaseTimeout() {
|
|
1001
999
|
return {
|
|
1002
1000
|
height: client_1.Height.fromPartial({}),
|
|
@@ -1083,10 +1081,11 @@ exports.Timeout = {
|
|
|
1083
1081
|
typeUrl: "/ibc.core.channel.v1.Timeout",
|
|
1084
1082
|
value: exports.Timeout.encode(message).finish()
|
|
1085
1083
|
};
|
|
1084
|
+
},
|
|
1085
|
+
registerTypeUrl() {
|
|
1086
|
+
client_1.Height.registerTypeUrl();
|
|
1086
1087
|
}
|
|
1087
1088
|
};
|
|
1088
|
-
registry_1.GlobalDecoderRegistry.register(exports.Timeout.typeUrl, exports.Timeout);
|
|
1089
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.Timeout.aminoType, exports.Timeout.typeUrl);
|
|
1090
1089
|
function createBaseParams() {
|
|
1091
1090
|
return {
|
|
1092
1091
|
upgradeTimeout: exports.Timeout.fromPartial({})
|
|
@@ -1161,7 +1160,8 @@ exports.Params = {
|
|
|
1161
1160
|
typeUrl: "/ibc.core.channel.v1.Params",
|
|
1162
1161
|
value: exports.Params.encode(message).finish()
|
|
1163
1162
|
};
|
|
1163
|
+
},
|
|
1164
|
+
registerTypeUrl() {
|
|
1165
|
+
exports.Timeout.registerTypeUrl();
|
|
1164
1166
|
}
|
|
1165
1167
|
};
|
|
1166
|
-
registry_1.GlobalDecoderRegistry.register(exports.Params.typeUrl, exports.Params);
|
|
1167
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.Params.aminoType, exports.Params.typeUrl);
|