@injectivelabs/sdk-ts 1.19.28 → 1.20.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.
Files changed (57) hide show
  1. package/dist/cjs/{BaseGrpcConsumer-CZTAcNtS.d.cts → BaseGrpcConsumer-Cuk8uOQM.d.cts} +1 -1
  2. package/dist/cjs/{MsgSetDenomMetadata-BfixGdXn.cjs → MsgSetDenomMetadata-DfRRsMJP.cjs} +29 -11
  3. package/dist/cjs/client/abacus.d.cts +4 -4
  4. package/dist/cjs/client/chain.d.cts +9 -9
  5. package/dist/cjs/client/indexer.d.cts +9 -9
  6. package/dist/cjs/client/olp.d.cts +4 -4
  7. package/dist/cjs/client/tcAbacus.d.cts +4 -4
  8. package/dist/cjs/client/wasm.d.cts +3 -3
  9. package/dist/cjs/core/accounts.d.cts +9 -9
  10. package/dist/cjs/core/modules.cjs +1 -1
  11. package/dist/cjs/core/modules.d.cts +9 -9
  12. package/dist/cjs/core/tx.d.cts +9 -9
  13. package/dist/cjs/cosmjs.d.cts +2 -2
  14. package/dist/cjs/exports.d.cts +2 -2
  15. package/dist/{esm/index-DJtcTm1W.d.ts → cjs/index-BRxKHGQG.d.cts} +91 -10
  16. package/dist/cjs/{index-kODUUZaZ.d.cts → index-BSAoPX-y.d.cts} +1 -1
  17. package/dist/cjs/{index-C00Yswov.d.cts → index-BX2CHo8F.d.cts} +1 -1
  18. package/dist/cjs/{index-xSXf-Ct4.d.cts → index-BY25JExH.d.cts} +1 -1
  19. package/dist/cjs/{index-DD6UhYzr.d.cts → index-CHvc_fra.d.cts} +1 -1
  20. package/dist/cjs/{index-Dvfd07fs.d.cts → index-DRF-_f0u.d.cts} +6 -6
  21. package/dist/cjs/{index-B-Q3ov9G.d.cts → index-SSQxU55J.d.cts} +1 -1
  22. package/dist/cjs/{index-C1irUA2G.d.cts → index-rqzTzOSi.d.cts} +212 -131
  23. package/dist/cjs/index.cjs +1 -1
  24. package/dist/cjs/index.d.cts +9 -9
  25. package/dist/cjs/service.d.cts +3 -3
  26. package/dist/{esm/tx_pb-DG9OU_HE.d.ts → cjs/tx_pb-juo9yexz.d.cts} +4 -4
  27. package/dist/cjs/types.d.cts +2 -2
  28. package/dist/cjs/utils.d.cts +9 -9
  29. package/dist/esm/{BaseGrpcConsumer-BptQBj1l.d.ts → BaseGrpcConsumer-DqOMr000.d.ts} +1 -1
  30. package/dist/esm/{MsgSetDenomMetadata-CCP5OcIu.js → MsgSetDenomMetadata-ohjlOX6p.js} +28 -10
  31. package/dist/esm/client/abacus.d.ts +4 -4
  32. package/dist/esm/client/chain.d.ts +9 -9
  33. package/dist/esm/client/indexer.d.ts +9 -9
  34. package/dist/esm/client/olp.d.ts +4 -4
  35. package/dist/esm/client/tcAbacus.d.ts +4 -4
  36. package/dist/esm/client/wasm.d.ts +3 -3
  37. package/dist/esm/core/accounts.d.ts +9 -9
  38. package/dist/esm/core/modules.d.ts +9 -9
  39. package/dist/esm/core/modules.js +1 -1
  40. package/dist/esm/core/tx.d.ts +9 -9
  41. package/dist/esm/cosmjs.d.ts +2 -2
  42. package/dist/esm/exports.d.ts +2 -2
  43. package/dist/esm/{index-Cngh1mkP.d.ts → index-CYXjNxQX.d.ts} +1 -1
  44. package/dist/esm/{index-CGvR0jtI.d.ts → index-CjKVwgtI.d.ts} +1 -1
  45. package/dist/esm/{index-Db2hVJPi.d.ts → index-D4shu73e.d.ts} +1 -1
  46. package/dist/esm/{index-BYx0x8ba.d.ts → index-DW-13dLc.d.ts} +1 -1
  47. package/dist/{cjs/index-C15wCMY6.d.cts → esm/index-UJT9ZTxj.d.ts} +91 -10
  48. package/dist/esm/{index-BSAdUyzU.d.ts → index-YcClSIrG.d.ts} +1 -1
  49. package/dist/esm/{index-DXDWfiZz.d.ts → index-a4qvY7Ae.d.ts} +212 -131
  50. package/dist/esm/{index-sT17wTBx.d.ts → index-oaaCFohL.d.ts} +6 -6
  51. package/dist/esm/index.d.ts +9 -9
  52. package/dist/esm/index.js +1 -1
  53. package/dist/esm/service.d.ts +3 -3
  54. package/dist/{cjs/tx_pb-BGCQilBY.d.cts → esm/tx_pb-CEGobIZP.d.ts} +4 -4
  55. package/dist/esm/types.d.ts +2 -2
  56. package/dist/esm/utils.d.ts +9 -9
  57. package/package.json +6 -6
