@stakekit/widget 0.0.275 → 0.0.276

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 (115) hide show
  1. package/dist/bundle/Codec-DJMwdgB9.js +1 -0
  2. package/dist/bundle/{MaybeAsync-Ckzmgrqr.js → MaybeAsync-DQF5lNPa.js} +1 -1
  3. package/dist/bundle/{build-BMMgmQqw.js → build-CcaOMxqz.js} +1 -1
  4. package/dist/bundle/{build-BNPMa-vT.js → build-Dzd_3NK0.js} +1 -1
  5. package/dist/bundle/{cardano-connector-DKXfujiC.js → cardano-connector-Vvgvc_SR.js} +2 -2
  6. package/dist/bundle/cosmos-connector-meta-Ck8JH12i.js +1 -0
  7. package/dist/bundle/{createConnector-BrxGIkT7.js → createConnector-pbKKdb_k.js} +2 -2
  8. package/dist/bundle/{images-BMN9-6Cl.js → images-qNtx67Rl.js} +1 -1
  9. package/dist/bundle/index.bundle.css +1 -1
  10. package/dist/bundle/index.bundle.js +52 -52
  11. package/dist/bundle/{ledger-connector-DmvRDcyN.js → ledger-connector-C4GRsXg2.js} +2 -2
  12. package/dist/bundle/{ledger-live-connector-meta-DDQWxYWw.js → ledger-live-connector-meta-DbuxO2yY.js} +1 -1
  13. package/dist/bundle/{misc-BLlpZ6ih.js → misc-BtIN6y6p.js} +1 -1
  14. package/dist/bundle/safe-connector-Bwgtw9lc.js +1 -0
  15. package/dist/bundle/solana-connector-CaIkxhTb.js +1 -0
  16. package/dist/bundle/{substrate-connector-BKHfZY_J.js → substrate-connector-BDRBscm1.js} +1 -1
  17. package/dist/bundle/{ton-connector-BRAeK9Od.js → ton-connector-CnNKzHtr.js} +2 -2
  18. package/dist/bundle/{transaction-ixhTmhET.js → transaction-DB7k-q8u.js} +1 -1
  19. package/dist/bundle/{tron-connector-Cr2j2DtV.js → tron-connector-C5KUqegL.js} +2 -2
  20. package/dist/bundle/tx-DygTArs0.js +1 -0
  21. package/dist/bundle/{wallet-manager-B2J-l9Hd.js → wallet-manager-C9fisl4Y.js} +2 -2
  22. package/dist/package/{Codec-Byh8iois.js → Codec-Bae2iyFH.js} +1 -1
  23. package/dist/package/{MaybeAsync-BZLAl2bE.js → MaybeAsync-DXWsPM9n.js} +1 -1
  24. package/dist/package/{build-jVm_Imk7.js → build-CYy6v80s.js} +1 -1
  25. package/dist/package/{build-BxgetfN5.js → build-GgZW6uL5.js} +2 -2
  26. package/dist/package/{cardano-connector-DPlMH8wa.js → cardano-connector-CchOT0g5.js} +3 -3
  27. package/dist/package/{cosmos-connector-meta-MR5we2DB.js → cosmos-connector-meta-Dtfahon-.js} +2 -2
  28. package/dist/package/{createConnector-c-2Ie22W.js → createConnector-D-p8-Ebj.js} +1 -10
  29. package/dist/package/{images-0ZMBvxwm.js → images-B0-tGuTw.js} +1 -1
  30. package/dist/package/index.package.css +70 -60
  31. package/dist/package/index.package.js +2084 -2174
  32. package/dist/package/{ledger-connector-Cf6yV8eL.js → ledger-connector-BhbNzz5z.js} +5 -5
  33. package/dist/package/{ledger-live-connector-meta-CIDYYFrg.js → ledger-live-connector-meta-C4-iTYoS.js} +3 -3
  34. package/dist/package/{misc-Erb32S3W.js → misc-DFHb1ynZ.js} +1 -1
  35. package/dist/package/{safe-connector-B8DuxkSp.js → safe-connector-CAgz56zm.js} +2 -2
  36. package/dist/package/{solana-connector-BgSU_Au0.js → solana-connector-C4-3zQ0W.js} +2 -2
  37. package/dist/package/{substrate-connector-CfrmkJYW.js → substrate-connector-WYvMgtq6.js} +2 -2
  38. package/dist/package/{ton-connector-tEtLRW28.js → ton-connector-DGVU07fk.js} +4 -4
  39. package/dist/package/{transaction-BaxD0vuC.js → transaction-BhfOz9qC.js} +2 -2
  40. package/dist/package/{tron-connector-DGBu9r65.js → tron-connector-Bx8ow-to.js} +4 -4
  41. package/dist/package/tx-DQaheDj7.js +3 -0
  42. package/dist/package/{wallet-manager-D5jYaNnr.js → wallet-manager-Bf0VaUFt.js} +10 -10
  43. package/dist/types/components/atoms/token-icon/network-icon-image/index.d.ts +2 -1
  44. package/dist/types/components/molecules/estimated-reward-amounts/index.d.ts +6 -0
  45. package/dist/types/domain/types/yields.d.ts +1 -2
  46. package/dist/types/hooks/api/use-dashboard-yield-catalog.d.ts +1 -2
  47. package/dist/types/hooks/api/use-multi-yields.d.ts +4 -2
  48. package/dist/types/hooks/api/use-yield-summaries.d.ts +0 -5
  49. package/dist/types/pages/complete/hooks/use-complete.hook.d.ts +2 -0
  50. package/dist/types/pages/complete/state/index.d.ts +2 -0
  51. package/dist/types/pages/components/page-cta.d.ts +11 -0
  52. package/dist/types/pages/details/earn-page/components/select-yield-section/styles.css.d.ts +1 -0
  53. package/dist/types/pages/details/earn-page/state/types.d.ts +7 -6
  54. package/dist/types/pages/details/earn-page/state/use-get-init-yield.d.ts +3 -1
  55. package/dist/types/pages/details/earn-page/state/use-init-yield.d.ts +3 -1
  56. package/dist/types/pages/review/hooks/use-action-review.hook.d.ts +2 -0
  57. package/dist/types/pages/review/hooks/use-pending-review.hook.d.ts +2 -0
  58. package/dist/types/pages/review/hooks/use-stake-review.hook.d.ts +6 -0
  59. package/dist/types/pages/review/hooks/use-unstake-review.hook.d.ts +2 -0
  60. package/dist/types/pages/review/pages/common-page/common.page.d.ts +7 -1
  61. package/dist/types/pages/review/pages/common-page/components/review-top-section.d.ts +5 -1
  62. package/dist/types/pages/steps/hooks/use-steps.hook.d.ts +2 -0
  63. package/dist/types/pages-dashboard/overview/earn-details/earn-details-formatters.d.ts +2 -0
  64. package/dist/types/pages-dashboard/position-details/components/position-details-stake-actions.d.ts +0 -4
  65. package/dist/types/translation/resources.d.ts +4 -0
  66. package/dist/types/utils/formatters.d.ts +1 -0
  67. package/dist/types/utils/index.d.ts +0 -1
  68. package/dist/website/assets/Codec-C8kGgbSv.js +1 -0
  69. package/dist/website/assets/{basic-AvmmQyRT.js → basic-CpcEs1GD.js} +1 -1
  70. package/dist/website/assets/{basic-B4L21H7R.js → basic-DU5w7kdv.js} +1 -1
  71. package/dist/website/assets/{browser-CD2gtnKg.js → browser-DvOBRbll.js} +1 -1
  72. package/dist/website/assets/{build-CEL1SZmV.js → build-Cr-Kp_EZ.js} +1 -1
  73. package/dist/website/assets/{build-DWB27dsZ.js → build-rt6xIlo_.js} +1 -1
  74. package/dist/website/assets/{cardano-connector-BNJvqm1_.js → cardano-connector-Cmbkas8k.js} +2 -2
  75. package/dist/website/assets/{core-NRhVeH3P.js → core-BCBOJeDN.js} +2 -2
  76. package/dist/website/assets/{createConnector-BcHSC56W.js → createConnector-mvBxgXDZ.js} +2 -2
  77. package/dist/website/assets/{dist-DRLRXyTA.js → dist-D00tXgFF.js} +1 -1
  78. package/dist/website/assets/{dist-CH4nKZqs.js → dist-cxjMJHcC.js} +1 -1
  79. package/dist/website/assets/en_US-IFPOGBSL-CZkuvGib.js +1 -0
  80. package/dist/website/assets/{esm-CX7v7VH6.js → esm-DwAVGOvO.js} +1 -1
  81. package/dist/website/assets/{exports-CZja-uIB.js → exports-Bd3_9cI2.js} +1 -1
  82. package/dist/website/assets/index-B7bJTB96.js +2044 -0
  83. package/dist/website/assets/{index-BmH6Rgkr.css → index-Cm1198kl.css} +1 -1
  84. package/dist/website/assets/{index.es-C4PtkNtC.js → index.es-pxgKNF2Q.js} +2 -2
  85. package/dist/website/assets/{ledger-connector-CQI9gS0Q.js → ledger-connector-Dl0ewoRv.js} +2 -2
  86. package/dist/website/assets/{receive-D87X5CO9.js → receive-Cb9X0-X3.js} +1 -1
  87. package/dist/website/assets/{registry-DFrHgvrU.js → registry-qGhX95wF.js} +1 -1
  88. package/dist/website/assets/safe-connector-fpbcUPyE.js +1 -0
  89. package/dist/website/assets/{socials-DlOk7Wls.js → socials-IzpjXHEF.js} +1 -1
  90. package/dist/website/assets/solana-connector-DMwmOYcE.js +1 -0
  91. package/dist/website/assets/{substrate-connector-DfJfljNz.js → substrate-connector-BjmH8Kfk.js} +1 -1
  92. package/dist/website/assets/{ton-connector-DA1-w57X.js → ton-connector-CDdILKhA.js} +2 -2
  93. package/dist/website/assets/{tron-connector-BTe1GdWY.js → tron-connector-CwTP3MOd.js} +3 -3
  94. package/dist/website/assets/tx-B1U8yUTO.js +1 -0
  95. package/dist/website/assets/{wallet-manager-pYzGZQVw.js → wallet-manager-cSwSAC9E.js} +4 -4
  96. package/dist/website/assets/{wui-qr-code-BgRoILGj.js → wui-qr-code-CulBm8yY.js} +1 -1
  97. package/dist/website/index.html +4 -4
  98. package/package.json +1 -1
  99. package/dist/bundle/Codec-FOvoaP2K.js +0 -1
  100. package/dist/bundle/cosmos-connector-meta-DO5i3lCd.js +0 -1
  101. package/dist/bundle/safe-connector-BgDwaGsX.js +0 -1
  102. package/dist/bundle/solana-connector-h5iUra8H.js +0 -1
  103. package/dist/bundle/tx-C-_PyHR9.js +0 -1
  104. package/dist/package/tx-DpCUKNN4.js +0 -3
  105. package/dist/types/hooks/api/use-token-list-yields.d.ts +0 -16
  106. package/dist/types/pages/components/footer-outlet/context.d.ts +0 -20
  107. package/dist/types/pages/components/footer-outlet/index.d.ts +0 -1
  108. package/dist/types/pages/components/footer-outlet/styles.css.d.ts +0 -1
  109. package/dist/types/pages-dashboard/common/components/footer-outlet/index.d.ts +0 -1
  110. package/dist/website/assets/Codec-D4K5RIsS.js +0 -1
  111. package/dist/website/assets/en_US-IFPOGBSL-DcKUUZBp.js +0 -1
  112. package/dist/website/assets/index-BEIkkHR9.js +0 -2044
  113. package/dist/website/assets/safe-connector-D5A7hhAW.js +0 -1
  114. package/dist/website/assets/solana-connector-C1qGbaG8.js +0 -1
  115. package/dist/website/assets/tx-zX2fdmDi.js +0 -1
