@dhedge/trading-widget 5.9.0 → 5.11.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.
Files changed (131) hide show
  1. package/README.md +17 -20
  2. package/complex-withdraw-asset-data-DKDPznHy.cjs +1 -0
  3. package/{complex-withdraw-asset-data-D8GMw8ql.js → complex-withdraw-asset-data-DzhKTztw.js} +119 -144
  4. package/const.cjs +1 -1
  5. package/const.js +32 -32
  6. package/core-kit/const/logger.d.ts +2 -5
  7. package/core-kit/const/storage.d.ts +0 -1
  8. package/core-kit/hooks/state/action.d.ts +0 -1
  9. package/core-kit/hooks/trading/deposit-v2/deposit-transaction/use-deposit-common.d.ts +1 -1
  10. package/core-kit/hooks/trading/deposit-v2/use-get-vault-deposit-transaction-arguments.d.ts +1 -1
  11. package/core-kit/hooks/trading/deposit-v2/use-vault-deposit-tokens.d.ts +5 -1
  12. package/core-kit/hooks/trading/index.d.ts +0 -1
  13. package/core-kit/hooks/web3/index.d.ts +0 -1
  14. package/core-kit/types/state.types.d.ts +0 -1
  15. package/core-kit/types/trading-panel.types.d.ts +2 -3
  16. package/core-kit/utils/deposit.d.ts +1 -1
  17. package/core-kit/utils/index.d.ts +0 -1
  18. package/{storage-C0zg_Mfy.js → gmx-BroDb_q_.js} +156 -160
  19. package/gmx-CLiWBUH_.cjs +1 -0
  20. package/index.cjs +1 -1
  21. package/index.d.ts +4 -2
  22. package/index.js +6592 -5772
  23. package/limit-orders/common/network-check-button.d.ts +7 -0
  24. package/limit-orders/common/network-check-button.hooks.d.ts +4 -0
  25. package/limit-orders/common/utils.d.ts +2 -0
  26. package/limit-orders/index.d.ts +9 -5
  27. package/limit-orders/limit-buys/component/input-group/input-amount-field.d.ts +2 -0
  28. package/limit-orders/limit-buys/component/input-group/input-amount-field.hooks.d.ts +11 -0
  29. package/limit-orders/limit-buys/component/input-group/input-group.d.ts +2 -0
  30. package/limit-orders/limit-buys/component/input-group/input-group.hooks.d.ts +15 -0
  31. package/limit-orders/limit-buys/component/input-group/slippage-deadline-fields.d.ts +2 -0
  32. package/limit-orders/limit-buys/component/input-group/slippage-deadline-fields.hooks.d.ts +5 -0
  33. package/limit-orders/limit-buys/component/input-group/token-select-overlay.d.ts +10 -0
  34. package/limit-orders/limit-buys/component/limit-buy-button/sign-limit-buy-button.d.ts +6 -0
  35. package/limit-orders/limit-buys/component/limit-buy-button/sign-limit-buy-button.hooks.d.ts +6 -0
  36. package/limit-orders/limit-buys/component/limit-buy-content.d.ts +6 -0
  37. package/limit-orders/limit-buys/component/limit-buy-order-modal.d.ts +14 -0
  38. package/limit-orders/limit-buys/component/limit-buy-overlay.d.ts +11 -0
  39. package/limit-orders/limit-buys/component/terms-confirmation.d.ts +8 -0
  40. package/limit-orders/limit-buys/constants.d.ts +55 -0
  41. package/limit-orders/limit-buys/hooks/state.d.ts +2 -0
  42. package/limit-orders/limit-buys/hooks/use-approve-and-sign-limit-buy.d.ts +7 -0
  43. package/limit-orders/limit-buys/hooks/use-is-permit2-approved.d.ts +1 -0
  44. package/limit-orders/limit-buys/hooks/use-permit2-approve-transaction.d.ts +5 -0
  45. package/limit-orders/limit-buys/hooks/use-sign-limit-buy-order.d.ts +3 -0
  46. package/limit-orders/limit-buys/providers/state-provider/reducer.d.ts +3 -0
  47. package/limit-orders/limit-buys/providers/state-provider/state-provider.d.ts +6 -0
  48. package/limit-orders/limit-buys/providers/state-provider/state-provider.types.d.ts +69 -0
  49. package/limit-orders/limit-buys/providers/translation-provider/index.d.ts +3 -0
  50. package/limit-orders/limit-buys/providers/translation-provider/translation-provider.d.ts +4 -0
  51. package/limit-orders/limit-buys/providers/translation-provider/translation-provider.defaults.d.ts +2 -0
  52. package/limit-orders/limit-buys/providers/translation-provider/translation-provider.hooks.d.ts +1 -0
  53. package/limit-orders/limit-buys/providers/translation-provider/translation-provider.types.d.ts +29 -0
  54. package/limit-orders/limit-buys/types.d.ts +27 -0
  55. package/limit-orders/limit-buys/utils.d.ts +4 -0
  56. package/limit-orders/{component → limit-sells/component}/input-group/input-group.hooks.d.ts +0 -2
  57. package/limit-orders/{component → limit-sells/component}/limit-order-button/approve-and-create-limit-order-button.d.ts +1 -0
  58. package/limit-orders/{component → limit-sells/component}/limit-order-content.d.ts +1 -1
  59. package/limit-orders/{component → limit-sells/component}/limit-order-overlay.d.ts +3 -3
  60. package/limit-orders/{component/limit-order-modal.d.ts → limit-sells/component/limit-sell-order-modal.d.ts} +5 -5
  61. package/limit-orders/limit-sells/component/terms-confirmation.d.ts +8 -0
  62. package/limit-orders/{constants.d.ts → limit-sells/constants.d.ts} +2 -2
  63. package/limit-orders/limit-sells/hooks/use-invalidate-limit-sell-order-query.d.ts +1 -0
  64. package/limit-orders/{hooks → limit-sells/hooks}/use-on-limit-order-settled.d.ts +1 -1
  65. package/limit-orders/{hooks/use-user-limit-order.d.ts → limit-sells/hooks/use-user-limit-sell-order.d.ts} +3 -3
  66. package/limit-orders/{providers → limit-sells/providers}/state-provider/reducer.d.ts +1 -1
  67. package/limit-orders/{providers → limit-sells/providers}/state-provider/state-provider.d.ts +1 -1
  68. package/limit-orders/{providers → limit-sells/providers}/state-provider/state-provider.types.d.ts +1 -1
  69. package/limit-orders/{utils.d.ts → limit-sells/utils.d.ts} +3 -3
  70. package/limit-orders/providers/translation-provider/translation-provider.types.d.ts +1 -0
  71. package/package.json +1 -1
  72. package/{derive-BmKPodpX.js → storage-CSc9iE5L.js} +6 -2
  73. package/storage-DHoO5PX_.cjs +1 -0
  74. package/style.css +1 -1
  75. package/trading-widget/components/deposit/button/valid-deposit-button/valid-deposit-button.hooks.d.ts +0 -2
  76. package/trading-widget/components/widget/widget-buttons/index.d.ts +1 -0
  77. package/trading-widget/components/widget/widget-buttons/limit-buy-button/limit-buy-button.d.ts +3 -0
  78. package/trading-widget/components/widget/widget-overlay/hyper-evm-warning-overlay/hyper-evm-warning-overlay.d.ts +3 -0
  79. package/trading-widget/components/widget/widget-overlay/index.d.ts +2 -0
  80. package/trading-widget/components/widget/widget-overlay/limit-buys-overlay/limit-buys-overlay.d.ts +3 -0
  81. package/trading-widget/components/widget/widget-overlay/limit-buys-overlay/limit-buys-overlay.hooks.d.ts +17 -0
  82. package/trading-widget/components/widget/widget-settings/index.d.ts +0 -1
  83. package/trading-widget/components/widget/widget-settings/slippage-selector/slippage-selector.hooks.d.ts +0 -1
  84. package/trading-widget/hooks/index.d.ts +3 -1
  85. package/trading-widget/hooks/use-display-limit-buy-overlay.d.ts +1 -0
  86. package/trading-widget/hooks/use-open-limit-buys-overlay.d.ts +4 -0
  87. package/trading-widget/hooks/use-show-hyper-evm-deposit-warning.d.ts +1 -0
  88. package/trading-widget/providers/config-provider/config-provider.types.d.ts +3 -0
  89. package/trading-widget/providers/translation-provider/translation-provider.types.d.ts +7 -5
  90. package/trading-widget/types/overlay.types.d.ts +2 -0
  91. package/utils.cjs +1 -1
  92. package/utils.js +32 -34
  93. package/complex-withdraw-asset-data-DSjzOaBD.cjs +0 -1
  94. package/core-kit/hooks/trading/deposit-v2/deposit-transaction/use-batch-approve-transaction.d.ts +0 -141
  95. package/core-kit/hooks/trading/deposit-v2/deposit-transaction/use-batch-deposit.d.ts +0 -1
  96. package/core-kit/hooks/trading/trade-handlers/use-batch-trading-settle-handler.d.ts +0 -5
  97. package/core-kit/hooks/trading/use-is-batch-contract-writes-trading.d.ts +0 -1
  98. package/core-kit/hooks/web3/use-custom-send-calls.d.ts +0 -14
  99. package/core-kit/hooks/web3/use-is-batch-contract-writes-supported.d.ts +0 -1
  100. package/core-kit/utils/batch-transactions.d.ts +0 -2
  101. package/derive-CsdqSZEg.cjs +0 -1
  102. package/limit-orders/component/input-group/terms-content.d.ts +0 -6
  103. package/limit-orders/component/limit-order-button/network-check-button.d.ts +0 -2
  104. package/limit-orders/component/limit-order-button/network-check-button.hooks.d.ts +0 -4
  105. package/limit-orders/hooks/use-invalidate-limit-order-query.d.ts +0 -1
  106. package/storage-B9jNfIvl.cjs +0 -1
  107. package/trading-widget/components/deposit/button/batch-trade-button.d.ts +0 -2
  108. package/trading-widget/components/widget/widget-settings/batch-transactions-switch/batch-transactions-switch.d.ts +0 -2
  109. package/trading-widget/components/widget/widget-settings/batch-transactions-switch/batch-transactions-switch.hooks.d.ts +0 -1
  110. package/trading-widget/hooks/use-trading-type-name.d.ts +0 -2
  111. /package/limit-orders/{component/common → common}/action-button.d.ts +0 -0
  112. /package/limit-orders/{component/common → common}/asset-price-panel.d.ts +0 -0
  113. /package/limit-orders/{component/common → common}/modal-content.d.ts +0 -0
  114. /package/limit-orders/{component/common → common}/modal-dialog.d.ts +0 -0
  115. /package/limit-orders/{component/common → common}/percentage-input.d.ts +0 -0
  116. /package/limit-orders/{component/common → common}/price-input.d.ts +0 -0
  117. /package/limit-orders/{component/common → common}/switch-panel.d.ts +0 -0
  118. /package/limit-orders/{component → limit-sells/component}/input-group/input-group.d.ts +0 -0
  119. /package/limit-orders/{component → limit-sells/component}/limit-order-button/approve-and-create-limit-order-button.hooks.d.ts +0 -0
  120. /package/limit-orders/{component → limit-sells/component}/limit-order-button/limit-order-delete-button.d.ts +0 -0
  121. /package/limit-orders/{component → limit-sells/component}/limit-order-button/limit-order-delete-button.hooks.d.ts +0 -0
  122. /package/limit-orders/{component → limit-sells/component}/limit-order-content.hooks.d.ts +0 -0
  123. /package/limit-orders/{component → limit-sells/component}/limit-order-modal.hooks.d.ts +0 -0
  124. /package/limit-orders/{hooks → limit-sells/hooks}/state.d.ts +0 -0
  125. /package/limit-orders/{hooks → limit-sells/hooks}/use-approve-and-create-limit-order.d.ts +0 -0
  126. /package/limit-orders/{hooks → limit-sells/hooks}/use-create-limit-order-transaction.d.ts +0 -0
  127. /package/limit-orders/{hooks → limit-sells/hooks}/use-existing-limit-order-default-prices.d.ts +0 -0
  128. /package/limit-orders/{hooks → limit-sells/hooks}/use-is-limit-order-approved.d.ts +0 -0
  129. /package/limit-orders/{hooks → limit-sells/hooks}/use-limit-order-approve-transaction.d.ts +0 -0
  130. /package/limit-orders/{hooks → limit-sells/hooks}/use-limit-order-covered-vault-amount.d.ts +0 -0
  131. /package/limit-orders/{hooks → limit-sells/hooks}/use-listen-limit-order-execution.d.ts +0 -0