@@ -1,4 +1,4 @@
1
- import { d as Coin$1, i as SignDoc$1, s as TxRaw$1 } from "./tx_pb-DG9OU_HE.js";
1
+ import { d as Coin$1, i as SignDoc$1, s as TxRaw$1 } from "./tx_pb-juo9yexz.cjs";
2
2
  import { AminoSignResponse as AminoSignResponse$1 } from "@cosmjs/amino";
3
3
  import { DirectSignResponse as DirectSignResponse$1 } from "@cosmjs/proto-signing";
4
4
 
@@ -2018,7 +2018,7 @@ interface StreamManagerEvents<TResponse> {
2018
2018
  };
2019
2019
  }
2020
2020
  //#endregion
2021
- //#region ../../node_modules/.pnpm/@injectivelabs+core-proto-ts-v2@1.19.0/node_modules/@injectivelabs/core-proto-ts-v2/generated/injective/oracle/v1beta1/oracle_pb.d.ts
2021
+ //#region ../../node_modules/.pnpm/@injectivelabs+core-proto-ts-v2@1.20.0/node_modules/@injectivelabs/core-proto-ts-v2/generated/injective/oracle/v1beta1/oracle_pb.d.ts
2022
2022
  /**
2023
2023
  * @generated from protobuf message injective.oracle.v1beta1.Params
2024
2024
  */
@@ -2031,14 +2031,71 @@ interface Params$1 {
2031
2031
  * @generated from protobuf field: string chainlink_verifier_proxy_contract = 2
2032
2032
  */
2033
2033
  chainlinkVerifierProxyContract: string;
2034
- /**
2035
- * @generated from protobuf field: bool accept_unverified_chainlink_data_streams_reports = 3
2036
- */
2037
- acceptUnverifiedChainlinkDataStreamsReports: boolean;
2038
2034
  /**
2039
2035
  * @generated from protobuf field: uint64 chainlink_data_streams_verification_gas_limit = 4
2040
2036
  */
2041
2037
  chainlinkDataStreamsVerificationGasLimit: bigint;
2038
+ /**
2039
+ * EVM hex address of the PythLazer verifier contract deployed on Injective.
2040
+ * Must be set via governance before PythPro price relaying is active.
2041
+ * (optional)
2042
+ *
2043
+ * @generated from protobuf field: string pyth_pro_verifier_contract = 5
2044
+ */
2045
+ pythProVerifierContract: string;
2046
+ /**
2047
+ * Gas cap for the eth_call used in PythPro update verification. Defaults to
2048
+ * 500000.
2049
+ *
2050
+ * @generated from protobuf field: uint64 pyth_pro_verification_gas_limit = 6
2051
+ */
2052
+ pythProVerificationGasLimit: bigint;
2053
+ /**
2054
+ * Fee in wei passed as msg.value to the PythLazer verifyUpdate call.
2055
+ * Update via governance if the on-chain contract fee changes. Defaults to 1.
2056
+ *
2057
+ * @generated from protobuf field: uint64 pyth_pro_verification_fee = 7
2058
+ */
2059
+ pythProVerificationFee: bigint;
2060
+ /**
2061
+ * seda_fast_params groups all SEDA Fast oracle configuration. An empty
2062
+ * public_key disables MsgRelaySedaFastPrices handling until set via
2063
+ * MsgUpdateParams.
2064
+ *
2065
+ * @generated from protobuf field: injective.oracle.v1beta1.SedaFastParams seda_fast_params = 8
2066
+ */
2067
+ sedaFastParams?: SedaFastParams;
2068
+ }
2069
+ /**
2070
+ * SedaFastParams holds the on-chain configuration for the SEDA Fast oracle.
2071
+ * See
2072
+ * https://docs.seda.xyz/home/for-developers/define-your-delivery-method/seda-fast
2073
+ *
2074
+ * @generated from protobuf message injective.oracle.v1beta1.SedaFastParams
2075
+ */
2076
+ interface SedaFastParams {
2077
+ /**
2078
+ * SEC1 secp256k1 public key published by SEDA Fast at GET /info.
2079
+ * Compressed (33 B, 0x02/0x03 prefix) or uncompressed (65 B, 0x04 prefix).
2080
+ * Empty value disables all MsgRelaySedaFastPrices handling.
2081
+ *
2082
+ * @generated from protobuf field: bytes public_key = 1
2083
+ */
2084
+ publicKey: Uint8Array;
2085
+ /**
2086
+ * Allowlist of execProgramIds whose dataResult.result payload is an ASCII
2087
+ * decimal string (e.g. "384.48255"), parsed as LegacyDec.
2088
+ *
2089
+ * @generated from protobuf field: repeated string simple_program_ids = 2
2090
+ */
2091
+ simpleProgramIds: string[];
2092
+ /**
2093
+ * Allowlist of execProgramIds whose dataResult.result payload is a UTF-8
2094
+ * JSON object containing {price:{mantissa,expo},...}.
2095
+ *
2096
+ * @generated from protobuf field: repeated string json_program_ids = 3
2097
+ */
2098
+ jsonProgramIds: string[];
2042
2099
  }
