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.SimpleValidator = exports.Validator = exports.ValidatorSet = exports.blo
|
|
|
4
4
|
const keys_1 = require("../crypto/keys");
|
|
5
5
|
const binary_1 = require("../../binary");
|
|
6
6
|
const helpers_1 = require("../../helpers");
|
|
7
|
-
const registry_1 = require("../../registry");
|
|
8
7
|
/** BlockIdFlag indicates which BlockID the signature is for */
|
|
9
8
|
var BlockIDFlag;
|
|
10
9
|
(function (BlockIDFlag) {
|
|
@@ -149,9 +148,11 @@ exports.ValidatorSet = {
|
|
|
149
148
|
typeUrl: "/tendermint.types.ValidatorSet",
|
|
150
149
|
value: exports.ValidatorSet.encode(message).finish()
|
|
151
150
|
};
|
|
151
|
+
},
|
|
152
|
+
registerTypeUrl() {
|
|
153
|
+
exports.Validator.registerTypeUrl();
|
|
152
154
|
}
|
|
153
155
|
};
|
|
154
|
-
registry_1.GlobalDecoderRegistry.register(exports.ValidatorSet.typeUrl, exports.ValidatorSet);
|
|
155
156
|
function createBaseValidator() {
|
|
156
157
|
return {
|
|
157
158
|
address: new Uint8Array(),
|
|
@@ -255,9 +256,11 @@ exports.Validator = {
|
|
|
255
256
|
typeUrl: "/tendermint.types.Validator",
|
|
256
257
|
value: exports.Validator.encode(message).finish()
|
|
257
258
|
};
|
|
259
|
+
},
|
|
260
|
+
registerTypeUrl() {
|
|
261
|
+
keys_1.PublicKey.registerTypeUrl();
|
|
258
262
|
}
|
|
259
263
|
};
|
|
260
|
-
registry_1.GlobalDecoderRegistry.register(exports.Validator.typeUrl, exports.Validator);
|
|
261
264
|
function createBaseSimpleValidator() {
|
|
262
265
|
return {
|
|
263
266
|
pubKey: undefined,
|
|
@@ -337,6 +340,8 @@ exports.SimpleValidator = {
|
|
|
337
340
|
typeUrl: "/tendermint.types.SimpleValidator",
|
|
338
341
|
value: exports.SimpleValidator.encode(message).finish()
|
|
339
342
|
};
|
|
343
|
+
},
|
|
344
|
+
registerTypeUrl() {
|
|
345
|
+
keys_1.PublicKey.registerTypeUrl();
|
|
340
346
|
}
|
|
341
347
|
};
|
|
342
|
-
registry_1.GlobalDecoderRegistry.register(exports.SimpleValidator.typeUrl, exports.SimpleValidator);
|
|
@@ -65,6 +65,7 @@ export declare const App: {
|
|
|
65
65
|
fromProtoMsg(message: AppProtoMsg): App;
|
|
66
66
|
toProto(message: App): Uint8Array;
|
|
67
67
|
toProtoMsg(message: App): AppProtoMsg;
|
|
68
|
+
registerTypeUrl(): void;
|
|
68
69
|
};
|
|
69
70
|
export declare const Consensus: {
|
|
70
71
|
typeUrl: string;
|
|
@@ -79,4 +80,5 @@ export declare const Consensus: {
|
|
|
79
80
|
fromProtoMsg(message: ConsensusProtoMsg): Consensus;
|
|
80
81
|
toProto(message: Consensus): Uint8Array;
|
|
81
82
|
toProtoMsg(message: Consensus): ConsensusProtoMsg;
|
|
83
|
+
registerTypeUrl(): void;
|
|
82
84
|
};
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Consensus = exports.App = void 0;
|
|
4
4
|
const binary_1 = require("../../binary");
|
|
5
|
-
const registry_1 = require("../../registry");
|
|
6
5
|
function createBaseApp() {
|
|
7
6
|
return {
|
|
8
7
|
protocol: BigInt(0),
|
|
@@ -82,9 +81,9 @@ exports.App = {
|
|
|
82
81
|
typeUrl: "/tendermint.version.App",
|
|
83
82
|
value: exports.App.encode(message).finish()
|
|
84
83
|
};
|
|
85
|
-
}
|
|
84
|
+
},
|
|
85
|
+
registerTypeUrl() { }
|
|
86
86
|
};
|
|
87
|
-
registry_1.GlobalDecoderRegistry.register(exports.App.typeUrl, exports.App);
|
|
88
87
|
function createBaseConsensus() {
|
|
89
88
|
return {
|
|
90
89
|
block: BigInt(0),
|
|
@@ -164,6 +163,6 @@ exports.Consensus = {
|
|
|
164
163
|
typeUrl: "/tendermint.version.Consensus",
|
|
165
164
|
value: exports.Consensus.encode(message).finish()
|
|
166
165
|
};
|
|
167
|
-
}
|
|
166
|
+
},
|
|
167
|
+
registerTypeUrl() { }
|
|
168
168
|
};
|
|
169
|
-
registry_1.GlobalDecoderRegistry.register(exports.Consensus.typeUrl, exports.Consensus);
|
package/types.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.7
|
|
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
|
*/
|
|
@@ -41,6 +41,7 @@ export interface TelescopeGeneratedCodec<T = unknown, SDK = unknown, Amino = unk
|
|
|
41
41
|
toProto?: (message: T) => Uint8Array;
|
|
42
42
|
fromProtoMsg?: (message: ProtoMsg) => T;
|
|
43
43
|
toProtoMsg?: (message: T) => Any;
|
|
44
|
+
registerTypeUrl?: () => void;
|
|
44
45
|
}
|
|
45
46
|
export type TelescopeGeneratedType<T = unknown, SDK = unknown, Amino = unknown> = TelescopeGeneratedCodec<T, SDK, Amino>;
|
|
46
47
|
export type GeneratedType = TelescopeGeneratedCodec;
|
package/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.7
|
|
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
|
*/
|
package/utf8.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.7
|
|
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/utf8.js
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.7
|
|
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/varint.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.7
|
|
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/varint.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.7
|
|
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
|
*/
|
package/cosmos/client.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { GeneratedType, Registry, OfflineSigner } from "@cosmjs/proto-signing";
|
|
2
|
-
import { AminoTypes, SigningStargateClient } from "@cosmjs/stargate";
|
|
3
|
-
import { HttpEndpoint } from "@cosmjs/tendermint-rpc";
|
|
4
|
-
export declare const cosmosAminoConverters: {};
|
|
5
|
-
export declare const cosmosProtoRegistry: ReadonlyArray<[string, GeneratedType]>;
|
|
6
|
-
export declare const getSigningCosmosClientOptions: () => {
|
|
7
|
-
registry: Registry;
|
|
8
|
-
aminoTypes: AminoTypes;
|
|
9
|
-
};
|
|
10
|
-
export declare const getSigningCosmosClient: ({ rpcEndpoint, signer }: {
|
|
11
|
-
rpcEndpoint: string | HttpEndpoint;
|
|
12
|
-
signer: OfflineSigner;
|
|
13
|
-
}) => Promise<SigningStargateClient>;
|
package/cosmos/client.js
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.getSigningCosmosClient = exports.getSigningCosmosClientOptions = exports.cosmosProtoRegistry = exports.cosmosAminoConverters = void 0;
|
|
27
|
-
const proto_signing_1 = require("@cosmjs/proto-signing");
|
|
28
|
-
const stargate_1 = require("@cosmjs/stargate");
|
|
29
|
-
const cosmosAuthzV1beta1TxRegistry = __importStar(require("./authz/v1beta1/tx.registry"));
|
|
30
|
-
const cosmosBankV1beta1TxRegistry = __importStar(require("./bank/v1beta1/tx.registry"));
|
|
31
|
-
const cosmosDistributionV1beta1TxRegistry = __importStar(require("./distribution/v1beta1/tx.registry"));
|
|
32
|
-
const cosmosFeegrantV1beta1TxRegistry = __importStar(require("./feegrant/v1beta1/tx.registry"));
|
|
33
|
-
const cosmosGovV1TxRegistry = __importStar(require("./gov/v1/tx.registry"));
|
|
34
|
-
const cosmosGovV1beta1TxRegistry = __importStar(require("./gov/v1beta1/tx.registry"));
|
|
35
|
-
const cosmosGroupV1TxRegistry = __importStar(require("./group/v1/tx.registry"));
|
|
36
|
-
const cosmosStakingV1beta1TxRegistry = __importStar(require("./staking/v1beta1/tx.registry"));
|
|
37
|
-
const cosmosVestingV1beta1TxRegistry = __importStar(require("./vesting/v1beta1/tx.registry"));
|
|
38
|
-
exports.cosmosAminoConverters = {};
|
|
39
|
-
exports.cosmosProtoRegistry = [...cosmosAuthzV1beta1TxRegistry.registry, ...cosmosBankV1beta1TxRegistry.registry, ...cosmosDistributionV1beta1TxRegistry.registry, ...cosmosFeegrantV1beta1TxRegistry.registry, ...cosmosGovV1TxRegistry.registry, ...cosmosGovV1beta1TxRegistry.registry, ...cosmosGroupV1TxRegistry.registry, ...cosmosStakingV1beta1TxRegistry.registry, ...cosmosVestingV1beta1TxRegistry.registry];
|
|
40
|
-
const getSigningCosmosClientOptions = () => {
|
|
41
|
-
const registry = new proto_signing_1.Registry([...exports.cosmosProtoRegistry]);
|
|
42
|
-
const aminoTypes = new stargate_1.AminoTypes({
|
|
43
|
-
...exports.cosmosAminoConverters
|
|
44
|
-
});
|
|
45
|
-
return {
|
|
46
|
-
registry,
|
|
47
|
-
aminoTypes
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
exports.getSigningCosmosClientOptions = getSigningCosmosClientOptions;
|
|
51
|
-
const getSigningCosmosClient = async ({ rpcEndpoint, signer }) => {
|
|
52
|
-
const { registry, aminoTypes } = (0, exports.getSigningCosmosClientOptions)();
|
|
53
|
-
const client = await stargate_1.SigningStargateClient.connectWithSigner(rpcEndpoint, signer, {
|
|
54
|
-
registry: registry,
|
|
55
|
-
aminoTypes
|
|
56
|
-
});
|
|
57
|
-
return client;
|
|
58
|
-
};
|
|
59
|
-
exports.getSigningCosmosClient = getSigningCosmosClient;
|
package/cosmwasm/client.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { GeneratedType, Registry, OfflineSigner } from "@cosmjs/proto-signing";
|
|
2
|
-
import { AminoTypes, SigningStargateClient } from "@cosmjs/stargate";
|
|
3
|
-
import { HttpEndpoint } from "@cosmjs/tendermint-rpc";
|
|
4
|
-
export declare const cosmwasmAminoConverters: {};
|
|
5
|
-
export declare const cosmwasmProtoRegistry: ReadonlyArray<[string, GeneratedType]>;
|
|
6
|
-
export declare const getSigningCosmwasmClientOptions: ({ defaultTypes }?: {
|
|
7
|
-
defaultTypes?: ReadonlyArray<[string, GeneratedType]>;
|
|
8
|
-
}) => {
|
|
9
|
-
registry: Registry;
|
|
10
|
-
aminoTypes: AminoTypes;
|
|
11
|
-
};
|
|
12
|
-
export declare const getSigningCosmwasmClient: ({ rpcEndpoint, signer, defaultTypes }: {
|
|
13
|
-
rpcEndpoint: string | HttpEndpoint;
|
|
14
|
-
signer: OfflineSigner;
|
|
15
|
-
defaultTypes?: ReadonlyArray<[string, GeneratedType]>;
|
|
16
|
-
}) => Promise<SigningStargateClient>;
|
package/cosmwasm/client.js
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.getSigningCosmwasmClient = exports.getSigningCosmwasmClientOptions = exports.cosmwasmProtoRegistry = exports.cosmwasmAminoConverters = void 0;
|
|
27
|
-
const proto_signing_1 = require("@cosmjs/proto-signing");
|
|
28
|
-
const stargate_1 = require("@cosmjs/stargate");
|
|
29
|
-
const cosmwasmWasmV1TxRegistry = __importStar(require("./wasm/v1/tx.registry"));
|
|
30
|
-
exports.cosmwasmAminoConverters = {};
|
|
31
|
-
exports.cosmwasmProtoRegistry = [...cosmwasmWasmV1TxRegistry.registry];
|
|
32
|
-
const getSigningCosmwasmClientOptions = ({ defaultTypes = stargate_1.defaultRegistryTypes } = {}) => {
|
|
33
|
-
const registry = new proto_signing_1.Registry([...defaultTypes, ...exports.cosmwasmProtoRegistry]);
|
|
34
|
-
const aminoTypes = new stargate_1.AminoTypes({
|
|
35
|
-
...exports.cosmwasmAminoConverters
|
|
36
|
-
});
|
|
37
|
-
return {
|
|
38
|
-
registry,
|
|
39
|
-
aminoTypes
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
exports.getSigningCosmwasmClientOptions = getSigningCosmwasmClientOptions;
|
|
43
|
-
const getSigningCosmwasmClient = async ({ rpcEndpoint, signer, defaultTypes = stargate_1.defaultRegistryTypes }) => {
|
|
44
|
-
const { registry, aminoTypes } = (0, exports.getSigningCosmwasmClientOptions)({
|
|
45
|
-
defaultTypes
|
|
46
|
-
});
|
|
47
|
-
const client = await stargate_1.SigningStargateClient.connectWithSigner(rpcEndpoint, signer, {
|
|
48
|
-
registry: registry,
|
|
49
|
-
aminoTypes
|
|
50
|
-
});
|
|
51
|
-
return client;
|
|
52
|
-
};
|
|
53
|
-
exports.getSigningCosmwasmClient = getSigningCosmwasmClient;
|
package/esm/cosmos/client.js
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { Registry } from "@cosmjs/proto-signing";
|
|
2
|
-
import { AminoTypes, SigningStargateClient } from "@cosmjs/stargate";
|
|
3
|
-
import * as cosmosAuthzV1beta1TxRegistry from "./authz/v1beta1/tx.registry";
|
|
4
|
-
import * as cosmosBankV1beta1TxRegistry from "./bank/v1beta1/tx.registry";
|
|
5
|
-
import * as cosmosDistributionV1beta1TxRegistry from "./distribution/v1beta1/tx.registry";
|
|
6
|
-
import * as cosmosFeegrantV1beta1TxRegistry from "./feegrant/v1beta1/tx.registry";
|
|
7
|
-
import * as cosmosGovV1TxRegistry from "./gov/v1/tx.registry";
|
|
8
|
-
import * as cosmosGovV1beta1TxRegistry from "./gov/v1beta1/tx.registry";
|
|
9
|
-
import * as cosmosGroupV1TxRegistry from "./group/v1/tx.registry";
|
|
10
|
-
import * as cosmosStakingV1beta1TxRegistry from "./staking/v1beta1/tx.registry";
|
|
11
|
-
import * as cosmosVestingV1beta1TxRegistry from "./vesting/v1beta1/tx.registry";
|
|
12
|
-
export const cosmosAminoConverters = {};
|
|
13
|
-
export const cosmosProtoRegistry = [...cosmosAuthzV1beta1TxRegistry.registry, ...cosmosBankV1beta1TxRegistry.registry, ...cosmosDistributionV1beta1TxRegistry.registry, ...cosmosFeegrantV1beta1TxRegistry.registry, ...cosmosGovV1TxRegistry.registry, ...cosmosGovV1beta1TxRegistry.registry, ...cosmosGroupV1TxRegistry.registry, ...cosmosStakingV1beta1TxRegistry.registry, ...cosmosVestingV1beta1TxRegistry.registry];
|
|
14
|
-
export const getSigningCosmosClientOptions = () => {
|
|
15
|
-
const registry = new Registry([...cosmosProtoRegistry]);
|
|
16
|
-
const aminoTypes = new AminoTypes({
|
|
17
|
-
...cosmosAminoConverters
|
|
18
|
-
});
|
|
19
|
-
return {
|
|
20
|
-
registry,
|
|
21
|
-
aminoTypes
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
export const getSigningCosmosClient = async ({ rpcEndpoint, signer }) => {
|
|
25
|
-
const { registry, aminoTypes } = getSigningCosmosClientOptions();
|
|
26
|
-
const client = await SigningStargateClient.connectWithSigner(rpcEndpoint, signer, {
|
|
27
|
-
registry: registry,
|
|
28
|
-
aminoTypes
|
|
29
|
-
});
|
|
30
|
-
return client;
|
|
31
|
-
};
|
package/esm/cosmwasm/client.js
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { Registry } from "@cosmjs/proto-signing";
|
|
2
|
-
import { defaultRegistryTypes, AminoTypes, SigningStargateClient } from "@cosmjs/stargate";
|
|
3
|
-
import * as cosmwasmWasmV1TxRegistry from "./wasm/v1/tx.registry";
|
|
4
|
-
export const cosmwasmAminoConverters = {};
|
|
5
|
-
export const cosmwasmProtoRegistry = [...cosmwasmWasmV1TxRegistry.registry];
|
|
6
|
-
export const getSigningCosmwasmClientOptions = ({ defaultTypes = defaultRegistryTypes } = {}) => {
|
|
7
|
-
const registry = new Registry([...defaultTypes, ...cosmwasmProtoRegistry]);
|
|
8
|
-
const aminoTypes = new AminoTypes({
|
|
9
|
-
...cosmwasmAminoConverters
|
|
10
|
-
});
|
|
11
|
-
return {
|
|
12
|
-
registry,
|
|
13
|
-
aminoTypes
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
export const getSigningCosmwasmClient = async ({ rpcEndpoint, signer, defaultTypes = defaultRegistryTypes }) => {
|
|
17
|
-
const { registry, aminoTypes } = getSigningCosmwasmClientOptions({
|
|
18
|
-
defaultTypes
|
|
19
|
-
});
|
|
20
|
-
const client = await SigningStargateClient.connectWithSigner(rpcEndpoint, signer, {
|
|
21
|
-
registry: registry,
|
|
22
|
-
aminoTypes
|
|
23
|
-
});
|
|
24
|
-
return client;
|
|
25
|
-
};
|
package/esm/ibc/client.js
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { Registry } from "@cosmjs/proto-signing";
|
|
2
|
-
import { defaultRegistryTypes, AminoTypes, SigningStargateClient } from "@cosmjs/stargate";
|
|
3
|
-
import * as ibcApplicationsTransferV1TxRegistry from "./applications/transfer/v1/tx.registry";
|
|
4
|
-
import * as ibcCoreChannelV1TxRegistry from "./core/channel/v1/tx.registry";
|
|
5
|
-
import * as ibcCoreClientV1TxRegistry from "./core/client/v1/tx.registry";
|
|
6
|
-
import * as ibcCoreConnectionV1TxRegistry from "./core/connection/v1/tx.registry";
|
|
7
|
-
export const ibcAminoConverters = {};
|
|
8
|
-
export const ibcProtoRegistry = [...ibcApplicationsTransferV1TxRegistry.registry, ...ibcCoreChannelV1TxRegistry.registry, ...ibcCoreClientV1TxRegistry.registry, ...ibcCoreConnectionV1TxRegistry.registry];
|
|
9
|
-
export const getSigningIbcClientOptions = ({ defaultTypes = defaultRegistryTypes } = {}) => {
|
|
10
|
-
const registry = new Registry([...defaultTypes, ...ibcProtoRegistry]);
|
|
11
|
-
const aminoTypes = new AminoTypes({
|
|
12
|
-
...ibcAminoConverters
|
|
13
|
-
});
|
|
14
|
-
return {
|
|
15
|
-
registry,
|
|
16
|
-
aminoTypes
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
export const getSigningIbcClient = async ({ rpcEndpoint, signer, defaultTypes = defaultRegistryTypes }) => {
|
|
20
|
-
const { registry, aminoTypes } = getSigningIbcClientOptions({
|
|
21
|
-
defaultTypes
|
|
22
|
-
});
|
|
23
|
-
const client = await SigningStargateClient.connectWithSigner(rpcEndpoint, signer, {
|
|
24
|
-
registry: registry,
|
|
25
|
-
aminoTypes
|
|
26
|
-
});
|
|
27
|
-
return client;
|
|
28
|
-
};
|
package/esm/injective/client.js
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { Registry } from "@cosmjs/proto-signing";
|
|
2
|
-
import { defaultRegistryTypes, AminoTypes, SigningStargateClient } from "@cosmjs/stargate";
|
|
3
|
-
import * as injectiveAuctionV1beta1TxRegistry from "./auction/v1beta1/tx.registry";
|
|
4
|
-
import * as injectiveExchangeV1beta1TxRegistry from "./exchange/v1beta1/tx.registry";
|
|
5
|
-
import * as injectiveInsuranceV1beta1TxRegistry from "./insurance/v1beta1/tx.registry";
|
|
6
|
-
import * as injectiveOcrV1beta1TxRegistry from "./ocr/v1beta1/tx.registry";
|
|
7
|
-
import * as injectiveOracleV1beta1TxRegistry from "./oracle/v1beta1/tx.registry";
|
|
8
|
-
import * as injectivePeggyV1MsgsRegistry from "./peggy/v1/msgs.registry";
|
|
9
|
-
import * as injectivePermissionsV1beta1TxRegistry from "./permissions/v1beta1/tx.registry";
|
|
10
|
-
import * as injectiveTokenfactoryV1beta1TxRegistry from "./tokenfactory/v1beta1/tx.registry";
|
|
11
|
-
import * as injectiveWasmxV1TxRegistry from "./wasmx/v1/tx.registry";
|
|
12
|
-
export const injectiveAminoConverters = {};
|
|
13
|
-
export const injectiveProtoRegistry = [...injectiveAuctionV1beta1TxRegistry.registry, ...injectiveExchangeV1beta1TxRegistry.registry, ...injectiveInsuranceV1beta1TxRegistry.registry, ...injectiveOcrV1beta1TxRegistry.registry, ...injectiveOracleV1beta1TxRegistry.registry, ...injectivePeggyV1MsgsRegistry.registry, ...injectivePermissionsV1beta1TxRegistry.registry, ...injectiveTokenfactoryV1beta1TxRegistry.registry, ...injectiveWasmxV1TxRegistry.registry];
|
|
14
|
-
export const getSigningInjectiveClientOptions = ({ defaultTypes = defaultRegistryTypes } = {}) => {
|
|
15
|
-
const registry = new Registry([...defaultTypes, ...injectiveProtoRegistry]);
|
|
16
|
-
const aminoTypes = new AminoTypes({
|
|
17
|
-
...injectiveAminoConverters
|
|
18
|
-
});
|
|
19
|
-
return {
|
|
20
|
-
registry,
|
|
21
|
-
aminoTypes
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
export const getSigningInjectiveClient = async ({ rpcEndpoint, signer, defaultTypes = defaultRegistryTypes }) => {
|
|
25
|
-
const { registry, aminoTypes } = getSigningInjectiveClientOptions({
|
|
26
|
-
defaultTypes
|
|
27
|
-
});
|
|
28
|
-
const client = await SigningStargateClient.connectWithSigner(rpcEndpoint, signer, {
|
|
29
|
-
registry: registry,
|
|
30
|
-
aminoTypes
|
|
31
|
-
});
|
|
32
|
-
return client;
|
|
33
|
-
};
|
package/ibc/client.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { GeneratedType, Registry, OfflineSigner } from "@cosmjs/proto-signing";
|
|
2
|
-
import { AminoTypes, SigningStargateClient } from "@cosmjs/stargate";
|
|
3
|
-
import { HttpEndpoint } from "@cosmjs/tendermint-rpc";
|
|
4
|
-
export declare const ibcAminoConverters: {};
|
|
5
|
-
export declare const ibcProtoRegistry: ReadonlyArray<[string, GeneratedType]>;
|
|
6
|
-
export declare const getSigningIbcClientOptions: ({ defaultTypes }?: {
|
|
7
|
-
defaultTypes?: ReadonlyArray<[string, GeneratedType]>;
|
|
8
|
-
}) => {
|
|
9
|
-
registry: Registry;
|
|
10
|
-
aminoTypes: AminoTypes;
|
|
11
|
-
};
|
|
12
|
-
export declare const getSigningIbcClient: ({ rpcEndpoint, signer, defaultTypes }: {
|
|
13
|
-
rpcEndpoint: string | HttpEndpoint;
|
|
14
|
-
signer: OfflineSigner;
|
|
15
|
-
defaultTypes?: ReadonlyArray<[string, GeneratedType]>;
|
|
16
|
-
}) => Promise<SigningStargateClient>;
|
package/ibc/client.js
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.getSigningIbcClient = exports.getSigningIbcClientOptions = exports.ibcProtoRegistry = exports.ibcAminoConverters = void 0;
|
|
27
|
-
const proto_signing_1 = require("@cosmjs/proto-signing");
|
|
28
|
-
const stargate_1 = require("@cosmjs/stargate");
|
|
29
|
-
const ibcApplicationsTransferV1TxRegistry = __importStar(require("./applications/transfer/v1/tx.registry"));
|
|
30
|
-
const ibcCoreChannelV1TxRegistry = __importStar(require("./core/channel/v1/tx.registry"));
|
|
31
|
-
const ibcCoreClientV1TxRegistry = __importStar(require("./core/client/v1/tx.registry"));
|
|
32
|
-
const ibcCoreConnectionV1TxRegistry = __importStar(require("./core/connection/v1/tx.registry"));
|
|
33
|
-
exports.ibcAminoConverters = {};
|
|
34
|
-
exports.ibcProtoRegistry = [...ibcApplicationsTransferV1TxRegistry.registry, ...ibcCoreChannelV1TxRegistry.registry, ...ibcCoreClientV1TxRegistry.registry, ...ibcCoreConnectionV1TxRegistry.registry];
|
|
35
|
-
const getSigningIbcClientOptions = ({ defaultTypes = stargate_1.defaultRegistryTypes } = {}) => {
|
|
36
|
-
const registry = new proto_signing_1.Registry([...defaultTypes, ...exports.ibcProtoRegistry]);
|
|
37
|
-
const aminoTypes = new stargate_1.AminoTypes({
|
|
38
|
-
...exports.ibcAminoConverters
|
|
39
|
-
});
|
|
40
|
-
return {
|
|
41
|
-
registry,
|
|
42
|
-
aminoTypes
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
|
-
exports.getSigningIbcClientOptions = getSigningIbcClientOptions;
|
|
46
|
-
const getSigningIbcClient = async ({ rpcEndpoint, signer, defaultTypes = stargate_1.defaultRegistryTypes }) => {
|
|
47
|
-
const { registry, aminoTypes } = (0, exports.getSigningIbcClientOptions)({
|
|
48
|
-
defaultTypes
|
|
49
|
-
});
|
|
50
|
-
const client = await stargate_1.SigningStargateClient.connectWithSigner(rpcEndpoint, signer, {
|
|
51
|
-
registry: registry,
|
|
52
|
-
aminoTypes
|
|
53
|
-
});
|
|
54
|
-
return client;
|
|
55
|
-
};
|
|
56
|
-
exports.getSigningIbcClient = getSigningIbcClient;
|
package/injective/client.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { GeneratedType, Registry, OfflineSigner } from "@cosmjs/proto-signing";
|
|
2
|
-
import { AminoTypes, SigningStargateClient } from "@cosmjs/stargate";
|
|
3
|
-
import { HttpEndpoint } from "@cosmjs/tendermint-rpc";
|
|
4
|
-
export declare const injectiveAminoConverters: {};
|
|
5
|
-
export declare const injectiveProtoRegistry: ReadonlyArray<[string, GeneratedType]>;
|
|
6
|
-
export declare const getSigningInjectiveClientOptions: ({ defaultTypes }?: {
|
|
7
|
-
defaultTypes?: ReadonlyArray<[string, GeneratedType]>;
|
|
8
|
-
}) => {
|
|
9
|
-
registry: Registry;
|
|
10
|
-
aminoTypes: AminoTypes;
|
|
11
|
-
};
|
|
12
|
-
export declare const getSigningInjectiveClient: ({ rpcEndpoint, signer, defaultTypes }: {
|
|
13
|
-
rpcEndpoint: string | HttpEndpoint;
|
|
14
|
-
signer: OfflineSigner;
|
|
15
|
-
defaultTypes?: ReadonlyArray<[string, GeneratedType]>;
|
|
16
|
-
}) => Promise<SigningStargateClient>;
|
package/injective/client.js
DELETED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.getSigningInjectiveClient = exports.getSigningInjectiveClientOptions = exports.injectiveProtoRegistry = exports.injectiveAminoConverters = void 0;
|
|
27
|
-
const proto_signing_1 = require("@cosmjs/proto-signing");
|
|
28
|
-
const stargate_1 = require("@cosmjs/stargate");
|
|
29
|
-
const injectiveAuctionV1beta1TxRegistry = __importStar(require("./auction/v1beta1/tx.registry"));
|
|
30
|
-
const injectiveExchangeV1beta1TxRegistry = __importStar(require("./exchange/v1beta1/tx.registry"));
|
|
31
|
-
const injectiveInsuranceV1beta1TxRegistry = __importStar(require("./insurance/v1beta1/tx.registry"));
|
|
32
|
-
const injectiveOcrV1beta1TxRegistry = __importStar(require("./ocr/v1beta1/tx.registry"));
|
|
33
|
-
const injectiveOracleV1beta1TxRegistry = __importStar(require("./oracle/v1beta1/tx.registry"));
|
|
34
|
-
const injectivePeggyV1MsgsRegistry = __importStar(require("./peggy/v1/msgs.registry"));
|
|
35
|
-
const injectivePermissionsV1beta1TxRegistry = __importStar(require("./permissions/v1beta1/tx.registry"));
|
|
36
|
-
const injectiveTokenfactoryV1beta1TxRegistry = __importStar(require("./tokenfactory/v1beta1/tx.registry"));
|
|
37
|
-
const injectiveWasmxV1TxRegistry = __importStar(require("./wasmx/v1/tx.registry"));
|
|
38
|
-
exports.injectiveAminoConverters = {};
|
|
39
|
-
exports.injectiveProtoRegistry = [...injectiveAuctionV1beta1TxRegistry.registry, ...injectiveExchangeV1beta1TxRegistry.registry, ...injectiveInsuranceV1beta1TxRegistry.registry, ...injectiveOcrV1beta1TxRegistry.registry, ...injectiveOracleV1beta1TxRegistry.registry, ...injectivePeggyV1MsgsRegistry.registry, ...injectivePermissionsV1beta1TxRegistry.registry, ...injectiveTokenfactoryV1beta1TxRegistry.registry, ...injectiveWasmxV1TxRegistry.registry];
|
|
40
|
-
const getSigningInjectiveClientOptions = ({ defaultTypes = stargate_1.defaultRegistryTypes } = {}) => {
|
|
41
|
-
const registry = new proto_signing_1.Registry([...defaultTypes, ...exports.injectiveProtoRegistry]);
|
|
42
|
-
const aminoTypes = new stargate_1.AminoTypes({
|
|
43
|
-
...exports.injectiveAminoConverters
|
|
44
|
-
});
|
|
45
|
-
return {
|
|
46
|
-
registry,
|
|
47
|
-
aminoTypes
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
exports.getSigningInjectiveClientOptions = getSigningInjectiveClientOptions;
|
|
51
|
-
const getSigningInjectiveClient = async ({ rpcEndpoint, signer, defaultTypes = stargate_1.defaultRegistryTypes }) => {
|
|
52
|
-
const { registry, aminoTypes } = (0, exports.getSigningInjectiveClientOptions)({
|
|
53
|
-
defaultTypes
|
|
54
|
-
});
|
|
55
|
-
const client = await stargate_1.SigningStargateClient.connectWithSigner(rpcEndpoint, signer, {
|
|
56
|
-
registry: registry,
|
|
57
|
-
aminoTypes
|
|
58
|
-
});
|
|
59
|
-
return client;
|
|
60
|
-
};
|
|
61
|
-
exports.getSigningInjectiveClient = getSigningInjectiveClient;
|