@@ -3,14 +3,14 @@ import { formatDuration as j } from "date-fns";
3
3
  import { erc20Abi as Q } from "viem";
4
4
  const J = "0x0000000000000000000000000000000000000000", Be = BigInt(
5
5
  "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
6
- ), l = 18, Ue = "1000000000000000000", We = 59e3, Fe = 3e4, ke = 15e3, He = 5e3, ee = 400, Ve = ee * 1.2, Ge = j({ hours: 24 }), Ye = {
6
+ ), l = 18, Ue = "1000000000000000000", We = 59e3, Fe = 3e4, ke = 15e3, Ve = 5e3, ee = 400, He = ee * 1.2, Ye = j({ hours: 24 }), Ge = {
7
7
  address: J,
8
8
  symbol: "",
9
9
  chainId: t.id,
10
10
  depositParams: { customTokens: [] },
11
11
  withdrawParams: { customTokens: [] },
12
12
  deprecated: !1
13
- }, Ke = "deposit", ze = 0.5, te = 0, Xe = 0.5, qe = 0.02, Ze = 0.5, $e = [te], je = "withdrawSafe", Qe = "initWithdrawal", Je = "unrollAndClaim", et = "completeWithdrawal", tt = 3e7, at = 1.25, nt = 1e4, st = 13e3, it = 3, rt = 2e4, pt = 15e3, dt = {
13
+ }, Ke = "deposit", ze = 0.5, te = 0, Xe = 0.5, qe = 0.02, Ze = 0.5, $e = [te], je = "withdrawSafe", Qe = "initWithdrawal", Je = "unrollAndClaim", et = "completeWithdrawal", tt = 3e7, at = 1.25, nt = 1e4, st = 13e3, it = 3, pt = 2e4, rt = 15e3, dt = {
14
14
  [a.id]: a,
15
15
  [i.id]: i,
16
16
  [t.id]: t,
@@ -76,7 +76,7 @@ const J = "0x0000000000000000000000000000000000000000", Be = BigInt(
76
76
  USD: 2,
77
77
  ETH: 4,
78
78
  BTC: 6
79
- }, ct = ["USDC", "USDT"], d = {
79
+ }, ct = ["USDC", "USDT"], r = {
80
80
  INVEST_INPUT_FOCUS: "invest_input_focus",
81
81
  APPROVED_TOKEN: "approved_token",
82
82
  DEPOSIT: "deposit",
@@ -88,39 +88,40 @@ const J = "0x0000000000000000000000000000000000000000", Be = BigInt(
88
88
  WITHDRAWAL: "withdrawal",
89
89
  TRADING_SETTINGS_OPENED: "trading_settings_opened",
90
90
  INFINITE_ALLOWANCE_CHANGE: "infinite_allowance_change",
91
- BATCH_TRANSACTIONS_CHANGE: "batch_transactions_change",
92
91
  CREATE_LIMIT_SELL_ORDER: "limit_order_create",
92
+ CREATE_LIMIT_BUY_ORDER: "limit_buy_order_create",
93
93
  OPEN_LIMIT_SELL_VIEW: "open_limit_sell_view",
94
+ OPEN_LIMIT_BUY_VIEW: "open_limit_buy_view",
94
95
  LIMIT_ORDER_WITHDRAW: "limit_order_withdraw",
95
96
  LIMIT_ORDER_WITHDRAW_DELETE: "limit_order_withdraw_delete"
96
97
  }, Tt = {
97
- approve: [d.APPROVED_TOKEN],
98
- deposit: [d.DEPOSIT],
98
+ approve: [r.APPROVED_TOKEN],
99
+ deposit: [r.DEPOSIT],
99
100
  multi_withdraw: [
100
- d.WITHDRAWAL,
101
- d.MULTI_ASSET_WITHDRAW
101
+ r.WITHDRAWAL,
102
+ r.MULTI_ASSET_WITHDRAW
102
103
  ],
103
104
  single_withdraw: [
104
- d.WITHDRAWAL,
105
- d.SINGLE_ASSET_WITHDRAW
105
+ r.WITHDRAWAL,
106
+ r.SINGLE_ASSET_WITHDRAW
106
107
  ],
107
108
  single_withdraw_and_claim: [
108
- d.WITHDRAWAL,
109
- d.SINGLE_ASSET_WITHDRAW_AND_CLAIM
109
+ r.WITHDRAWAL,
110
+ r.SINGLE_ASSET_WITHDRAW_AND_CLAIM
110
111
  ],
111
- claim: [d.CLAIM],
112
- swap: [d.SWAP],
113
- create_limit_sell_order: [d.CREATE_LIMIT_SELL_ORDER],
114
- limit_order_withdraw: [d.LIMIT_ORDER_WITHDRAW],
112
+ claim: [r.CLAIM],
113
+ swap: [r.SWAP],
114
+ create_limit_sell_order: [r.CREATE_LIMIT_SELL_ORDER],
115
+ create_limit_buy_order: [r.CREATE_LIMIT_BUY_ORDER],
116
+ limit_order_withdraw: [r.LIMIT_ORDER_WITHDRAW],
115
117
  delete_limit_order_withdraw: [
116
- d.LIMIT_ORDER_WITHDRAW_DELETE
118
+ r.LIMIT_ORDER_WITHDRAW_DELETE
117
119
  ]
118
120
  }, bt = {
119
121
  IS_INFINITE: { NAME: "is_infinite", TYPE: "number" },
120
122
  SYMBOL: { NAME: "symbol", TYPE: "string" },
121
123
  CHAIN_ID: { NAME: "chain_id", TYPE: "number" },
122
124
  ADDRESS: { NAME: "address", TYPE: "string" },
123
- IS_BATCH_TRANSACTIONS_ENABLED: { NAME: "is_batch_enabled", TYPE: "number" },
124
125
  SOURCE: { NAME: "source", TYPE: "string" }
125
126
  };
126
127
  var o = /* @__PURE__ */ ((u) => (u.ETH = "ETH", u.MAINNET = "MAINNET", u.POLYGON = "POLYGON", u.OE = "OPTIMISM", u.ARBI = "ARBITRUM", u.BASE = "BASE", u))(o || {});
@@ -167,10 +168,10 @@ const ft = {
167
168
  };
168
169
  o.ETH + "", a.id, o.MAINNET + "", a.id, o.POLYGON + "", i.id, o.OE + "", t.id, o.ARBI + "", s.id, o.BASE + "", n.id;
169
170
  a.id + "", t.id + "", i.id + "", s.id + "", n.id + "", y.id + "";
170
- const S = "0x0000000000000000000000000000000000000000";
171
+ const I = "0x0000000000000000000000000000000000000000";
171
172
  BigInt("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");
172
173
  a.id + "", BigInt(100), t.id + "", BigInt(600), i.id + "", BigInt(600), n.id + "", BigInt(600), s.id + "", BigInt(5300);
173
- const I = "0x96D33bCF84DdE326014248E2896F79bbb9c13D6d", R = "0xbDd84294bC8299861A2121F749A25EFEb7168a32", w = "0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2", M = "0xffFb5fB14606EB3a548C113026355020dDF27535", h = "0x794a61358D6845594F94dc1DB02A252b5b4814aD", O = "0xA5679C4272A056Bb83f039961fae7D99C48529F5", g = "0x26a687e8244f1866E9Aa2D400c8b9957Aa8e6Ad4", v = "0x49Afe3abCf66CF09Fab86cb1139D8811C8afe56F", C = "0xf067575Eb60c7587C11e867907AA7284833704d1", ae = "0x59525b9b23adc475ef91d98dae06b568ba574ce5", _t = "0xa907504d7a4c415b4e6e1d0866d96afe8202f0e5", At = "0x1849324228d852a67eb7443e42d967e480ffe95d", L = "0xa238dd80c259a72e81d7e4664a9801593f98d1c5", P = "0xFcBEc28c43E356693971a24bf3F2Fd7D965E2ebA", ne = "0x07e144e336fcc3fe928a8a2a5714da64354c1aab", x = "0x5e61a079A178f0E5784107a4963baAe0c5a680c6", N = "0x794a61358D6845594F94dc1DB02A252b5b4814aD", B = "0x2Ed1bd7f66e47113672f3870308b5E867C5bb743", U = "0x3bFE2a472d2964Ea4070725b7Fb0A868b3f08b63", W = "0xfdc7b8bFe0DD3513Cc669bB8d601Cb83e2F69cB0", se = "0x8dFf5E27EA6b7AC08EbFdf9eB090F32ee9a30fcf", F = "0x794a61358D6845594F94dc1DB02A252b5b4814aD", k = "0x45b90480D6F643dE2f128db091A357C3c90399f2", H = "0xB71410736d2C8F2DAf30dA9D332dA10534d2624d", ie = "0x615037C2Df6FA97634c5aD2d8144708b9dd3B176", re = "0x47065E508433E22d73Be3c5B61EB9abafD450364", Dt = "0x4F754e0F0924afD74980886b0B479Fa1D7C58D0D";
174
+ const S = "0x96D33bCF84DdE326014248E2896F79bbb9c13D6d", R = "0xbDd84294bC8299861A2121F749A25EFEb7168a32", w = "0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2", M = "0xffFb5fB14606EB3a548C113026355020dDF27535", h = "0x794a61358D6845594F94dc1DB02A252b5b4814aD", O = "0xA5679C4272A056Bb83f039961fae7D99C48529F5", g = "0x26a687e8244f1866E9Aa2D400c8b9957Aa8e6Ad4", v = "0x49Afe3abCf66CF09Fab86cb1139D8811C8afe56F", C = "0xf067575Eb60c7587C11e867907AA7284833704d1", ae = "0x59525b9b23adc475ef91d98dae06b568ba574ce5", _t = "0xa907504d7a4c415b4e6e1d0866d96afe8202f0e5", At = "0x1849324228d852a67eb7443e42d967e480ffe95d", L = "0xa238dd80c259a72e81d7e4664a9801593f98d1c5", P = "0xFcBEc28c43E356693971a24bf3F2Fd7D965E2ebA", ne = "0x07e144e336fcc3fe928a8a2a5714da64354c1aab", x = "0x5e61a079A178f0E5784107a4963baAe0c5a680c6", N = "0x794a61358D6845594F94dc1DB02A252b5b4814aD", B = "0x2Ed1bd7f66e47113672f3870308b5E867C5bb743", U = "0x3bFE2a472d2964Ea4070725b7Fb0A868b3f08b63", W = "0xfdc7b8bFe0DD3513Cc669bB8d601Cb83e2F69cB0", se = "0x8dFf5E27EA6b7AC08EbFdf9eB090F32ee9a30fcf", F = "0x794a61358D6845594F94dc1DB02A252b5b4814aD", k = "0x45b90480D6F643dE2f128db091A357C3c90399f2", V = "0xB71410736d2C8F2DAf30dA9D332dA10534d2624d", ie = "0x615037C2Df6FA97634c5aD2d8144708b9dd3B176", pe = "0x47065E508433E22d73Be3c5B61EB9abafD450364", Dt = "0x4F754e0F0924afD74980886b0B479Fa1D7C58D0D";
174
175
  a.id + "", s.id + "", n.id + "", t.id + "", i.id + "";
175
176
  a.id + "", s.id + "", n.id + "", t.id + "", i.id + "";
176
177
  a.id + "", s.id + "", n.id + "", t.id + "", i.id + "";
@@ -965,7 +966,7 @@ const E = [
965
966
  stateMutability: "nonpayable",
966
967
  type: "function"
967
968
  }
968
- ], pe = [
969
+ ], re = [
969
970
  {
970
971
  inputs: [
971
972
  {
@@ -1431,7 +1432,7 @@ const E = [
1431
1432
  }
1432
1433
  ]
1433
1434
  }
1434
- ], St = [
1435
+ ], It = [
1435
1436
  {
1436
1437
  type: "tuple",
1437
1438
  components: [
@@ -4088,9 +4089,9 @@ const E = [
4088
4089
  stateMutability: "nonpayable",
4089
4090
  type: "function"
4090
4091
  }
4091
- ], It = {
4092
+ ], St = {
4092
4093
  [a.id]: {
4093
- factory: I,
4094
+ factory: S,
4094
4095
  easySwapperV2: R,
4095
4096
  aaveLendingPoolV3: w
4096
4097
  },
@@ -4099,7 +4100,7 @@ const E = [
4099
4100
  aaveLendingPoolV2: se,
4100
4101
  aaveLendingPoolV3: F,
4101
4102
  easySwapperV2: k,
4102
- limitOrder: H
4103
+ limitOrder: V
4103
4104
  },
4104
4105
  [t.id]: {
4105
4106
  factory: x,
@@ -4123,10 +4124,10 @@ const E = [
4123
4124
  },
4124
4125
  [y.id]: {
4125
4126
  factory: ie,
4126
- easySwapperV2: re
4127
+ easySwapperV2: pe
4127
4128
  }
4128
4129
  }, Rt = {
4129
- factory: pe,
4130
+ factory: re,
4130
4131
  aaveLendingPoolV2: E,
4131
4132
  aaveLendingPoolV3: E,
4132
4133
  rewardDistribution: ye,
@@ -4296,12 +4297,12 @@ const E = [
4296
4297
  }, gt = [
4297
4298
  ...Object.keys(_e),
4298
4299
  ...Object.keys(De)
4299
- ], e = 18, V = {
4300
+ ], e = 18, H = {
4300
4301
  address: "0xff970a61a04b1ca14834a43f5de4533ebddb5cc8",
4301
4302
  symbol: "USDCe",
4302
4303
  decimals: 6,
4303
4304
  value: ""
4304
- }, p = {
4305
+ }, d = {
4305
4306
  address: "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
4306
4307
  symbol: "USDC",
4307
4308
  decimals: 6,
@@ -4356,7 +4357,7 @@ const E = [
4356
4357
  symbol: "USDbC",
4357
4358
  decimals: 6,
4358
4359
  value: ""
4359
- }, G = {
4360
+ }, Y = {
4360
4361
  address: "0x4200000000000000000000000000000000000006",
4361
4362
  symbol: "WETH",
4362
4363
  decimals: e,
@@ -4366,7 +4367,7 @@ const E = [
4366
4367
  symbol: "cbETH",
4367
4368
  decimals: e,
4368
4369
  value: ""
4369
- }, Se = {
4370
+ }, Ie = {
4370
4371
  address: "0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf",
4371
4372
  symbol: "cbBTC",
4372
4373
  decimals: 8,
@@ -4386,12 +4387,12 @@ const E = [
4386
4387
  symbol: "wstETH",
4387
4388
  decimals: e,
4388
4389
  value: ""
4389
- }, Y = {
4390
+ }, G = {
4390
4391
  address: "0x7F5c764cBc14f9669B88837ca1490cCa17c31607",
4391
4392
  symbol: "USDCe",
4392
4393
  decimals: 6,
4393
4394
  value: ""
4394
- }, Ie = {
4395
+ }, Se = {
4395
4396
  address: "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85",
4396
4397
  symbol: "USDC",
4397
4398
  decimals: 6,
@@ -4421,22 +4422,22 @@ const E = [
4421
4422
  symbol: "WBTC",
4422
4423
  decimals: 8,
4423
4424
  value: ""
4424
- }, Ht = {
4425
+ }, Vt = {
4425
4426
  address: "0xe405de8f52ba7559f9df3c368500b6e6ae6cee49",
4426
4427
  symbol: "sETH",
4427
4428
  decimals: e,
4428
4429
  value: ""
4429
- }, Vt = {
4430
+ }, Ht = {
4430
4431
  address: "0x350a791bfc2c21f9ed5d10980dad2e2638ffa7f6",
4431
4432
  symbol: "LINK",
4432
4433
  decimals: e,
4433
4434
  value: ""
4434
- }, Gt = {
4435
+ }, Yt = {
4435
4436
  address: "0x6c84a8f1c29108F47a79964b5Fe888D4f4D0dE40",
4436
4437
  symbol: "tBTC",
4437
4438
  decimals: e,
4438
4439
  value: ""
4439
- }, Yt = {
4440
+ }, Gt = {
4440
4441
  address: "0x1F32b1c2345538c0c6f582fCB022739c4A194Ebb",
4441
4442
  symbol: "wstETH",
4442
4443
  decimals: e,
@@ -4512,32 +4513,32 @@ const E = [
4512
4513
  decimals: 6,
4513
4514
  value: ""
4514
4515
  }, qt = {
4515
- address: S,
4516
+ address: I,
4516
4517
  symbol: "all",
4517
4518
  decimals: e,
4518
4519
  value: ""
4519
4520
  }, Zt = {
4520
- [V.address.toLowerCase()]: "USDCe",
4521
- [Y.address.toLowerCase()]: "USDCe",
4521
+ [H.address.toLowerCase()]: "USDCe",
4522
+ [G.address.toLowerCase()]: "USDCe",
4522
4523
  [X.address.toLowerCase()]: "USDCe"
4523
4524
  }, $t = {
4524
4525
  [a.id]: Z,
4525
4526
  [t.id]: K,
4526
- [n.id]: G,
4527
+ [n.id]: Y,
4527
4528
  [i.id]: z,
4528
4529
  [s.id]: A
4529
4530
  }, jt = {
4530
4531
  [t.id]: f,
4531
- [n.id]: Se,
4532
+ [n.id]: Ie,
4532
4533
  [i.id]: q,
4533
4534
  [s.id]: c,
4534
4535
  [a.id]: $
4535
4536
  }, Qt = {
4536
4537
  [t.id]: {
4537
4538
  WETH: K,
4538
- USDC: Ie,
4539
+ USDC: Se,
4539
4540
  WBTC: f,
4540
- USDCe: Y,
4541
+ USDCe: G,
4541
4542
  USDT: Re,
4542
4543
  DAI: we
4543
4544
  },
@@ -4552,12 +4553,12 @@ const E = [
4552
4553
  },
4553
4554
  [s.id]: {
4554
4555
  WETH: A,
4555
- USDC: p,
4556
+ USDC: d,
4556
4557
  WBTC: c,
4557
- USDCe: V
4558
+ USDCe: H
4558
4559
  },
4559
4560
  [n.id]: {
4560
- WETH: G,
4561
+ WETH: Y,
4561
4562
  USDC: Ee
4562
4563
  },
4563
4564
  [a.id]: {
@@ -4600,7 +4601,7 @@ const E = [
4600
4601
  [s.id]: 300,
4601
4602
  [i.id]: 300,
4602
4603
  [y.id]: 300
4603
- }, ra = {
4604
+ }, pa = {
4604
4605
  DEPOSIT: "deposit",
4605
4606
  DEPOSIT_CUSTOM: "depositWithCustomCooldown",
4606
4607
  NATIVE: "nativeDeposit",
@@ -4609,12 +4610,12 @@ const E = [
4609
4610
  ZAP_NATIVE_DEPOSIT_CUSTOM: "zapNativeDepositWithCustomCooldown",
4610
4611
  ZAP_DEPOSIT: "zapDeposit",
4611
4612
  ZAP_DEPOSIT_CUSTOM: "zapDepositWithCustomCooldown"
4612
- }, pa = [
4613
+ }, ra = [
4613
4614
  "multi_withdraw",
4614
4615
  "swap",
4615
4616
  "claim",
4616
4617
  "single_withdraw_and_claim"
4617
- ], r = {
4618
+ ], p = {
4618
4619
  SOL_ARBITRUM: "0x09400d9db990d5ed3f35d7be61dfaeb900af03c9",
4619
4620
  BTC_ARBITRUM: "0x47c031236e19d024b42f8ae6780e44a573170703",
4620
4621
  WETH_WETH_ARBITRUM: "0x70d95587d40a2caf56bd97485ab3eec10bee6336",
@@ -4631,33 +4632,29 @@ const E = [
4631
4632
  GOLD_ARBITRUM: "0xeb28ad1a2e497f4acc5d9b87e7b496623c93061e",
4632
4633
  AAVE_ARBITRUM: "0x1cbba6346f110c8a5ea739ef2d1eb182990e4eb2"
4633
4634
  }, da = Object.values(
4634
- r
4635
+ p
4635
4636
  ), oa = {
4636
- [r.SOL_ARBITRUM]: p,
4637
- [r.BTC_ARBITRUM]: c,
4638
- [r.WETH_WETH_ARBITRUM]: A,
4639
- [r.WETH_USDC_ARBITRUM]: A,
4640
- [r.SUI_ARBITRUM]: p,
4641
- [r.DOGE_ARBITRUM]: p,
4642
- [r.XRP_ARBITRUM]: p,
4643
- [r.CRV_ARBITRUM]: p,
4644
- [r.HYPE_ARBITRUM]: p,
4645
- [r.BNB_ARBITRUM]: p,
4646
- [r.LINK_ARBITRUM]: p,
4647
- [r.PUMP_ARBITRUM]: p,
4648
- [r.BNB_WBTC_USDC_ARBITRUM]: p,
4649
- [r.GOLD_ARBITRUM]: p,
4650
- [r.AAVE_ARBITRUM]: p
4637
+ [p.SOL_ARBITRUM]: d,
4638
+ [p.BTC_ARBITRUM]: c,
4639
+ [p.WETH_WETH_ARBITRUM]: A,
4640
+ [p.WETH_USDC_ARBITRUM]: A,
4641
+ [p.SUI_ARBITRUM]: d,
4642
+ [p.DOGE_ARBITRUM]: d,
4643
+ [p.XRP_ARBITRUM]: d,
4644
+ [p.CRV_ARBITRUM]: d,
4645
+ [p.HYPE_ARBITRUM]: d,
4646
+ [p.BNB_ARBITRUM]: d,
4647
+ [p.LINK_ARBITRUM]: d,
4648
+ [p.PUMP_ARBITRUM]: d,
4649
+ [p.BNB_WBTC_USDC_ARBITRUM]: d,
4650
+ [p.GOLD_ARBITRUM]: d,
4651
+ [p.AAVE_ARBITRUM]: d
4651
4652
  }, ya = {
4652
- "0x9a916e55f5b67226734cd7b465d51bce1d11a89a": p
4653
+ "0x9a916e55f5b67226734cd7b465d51bce1d11a89a": d
4653
4654
  // USDmny Arbitrum
4654
- }, ua = {
4655
- IS_BATCH_TRANSACTIONS_ENABLED: "isBatchTransactionsEnabled",
4656
- REFERRER: "referrer",
4657
- REF_POOL: "ref_pool"
4658
4655
  };
4659
4656
  export {
4660
- Tt as $,
4657
+ nt as $,
4661
4658
  ut as A,
4662
4659
  Zt as B,
4663
4660
  dt as C,
@@ -4665,10 +4662,10 @@ export {
4665
4662
  et as E,
4666
4663
  Qe as F,
4667
4664
  Je as G,
4668
- Ye as H,
4669
- Ve as I,
4665
+ Ge as H,
4666
+ He as I,
4670
4667
  We as J,
4671
- He as K,
4668
+ Ve as K,
4672
4669
  Qt as L,
4673
4670
  na as M,
4674
4671
  aa as N,
@@ -4679,105 +4676,104 @@ export {
4679
4676
  wt as S,
4680
4677
  at as T,
4681
4678
  da as U,
4682
- r as V,
4679
+ p as V,
4683
4680
  oa as W,
4684
4681
  ya as X,
4685
4682
  Ae as Y,
4686
4683
  De as Z,
4687
- ua as _,
4684
+ Tt as _,
4688
4685
  ia as a,
4689
- xt as a$,
4690
- nt as a0,
4691
- yt as a1,
4692
- qt as a2,
4693
- Be as a3,
4694
- tt as a4,
4695
- Jt as a5,
4696
- ke as a6,
4697
- Ot as a7,
4698
- ct as a8,
4699
- fe as a9,
4700
- Y as aA,
4701
- X as aB,
4702
- Se as aC,
4703
- Ut as aD,
4704
- we as aE,
4705
- ge as aF,
4706
- Nt as aG,
4707
- Vt as aH,
4708
- Kt as aI,
4709
- D as aJ,
4710
- ye as aK,
4711
- Ht as aL,
4712
- kt as aM,
4713
- vt as aN,
4714
- Wt as aO,
4715
- Gt as aP,
4716
- zt as aQ,
4717
- Bt as aR,
4718
- p as aS,
4719
- Ee as aT,
4720
- ve as aU,
4721
- Ie as aV,
4722
- Me as aW,
4723
- Lt as aX,
4724
- Ce as aY,
4725
- Re as aZ,
4726
- Oe as a_,
4727
- rt as aa,
4728
- bt as ab,
4729
- d as ac,
4730
- _e as ad,
4731
- gt as ae,
4732
- jt as af,
4733
- $t as ag,
4734
- be as ah,
4735
- Rt as ai,
4736
- It as aj,
4737
- S as ak,
4738
- Et as al,
4739
- St as am,
4740
- e as an,
4741
- _t as ao,
4742
- At as ap,
4743
- pe as aq,
4744
- de as ar,
4745
- me as as,
4746
- oe as at,
4747
- ue as au,
4748
- ft as av,
4749
- Dt as aw,
4750
- ce as ax,
4751
- E as ay,
4752
- V as az,
4686
+ c as a$,
4687
+ yt as a0,
4688
+ qt as a1,
4689
+ Be as a2,
4690
+ tt as a3,
4691
+ Jt as a4,
4692
+ ke as a5,
4693
+ Ot as a6,
4694
+ ct as a7,
4695
+ fe as a8,
4696
+ pt as a9,
4697
+ X as aA,
4698
+ Ie as aB,
4699
+ Ut as aC,
4700
+ we as aD,
4701
+ ge as aE,
4702
+ Nt as aF,
4703
+ Ht as aG,
4704
+ Kt as aH,
4705
+ D as aI,
4706
+ ye as aJ,
4707
+ Vt as aK,
4708
+ kt as aL,
4709
+ vt as aM,
4710
+ Wt as aN,
4711
+ Yt as aO,
4712
+ zt as aP,
4713
+ Bt as aQ,
4714
+ d as aR,
4715
+ Ee as aS,
4716
+ ve as aT,
4717
+ Se as aU,
4718
+ Me as aV,
4719
+ Lt as aW,
4720
+ Ce as aX,
4721
+ Re as aY,
4722
+ Oe as aZ,
4723
+ xt as a_,
4724
+ bt as aa,
4725
+ r as ab,
4726
+ _e as ac,
4727
+ gt as ad,
4728
+ jt as ae,
4729
+ $t as af,
4730
+ be as ag,
4731
+ Rt as ah,
4732
+ St as ai,
4733
+ I as aj,
4734
+ Et as ak,
4735
+ It as al,
4736
+ e as am,
4737
+ _t as an,
4738
+ At as ao,
4739
+ re as ap,
4740
+ de as aq,
4741
+ me as ar,
4742
+ oe as as,
4743
+ ue as at,
4744
+ ft as au,
4745
+ Dt as av,
4746
+ ce as aw,
4747
+ E as ax,
4748
+ H as ay,
4749
+ G as az,
4753
4750
  J as b,
4754
- c as b0,
4755
- $ as b1,
4756
- f as b2,
4757
- q as b3,
4758
- A as b4,
4759
- G as b5,
4760
- Z as b6,
4761
- K as b7,
4762
- z as b8,
4763
- he as b9,
4764
- Pt as ba,
4765
- Ct as bb,
4766
- Ft as bc,
4767
- Yt as bd,
4768
- Xt as be,
4751
+ $ as b0,
4752
+ f as b1,
4753
+ q as b2,
4754
+ A as b3,
4755
+ Y as b4,
4756
+ Z as b5,
4757
+ K as b6,
4758
+ z as b7,
4759
+ he as b8,
4760
+ Pt as b9,
4761
+ Ct as ba,
4762
+ Ft as bb,
4763
+ Gt as bc,
4764
+ Xt as bd,
4769
4765
  ot as c,
4770
- pa as d,
4766
+ ra as d,
4771
4767
  mt as e,
4772
4768
  lt as f,
4773
4769
  Ke as g,
4774
4770
  te as h,
4775
4771
  $e as i,
4776
4772
  Mt as j,
4777
- Ge as k,
4773
+ Ye as k,
4778
4774
  m as l,
4779
4775
  je as m,
4780
- pt as n,
4776
+ rt as n,
4781
4777
  Xe as o,
4782
4778
  Fe as p,
4783
4779
  l as q,
@@ -4789,5 +4785,5 @@ export {
4789
4785
  it as w,
4790
4786
  ze as x,
4791
4787
  Te as y,
4792
- ra as z
4788
+ pa as z
4793
4789
  };