@@ -1,13 +1,13 @@
1
1
  "use client";
2
2
  import { t as __commonJSMin } from "./chunk-DwwZaK3i.js";
3
- import { C as isLedgerDappBrowserProvider, G as right, K as Maybe, O as BigNumber$1, T as typeSafeObjectEntries, U as Either, W as left, n as BehaviorSubject, t as createConnector } from "./createConnector-c-2Ie22W.js";
4
- import { P as List, a as isEvmChain, g as map, t as configMeta, w as skNormalizeChainId } from "./ledger-live-connector-meta-CIDYYFrg.js";
5
- import { n as EitherAsync } from "./MaybeAsync-BZLAl2bE.js";
6
- import { t as images } from "./images-0ZMBvxwm.js";
3
+ import { D as BigNumber$1, G as Maybe, H as Either, S as isLedgerDappBrowserProvider, U as left, W as right, n as BehaviorSubject, t as createConnector, w as typeSafeObjectEntries } from "./createConnector-D-p8-Ebj.js";
4
+ import { P as List, a as isEvmChain, g as map, t as configMeta, w as skNormalizeChainId } from "./ledger-live-connector-meta-C4-iTYoS.js";
5
+ import { n as EitherAsync } from "./MaybeAsync-DXWsPM9n.js";
6
+ import { t as images } from "./images-B0-tGuTw.js";
7
7
  import { i as init_dist, t as Buffer } from "./dist-BI2Nn6FN.js";
8
8
  import { t as hexToBytes } from "./toBytes-5OHWnbJl.js";
9
9
  import { a as SubstrateNetworks, n as EvmNetworks, r as MiscNetworks, t as CosmosNetworks } from "./networks-C4wBuQAR.js";
10
- import { a as unsignedTonTransactionCodec, n as substratePayloadCodec, r as unsignedEVMTransactionCodec, s as unsignedTronTransactionCodec } from "./transaction-BaxD0vuC.js";
10
+ import { a as unsignedTonTransactionCodec, n as substratePayloadCodec, r as unsignedEVMTransactionCodec, s as unsignedTronTransactionCodec } from "./transaction-BhfOz9qC.js";
11
11
  import { c as serializeError, s as deserializeError, t as Transport } from "./Transport-B7iFMzn6.js";
12
12
  import { t as v4 } from "./v4-YIlmluLc.js";
13
13
  import { n as require_dist$1, t as require_dist$2 } from "./dist-BlAqJor4.js";
@@ -1,6 +1,6 @@
1
1
  "use client";
2
- import { B as init_tslib_es6, G as right, J as nothing, K as Maybe, O as BigNumber, P as __extends, W as left, b as getNetworkLogo, f as isFunction, q as just, s as Subscriber } from "./createConnector-c-2Ie22W.js";
3
- import { d as orderToNumber } from "./Codec-Byh8iois.js";
2
+ import { D as BigNumber, G as Maybe, K as just, N as __extends, U as left, W as right, f as isFunction, q as nothing, s as Subscriber, y as getNetworkLogo, z as init_tslib_es6 } from "./createConnector-D-p8-Ebj.js";
3
+ import { d as orderToNumber } from "./Codec-Bae2iyFH.js";
4
4
  import { S as InvalidAddressError, b as isAddress, h as slice, m as concatHex } from "./getAbiItem-BVX2yDB3.js";
5
5
  import { a as bytesToHex, c as toHex, f as hexToNumber, m as trim, o as numberToHex, u as hexToBigInt, x as size } from "./toBytes-5OHWnbJl.js";