2043
2100
  /**
2044
2101
  * DEPRECATED! Oracle price from Band is no longer supported
@@ -2174,7 +2231,8 @@ declare enum OracleType {
2174
2231
  */
2175
2232
  Coinbase = 3,
2176
2233
  /**
2177
- * @generated from protobuf enum value: Chainlink = 4;
2234
+ * @deprecated
2235
+ * @generated from protobuf enum value: Chainlink = 4 [deprecated = true];
2178
2236
  */
2179
2237
  Chainlink = 4,
2180
2238
  /**
@@ -2214,11 +2272,31 @@ declare enum OracleType {
2214
2272
  * @generated from protobuf enum value: ChainlinkDataStreams = 13;
2215
2273
  */
2216
2274
  ChainlinkDataStreams = 13,
2275
+ /**
2276
+ * PythPro uses the Pyth Lazer high-frequency feed, verified via an on-chain
2277
+ * EVM contract.
2278
+ *
2279
+ * @generated from protobuf enum value: PythPro = 14;
2280
+ */
2281
+ PythPro = 14,
2282
+ /**
2283
+ * SedaFast relays prices from the SEDA Fast WebSocket stream, verified
2284
+ * on-chain via secp256k1 ECDSA over keccak256(dataResultId).
2285
+ * See
2286
+ * https://docs.seda.xyz/home/for-developers/define-your-delivery-method/seda-fast
2287
+ *
2288
+ * @generated from protobuf enum value: SedaFast = 15;
2289
+ */
2290
+ SedaFast = 15,
2217
2291
  }
2218
2292
  /**
2219
2293
  * @generated MessageType for protobuf message injective.oracle.v1beta1.Params
2220
2294
  */
2221
2295
  declare const Params$1 = new Params$Type();
2296
+ /**
2297
+ * @generated MessageType for protobuf message injective.oracle.v1beta1.SedaFastParams
2298
+ */
2299
+ declare const SedaFastParams = new SedaFastParams$Type();
2222
2300
  /**
2223
2301
  * @deprecated
2224
2302
  * @generated MessageType for protobuf message injective.oracle.v1beta1.BandOracleRequest
@@ -2230,7 +2308,7 @@ declare const BandOracleRequest = new BandOracleRequest$Type();
2230
2308
  */
2231
2309
  declare const BandIBCParams = new BandIBCParams$Type();
2232
2310
  //#endregion
2233
- //#region ../../node_modules/.pnpm/@injectivelabs+core-proto-ts-v2@1.19.0/node_modules/@injectivelabs/core-proto-ts-v2/generated/injective/exchange/v1beta1/exchange_pb.d.ts
2311
+ //#region ../../node_modules/.pnpm/@injectivelabs+core-proto-ts-v2@1.20.0/node_modules/@injectivelabs/core-proto-ts-v2/generated/injective/exchange/v1beta1/exchange_pb.d.ts
2234
2312
  /**
2235
2313
  * @generated from protobuf message injective.exchange.v1beta1.OpenNotionalCap
2236
2314
  */
@@ -2455,9 +2533,12 @@ interface Params {
2455
2533
  */
2456
2534
  exchangeAdmins: string[];
2457
2535
  /**
2458
- * inj_auction_max_cap defines the maximum cap for INJ sent to auction
2536
+ * inj_auction_max_cap defines the maximum cap for INJ sent to auction.
2537
+ * Deprecated: the cap is now driven by the auction module's InjBasketMaxCap;
2538
+ * this field is ignored.
2459
2539
  *
2460
- * @generated from protobuf field: string inj_auction_max_cap = 28
2540
+ * @deprecated
2541
+ * @generated from protobuf field: string inj_auction_max_cap = 28 [deprecated = true]
2461
2542
  */
2462
2543
  injAuctionMaxCap: string;
2463
2544
  /**
@@ -1,4 +1,4 @@
1
- import { i as SignDoc } from "./tx_pb-BGCQilBY.cjs";
1
+ import { i as SignDoc } from "./tx_pb-juo9yexz.cjs";
2
2
  import { AccountData, Algo, AminoSignResponse, OfflineAminoSigner, StdFee, StdSignDoc } from "@cosmjs/amino";
3
3
  import { AccountData as AccountData$1, Algo as Algo$1, DirectSignResponse, EncodeObject, OfflineDirectSigner, OfflineSigner, Registry } from "@cosmjs/proto-signing";
4
4
  import { Account, AminoTypes, DeliverTxResponse, GasPrice, StargateClient, StargateClientOptions } from "@cosmjs/stargate";
@@ -1,4 +1,4 @@
1
- import { t as BaseGrpcConsumer } from "./BaseGrpcConsumer-CZTAcNtS.cjs";
1
+ import { t as BaseGrpcConsumer } from "./BaseGrpcConsumer-Cuk8uOQM.cjs";
2
2
 
3
3
  //#region src/client/abacus/grpc/AbacusGrpcApi.d.ts
4
4
  declare class AbacusGrpcApi extends BaseGrpcConsumer {
@@ -1,4 +1,4 @@
1
- import { t as BaseGrpcConsumer } from "./BaseGrpcConsumer-CZTAcNtS.cjs";
1
+ import { t as BaseGrpcConsumer } from "./BaseGrpcConsumer-Cuk8uOQM.cjs";
2
2
 
3
3
  //#region ../../node_modules/.pnpm/@injectivelabs+tc-abacus-proto-ts-v2@1.18.6/node_modules/@injectivelabs/tc-abacus-proto-ts-v2/generated/injective_tc_abacus_rpc_pb.d.ts
4
4
 
@@ -1,4 +1,4 @@
1
- import { t as BaseGrpcConsumer } from "./BaseGrpcConsumer-CZTAcNtS.cjs";
1
+ import { t as BaseGrpcConsumer } from "./BaseGrpcConsumer-Cuk8uOQM.cjs";
2
2
 
3
3
  //#region ../../node_modules/.pnpm/@injectivelabs+olp-proto-ts-v2@1.17.6/node_modules/@injectivelabs/olp-proto-ts-v2/generated/goagen_olp_injective_dmm_v2_pb.d.ts
4
4
 
@@ -1,5 +1,5 @@
1
- import { u as Any } from "./tx_pb-BGCQilBY.cjs";
2
- import { f as GrpcWebTransportAdditionalOptions } from "./index-C15wCMY6.cjs";
1
+ import { u as Any } from "./tx_pb-juo9yexz.cjs";
2
+ import { f as GrpcWebTransportAdditionalOptions } from "./index-BRxKHGQG.cjs";
3
3
  import { SnakeCase } from "type-fest";
4
4
  import { ChainId, Coin } from "@injectivelabs/ts-types";
5
5
  import { Network, NetworkEndpoints } from "@injectivelabs/networks";
@@ -157,7 +157,7 @@ declare abstract class MsgBase<Params$1, ProtoRepresentation extends Object, Obj
157
157
  toDirectSignJSON(): string;
158
158
  }
159
159
  //#endregion
160
- //#region ../../node_modules/.pnpm/@injectivelabs+core-proto-ts-v2@1.19.0/node_modules/@injectivelabs/core-proto-ts-v2/generated/cosmwasm/wasm/v1/types_pb.d.ts
160
+ //#region ../../node_modules/.pnpm/@injectivelabs+core-proto-ts-v2@1.20.0/node_modules/@injectivelabs/core-proto-ts-v2/generated/cosmwasm/wasm/v1/types_pb.d.ts
161
161
  /**
162
162
  * AccessConfig access control type.
163
163
  *
@@ -940,7 +940,7 @@ declare class ExecPrivilegedArgOffChainVaultSubscribe extends ExecPrivilegedArgB
940
940
  type ExecArgs = ExecArgCW20Send | ExecArgSubmitVaa | ExecArgCreateRound | ExecArgCW20Transfer | ExecArgFundCampaign | ExecArgSwapMinOutput | ExecArgDepositTokens | ExecArgCreateCampaign | ExecArgSwapExactOutput | ExecArgInitiateTransfer | ExecArgUpdateGridConfig | ExecArgIncreaseAllowance | ExecArgRemoveGridStrategy | ExecArgCreateSpotGridStrategy | ExecArgCreatePerpGridStrategy | ExecArgCW20AdapterRedeemAndTransfer;
941
941
  type ExecPrivilegedArgs = ExecPrivilegedArgVaultRedeem | ExecPrivilegedArgVaultSubscribe | ExecPrivilegedArgOffChainVaultRedeem | ExecPrivilegedArgOffChainVaultSubscribe;
942
942
  //#endregion
943
- //#region ../../node_modules/.pnpm/@injectivelabs+core-proto-ts-v2@1.19.0/node_modules/@injectivelabs/core-proto-ts-v2/generated/injective/wasmx/v1/proposal_pb.d.ts
943
+ //#region ../../node_modules/.pnpm/@injectivelabs+core-proto-ts-v2@1.20.0/node_modules/@injectivelabs/core-proto-ts-v2/generated/injective/wasmx/v1/proposal_pb.d.ts
944
944
  /**
945
945
  * @generated from protobuf enum injective.wasmx.v1.FundingMode
946
946
  */
@@ -963,7 +963,7 @@ declare enum FundingMode {
963
963
  Dual = 3,
964
964
  }
965
965
  //#endregion
966
- //#region ../../node_modules/.pnpm/@injectivelabs+core-proto-ts-v2@1.19.0/node_modules/@injectivelabs/core-proto-ts-v2/generated/injective/wasmx/v1/wasmx_pb.d.ts
966
+ //#region ../../node_modules/.pnpm/@injectivelabs+core-proto-ts-v2@1.20.0/node_modules/@injectivelabs/core-proto-ts-v2/generated/injective/wasmx/v1/wasmx_pb.d.ts
967
967
  /**
968
968
  * @generated from protobuf message injective.wasmx.v1.Params
969
969
  */
@@ -1059,7 +1059,7 @@ declare const Params = new Params$Type();
1059
1059
  */
1060
1060
  declare const RegisteredContract = new RegisteredContract$Type();
1061
1061
  //#endregion
1062
- //#region ../../node_modules/.pnpm/@injectivelabs+core-proto-ts-v2@1.19.0/node_modules/@injectivelabs/core-proto-ts-v2/generated/injective/wasmx/v1/tx_pb.d.ts
1062
+ //#region ../../node_modules/.pnpm/@injectivelabs+core-proto-ts-v2@1.20.0/node_modules/@injectivelabs/core-proto-ts-v2/generated/injective/wasmx/v1/tx_pb.d.ts
1063
1063
  /**
1064
1064
  * MsgExecuteContractCompat submits the given message data to a smart contract,
1065
1065
  * compatible with EIP712
@@ -1,4 +1,4 @@
1
- import { Ct as TokenVerification, St as TokenType, bt as TokenSource, xt as TokenStatic } from "./index-C15wCMY6.cjs";
1
+ import { Ct as TokenVerification, St as TokenType, bt as TokenSource, xt as TokenStatic } from "./index-BRxKHGQG.cjs";
2
2
  import { Network } from "@injectivelabs/networks";
3
3
 
4
4
  //#region src/service/TokenPrice.d.ts