6
6
  import { t as BaseError } from "./base-BTwN_DlC.js";
@@ -8,7 +8,7 @@ import { P as InvalidChainIdError, _ as InvalidStorageKeySizeError, h as Invalid
8
8
  import { n as FeeCapTooHighError, u as TipAboveFeeCapError } from "./node-Sc4f3aSR.js";
9
9
  import { b as toRlp, c as getTransactionType, d as InvalidVersionedHashSizeError, f as InvalidVersionedHashVersionError, g as defineBlock, h as blobsToCommitments, l as toBlobSidecars, m as blobsToProofs, o as defineChain, p as commitmentsToVersionedHashes, r as defineTransactionReceipt, t as AccountNotFoundError, u as EmptyBlobError, v as defineTransaction, y as formatTransaction } from "./account-KyBwHgfH.js";
10
10
  import { a as SubstrateNetworks, n as EvmNetworks, r as MiscNetworks, t as CosmosNetworks } from "./networks-C4wBuQAR.js";
11
- import { a as supportedMiscChainsSet } from "./misc-Erb32S3W.js";
11
+ import { a as supportedMiscChainsSet } from "./misc-DFHb1ynZ.js";
12
12
  //#region ../../node_modules/.pnpm/purify-ts@2.1.4_patch_hash=5a25e93220157c14f071521854d75c4da38ec0e15fad1989f51e87be19c2fd63/node_modules/purify-ts/esm/Tuple.js
13
13
  var TupleImpl = class {
14
14
  constructor(first, second) {
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { x as getTokenLogo } from "./createConnector-c-2Ie22W.js";
2
+ import { b as getTokenLogo } from "./createConnector-D-p8-Ebj.js";
3
3
  import { r as MiscNetworks } from "./networks-C4wBuQAR.js";
4
4
  //#region src/domain/types/chains/misc.ts
5
5
  var supportedMiscChains = [
@@ -1,6 +1,6 @@
1
1
  "use client";
2
- import { K as Maybe, S as isIframe, n as BehaviorSubject, t as createConnector } from "./createConnector-c-2Ie22W.js";
3
- import { n as EitherAsync } from "./MaybeAsync-BZLAl2bE.js";
2
+ import { G as Maybe, n as BehaviorSubject, t as createConnector, x as isIframe } from "./createConnector-D-p8-Ebj.js";
3
+ import { n as EitherAsync } from "./MaybeAsync-DXWsPM9n.js";
4
4
  import { y as getAddress } from "./getAbiItem-BVX2yDB3.js";
5
5
  import { t as withTimeout } from "./withTimeout-C43RlPy3.js";
6
6
  import { r as ProviderNotFoundError, t as configMeta } from "./safe-connector-meta-Ddl09ZBC.js";
@@ -1,8 +1,8 @@
1
1
  "use client";
2
- import { K as Maybe, b as getNetworkLogo, n as BehaviorSubject, t as createConnector } from "./createConnector-c-2Ie22W.js";
2
+ import { G as Maybe, n as BehaviorSubject, t as createConnector, y as getNetworkLogo } from "./createConnector-D-p8-Ebj.js";
3
3
  import { i as init_dist, t as Buffer } from "./dist-BI2Nn6FN.js";
4
4
  import { r as MiscNetworks } from "./networks-C4wBuQAR.js";
5
- import { i as solana } from "./misc-Erb32S3W.js";
5
+ import { i as solana } from "./misc-DFHb1ynZ.js";
6
6
  import { i as WalletConnectWalletAdapter, l as Transaction, n as getConfigMeta, p as init_index_browser_esm, t as porto_default, u as VersionedTransaction } from "./porto-Gmzp7rdP.js";
7
7
  //#region src/providers/misc/solana-connector.ts
8
8
  init_dist();
@@ -1,6 +1,6 @@
1
1
  "use client";
2
- import { G as right, H as config, K as Maybe, U as Either, b as getNetworkLogo, n as BehaviorSubject, t as createConnector } from "./createConnector-c-2Ie22W.js";
3
- import { n as EitherAsync } from "./MaybeAsync-BZLAl2bE.js";
2
+ import { G as Maybe, H as Either, V as config, W as right, n as BehaviorSubject, t as createConnector, y as getNetworkLogo } from "./createConnector-D-p8-Ebj.js";
3
+ import { n as EitherAsync } from "./MaybeAsync-DXWsPM9n.js";
4
4
  import { i as init_dist } from "./dist-BI2Nn6FN.js";
5
5
  import { h as init_utils, l as concatBytes, m as hexToBytes, s as bytesToHex } from "./utils-CZZflqSo.js";
6
6
  import { n as import_eventemitter3 } from "./eventemitter3-kaa1hYrC.js";
@@ -1,12 +1,12 @@
1
1
  "use client";
2
2
  import { s as __toESM, t as __commonJSMin } from "./chunk-DwwZaK3i.js";
3
3
  import { n as process$1, t as init_dist } from "./dist-BeCWYci1.js";
4
- import { U as Either, b as getNetworkLogo, n as BehaviorSubject, t as createConnector } from "./createConnector-c-2Ie22W.js";
5
- import { n as EitherAsync } from "./MaybeAsync-BZLAl2bE.js";
4
+ import { H as Either, n as BehaviorSubject, t as createConnector, y as getNetworkLogo } from "./createConnector-D-p8-Ebj.js";
5
+ import { n as EitherAsync } from "./MaybeAsync-DXWsPM9n.js";
6
6
  import { i as init_dist$1, t as Buffer } from "./dist-BI2Nn6FN.js";
7
7
  import { r as MiscNetworks } from "./networks-C4wBuQAR.js";
8
- import { o as ton } from "./misc-Erb32S3W.js";
9
- import { o as unsignedTonTransactionTonConnectCodec } from "./transaction-BaxD0vuC.js";
8
+ import { o as ton } from "./misc-DFHb1ynZ.js";
9
+ import { o as unsignedTonTransactionTonConnectCodec } from "./transaction-BhfOz9qC.js";
10
10
  import { n as configMeta, t as require_ua_parser } from "./ua-parser-BdHJ6jgK.js";
11
11
  import { t as require_cjs } from "./cjs-DZfpolVf.js";
12
12
  import { r as require_nacl_fast, t as require_dist } from "./dist-BlAqJor4.js";
@@ -1,6 +1,6 @@
1
1
  "use client";
2
- import { G as right, W as left } from "./createConnector-c-2Ie22W.js";
3
- import { a as oneOf, c as string, i as number, l as unknown, n as array, o as optional, r as boolean, s as record, t as Codec } from "./Codec-Byh8iois.js";
2
+ import { U as left, W as right } from "./createConnector-D-p8-Ebj.js";
3
+ import { a as oneOf, c as string, i as number, l as unknown, n as array, o as optional, r as boolean, s as record, t as Codec } from "./Codec-Bae2iyFH.js";
4
4
  import { o as numberToHex } from "./toBytes-5OHWnbJl.js";
5
5
  //#region src/domain/types/transaction.ts
6
6
  var bigintCodec = Codec.custom({
@@ -1,15 +1,15 @@
1
1
  "use client";
2
2
  import { r as __exportAll, s as __toESM, t as __commonJSMin } from "./chunk-DwwZaK3i.js";
3
3
  import { n as process$1, t as init_dist } from "./dist-BeCWYci1.js";
4
- import { H as config, K as Maybe, b as getNetworkLogo, n as BehaviorSubject, t as createConnector, x as getTokenLogo } from "./createConnector-c-2Ie22W.js";
5
- import { n as EitherAsync } from "./MaybeAsync-BZLAl2bE.js";
4
+ import { G as Maybe, V as config, b as getTokenLogo, n as BehaviorSubject, t as createConnector, y as getNetworkLogo } from "./createConnector-D-p8-Ebj.js";
5
+ import { n as EitherAsync } from "./MaybeAsync-DXWsPM9n.js";
6
6
  import { n as init_dist$1, t as global } from "./dist-BuxloV2e.js";
7
- import { t as images } from "./images-0ZMBvxwm.js";
7
+ import { t as images } from "./images-B0-tGuTw.js";
8
8
  import { i as init_dist$2, n as Buffer$1, t as Buffer } from "./dist-BI2Nn6FN.js";
9
9
  import { c as toHex$1 } from "./toBytes-5OHWnbJl.js";
10
10
  import { t as eventemitter3_default } from "./eventemitter3-kaa1hYrC.js";
11
11
  import { r as MiscNetworks } from "./networks-C4wBuQAR.js";
12
- import { s as tron } from "./misc-Erb32S3W.js";
12
+ import { s as tron } from "./misc-DFHb1ynZ.js";
13
13
  import { n as esm_default } from "./index.es-YtziYxuZ.js";
14
14
  import { a as TransportError, i as DisconnectedDeviceDuringOperation, n as log, o as TransportOpenUserCancelled, r as DisconnectedDevice, t as Transport } from "./Transport-B7iFMzn6.js";
15
15
  import { i as k$2, t as A$3 } from "./index.es-BgXiw4kQ.js";
@@ -0,0 +1,3 @@
1
+ "use client";
2
+ import { t as require_tx } from "./wallet-manager-Bf0VaUFt.js";
3
+ export default require_tx();
@@ -1,11 +1,11 @@
1
1
  "use client";
2
2
  import { a as __require, n as __esmMin, o as __toCommonJS, r as __exportAll, s as __toESM, t as __commonJSMin } from "./chunk-DwwZaK3i.js";
3
3
  import { n as process$1, t as init_dist } from "./dist-BeCWYci1.js";
4
- import { D as waitForMs, H as config, b as getNetworkLogo, n as BehaviorSubject, q as just, t as createConnector } from "./createConnector-c-2Ie22W.js";
5
- import { n as EitherAsync } from "./MaybeAsync-BZLAl2bE.js";
4
+ import { E as waitForMs, K as just, V as config, n as BehaviorSubject, t as createConnector, y as getNetworkLogo } from "./createConnector-D-p8-Ebj.js";
5
+ import { n as EitherAsync } from "./MaybeAsync-DXWsPM9n.js";
6
6
  import { n as init_dist$1, t as global } from "./dist-BuxloV2e.js";
7
- import { t as images } from "./images-0ZMBvxwm.js";
8
- import { a as setStorageItem, i as getStorageItem, t as configMeta } from "./cosmos-connector-meta-MR5we2DB.js";
7
+ import { t as images } from "./images-B0-tGuTw.js";
8
+ import { a as setStorageItem, i as getStorageItem, t as configMeta } from "./cosmos-connector-meta-Dtfahon-.js";
9
9
  import { i as init_dist$2, r as dist_exports, t as Buffer } from "./dist-BI2Nn6FN.js";
10
10
  import { t as CosmosNetworks } from "./networks-C4wBuQAR.js";
11
11
  import { i as init_eventemitter3, n as eventemitter3_default, t as require_bs58 } from "./bs58-CB1H6C75.js";
@@ -9897,12 +9897,12 @@ var ChainWalletBase = class extends WalletBase {
9897
9897
  };
9898
9898
  getStargateClient = async () => {
9899
9899
  const rpcEndpoint = await this.getRpcEndpoint();
9900
- const { StargateClient } = await import("./build-jVm_Imk7.js").then((n) => /* @__PURE__ */ __toESM(n.t()));
9900
+ const { StargateClient } = await import("./build-CYy6v80s.js").then((n) => /* @__PURE__ */ __toESM(n.t()));
9901
9901
  return StargateClient.connect(rpcEndpoint, this.stargateOptions);
9902
9902
  };
9903
9903
  getCosmWasmClient = async () => {
9904
9904
  const rpcEndpoint = await this.getRpcEndpoint();
9905
- const { CosmWasmClient } = await import("./build-BxgetfN5.js").then((m) => /* @__PURE__ */ __toESM(m.default));
9905
+ const { CosmWasmClient } = await import("./build-GgZW6uL5.js").then((m) => /* @__PURE__ */ __toESM(m.default));
9906
9906
  return CosmWasmClient.connect(rpcEndpoint);
9907
9907
  };
9908
9908
  getNameService = async () => {
@@ -9920,13 +9920,13 @@ var ChainWalletBase = class extends WalletBase {
9920
9920
  getSigningStargateClient = async () => {
9921
9921
  const rpcEndpoint = await this.getRpcEndpoint();
9922
9922
  if (!this.offlineSigner) await this.initOfflineSigner();
9923
- const { SigningStargateClient } = await import("./build-jVm_Imk7.js").then((n) => /* @__PURE__ */ __toESM(n.t()));
9923
+ const { SigningStargateClient } = await import("./build-CYy6v80s.js").then((n) => /* @__PURE__ */ __toESM(n.t()));
9924
9924
  return SigningStargateClient.connectWithSigner(rpcEndpoint, this.offlineSigner, this.signingStargateOptions);
9925
9925
  };
9926
9926
  getSigningCosmWasmClient = async () => {
9927
9927
  const rpcEndpoint = await this.getRpcEndpoint();
9928
9928
  if (!this.offlineSigner) await this.initOfflineSigner();
9929
- const { SigningCosmWasmClient } = await import("./build-BxgetfN5.js").then((m) => /* @__PURE__ */ __toESM(m.default));
9929
+ const { SigningCosmWasmClient } = await import("./build-GgZW6uL5.js").then((m) => /* @__PURE__ */ __toESM(m.default));
9930
9930
  return SigningCosmWasmClient.connectWithSigner(rpcEndpoint, this.offlineSigner, this.signingCosmwasmOptions);
9931
9931
  };
9932
9932
  getSigningClient = async (type) => {
@@ -9952,7 +9952,7 @@ var ChainWalletBase = class extends WalletBase {
9952
9952
  }
9953
9953
  if (!gasPrice) throw new Error("Gas price must be set in the client options when auto gas is used.");
9954
9954
  const gasEstimation = await (await this.getSigningClient(type)).simulate(this.address, messages, memo);
9955
- const { calculateFee } = await import("./build-jVm_Imk7.js").then((n) => /* @__PURE__ */ __toESM(n.t()));
9955
+ const { calculateFee } = await import("./build-CYy6v80s.js").then((n) => /* @__PURE__ */ __toESM(n.t()));
9956
9956
  return calculateFee(Math.round(gasEstimation * (multiplier || 1.4)), gasPrice);
9957
9957
  };
9958
9958
  sign = async (messages, fee, memo, type) => {
@@ -9965,7 +9965,7 @@ var ChainWalletBase = class extends WalletBase {
9965
9965
  };
9966
9966
  broadcast = async (signedMessages, type) => {
9967
9967
  const client = await this.getSigningClient(type);
9968
- const { TxRaw } = await import("./tx-DpCUKNN4.js").then((m) => /* @__PURE__ */ __toESM(m.default));
9968
+ const { TxRaw } = await import("./tx-DQaheDj7.js").then((m) => /* @__PURE__ */ __toESM(m.default));
9969
9969
  const txBytes = TxRaw.encode(signedMessages).finish();
9970
9970
  let timeoutMs, pollIntervalMs;
9971
9971
  switch (type) {
@@ -1,7 +1,8 @@
1
1
  import type { Atoms } from "../../../../styles/theme/atoms.css";
2
2
  type NetworkLogoImageProps = {
3
3
  networkLogoUri: string;
4
+ networkName?: string;
4
5
  tokenNetworkLogoHw?: Atoms["hw"];
5
6
  };
6
- export declare const NetworkLogoImage: ({ networkLogoUri, tokenNetworkLogoHw, }: NetworkLogoImageProps) => import("react/jsx-runtime").JSX.Element;
7
+ export declare const NetworkLogoImage: ({ networkLogoUri, networkName, tokenNetworkLogoHw, }: NetworkLogoImageProps) => import("react/jsx-runtime").JSX.Element;
7
8
  export {};
@@ -0,0 +1,6 @@
1
+ type EstimatedRewardAmountsProps = {
2
+ earnYearly: string;
3
+ earnMonthly: string;
4
+ };
5
+ export declare const EstimatedRewardAmounts: ({ earnYearly, earnMonthly, }: EstimatedRewardAmountsProps) => import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -43,9 +43,8 @@ export type ValidatorsConfig = Map<SupportedSKChains | "*", {
43
43
  preferredOnly: boolean;
44
44
  }>;
45
45
  export type DashboardYieldCategory = "stake" | "defi" | "rwa";
46
- export declare const dashboardYieldCategories: readonly ["stake", "defi", "rwa"];
46
+ export declare const dashboardYieldCategories: readonly ["rwa", "defi", "stake"];
47
47
  export declare const getApiYieldTypesForDashboardCategory: (category: DashboardYieldCategory) => ApiYieldType[];
48
- export declare const getDashboardYieldCategoryForApiYieldType: (yieldType: ApiYieldType) => DashboardYieldCategory;
49
48
  export declare const getDashboardYieldCategory: (yieldDto: YieldBase) => DashboardYieldCategory | null;
50
49
  export declare const filterValidators: ({ validatorsConfig, validators, network, yieldId, }: {
51
50
  validatorsConfig: ValidatorsConfig;
@@ -12,9 +12,8 @@ type DashboardCategoryInitialSelection = {
12
12
  * holdings, no per-yield legacy hydration). The first visible summary of each
13
13
  * probe seeds that category's initial token + yield selection.
14
14
  */
15
- export declare const useDashboardYieldCatalog: ({ enabled, network, }?: {
15
+ export declare const useDashboardYieldCatalog: ({ enabled, }?: {
16
16
  enabled?: boolean;
17
- network?: TokenDto["network"] | null;
18
17
  }) => {
19
18
  availableCategories: DashboardYieldCategory[];
20
19
  initialSelectionByCategory: Map<DashboardYieldCategory, DashboardCategoryInitialSelection>;
@@ -6,7 +6,7 @@ import type { InitParams } from "../../domain/types/init-params";
6
6
  import type { PositionsData } from "../../domain/types/positions";
7
7
  import { type PreferredTokenYieldsPerNetwork } from "../../domain/types/stake";
8
8
  import type { SKWallet } from "../../domain/types/wallet";
9
- import { type ValidatorsConfig, type Yield } from "../../domain/types/yields";
9
+ import { type DashboardYieldCategory, type ValidatorsConfig, type Yield } from "../../domain/types/yields";
10
10
  import { useApiClient } from "../../providers/api/api-client-provider";
11
11
  import { type YieldSummaryWithProvider } from "./use-yield-summaries";
12
12
  export declare const useStreamYieldSummaries: (yieldIds: ReadonlyArray<string>) => YieldSummaryWithProvider[];
@@ -22,14 +22,16 @@ declare const firstEligibleYield$: (args: {
22
22
  isConnected: boolean;
23
23
  network: SKWallet["network"];
24
24
  yieldIds: ReadonlyArray<string>;
25
+ dashboardYieldCategory?: DashboardYieldCategory | null;
25
26
  initParams: InitParams;
26
27
  positionsData: PositionsData;
27
28
  tokenBalanceAmount: BigNumber;
28
29
  validatorsConfig: ValidatorsConfig;
29
30
  preferredTokenYieldsPerNetwork: PreferredTokenYieldsPerNetwork | null;
30
31
  }) => Observable<Yield | null>;
31
- export declare const getCachedFirstEligibleYield: ({ queryClient, yieldIds, }: {
32
+ export declare const getCachedFirstEligibleYield: ({ queryClient, yieldIds, dashboardYieldCategory, }: {
32
33
  queryClient: QueryClient;
33
34
  yieldIds: ReadonlyArray<string>;
35
+ dashboardYieldCategory?: DashboardYieldCategory | null;
34
36
  }) => import("purify-ts/Maybe").Maybe<Yield>;
35
37
  export {};
@@ -50,9 +50,4 @@ export declare const fetchYieldSummariesPage: ({ apiClient, params, signal, }: F
50
50
  */
51
51
  export declare const fetchYieldSummariesByIds: ({ apiClient, chunkSize, signal, suppressRichErrors, yieldIds, }: FetchByIdsArgs) => Promise<YieldSummary[]>;
52
52
  export declare const fetchYieldSummariesWithProvidersByIds: ({ apiClient, queryClient, signal, suppressRichErrors, yieldIds, }: FetchByIdsWithProvidersArgs) => Promise<YieldSummaryWithProvider[]>;
53
- /**
54
- * Fetch every page of yield summaries for the given params, looping `offset`
55
- * until all `total` items have been retrieved.
56
- */
57
- export declare const fetchAllYieldSummaries: ({ apiClient, params, signal, }: FetchArgs) => Promise<YieldSummary[]>;
58
53
  export {};
@@ -1,4 +1,5 @@
1
1
  import type { TransactionType } from "../../../domain/types/action";
2
+ import type { PageCta } from "../../components/page-cta";
2
3
  export declare const useComplete: () => {
3
4
  urls: {
4
5
  type: TransactionType;
@@ -7,4 +8,5 @@ export declare const useComplete: () => {
7
8
  unstakeMatch: boolean;
8
9
  pendingActionMatch: boolean;
9
10
  onViewTransactionClick: (url: string) => import("purify-ts/Maybe").Maybe<Window & typeof globalThis>;
11
+ cta: PageCta;
10
12
  };
@@ -1,6 +1,8 @@
1
1
  import { type PropsWithChildren } from "react";
2
2
  import type { TransactionType } from "../../../domain/types/action";
3
+ import type { PageCta } from "../../components/page-cta";
3
4
  type CompleteCommonContextType = {
5
+ cta: PageCta;
4
6
  urls: {
5
7
  type: TransactionType;
6
8
  url: string;
@@ -0,0 +1,11 @@
1
+ export type PageCta = {
2
+ disabled: boolean;
3
+ hide?: boolean;
4
+ isLoading: boolean;
5
+ label: string;
6
+ onClick: () => void;
7
+ variant?: "primary" | "secondary";
8
+ } | null;
9
+ export declare const PageCtaButton: ({ cta }: {
10
+ cta: PageCta;
11
+ }) => import("react/jsx-runtime").JSX.Element | null;
@@ -29,3 +29,4 @@ export declare const selectYieldSection: import("@vanilla-extract/recipes").Runt
29
29
  };
30
30
  };
31
31
  }>;
32
+ export declare const viaProviderImage: string;
@@ -10,6 +10,7 @@ import type { useEstimatedRewards } from "../../../../hooks/use-estimated-reward
10
10
  import type { useProvidersDetails } from "../../../../hooks/use-provider-details";
11
11
  import type { useRewardTokenDetails } from "../../../../hooks/use-reward-token-details";
12
12
  import type { Action } from "../../../../types/utils";
13
+ import type { PageCta } from "../../../components/page-cta";
13
14
  import type { SelectedStakeData } from "../types";
14
15
  export type State = {
15
16
  selectedToken: Maybe<TokenDto>;
@@ -20,13 +21,11 @@ export type State = {
20
21
  useMaxAmount: boolean;
21
22
  tronResource: Maybe<TronResourceType>;
22
23
  selectedProviderYieldId: Maybe<Yield["id"]>;
24
+ selectedDashboardYieldCategory: DashboardYieldCategory | null;
23
25
  };
24
26
  type TokenBalanceSelectAction = Action<"token/select", TokenDto>;
25
- type TokenOnlySelectAction = Action<"token-only/select", TokenDto>;
26
- type DashboardTokenYieldSelectAction = Action<"dashboard/token-yield/select", {
27
- token: TokenDto;
28
- yieldDto: Yield;
29
- }>;
27
+ type DashboardYieldCategorySelectAction = Action<"dashboard/yield-category/select", DashboardYieldCategory>;
28
+ type PositionDetailsStakeInitializeAction = Action<"positionDetails/stake/initialize", Yield>;
30
29
  type YieldSelectAction = Action<"yield/select", Yield>;
31
30
  type StakeAmountChangeAction = Action<"stakeAmount/change", BigNumber>;
32
31
  type StakeAmountMaxAction = Action<"stakeAmount/max", BigNumber>;
@@ -36,7 +35,7 @@ type ValidatorMultiSelectAction = Action<"validator/multiselect", ValidatorDto>;
36
35
  type ValidatorRemoveAction = Action<"validator/remove", ValidatorDto>;
37
36
  type SelectTronResourceAction = Action<"tronResource/select", TronResourceType>;
38
37
  type ProviderYieldIdSelectAction = Action<"providerYieldId/select", Yield["id"]>;
39
- export type Actions = TokenBalanceSelectAction | TokenOnlySelectAction | DashboardTokenYieldSelectAction | YieldSelectAction | StakeAmountChangeAction | StakeAmountMaxAction | StateResetAction | ValidatorSelectAction | ValidatorMultiSelectAction | ValidatorRemoveAction | SelectTronResourceAction | ProviderYieldIdSelectAction;
38
+ export type Actions = TokenBalanceSelectAction | DashboardYieldCategorySelectAction | PositionDetailsStakeInitializeAction | YieldSelectAction | StakeAmountChangeAction | StakeAmountMaxAction | StateResetAction | ValidatorSelectAction | ValidatorMultiSelectAction | ValidatorRemoveAction | SelectTronResourceAction | ProviderYieldIdSelectAction;
40
39
  export type ExtraData = {
41
40
  actions: {
42
41
  onMaxClick: () => void;
@@ -49,8 +48,10 @@ export type ExtraData = {
49
48
  availableAmount: Maybe<BigNumber>;
50
49
  availableYields: Maybe<TokenBalanceScanResponseDto["availableYields"]>;
51
50
  hasNotYieldsForToken: boolean;
51
+ availableDashboardYieldCategories: DashboardYieldCategory[];
52
52
  };
53
53
  export type EarnPageContextType = {
54
+ cta: PageCta;
54
55
  selectedTokenAvailableAmount: Maybe<{
55
56
  symbol: string;
56
57
  shortFormattedAmount: string;
@@ -1,4 +1,6 @@
1
1
  import type { TokenDto } from "../../../../domain/types/tokens";
2
- export declare const useGetInitYield: () => ({ selectedToken }: {
2
+ import type { DashboardYieldCategory } from "../../../../domain/types/yields";
3
+ export declare const useGetInitYield: () => ({ selectedDashboardYieldCategory, selectedToken, }: {
4
+ selectedDashboardYieldCategory?: DashboardYieldCategory | null;
3
5
  selectedToken: TokenDto;
4
6
  }) => import("purify-ts/Maybe").Maybe<import("../../../../domain/types/yields").Yield>;
@@ -1,5 +1,7 @@
1
1
  import { Maybe } from "purify-ts";
2
2
  import type { TokenDto } from "../../../../domain/types/tokens";
3
- export declare const useInitYield: ({ selectedToken, }: {
3
+ import type { DashboardYieldCategory } from "../../../../domain/types/yields";
4
+ export declare const useInitYield: ({ selectedDashboardYieldCategory, selectedToken, }: {
5
+ selectedDashboardYieldCategory?: DashboardYieldCategory | null;
4
6
  selectedToken: Maybe<TokenDto>;
5
7
  }) => import("@tanstack/react-query").UseQueryResult<import("../../../../domain/types/yields").Yield | null, Error>;
@@ -1,5 +1,6 @@
1
1
  import { Maybe } from "purify-ts";
2
2
  import type { TokenDto } from "../../../domain/types/tokens";
3
+ import type { PageCta } from "../../components/page-cta";
3
4
  import type { LabelKey } from "../types";
4
5
  export declare const useActionReview: () => {
5
6
  selectedYield: import("../../../domain/types/yields").Yield;
@@ -11,4 +12,5 @@ export declare const useActionReview: () => {
11
12
  inputToken: Maybe<TokenDto>;
12
13
  actionOlderThan7Days: boolean;
13
14
  labelKey: LabelKey;
15
+ cta: PageCta;
14
16
  };
@@ -1,3 +1,4 @@
1
+ import type { PageCta } from "../../components/page-cta";
1
2
  export declare const usePendingActionReview: () => {
2
3
  integrationData: import("purify-ts/Maybe").Maybe<import("../../../domain/types/yields").Yield>;
3
4
  title: import("purify-ts/Maybe").Maybe<string>;
@@ -29,4 +30,5 @@ export declare const usePendingActionReview: () => {
29
30
  };
30
31
  isGasCheckWarning: boolean;
31
32
  gasCheckLoading: boolean;
33
+ cta: PageCta;
32
34
  };
@@ -1,9 +1,14 @@
1
1
  import { Maybe } from "purify-ts";
2
+ import type { PageCta } from "../../components/page-cta";
2
3
  export declare const useStakeReview: () => {
3
4
  token: import("purify-ts/Maybe").Maybe<import("../../../domain/types/tokens").TokenDto>;
4
5
  amount: string;
5
6
  fee: string;
6
7
  interestRate: string;
8
+ estimatedRewardAmounts: import("purify-ts/Maybe").Maybe<{
9
+ earnYearly: string;
10
+ earnMonthly: string;
11
+ }>;
7
12
  yieldType: string;
8
13
  rewardToken: import("purify-ts/Maybe").Maybe<{
9
14
  logoUri: string;
@@ -102,4 +107,5 @@ export declare const useStakeReview: () => {
102
107
  kycProviderName: string | null;
103
108
  kycStatusIsChecking: boolean;
104
109
  onKycStatusRefresh: () => Promise<import("@tanstack/react-query").QueryObserverResult<import("../../../generated/api/yield").KycStatusResponseDto, Error>>;
110
+ cta: PageCta;
105
111
  };
@@ -1,4 +1,5 @@
1
1
  import { Maybe } from "purify-ts";
2
+ import type { PageCta } from "../../components/page-cta";
2
3
  export declare const useUnstakeActionReview: () => {
3
4
  integrationData: import("purify-ts/Maybe").Maybe<import("../../../domain/types/yields").Yield>;
4
5
  title: Maybe<string>;
@@ -55,4 +56,5 @@ export declare const useUnstakeActionReview: () => {
55
56
  kycProviderName: string | null;
56
57
  kycStatusIsChecking: boolean;
57
58
  onKycStatusRefresh: () => Promise<import("@tanstack/react-query").QueryObserverResult<import("../../../generated/api/yield").KycStatusResponseDto, Error>>;
59
+ cta: PageCta;
58
60
  };
@@ -3,6 +3,7 @@ import type { ComponentProps, ReactNode } from "react";
3
3
  import type { RewardTokenDetails } from "../../../../components/molecules/reward-token-details";
4
4
  import type { TokenDto, YieldTokenDto } from "../../../../domain/types/tokens";
5
5
  import { MetaInfo } from "../../../components/meta-info";
6
+ import { type PageCta } from "../../../components/page-cta";
6
7
  import type { FeesBps } from "../../types";
7
8
  import ReviewTopSection from "./components/review-top-section";
8
9
  export type MetaInfoProps = {
@@ -19,6 +20,10 @@ type ReviewPageProps = {
19
20
  metadata: ComponentProps<typeof ReviewTopSection>["metadata"];
20
21
  info: ReactNode;
21
22
  rewardTokenDetailsProps: Maybe<ComponentProps<typeof RewardTokenDetails>>;
23
+ estimatedRewardAmounts?: Maybe<{
24
+ earnYearly: string;
25
+ earnMonthly: string;
26
+ }>;
22
27
  isGasCheckError: boolean;
23
28
  loading?: boolean;
24
29
  depositFee: Maybe<FeesBps>;
@@ -27,6 +32,7 @@ type ReviewPageProps = {
27
32
  commissionFee: Maybe<string>;
28
33
  notice?: ReactNode;
29
34
  feeConfigLoading?: boolean;
35
+ cta: PageCta;
30
36
  } & MetaInfoProps;
31
- export declare const ReviewPage: ({ fee, title, token, metadata, info, rewardTokenDetailsProps, isGasCheckError, loading, depositFee, managementFee, performanceFee, feeConfigLoading, commissionFee, notice, ...rest }: ReviewPageProps) => import("react/jsx-runtime").JSX.Element;
37
+ export declare const ReviewPage: ({ fee, title, token, metadata, info, rewardTokenDetailsProps, estimatedRewardAmounts, isGasCheckError, loading, depositFee, managementFee, performanceFee, feeConfigLoading, commissionFee, notice, cta, ...rest }: ReviewPageProps) => import("react/jsx-runtime").JSX.Element;
32
38
  export {};
@@ -9,6 +9,10 @@ type Props = {
9
9
  metadata: Maybe<ComponentProps<typeof TokenIcon>["metadata"]>;
10
10
  info: ReactNode;
11
11
  rewardTokenDetailsProps?: Maybe<ComponentProps<typeof RewardTokenDetails>>;
12
+ estimatedRewardAmounts?: Maybe<{
13
+ earnYearly: string;
14
+ earnMonthly: string;
15
+ }>;
12
16
  };
13
- declare const ReviewTopSection: ({ title, token, metadata, info, rewardTokenDetailsProps, }: Props) => import("react/jsx-runtime").JSX.Element;
17
+ declare const ReviewTopSection: ({ title, token, metadata, info, rewardTokenDetailsProps, estimatedRewardAmounts, }: Props) => import("react/jsx-runtime").JSX.Element;
14
18
  export default ReviewTopSection;
@@ -1,6 +1,7 @@
1
1
  import type { ActionDto } from "../../../domain/types/action";
2
2
  import type { TokenDto, YieldTokenDto } from "../../../domain/types/tokens";
3
3
  import type { useProvidersDetails } from "../../../hooks/use-provider-details";
4
+ import type { PageCta } from "../../components/page-cta";
4
5
  export declare const useSteps: ({ inputToken, session, onSignSuccess, providersDetails, }: {
5
6
  onSignSuccess?: () => void;
6
7
  session: ActionDto;
@@ -20,6 +21,7 @@ export declare const useSteps: ({ inputToken, session, onSignSuccess, providersD
20
21
  done: boolean;
21
22
  };
22
23
  }[];
24
+ cta: PageCta;
23
25
  };
24
26
  export declare enum TxStateEnum {
25
27
  SIGN_IDLE = 0,
@@ -5,6 +5,7 @@ export declare const formatNetworkName: (network: string) => string;
5
5
  export declare const formatDisplayTokenSymbol: (yieldDto: Yield) => string;
6
6
  export declare const formatRewardRateLabel: (yieldDto: Yield, t: TFunction) => string;
7
7
  export declare const formatRewardRate: (effectiveRewardRate: ReturnType<typeof getEffectiveYieldRewardRateDetails>, yieldDto: Yield) => string | null;
8
+ export declare const formatMinStakeLabel: (yieldDto: Yield, t: TFunction) => string;
8
9
  export declare const formatMinStake: (yieldDto: Yield, t: TFunction) => {
9
10
  kpiPrimaryEligible: boolean;
10
11
  value: string;
@@ -16,6 +17,7 @@ export declare const formatProviderStatus: (status: string | null | undefined) =
16
17
  export declare const formatProviderWebsite: (website: string) => string;
17
18
  export declare const formatProviderWebsiteHref: (website: string) => string;
18
19
  export declare const formatRewardTokenLabel: (yieldDto: Yield) => string;
20
+ export declare const formatPricePerShare: (yieldDto: Yield) => string | null;
19
21
  export declare const formatCooldownDays: (days: number, t: TFunction) => string;
20
22
  export declare const formatRewardClaiming: (yieldDto: Yield, t: TFunction) => string;
21
23
  export declare const formatOptionalDays: (days: number | undefined, t: TFunction) => string | null;
@@ -1,5 +1 @@
1
- export declare const shouldInitializePositionDetailsStakeState: ({ positionYieldId, selectedEarnYieldId, }: {
2
- positionYieldId: string | null;
3
- selectedEarnYieldId: string | null;
4
- }) => boolean;
5
1
  export declare const PositionDetailsStakeActions: () => import("react/jsx-runtime").JSX.Element;
@@ -274,6 +274,7 @@ export declare const localResources: {
274
274
  tvl: string;
275
275
  risk: string;
276
276
  min_stake: string;
277
+ minimum_subscription: string;
277
278
  status: string;
278
279
  active: string;
279
280
  kyc: string;
@@ -288,6 +289,7 @@ export declare const localResources: {
288
289
  network: string;
289
290
  provider: string;
290
291
  reward_token: string;
292
+ price_per_share: string;
291
293
  type: string;
292
294
  reward_schedule: string;
293
295
  cooldown: string;
@@ -1591,6 +1593,7 @@ export declare const localResources: {
1591
1593
  tvl: string;
1592
1594
  risk: string;
1593
1595
  min_stake: string;
1596
+ minimum_subscription: string;
1594
1597
  status: string;
1595
1598
  active: string;
1596
1599
  kyc: string;
@@ -1605,6 +1608,7 @@ export declare const localResources: {
1605
1608
  network: string;
1606
1609
  provider: string;
1607
1610
  reward_token: string;
1611
+ price_per_share: string;
1608
1612
  type: string;
1609
1613
  reward_schedule: string;
1610
1614
  cooldown: string;
@@ -23,4 +23,5 @@ export declare const getFeesInUSD: ({ amount, prices, token, }: {
23
23
  }) => string;
24
24
  export declare const formatCompactNumber: (value: string | number | null | undefined) => string;
25
25
  export declare const formatCompactUsd: (value: string | number | null | undefined) => string;
26
+ export declare const humanizePendingActionType: (type: string) => string;
26
27
  export declare const capitalizeFirstLetters: (text: string) => string;
@@ -3,7 +3,6 @@ import type { Networks } from "../domain/types/chains/networks";
3
3
  export declare const formatNumber: (number: string | BigNumber | number, decimals?: number) => string;
4
4
  export declare const defaultFormattedNumber: (number: string | BigNumber | number) => string;
5
5
  export declare const APToPercentage: (ap: number) => string;
6
- export declare const getBackgroundColor: (stringInput: string) => string;
7
6
  export declare const isIframe: () => boolean;
8
7
  export declare const isLedgerDappBrowserProvider: () => boolean;
9
8
  export declare const getNetworkLogo: (network: Networks) => string;
@@ -0,0 +1 @@
1
+ import{H as e,U as t,W as n}from"./createConnector-mvBxgXDZ.js";var r=e=>e,i={LT:`LT`,EQ:`EQ`,GT:`GT`},a=(e,t)=>e>t?i.GT:e<t?i.LT:i.EQ,o=e=>{switch(e){case i.LT:return-1;case i.EQ:return 0;case i.GT:return 1}},s=(e,t)=>typeof t==`bigint`?t.toString():t,c=e=>typeof e==`object`&&!!e&&!Array.isArray(e),l=(e,t)=>{let n=``;switch(typeof t){case`undefined`:n=`undefined`;break;case`object`:n=t===null?`null`:Array.isArray(t)?`an array with value `+JSON.stringify(t,s):`an object with value `+JSON.stringify(t,s);break;case`boolean`:n=`a boolean`;break;case`symbol`:n=`a symbol`;break;case`function`:n=`a function`;break;case`bigint`:n=`a bigint with value ${t.toString()}`}return n||=`a ${typeof t} with value ${JSON.stringify(t,s)}`,`Expected ${e}, but received ${n}`},u=e=>(Object.keys(e).length===1&&e.oneOf?.length===1&&typeof e.oneOf[0]==`object`&&(Object.assign(e,e.oneOf[0]),delete e.oneOf),e),d=e=>{if(Array.isArray(e.oneOf))for(let t=0;t<e.oneOf.length;t++){let n=e.oneOf[t];if(typeof n==`object`&&n.oneOf)return e.oneOf.splice(t,1),e.oneOf.push(...n.oneOf),f(e)}return e},f=e=>(d(e),u(e),e),p={interface(e){let r=Object.keys(e),i=i=>{if(!c(i))return t(l(`an object`,i));let a={};for(let n of r){if(!Object.prototype.hasOwnProperty.call(i,n)&&!e[n]._isOptional)return t(`Problem with property "${n}": it does not exist in received object ${JSON.stringify(i,s)}`);let r=e[n].decode(i[n]);if(r.isLeft())return t(`Problem with the value of property "${n}": ${r.extract()}`);let o=r.extract();o!==void 0&&(a[n]=o)}return n(a)};return{decode:i,encode:t=>{let n={};for(let i of r)n[i]=e[i].encode(t[i]);return n},unsafeDecode:e=>i(e).mapLeft(Error).unsafeCoerce(),schema:()=>r.reduce((t,n)=>(e[n]._isOptional||t.required.push(n),t.properties[n]=f(e[n].schema()),t),{type:`object`,properties:{},required:[]})}},custom({decode:e,encode:t,schema:n}){return{decode:e,encode:t,unsafeDecode:t=>e(t).mapLeft(Error).unsafeCoerce(),schema:n??(()=>({}))}}},m=p.custom({decode:e=>typeof e==`string`?n(e):t(l(`a string`,e)),encode:r,schema:()=>({type:`string`})}),h=p.custom({decode:e=>typeof e==`number`?n(e):t(l(`a number`,e)),encode:r,schema:()=>({type:`number`})});p.custom({decode:e=>e===null?n(e):t(l(`a null`,e)),encode:r,schema:()=>({type:`null`})});var g=p.custom({decode:e=>e===void 0?n(e):t(l(`an undefined`,e)),encode:r}),_=e=>({...b([e,g]),schema:e.schema,_isOptional:!0}),v=p.custom({decode:e=>typeof e==`boolean`?n(e):t(l(`a boolean`,e)),encode:r,schema:()=>({type:`boolean`})}),y=p.custom({decode:n,encode:r,schema:()=>({})}),b=n=>p.custom({decode:e=>{let r=[];for(let t of n){let n=t.decode(e);if(n.isRight())return n;r.push(n.extract())}return t(`One of the following problems occured: ${r.map((e,t)=>`(${t}) ${e}`).join(`, `)}`)},encode:t=>{for(let r of n)if(e.encase(()=>r.encode(t)).mapLeft(e=>``).chain(r.decode).isRight())return r.encode(t);return t},schema:()=>({oneOf:n.map(e=>e.schema())})}),x=e=>p.custom({decode:r=>{if(Array.isArray(r)){let i=[];for(let n=0;n<r.length;n++){let a=e.decode(r[n]);if(a.isRight())i.push(a.extract());else return t(`Problem with the value at index ${n}: ${a.extract()}`)}return n(i)}else return t(l(`an array`,r))},encode:t=>t.map(e.encode),schema:()=>({type:`array`,items:e.schema()})}),S=p.custom({decode:e=>m.decode(e).chain(r=>isFinite(+r)?n(r):t(l(`a number`,e))),encode:r,schema:h.schema}),C=(e,r)=>p.custom({decode:i=>{let a={},o=e===h?S:e;if(!c(i))return t(l(`an object`,i));for(let e of Object.keys(i))if(Object.prototype.hasOwnProperty.call(i,e)){let n=o.decode(e),s=r.decode(i[e]);if(n.isRight()&&s.isRight())a[n.extract()]=s.extract();else if(n.isLeft())return t(`Problem with key type of property "${e}": ${n.extract()}`);else if(s.isLeft())return t(`Problem with the value of property "${e}": ${s.extract()}`)}return n(a)},encode:t=>{let n={};for(let i in t)Object.prototype.hasOwnProperty.call(t,i)&&(n[e.encode(i)]=r.encode(t[i]));return n},schema:()=>({type:`object`,additionalProperties:r.schema()})});p.custom({decode:e=>m.decode(e).mapLeft(e=>`Problem with date string: ${e}`).chain(e=>Number.isNaN(Date.parse(e))?t(`Expected a valid date string, but received a string that cannot be parsed`):n(new Date(e))),encode:e=>e.toISOString(),schema:()=>({type:`string`,format:`date-time`})});export{b as a,m as c,o as d,h as i,y as l,x as n,_ as o,v as r,C as s,p as t,a as u};
@@ -1,4 +1,4 @@
1
- import{s as e}from"./chunk-CzyJ72yW.js";import{i as t,l as n,o as r,t as i}from"./lit-element-CPGuB_v8.js";import"./lit-CVrrzrGA.js";import{a,o,s,t as c}from"./class-map-BhcOy3ep.js";import"./class-map-fHNEycfA.js";import{n as l,t as u}from"./ref-CQce-LA_.js";import"./ref-Cjfeo2-0.js";import{t as ee}from"./browser-CD2gtnKg.js";import{A as d,C as f,E as te,F as ne,O as p,S as m,T as h,_ as re,a as g,b as ie,g as _,i as ae,j as oe,k as v,n as y,p as se,r as b,s as x,u as ce,x as S,y as C}from"./ConstantsUtil-BucnOgVd.js";import"./wui-text-D1LKVPJb.js";import{n as le,t as ue}from"./ConnectorUtil-Dbdhp6gz.js";var de=n`
1
+ import{s as e}from"./chunk-CzyJ72yW.js";import{i as t,l as n,o as r,t as i}from"./lit-element-CPGuB_v8.js";import"./lit-CVrrzrGA.js";import{a,o,s,t as c}from"./class-map-BhcOy3ep.js";import"./class-map-fHNEycfA.js";import{n as l,t as u}from"./ref-CQce-LA_.js";import"./ref-Cjfeo2-0.js";import{t as ee}from"./browser-DvOBRbll.js";import{A as d,C as f,E as te,F as ne,O as p,S as m,T as h,_ as re,a as g,b as ie,g as _,i as ae,j as oe,k as v,n as y,p as se,r as b,s as x,u as ce,x as S,y as C}from"./ConstantsUtil-BucnOgVd.js";import"./wui-text-D1LKVPJb.js";import{n as le,t as ue}from"./ConnectorUtil-Dbdhp6gz.js";var de=n`
2
2
  :host {
3
3
  position: relative;
4
4
  background-color: var(--wui-color-gray-glass-002);